arm
stringlengths 122
13.2M
| x86
stringlengths 122
12.4M
| filename
stringlengths 18
26
|
---|---|---|
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _power ; -- Begin function power
.p2align 2
_power: ; @power
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str w1, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-4]
str w8, [sp] ; 4-byte Folded Spill
ldur w0, [x29, #-4]
ldr w8, [sp, #8]
subs w1, w8, #1
bl _power
ldr w8, [sp] ; 4-byte Folded Reload
mul w8, w8, w0
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_2:
mov w8, #1
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_3:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _power ## -- Begin function power
.p2align 4, 0x90
_power: ## @power
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
cmpl $0, -8(%rbp)
je LBB0_2
## %bb.1:
movl -4(%rbp), %eax
movl %eax, -16(%rbp) ## 4-byte Spill
movl -4(%rbp), %edi
movl -8(%rbp), %esi
subl $1, %esi
callq _power
movl %eax, %ecx
movl -16(%rbp), %eax ## 4-byte Reload
imull %ecx, %eax
movl %eax, -12(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_2:
movl $1, %eax
movl %eax, -12(%rbp) ## 4-byte Spill
jmp LBB0_3
LBB0_3:
movl -12(%rbp), %eax ## 4-byte Reload
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/25119.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _qjsc_repl_size ; @qjsc_repl_size
.p2align 2
_qjsc_repl_size:
.long 16086 ; 0x3ed6
.globl _qjsc_repl ; @qjsc_repl
_qjsc_repl:
.ascii "\002\241\003\016repl.js\006std\004os\020isFinite\024parseFloat\bopen\020Fraction\b\033[0m\bnone\n\033[30m\nblack\n\033[31m\006red\n\033[32m\ngreen\n\033[33m\fyellow\n\033[34m\bblue\n\033[35m\016magenta\n\033[36m\bcyan\n\033[37m\nwhite\016\033[30;1m\bgray\bgrey\016\033[31;1m\024bright_red\016\033[32;1m\030bright_green\016\033[33;1m\032bright_yellow\016\033[34;1m\026bright_blue\016\033[35;1m\034bright_magenta\016\033[36;1m\026bright_cyan\016\033[37;1m\030bright_white\016comment\nregex\016keyword\btype\024identifier\nerror\fresult\022error_msg\004> \fqjs > \f ... \002\001\002\002\002\003\002\004\002\005\002\006\002\007\002\b\002\t\002\n\002\013\002\r\002\016\002\020\002\021\002\022\002\023\002\024\002\030\002\031\006\033OA\006\033OB\006\033OC\006\033OD\006\033OF\006\033OH\f\033[1;5C\f\033[1;5D\b\033[1~\b\033[3~\b\033[4~\b\033[5~\b\033[6~\006\033[A\006\033[B\006\033[C\006\033[D\006\033[F\006\033[H\004\033\177\004\033b\004\033d\004\033f\004\033k\004\033l\004\033t\004\033u\002\177\016execCmd\020termInit\ffileno\fisatty\032ttyGetWinSize\022ttySetRaw\fsignal\fSIGINT\034setReadHandler\034sigint_handler\026handle_byte\"term_read_handler\bread\fbuffer\020is_alpha\002A\002Z\002a\002z\020is_digit\016is_word\002_\002$\024ucs_length\024charCodeAt*is_trailing_surrogate\026codePointAt\026is_balanced\004()\004[]\004{} print_color_text\bputs\022substring\022print_csi\004\033[\026move_cursor\006min\002C\002D\fupdate\004 \b\006\033[J\006out\nflush\finsert\032quoted_insert\024quote_flag\nabort\006cmd\024cursor_pos\nalert\"beginning_of_line\026end_of_line\030forward_char\fcharAt\032backward_char\"skip_word_forward$skip_word_backward\030forward_word\032backward_word\026accept_line\026history_add\bpush previous_history\032history_index\016history\030next_history\034history_search.history_search_backward,history_search_forward\036delete_char_dir\026delete_char\022control_d(backward_delete_char\036transpose_chars\036transpose_words\026upcase_word\026toUpperCase\032downcase_word\026toLowerCase\026kill_region\022kill_line$backward_kill_line\022kill_word$backward_kill_word\byank\024clip_board\022control_c\020last_fun*readline_print_prompt\bexit<\n(Press Ctrl-C again to quit)\n\nreset get_context_word$get_context_object\bline\006pos\006obj\bbase\002c\002g\034config_numcalc\024has_jscalc\024has_bignum\fcolors\fstyles\bprec\016expBits\016log2_10\fpstate\fprompt\bplen\006ps1\006ps2\butf8\022show_time\026show_colors\022eval_time\nmexpr\nlevel\020last_cmd\036last_cursor_pos\020this_fun\024utf8_state\020utf8_val\016term_fd\032term_read_buf\024term_width\032term_cursor_x\036get_completions\024completion\020commands\fdupstr\032readline_keys\034readline_state\026readline_cb\034readline_start\026handle_char\024handle_key\020hex_mode\022eval_mode number_to_string$bigfloat_to_string bigint_to_string\nprint\"extract_directive handle_directive\bhelp\034eval_and_print\022cmd_start$cmd_readline_start&readline_handle_cmd\024handle_cmd\026colorize_js* ~!%^&*(-+={[|:;,<>?/\016indexOf\002.\002'\002\"\002]\002}\002/\020includes\nisNaN&getOwnPropertyNames\024startsWith\bsort\006tab\006ctx\fsymcmp\002(\002)\006max\nfloor\bceil\fpadEnd\002 \nround\032fromCodePoint\002\033\002[\002O\002;\004-0\002-\0040x\bmath\022BigFloat(\002l\002p\002e\004.0\002n\022print_rec\024[circular]\016Complex\006Mod\024Polynomial\016PolyMod RationalFunction\fSeries\016isArray\004[ \004, \016<empty>\006...\004 ]\024__getClass\bkeys\004{ \004: \004 }\006pop\016__quote\b...\"\002m\022function \002\\\002h\002?\bload\btrim\026lastIndexOf\006.js\024loadScript\002x\002d\002t&BigFloat precision=\020 bits (~0 digits), exponent size=\f bits\n\006f16\006f32\006f64\bf128\020parseInt\024expBitsMax\016precMin\016precMax$Invalid precision\n\024expBitsMin,Invalid exponent bits\n\fdigits\bmode\032Running mode=\032Invalid mode\n\nclear\f\033[H\033[J\002q\032algebraicMode&Unknown directive: \006dec\006hex\006num\006alg,\\h this help\n\026\\x 6hexadecimal number display\n\026\\d .decimal number display\n\026\\t ,toggle timing display\n>\\clear clear the terminal\n\026\\a \036algebraic mode\n\026\\n \032numeric mode\nf\\p [m [e]] set the BigFloat precision to 'm' bits\n\204\001\\digits n set the BigFloat precision to 'ceil(n*log2(10))' bits\nh\\mode [std|math] change the running mode (current = \004)\n\"\\q exit\n\006sel&\"use math\"; void 0;\016getTime\024evalScript\"backtrace_barrier\016console\006log\016Throw: :QJSCalc - Type \"\\h\" for help\n:QuickJS - Type \"\\h\" for help\n\b \016setPrec\bbind\004gc\002|jbreak|case|catch|continue|debugger|default|delete|do|^else|finally|for|function|if|in|instanceof|new|^return|switch|this|throw|try|typeof|while|with|Zclass|const|enum|import|export|extends|super|fimplements|interface|let|package|private|protected|(public|static|yield|Nundefined|null|true|false|Infinity|NaN|\036eval|arguments|\fawait|z|this|super|undefined|null|true|false|Infinity|NaN|arguments|\024|void|var|\002+\002`\002{\024push_state\024last_state\022pop_state&parse_block_comment\nstyle\002i\006str$parse_line_comment\030parse_string\026parse_regex\030parse_number parse_identifier\022set_style\017\302\003\002\304\003\306\003\000\000\002\000\372\001\000\001\372\001\001\016\000\002\003\240\001\000\000\000\002\002\001\r\000\304\003\000\r\306\003\001\r\b\352\002)\300\0008\212\000\000\000\357)\016C\002\003\000\001w\001\002\002H\367\t\000\000\000\f\000\001\f\300\000\303*\300\001\303+\300\002\303,\300\003\303-\300\004\303.\300\005\303/\300\006\3030\300\007\3031\300\b\3032\300\t\3033\300\n\3034\300\013\3035\300\f\3036\300\r\3037\300\016\3038\300\017\3039\300\020\303:\300\021\303;\300\022\303<\300\023\303=\300\024\303>\300\025\303?\300\026\303@\300\027\303A\300\030\303B\300\031\303C\300\032\303D\300\033\303E\300\034\303F\300\035\303G\300\036\303H\300\037\303I\300 \303J\300!\303K\300\"\303L\300#\303M\300$\303N\300%\303O\300&\303P\300'\303Q\300(\303R\300)\303S\300*\303T\300+\303U\300,\303V\300-\303W\300.\303X\300/\303Y\3000\303Z\3001\303[\3002\303\\\3003\303]\3004\303^\3005\303`\3006\303d\3007\303e\3008\303f\3009\303g\300:\303j\300;\303k\300<\303l\300=\303m\300>\303n\300?\303o\300A\303p\300B\303q\300C\303r\300D\303s\300E\303t\300F\303u\300G\303v\321e\001\000C\343\000\000\000\321e\000\000C\342\000\000\000\321A\225\000\000\000\311\321A\231\000\000\000\312\321A\226\000\000\000\313\321A\237\000\000\000\314\321A\235\000\000\000\303\004\321A\344\000\000\000\303\005\321A\345\000\000\000\303\006e\001\000A\346\000\000\000\364\303\0077\347\000\000\000\365\303\b7\263\000\000\000\365\303\t\013\004\350\000\000\000L\351\000\000\000\004\352\000\000\000L\353\000\000\000\004\354\000\000\000L\355\000\000\000\004\356\000\000\000L\357\000\000\000\004\360\000\000\000L\361\000\000\000\004\362\000\000\000L\363\000\000\000\004\364\000\000\000L\365\000\000\000\004\366\000\000\000L\367\000\000\000\004\370\000\000\000L\371\000\000\000\004\372\000\000\000L\373\000\000\000\004\372\000\000\000L\374\000\000\000\004\375\000\000\000L\376\000\000\000\004\377\000\000\000L\000\001\000\000\004\001\001\000\000L\002\001\000\000\004\003\001\000\000L\004\001\000\000\004\005\001\000\000L\006\001\000\000\004\007\001\000\000L\b\001\000\000\004\t\001\000\000L\n\001\000\000\303\n\302\007\352~\013\004\353\000\000\000L\026\000\000\000\004\371\000\000\000L\013\001\000\000\004\357\000\000\000LH\000\000\000\004\367\000\000\000L\f\001\000\000\004\357\000\000\000LF\000\000\000\004\363\000\000\000L\r\001\000\000\004\373\000\000\000L\033\000\000\000\004\006\001\000\000L\016\001\000\000\004\361\000\000\000L\017\001\000\000\004\376\000\000\000L\020\001\000\000\004\353\000\000\000L\021\001\000\000\004\376\000\000\000L\022\001\000\000\303\013\354|\013\004\000\001\000\000L\026\000\000\000\004\371\000\000\000L\013\001\000\000\004\b\001\000\000LH\000\000\000\004\367\000\000\000L\f\001\000\000\004\357\000\000\000LF\000\000\000\004\n\001\000\000L\r\001\000\000\004\002\001\000\000L\033\000\000\000\004\006\001\000\000L\016\001\000\000\004\000\001\000\000L\017\001\000\000\004\355\000\000\000L\020\001\000\000\004\n\001\000\000L\021\001\000\000\004\376\000\000\000L\022\001\000\000\303\013&\000\000\303\f\301\303\r\301\303\021\301\303\022\265\303\023\302\007\352\n\004\023\001\000\000\303\024\354\b\004\024\001\000\000\303\024\004\025\001\000\000\303\025\n\303\026\t\303\027\n\303\030\265\303\031\301\303\032\265\303\033\301\303\034\265\303\035\301\303\036\265\303\037\t\303#\265\303$\265\303%\265\303)\013\302<L\026\001\000\000\302?L\027\001\000\000\302YL\030\001\000\000\302ML\031\001\000\000\302=L\032\001\000\000\302>L\033\001\000\000\302:L\034\001\000\000\302NL\035\001\000\000\302^L\036\001\000\000\302DL\037\001\000\000\302TL \001\000\000\302DL!\001\000\000\302GL\"\001\000\000\302FL#\001\000\000\3029L$\001\000\000\302;L%\001\000\000\302;L&\001\000\000\302OL'\001\000\000\302ZL(\001\000\000\302XL)\001\000\000\302FL*\001\000\000\302GL+\001\000\000\302>L,\001\000\000\302?L-\001\000\000\302BL.\001\000\000\302CL/\001\000\000\302BL0\001\000\000\302CL1\001\000\000\302<L2\001\000\000\302LL3\001\000\000\302=L4\001\000\000\302IL5\001\000\000\302JL6\001\000\000\302FL7\001\000\000\302GL8\001\000\000\302>L9\001\000\000\302?L:\001\000\000\302=L;\001\000\000\302<L<\001\000\000\302WL=\001\000\000\302CL>\001\000\000\302VL?\001\000\000\302BL@\001\000\000\302ULA\001\000\000\302RLB\001\000\000\302PLC\001\000\000\302QLD\001\000\000\302NLE\001\000\000\303_\t\303h\004\342\000\000\000\303i\302\007\352\t\321\300@CF\001\000\000\302*\356\016\302r\356)\016C\002\003\216\005\000\001\000\004\007\000\213\001\000\000&\001\000\000\f\000(\001\000\001\f\000+\001\000'\001\000,\001e\001\000A\r\000\000\000BH\001\000\000$\000\000\341\275P\343e\003\000BI\001\000\000\335$\001\000\3525e\003\000AJ\001\000\000\352\024e\003\000BJ\001\000\000\335$\001\000\315\352\005\305\265G\343e\003\000AK\001\000\000\352\016e\003\000BK\001\000\000\335$\001\000\016e\003\000BL\001\000\000e\003\000AM\001\000\000^\004\000$\002\000\0168\250\000\000\000\021\275@!\001\000_\005\000e\003\000BN\001\000\000\335^\006\000$\002\000)\016C\002\003\236\005\000\000\000\002\001\000\004\000\240\005-\001\335\270\357)\016C\002\003\242\005\000\002\000\006\004\000(\000\000\001\f\000&\001\000'\001\000-\001e\000\000BR\001\000\000\336\337AS\001\000\000\265\337\351$\004\000\311\265\312\306\305\243\352\013\340\337\306G\357\016\223\001\354\362)\016C\002\003\240\005\001\000\001\004\004\000_\000\000\026\001\000f\001\000$\001\000%\001\335\226\352\006\336\321\357\016)\337\265\254\352$\321\276\200\000\246\352\035\321\276\300\000\243\352\026\340\273\240\321\275?\255\257\344\337\216\347\265\253\3523\336\340\357\016)\321\276\300\000\246\352!\321\276\370\000\243\352\032\266\321\276\340\000\246\235\321\276\360\000\246\235\343\321\266\273\337\236\240\266\236\255\344)\265\343\336\321\357\016)\016C\002\003\250\005\001\000\001\002\000\0005\000\321\227\004H\000\000\000\253\021\352*\016\321\004U\001\000\000\246\021\352\t\016\321\004V\001\000\000\244\021\353\024\016\321\004W\001\000\000\246\021\352\t\016\321\004X\001\000\000\244(\016C\002\003\262\005\001\000\001\002\000\002\031\000\321\227\004H\000\000\000\253\021\352\016\016\321\277\000\246\021\352\006\016\321\277\001\244(\007\0020\007\0029\016C\002\003\264\005\001\000\001\002\002\000-\000\000.\001\000/\001\321\227\004H\000\000\000\253\021\352\"\016\335\321\357\021\353\033\016\336\321\357\021\353\024\016\321\004[\001\000\000\251\021\353\t\016\321\004\\\001\000\000\251(\016C\002\003\272\005\001\004\001\003\000\0002\000\321\351\314\265\311\265\313\307\310\243\352%\321B^\001\000\000\307$\001\000\316\001\000\334\000\000\243\021\353\t\016\306\001\000\340\000\000\246\352\003\223\000\223\002\354\330\305(\016C\002\003\276\005\001\001\001\003\000\000)\000\321\227\004H\000\000\000\254\352\003\t(\321B`\001\000\000\265$\001\000\315\001\000\334\000\000\246\021\352\t\016\305\001\000\340\000\000\243(\016C\002\003\302\005\002\000\002\003\000\000#\000\321\322\235\021\004b\001\000\000\253\353\023\021\004c\001\000\000\253\353\n\021\004d\001\000\000\253\352\003\n(\016\t(\016C\002\003\312\005\003\003\003\006\003\000c\000\000\000\f\000\n\001\000\013\001\322\312\306\321\351\243\352[\323\306\315G\313\306\217\316\321\351\243\352\b\323\306G\307\251\353\362e\000\000Bf\001\000\000\336\337\307G\021\353\007\016\004\026\000\000\000G$\001\000\016e\000\000Bf\001\000\000\321Bg\001\000\000\305\306$\002\000$\001\000\016e\000\000Bf\001\000\000\336\004\351\000\000\000G$\001\000\016\354\241)\016C\002\003\320\005\002\000\002\005\001\000\035\000\000\000\fe\000\000Bf\001\000\000\004i\001\000\000\321\266\252\352\004\321\354\002\301\235\322\235$\001\000)\016C\002\003\324\005\001\002\001\004\005\000\241\001\000\000)\001\000(\001\000\000\f\000\004\001\0005\001\321\265\245\352M\321\265\252i\227\000\000\000\335\336\266\236\251\352\031e\002\000Bf\001\000\000\004\037\001\000\000$\001\000\016\265\341\321\216\325\354\332\340Bk\001\000\000\336\266\236\335\236\321$\002\000\312^\004\000\306\004l\001\000\000\360\016\321\306\236\325\335\306\235\341\354\265\321\214\325\321\265\252\352H\335\265\251\352\"^\004\000\266\004U\001\000\000\360\016^\004\000\336\266\236\004l\001\000\000\360\016\321\216\325\336\266\236\341\354\326\340Bk\001\000\000\321\335$\002\000\312^\004\000\306\004m\001\000\000\360\016\321\306\236\325\335\306\236\341\354\265)\016C\002\003\334\005\000\005\000\006\r\000\234\002\000\000\034\001\000\036\001\000\030\001\000\037\001\000\000\f\0006\001\0001\001\000\032\001\000v\001\0004\001\000)\001\000(\001\000\035\001\335\336\252i\306\000\000\000\337\226\3522\336Bg\001\000\000\265\340$\002\000\335Bg\001\000\000\265\340$\002\000\251\352\031e\004\000Bf\001\000\000\335Bg\001\000\000\340$\001\000$\001\000\016\354S^\005\000^\006\000\336Bg\001\000\000\265\340$\002\000\357\214\357\016\337\352.^\007\000\352\016^\007\000\004\037\001\000\000\235\335\235\354\002\335\317\351\335\351\236\314^\b\000\307\357\303\004^\t\000\307\310\302\004\267G\361\016\354\016e\004\000Bf\001\000\000\335$\001\000\016^\n\000^\006\000\335\357\235^\013\000\234`\n\000\265\251\352\022e\004\000Bf\001\000\000\004o\001\000\000$\001\000\016e\004\000Bf\001\000\000\004p\001\000\000$\001\000\016\335\342\335\351\344^\f\000\340\245\352\031^\005\000^\006\000\335Bg\001\000\000\340^\f\000$\002\000\357\357\016\354\037^\f\000\340\243\352\030^\005\000^\006\000\335Bg\001\000\000^\f\000\340$\002\000\357\214\357\016^\f\000\344e\004\000Aq\001\000\000Br\001\000\000$\000\000)\016C\002\003\346\005\001\000\001\004\002\000\"\000\000\034\001\000\035\001\321\352\037\335Bg\001\000\000\265\336$\002\000\321\235\335Bg\001\000\000\336$\001\000\235\341\336\321\351\235\342)\016C\002\003\350\005\000\000\000\001\001\000\003\000\352\005#\001\n\341)\016C\002\003\354\005\000\000\000\001\002\000\007\000\356\005\034\001\360\005\035\001\301\341\265\342\275\376(\016C\002\003\362\005\000\000\000\000\000\000\001\000)\016C\002\003\364\005\000\000\000\001\001\000\003\000\360\005\035\001\265\341)\016C\002\003\366\005\000\000\000\001\002\000\004\000\360\005\035\001\356\005\034\001\336\351\341)\016C\002\003\370\005\000\000\000\004\003\000\035\000\360\005\035\001\356\005\034\001\276\0052\001\335\336\351\243\352\027\335\217\341\337\336B}\001\000\000\335$\001\000\357\352\006\335\217\341\354\356)\016C\002\003\374\005\000\000\000\004\003\000\034\000\360\005\035\001\276\0052\001\356\005\034\001\335\265\245\352\027\335\216\341\336\337B}\001\000\000\335$\001\000\357\352\006\335\216\341\354\356)\016C\002\003\376\005\001\000\001\004\002\0005\000\000\034\001\0000\001\321\335\351\243\352\025\336\335B}\001\000\000\321$\001\000\357\226\352\006\321\217\325\354\347\321\335\351\243\352\024\336\335B}\001\000\000\321$\001\000\357\352\006\321\217\325\354\350\321(\016C\002\003\200\006\001\000\001\005\002\0007\000\0000\001\000\034\001\321\265\245\352\027\335\336B}\001\000\000\321\266\236$\001\000\357\226\352\006\321\216\325\354\346\321\265\245\352\026\335\336B}\001\000\000\321\266\236$\001\000\357\352\006\321\216\325\354\347\321(\016C\002\003\202\006\000\000\000\002\002\000\005\000\360\005\035\001\376\005@\001\336\335\357\341)\016C\002\003\204\006\000\000\000\002\002\000\005\000\360\005\035\001\200\006A\001\336\335\357\341)\016C\002\003\206\006\000\000\000\003\003\000\027\000\304\003\000\f\210\006E\001\356\005\034\001e\000\000Bf\001\000\000\004\037\001\000\000$\001\000\016\336\337\357\016\264(\016C\002\003\210\006\001\000\001\003\002\000\022\000\000\f\001\000 \001\321\352\f\335B\205\001\000\000\321$\001\000\016\335\351\342)\016C\002\003\214\006\000\000\000\003\004\000 \000\216\006 \001\220\006\f\001\356\005\034\001\360\005\035\001\335\265\245\352\033\335\336\351\251\352\f\336B\205\001\000\000\337$\001\000\016\335\216\341\336\335G\347\351\344)\016C\002\003\222\006\000\000\000\003\004\000\022\000\216\006 \001\220\006\f\001\356\005\034\001\360\005\035\001\335\336\351\266\236\243\352\n\335\217\341\336\335G\347\351\344)\016C\002\003\224\006\001\003\001\005\004\000=\000\000\035\001\000\f\001\000 \001\000\034\001\335\311\266\312\306\336\351\244\3523\336\351\306\321\232\235\337\235\336\351\234\313\336\307GBg\001\000\000\265\305$\002\000\340Bg\001\000\000\265\305$\002\000\251\352\b\307\343\336\307G\344)\223\001\354\311)\016C\002\003\226\006\000\000\000\002\001\000\005\000\224\006H\001\335\264#\001\000\016C\002\003\230\006\000\000\000\002\001\000\005\000\224\006H\001\335\266#\001\000\016C\002\003\232\006\001\002\001\004\005\000f\000\000\035\001\0002\001\000\034\001\000\"\001\000S\001\335\311\321\265\243\352\025\222\000\336\337B}\001\000\000\305$\001\000\357\352\005\222\000\354\357\305\266\235\312\336\337B}\001\000\000\306$\001\000\357\352\005\223\001\354\357\305\265\246\3520\305\337\351\243\352*\340^\004\000\253\352\n^\004\000\305\306\321\361\016)\337Bg\001\000\000\265\305$\002\000\337Bg\001\000\000\306$\001\000\235\343\305\341)\016C\002\003\234\006\000\000\000\002\001\000\004\000\232\006K\001\335\266\357)\016C\002\003\236\006\000\000\000\003\003\000\037\000\356\005\034\001\304\003\000\f\232\006K\001\335\351\265\251\352\025e\001\000Bf\001\000\000\004\037\001\000\000$\001\000\016\275\375(\337\266\357\016)\016C\002\003\240\006\000\000\000\002\001\000\004\000\232\006K\001\335\264\357)\016C\002\003\242\006\000\001\000\006\002\000Q\000\000\035\001\000\034\001\335\311\336\351\266\245\352I\305\265\245\352D\305\336\351\251\352\003\222\000\336Bg\001\000\000\265\305\266\236$\002\000\336Bg\001\000\000\305\305\266\235$\002\000\235\336Bg\001\000\000\305\266\236\305$\002\000\235\336Bg\001\000\000\305\266\235$\001\000\235\342\305\266\235\341)\016C\002\003\244\006\000\004\000\005\004\000W\000\000A\001\000\035\001\000@\001\000\034\001\335\336\357\311\337\305\357\312\337\336\357\313\335\307\357\314\305\306\243\352B\306\336\244\352=\336\310\244\3528\310\307\243\3523\340Bg\001\000\000\265\305$\002\000\340Bg\001\000\000\310\307$\002\000\235\340Bg\001\000\000\306\310$\002\000\235\340Bg\001\000\000\305\306$\002\000\235\344\307\342)\016C\002\003\246\006\000\001\000\005\003\0000\000\000@\001\000\035\001\000\034\001\335\336\357\311\337Bg\001\000\000\265\336$\002\000\337Bg\001\000\000\336\305$\002\000B\224\001\000\000$\000\000\235\337Bg\001\000\000\305$\001\000\235\343)\016C\002\003\252\006\000\001\000\005\003\0000\000\000@\001\000\035\001\000\034\001\335\336\357\311\337Bg\001\000\000\265\336$\002\000\337Bg\001\000\000\336\305$\002\000B\226\001\000\000$\000\000\235\337Bg\001\000\000\305$\001\000\235\343)\016C\002\003\256\006\003\001\003\004\006\000^\000\000\034\001\000\"\001\000S\001\000\r\001\000\035\001\000!\001\335Bg\001\000\000\321\322$\002\000\311\336\337\254\352\005\305\344\354\020\323\265\243\352\007\305\340\235\344\354\005\340\305\235\344\335Bg\001\000\000\265\321$\002\000\335Bg\001\000\000\322$\001\000\235\341^\004\000\322\245\352\r^\004\000\322\321\236\236_\004\000\354\f^\004\000\321\245\352\005\321_\004\000\337_\005\000)\016C\002\003\260\006\000\000\000\004\003\000\007\000\256\006S\001\360\005\035\001\356\005\034\001\335\336\337\351\266\361)\016C\002\003\262\006\000\000\000\004\002\000\006\000\256\006S\001\360\005\035\001\335\265\336\264\361)\016C\002\003\264\006\000\000\000\004\003\000\b\000\256\006S\001\360\005\035\001\376\005@\001\335\336\337\336\357\266\361)\016C\002\003\266\006\000\000\000\004\003\000\b\000\256\006S\001\200\006A\001\360\005\035\001\335\336\337\357\337\264\361)\016C\002\003\270\006\000\000\000\002\002\000\004\000\346\0058\001\272\006\r\001\335\336\357)\016C\002\003\274\006\000\000\000\003\004\0009\000\276\006\"\001\274\006Y\001\304\003\000\f\300\006d\001\335\336\253\352 e\002\000Bf\001\000\000\004\037\001\000\000$\001\000\016e\002\000B\241\001\000\000\265$\001\000\016)e\002\000Bf\001\000\000\004\242\001\000\000$\001\000\016\340\356\016)\016C\002\003\306\006\000\000\000\001\002\000\005\000\356\005\034\001\360\005\035\001\301\341\265\342)\016C\002\003\310\006\002\001\002\004\001\000\035\000\0000\001\301\311\322\265\245\352\025\335\321\322\266\236G\357\352\f\322\216\326\321\322G\305\235\311\354\350\305(\016C\002\003\312\006\002\006\002\005z\002\207\002\b\314\006\000\001\000\316\006\000\001\000\320\006\000\000\000\322\006\000\001\000\324\006\000\002\000\020\000\001\000\342\001\000\001\000\232\001\000\001\000\326\006\000\003\252\002\000\001\262\002\001\001\254\002\002\001\276\002\003\001\272\002\004\001\310\003\005\001\312\003\006\001\330\006\007\001\332\006\b\001\334\006\t\001\336\006\n\001\340\006\013\001\220\006\f\001\272\006\r\001\342\006\016\001\344\006\017\001\346\006\020\001\350\006\021\001\352\006\022\001\354\006\023\001\356\006\024\001\360\006\025\001\362\006\026\001\364\006\027\001\366\006\030\001\370\006\031\001\372\006\032\001\374\006\033\001\356\005\034\001\360\005\035\001\376\006\036\001\200\007\037\001\216\006 \001\202\007!\001\276\006\"\001\352\005#\001\204\007$\001\206\007%\001\210\007&\001\212\007'\001\214\007(\001\216\007)\001\216\005*\001\236\005+\001\242\005,\001\240\005-\001\250\005.\001\262\005/\001\264\0050\001\272\0051\001\276\0052\001\302\0053\001\312\0054\001\320\0055\001\324\0056\001\334\0057\001\346\0058\001\350\0059\001\354\005:\001\362\005;\001\364\005<\001\366\005=\001\370\005>\001\374\005?\001\376\005@\001\200\006A\001\202\006B\001\204\006C\001\206\006D\001\210\006E\001\214\006F\001\222\006G\001\224\006H\001\226\006I\001\230\006J\001\232\006K\001\234\006L\001\236\006M\001\240\006N\001\242\006O\001\244\006P\001\246\006Q\001\252\006R\001\256\006S\001\260\006T\001\262\006U\001\264\006V\001\266\006W\001\270\006X\001\274\006Y\001\306\006Z\001\310\006[\001\312\006\\\001\220\007]\001\222\007^\001\224\007_\001\226\007`\001\230\007a\001\232\007b\001\234\007c\001\300\006d\001\236\007e\001\240\007f\001\242\007g\001\244\007h\001\246\007i\001\250\007j\001\252\007k\001\254\007l\001\256\007m\001\260\007n\001\262\007o\001\264\007p\001\266\007q\001\270\007r\001\272\007s\001\274\007t\001\276\007u\001\300\007v\001\304\003\000\f\306\003\001\f\f\003\303\004\b\314\f\000\303\005\322\265\244\021\353\026\016\004\341\001\000\000B\342\001\000\000\321\322\266\236G$\001\000\265\246\352\003\335(\322\267\246i\331\000\000\000\321\322\266\236G\004\343\001\000\000\253i\311\000\000\000\322\216\326\013\311\321\322\266\236G\317\021\004\344\001\000\000\253\353\n\021\004\345\001\000\000\253\352\007\004W\001\000\000(\021\004\346\001\000\000\253\352\005&\000\000(\021\004\347\001\000\000\253\352\003\013(\021\004\350\001\000\000\253\352\007\277\000\277\0013(^1\000\307\357\352s^\\\000\321\322\360\312\004\003\000\000\000\004\002\000\000\000\004\001\000\000\000\004\b\000\000\000&\004\000B\351\001\000\000\306$\001\000\021\353\013\0168\352\001\000\000\306\215\357\226\352\r8:\000\000\000\3061\001\000\000\000(^]\000\321\322\306\351\236\360\315\363\021\353\004\016\305\362\352\003\305(\305\335\253\352\023\305\306G\362\352\r8:\000\000\000\3061\001\000\000\000(\305\306G(\013()\007\002 \0074\000\001\000\023\000\000\000\b\006\000\000\000\004\007\365\377\377\377\013\000\001 \000\f\000\n\016C\002\003\220\007\002\n\002\004\003\001\343\001\000\000[\001\000\\\001\000\000\001\335\321\322\360\311\336\321\322\305\351\236\360\313&\000\000\314\265\303\004\307\312\302\004\275\n\243\352g\306\363\353c\306\006\254\352^\337B\353\001\000\000\306$\001\000\303\007\265\303\005\302\005\302\007\351\243\3528\302\007\302\005G\304\b\227\004H\000\000\000\251\352$\301\302\b\215\235\302\b\252\352\032\302\bB\354\001\000\000\305$\001\000\352\r\310B\205\001\000\000\302\b$\001\000\016\223\005\354\302\337B_\000\000\000\306$\001\000\312\223\004\354\224\310\351\266\245\352F\300\000\303\t\300\000\016\310B\355\001\000\000b\t\000$\001\000\016\266\304\005\303\004\302\004\310\351\243\352\036\310\302\004G\310\302\004\266\236G\252\352\r\310\302\005\221\303\005q\310\302\004GI\223\004\354\335\310\302\005C0\000\000\000\013\310L\356\001\000\000\305\351L\247\001\000\000\307L\357\001\000\000(\016C\002\003\340\007\002\000\002\003\000\0004\000\321\265G\322\265G\252\352\033\321\265G\004[\001\000\000\251\352\003\266(\322\265G\004[\001\000\000\251\352\003\264(\321\322\243\352\003\264(\321\322\245\352\004\266\215(\265(\016C\002\003\222\007\000\r\000\007\n\000\217\003\000\000]\001\000\034\001\000\035\001\0008\001\000\"\001\000^\001\000\004\001\000(\001\000\000\f\000d\001\335\336\337\360\316A\356\001\000\000\315\351\265\253\352\002)\305\265G\317\351\303\005\266\314\310\305\351\243\352*\305\310G\303\006\265\303\004\302\004\302\005\243\352\027\302\006\302\004G\307\302\004G\254\352\007\302\004\303\005\354\005\223\004\354\344\223\003\354\322\306A\247\001\000\000\314\310\302\005\243\352\013\340\307\310G\357\016\223\003\354\361^\004\000^\005\000\253\352B\305\351\266\251\352<\306A\357\001\000\000\305\265GG\304\f\365\352\032\340\004\361\001\000\000\357\016\302\f\351\265\251\352\036\340\004\362\001\000\000\357\016\354\024\302\f\227\004I\000\000\000\251\352\t\340\004\343\001\000\000\357\016^\004\000^\005\000\253i\334\000\000\000\305\351\267\246i\323\000\000\000\265\303\007\265\314\310\305\351\243\352\030^\006\000B\363\001\000\000\302\007\305\310G\351$\002\000\303\007\223\003\354\344\267\224\007^\006\000B\363\001\000\000\266^\006\000B\364\001\000\000^\007\000\266\235\302\007\233$\001\000$\002\000\303\t^\006\000B\365\001\000\000\305\351\302\t\233$\001\000\303\013e\b\000Bf\001\000\000\004\037\001\000\000$\001\000\016\265\303\n\302\n\302\013\243\352X\265\303\b\302\b\302\t\243\3529\302\b\302\013\232\302\n\235\320\305\351\246\353+\305\310G\313\302\b\302\t\266\236\252\352\r\307B\366\001\000\000\302\007$\001\000\313e\b\000Bf\001\000\000\307$\001\000\016\223\b\354\302e\b\000Bf\001\000\000\004\037\001\000\000$\001\000\016\223\n\354\243^\t\000\356\016)\016C\002\003\226\007\002\001\002\002\000\000\020\000\301\311\322\220\326\265\245\352\006\321\224\000\354\365\305(\016C\002\003\300\006\000\000\000\003\007\000\036\000\304\003\000\f\352\006\022\001\216\007)\001\272\0051\001\214\007(\001\376\006\036\001\200\007\037\001e\000\000Bf\001\000\000\336$\001\000\016\340\336\357^\004\000\234\343\301_\005\000\265_\006\000)\016C\002\003\236\007\002\001\002\006\022\001\260\001\000\000\034\001\000\035\001\000 \001\000\f\001\000c\001\000\022\001\000\021\001\000\032\001\000`\001\000\023\001\000\025\001\000\027\001\000\004\001\000\031\001\000\024\001\000d\001\0007\001\000b\001\321\021\353\003\016\301\345\351\342\340\351\343\322_\004\000^\006\000_\005\000^\007\000\352\"^\005\000^\b\000\004\367\001\000\000^\t\000^\005\000\351\236\360\235`\005\000^\n\000\235_\005\000\354f^\013\000\352P^\f\000B\370\001\000\000^\r\000$\001\000\004\367\001\000\000\235\311\265_\r\000^\b\000\277\000\272\305\351\236\360\305\235\311^\005\000\305Bg\001\000\000\265\305\351\271\236$\002\000\004\343\001\000\000\235\305Bg\001\000\000\305\351\271\236$\001\000\235\235_\005\000^\005\000\351_\t\000^\005\000^\016\000\235_\005\000^\017\000\356\016^\020\000\356\016\265_\021\000)\007\0020\016C\002\003\240\007\001\001\001\003\004\002\214\001\000\000\001\001\000b\001\000a\001\000g\001\335B\371\001\000\000\321$\001\000\311\336\021\265\253\352\026\305\004\372\001\000\000\251\352\007\305\343\266\342\354l\340\305\357\016\354f\021\266\253\352'\337\305\235\343\305\004\373\001\000\000\251\352\005\267\342\354P\305\004\374\001\000\000\251\352\005\270\342\354C\340\337\357\016\265\342\354;\021\267\253\352'\337\305\235\343\305\004\375\001\000\000\251\021\353\016\016\305\277\000\246\021\352\006\016\305\277\001\244\226\352\030\340\337\357\016\265\342\354\020\021\270\253\352\013\337\305\235\343\340\337\357\016\265\342)\007\0020\007\0029\016C\002\003\242\007\001\001\001\005\r\000\260\001\000\000#\001\0001\001\0008\001\000_\001\000!\001\000c\001\000\034\001\000\001\f\000&\001\000\"\001\000;\001\000\035\001\0007\001\335\352\020\336\321\357\266\253\352\005\337\321\357\016\t\341\354z\340\321G\315\352U\305_\004\000\305\321\357\021\264\253\352\t^\005\000^\006\000\357)\021\275\376\253\352\007^\005\000\007\357)\021\275\375\253\352&e\007\000BL\001\000\000e\007\000AM\001\000\000\007$\002\000\016e\007\000BN\001\000\000^\b\000\007$\002\000)\016^\004\000_\t\000\354 \336\321\357\266\253\352\024\321\004\367\001\000\000\246\352\013\337\321\357\016\337_\t\000\354\006^\n\000\356\016^\013\000\265\243\352\004\265\354\024^\013\000^\006\000\351\245\352\007^\006\000\351\354\004^\013\000_\013\000^\f\000\356)\016C\002\003\250\007\002\001\002\005\002\001p\000\000\005\001\000\004\001\335\321\357\226\352\n\321B7\000\000\000%\000\000\321\265\251\352\025\266\321\233\265\243\352\t\004\376\001\000\000\311\354L\277\000\311\354G\322\275\020\251\3527\321\336B\364\001\000\000\321$\001\000\253\352)\321\265\243\352\f\321\214\325\004\377\001\000\000\311\354\003\301\311\305\004\000\002\000\000\321B7\000\000\000\275\020$\001\000\235\235\311\354\013\321B7\000\000\000$\000\000\311\305(\007\0020\016C\002\003\252\007\002\001\002\005\001\001\376\001\000\000i\0018\263\000\000\000B\344\000\000\000\321$\001\000\226\352)\335\004\001\002\000\000\254\352\027\004\002\002\000\000\321B7\000\000\000$\000\000\235\004\362\001\000\000\235(\321B7\000\000\000%\000\000\321\265\251\352\025\266\321\233\265\243\352\t\004\376\001\000\000\311\354>\277\000\311\3549\322\275\020\251\352)\321\265\243\352\f\321\214\325\004\377\001\000\000\311\354\003\301\311\305\004\000\002\000\000\321B7\000\000\000\275\020$\001\000\235\235\311\354\013\321B7\000\000\000$\000\000\311\321\227\004\214\000\000\000\253\352\023\335\004\001\002\000\000\254\352\n\004\003\002\000\000\224\000\354W\335\004\342\000\000\000\254\352N\305B\342\001\000\000\004\343\001\000\000$\001\000\265\243\352<\322\275\020\251\021\352\022\016\305B\342\001\000\000\004\004\002\000\000$\001\000\265\243\021\353\030\016\322\275\n\251\352\032\305B\342\001\000\000\004\005\002\000\000$\001\000\265\243\352\b\004\006\002\000\000\224\000\305(\007\0020\016C\002\003\254\007\002\001\002\005\001\000J\000\000i\001\322\275\020\251\352)\321\265\243\352\f\321\214\325\004\377\001\000\000\311\354\003\301\311\305\004\000\002\000\000\321B7\000\000\000\275\020$\001\000\235\235\311\354\013\321B7\000\000\000$\000\000\311\335\004\342\000\000\000\253\352\b\004\007\002\000\000\224\000\305(\016C\002\003\256\007\001\002\001\002\t\001\013\000\000\000\f\000\b\001\000\002\001\000\000\001\000j\001\000h\001\000l\001\000k\001\000\001\001\300\000\312&\000\000\311\306\321\357)\016C\002\003\220\b\001\006\001\005\013\000\225\006\000\000\000\f\000\000\001\000\001\000\000\002\000\000\001\001\000\003\000\000\004\000\000\005\000\000\006\000\000\007\000\000\b\000\321\227\304\004\004I\000\000\000\253i\335\001\000\000\321\363\352\017e\000\000Bf\001\000\000\321$\001\000\016)\336B\342\001\000\000\321$\001\000\265\246\352\023e\000\000Bf\001\000\000\004\t\002\000\000$\001\000\016)\337\352b\3218\347\000\000\000\247\021\353@\016\3218\n\002\000\000\247\021\3535\016\3218\013\002\000\000\247\021\353*\016\3218\f\002\000\000\247\021\353\037\016\3218\r\002\000\000\247\021\353\024\016\3218\016\002\000\000\247\021\353\t\016\3218\017\002\000\000\247\352\027e\000\000Bf\001\000\000\321B7\000\000\000$\000\000$\001\000\016)\336B\205\001\000\000\321$\001\000\016\340B\020\002\000\000\321$\001\000i\206\000\000\000\321\351\311e\000\000Bf\001\000\000\004\021\002\000\000$\001\000\016\265\312\306\305\243\352T\306\265\254\352\022e\000\000Bf\001\000\000\004\022\002\000\000$\001\000\016\306\321\250\352\013^\004\000\321\306G\357\016\354\022e\000\000Bf\001\000\000\004\023\002\000\000$\001\000\016\306\275\024\245\352\024e\000\000Bf\001\000\000\004\024\002\000\000$\001\000\016\354\005\223\001\354\251e\000\000Bf\001\000\000\004\025\002\000\000$\001\000\016\355\235\000^\005\000B\026\002\000\000\321$\001\000\004\243\000\000\000\253\352\030e\000\000Bf\001\000\000\321B7\000\000\000$\000\000$\001\000\016\354q^\005\000B\027\002\000\000\321$\001\000\317\351\311e\000\000Bf\001\000\000\004\030\002\000\000$\001\000\016\265\312\306\305\243\3529\306\265\254\352\022e\000\000Bf\001\000\000\004\022\002\000\000$\001\000\016\307\306G\314e\000\000Bf\001\000\000\310\004\031\002\000\000$\002\000\016^\004\000\321\310G\357\016\223\001\354\304e\000\000Bf\001\000\000\004\032\002\000\000$\001\000\016\336B\033\002\000\000\321$\001\000\016)\302\004\004H\000\000\000\253\3526\321B\034\002\000\000$\000\000\304\005\351\275O\245\352\026\302\005Bg\001\000\000\265\275K$\002\000\004\035\002\000\000\235\303\005e\000\000Bf\001\000\000\302\005$\001\000\016)\302\004\004F\000\000\000\253\352\036e\000\000Bf\001\000\000^\006\000\321^\007\000\352\005\275\020\354\003\275\n\360$\001\000\016)\302\004\004\213\000\000\000\253\352\036e\000\000Bf\001\000\000^\b\000\321^\007\000\352\005\275\020\354\003\275\n\360$\001\000\016)\302\004\004\214\000\000\000\253\352\036e\000\000Bf\001\000\000^\t\000\321^\007\000\352\005\275\020\354\003\275\n\360$\001\000\016)\302\004\004\215\000\000\000\253\352\035e\000\000Bf\001\000\000\321B7\000\000\000$\000\000\004\036\002\000\000\235$\001\000\016)\302\004\004J\000\000\000\253\352\023e\000\000Bf\001\000\000^\n\000\321\357$\001\000\016)\302\004\004\033\000\000\000\253\352 e\000\000Bf\001\000\000\004\037\002\000\000\321A6\000\000\000\235\004b\001\000\000\235$\001\000\016)e\000\000Bf\001\000\000\321$\001\000\016)\016C\002\003\260\007\001\001\001\004\001\000,\000\000.\001\321\265G\004 \002\000\000\254\352\003\301(\266\311\305\321\351\243\352\r\335\321\305G\357\226\353\005\223\000\354\357\321Bg\001\000\000\266\305%\002\000\016C\002\003\262\007\002\004\002\007\f\000\262\007\000\000p\001\000\000\f\000h\001\000\027\001\000\t\001\000\016\001\000\004\001\000\020\001\000\017\001\000\006\001\000i\001\000\b\001\321\004!\002\000\000\253\021\353\024\016\321\004\"\002\000\000\253\021\353\t\016\321\004\332\001\000\000\251\352\007\335\356\016\355\215\003\321\004#\002\000\000\253\352K\322Bg\001\000\000\321\351\266\235$\001\000B$\002\000\000$\000\000\320B%\002\000\000\004\343\001\000\000$\001\000\310B%\002\000\000\004\350\001\000\000$\001\000\244\352\b\004&\002\000\000\224\003e\001\000B'\002\000\000\310$\001\000\016\t(\321\004(\002\000\000\253\352\006\n\343\355,\003\321\004)\002\000\000\253\352\006\t\343\355\036\003\321\004*\002\000\000\253\352\007\340\226\344\355\017\003^\004\000i\226\001\000\000\321\004\004\002\000\000\253i\212\001\000\000\322Bg\001\000\000\321\351\266\235$\001\000B$\002\000\000$\000\000B]\000\000\000\004\367\001\000\000$\001\000\315\351\266\253\352I\305\265G\301\253\352Be\001\000Bf\001\000\000\004+\002\000\000^\005\000\235\004,\002\000\000\235^\006\000B\364\001\000\000^\005\000^\007\000\233$\001\000\235\004-\002\000\000\235^\b\000\235\004.\002\000\000\235$\001\000\016\355\026\001\305\265G\004/\002\000\000\253\352\r\275\013_\005\000\272_\b\000\355\377\000\305\265G\0040\002\000\000\253\352\016\275\030_\005\000\275\b_\b\000\355\347\000\305\265G\0041\002\000\000\253\352\016\2755_\005\000\275\013_\b\000\355\317\000\305\265G\0042\002\000\000\253\352\016\275q_\005\000\275\017_\b\000\355\267\00083\002\000\000\305\265G\357\312\305\351\267\246\352\r83\002\000\000\305\266G\357\313\354\f8\264\000\000\000A4\002\000\000\3138\230\000\000\000B\352\001\000\000\306$\001\000\021\353\036\016\3068\264\000\000\000A5\002\000\000\243\021\353\016\016\3068\264\000\000\000A6\002\000\000\245\352\024e\001\000Bf\001\000\000\0047\002\000\000$\001\000\016\t(8\230\000\000\000B\352\001\000\000\307$\001\000\021\353\036\016\3078\264\000\000\000A8\002\000\000\243\021\353\016\016\3078\264\000\000\000A4\002\000\000\245\352\024e\001\000Bf\001\000\000\0049\002\000\000$\001\000\016\t(\306_\005\000\307_\b\000\t(^\004\000\352x\321\004:\002\000\000\253\352o\322Bg\001\000\000\321\351\266\235$\001\000B$\002\000\000$\000\000\311^\006\000B\365\001\000\000^\t\000\305\357^\007\000\232$\001\000\3168\264\000\000\000A5\002\000\000\243\021\353\016\016\3068\264\000\000\000A6\002\000\000\245\352\024e\001\000Bf\001\000\000\0047\002\000\000$\001\000\016\t(\306_\005\0008\264\000\000\000A4\002\000\000_\b\000\t(^\004\000\352n\321\004;\002\000\000\253\352e\322Bg\001\000\000\321\351\266\235$\001\000B$\002\000\000$\000\000\315\301\253\352\036e\001\000Bf\001\000\000\004<\002\000\000^\n\000\235\004\037\001\000\000\235$\001\000\016\354,\305\004\342\000\000\000\253\021\353\t\016\305\004\001\002\000\000\253\352\007\305_\n\000\354\022e\001\000Bf\001\000\000\004=\002\000\000$\001\000\016\t(\321\004>\002\000\000\253\352\024e\001\000Bf\001\000\000\004?\002\000\000$\001\000\016\354j\321\004@\002\000\000\253\352\020e\001\000B\241\001\000\000\265$\001\000\016\354R^\013\000\352\027\321\004W\001\000\000\253\352\0166A\002\000\000\n;A\002\000\000\3547^\013\000\352\027\321\004\007\002\000\000\253\352\0166A\002\000\000\t;A\002\000\000\354\034e\001\000Bf\001\000\000\004B\002\000\000\321\235\004\037\001\000\000\235$\001\000\016\t(\n(\016C\002\003\000\001\000\001\003\001\000F\000\000h\001\321\021\004C\002\000\000\253\352\005\t\341\3548\021\004D\002\000\000\253\352\005\n\341\354+\021\004E\002\000\000\253\352\0166A\002\000\000\t;A\002\000\000\354\025\021\004F\002\000\000\253\352\f6A\002\000\000\n;A\002\000\000)\016C\002\003\264\007\000\001\000\005\007\001\325\001\000\000\000\f\000h\001\000\027\001\000\b\001\000\t\001\000i\001\000\007\001\300\000\311e\000\000Bf\001\000\000\004G\002\000\000\004H\002\000\000\235\305\336\357\235\004I\002\000\000\235\004J\002\000\000\235\305\336\226\357\235\004K\002\000\000\235\004L\002\000\000\235\305\337\357\235\004M\002\000\000\235\004N\002\000\000\235$\001\000\016\340\3525e\000\000Bf\001\000\000\004O\002\000\000\3058A\002\000\000\357\235\004P\002\000\000\235\004Q\002\000\000\235\3058A\002\000\000\226\357\235\004R\002\000\000\235$\001\000\016^\004\000\3527e\000\000Bf\001\000\000\004S\002\000\000\004T\002\000\000\235$\001\000\016\340\226\352\034e\000\000Bf\001\000\000\004U\002\000\000^\005\000\235\004V\002\000\000\235$\001\000\016^\006\000\226\352\022e\000\000Bf\001\000\000\004W\002\000\000$\001\000\016)\016C\002\003\260\t\001\000\001\001\000\000\017\000\321\352\007\004}\000\000\000(\004\367\001\000\000(\016C\002\003\266\007\001\003\001\006\b\000\237\002\000\000i\001\000\003\001\000\000\f\000\031\001\000\n\001\000\013\001\000m\001\000\000\003l\225\000\000\000\335\004\001\002\000\000\253\352\t\004Y\002\000\000\321\235\325\336\021!\000\000BZ\002\000\000$\000\000\312e\002\000B[\002\000\000\321\013\nL\\\002\000\000$\002\000\311\336\021!\000\000BZ\002\000\000$\000\000\306\236\344e\002\000Bf\001\000\000^\004\000^\005\000A\021\001\000\000G$\001\000\016^\006\000\305\357\016e\002\000Bf\001\000\000\004\037\001\000\000$\001\000\016e\002\000Bf\001\000\000^\004\000A\351\000\000\000$\001\000\016^\007\000\305C[\001\000\000\016)\313l\206\000\000\000e\002\000Bf\001\000\000^\004\000^\005\000A\022\001\000\000G$\001\000\016\3078\227\000\000\000\247\352,8]\002\000\000B^\002\000\000\307$\001\000\016\307A5\000\000\000\3525e\002\000Bf\001\000\000\307A5\000\000\000$\001\000\016\354!e\002\000Bf\001\000\000\004_\002\000\000$\001\000\0168]\002\000\000B^\002\000\000\307$\001\000\016e\002\000Bf\001\000\000^\004\000A\351\000\000\000$\001\000\016\016)/\016C\002\003\270\007\000\000\000\004\013\000n\000\330\006\007\001\332\006\b\001\304\003\000\f\334\006\t\001\346\006\020\001\272\002\004\001\342\006\016\001\344\006\017\001\246\007i\001\326\006\000\003\272\007s\001\335\226\352(\336\352\024e\002\000Bf\001\000\000\004`\002\000\000$\001\000\016\354\022e\002\000Bf\001\000\000\004a\002\000\000$\001\000\016\340\352<^\005\000B^\002\000\000\275\n$\001\000^\005\000B^\002\000\000\267$\001\000\233_\004\000\275q_\006\000\275\017_\007\000\336\352\022\004\001\002\000\000_\b\000^\t\000\335CA\002\000\000^\n\000\356)\016C\002\003\272\007\000\000\000\004\004\000\f\000\236\007e\001\226\007`\001\374\006\033\001\274\007t\001\335\336\004b\002\000\000\337\360\340\360)\016C\002\003\274\007\001\000\001\002\002\000\007\000\000u\001\000s\001\335\321\357\016\336\356)\016C\002\003\276\007\001\002\001\006\f\000\236\001\000\000p\001\000n\001\000o\001\000\032\001\000v\001\000\021\001\000\033\001\000\t\001\000q\001\000\016\001\000\017\001\000\000\f\321\363\352\004\301\325)\321\004\"\002\000\000\253\352\004\335\356)\336\321\357\316\351\265\245\352\027\337\306\321\360\226\352\002)\321Bg\001\000\000\306\351\266\235$\001\000\325\321\301\253\352\002)\340\352\013\340\004\037\001\000\000\235\321\235\325^\004\000\321\357\315\265G_\005\000\305\266G_\006\000^\005\000\352\004\321\344)\301\344^\007\000\352$8\264\000\000\000Bc\002\000\000^\b\000Bd\002\000\000\007\321$\002\000^\t\000^\n\000$\003\000\016\354\007^\b\000\321\357\016\265_\006\000e\013\000Be\002\000\000$\000\000)\016C\002\003\300\007\001\027\001\004\003\n\217\004\000\0000\001\0003\001\000/\001\300\000\303\n\300\001\303\013\300\002\303\f\300\003\303\r\300\004\303\016\300\005\303\017\300\006\303\020\300\007\303\021\300\b\303\025\300\t\303\026\321\351\314\301\303\005\265\303\006\266\303\b&\000\000\303\t\004f\002\000\000\004g\002\000\000\235\004h\002\000\000\235\004i\002\000\000\235\004j\002\000\000\235\004k\002\000\000\235\004l\002\000\000\235\004m\002\000\000\235\004n\002\000\000\235\004o\002\000\000\235\303\022\004p\002\000\000\303\023\004q\002\000\000\303\024\265\311\305\310\243iu\001\000\000\007\303\004\305\313\321\305\221\311G\316\021\004\367\001\000\000\253\353\034\021\004\036\001\000\000\253\353\023\021\004!\001\000\000\253\353\n\021\004\037\001\000\000\253\352\004\016\354\307\021\004r\002\000\000\253\353\n\021\004\377\001\000\000\253\352\030\305\310\243\352\r\321\305G\306\251\352\006\223\000\016\354\244\266\303\b\016\354\236\021\004\350\001\000\000\253\352D\305\310\243\352\023\321\305G\004}\000\000\000\251\352\b\302\r\356\016\355\347\000\305\310\243\352\023\321\305G\004\350\001\000\000\251\352\b\302\016\356\016\355\320\000\302\b\352\013\302\020\356\016\265\303\b\355\302\000\266\303\b\016\355S\377\021\004\344\001\000\000\253\353\023\021\004\345\001\000\000\253\353\n\021\004s\002\000\000\253\352\f\302\017\306\357\016\265\303\b\355\225\000\021\004\361\001\000\000\253\353\023\021\004\373\001\000\000\253\353\n\021\004t\002\000\000\253\352\017\266\303\b\223\006\302\n\306\357\016\016\355\004\377\021\004\362\001\000\000\253\353\023\021\004\346\001\000\000\253\353\n\021\004\347\001\000\000\253\352%\265\303\b\302\006\265\245\352\023\336\302\013\356\306\360\352\013\222\006\302\f\356\016\016\355\316\376\004\020\001\000\000\303\004\354,\337\306\357\352\n\302\021\356\016\265\303\b\354\036\335\306\357\021\353\t\016\306\004\\\001\000\000\251\352\007\302\025\356\016\354\b\266\303\b\016\355\232\376\016\302\004i\224\376\377\377\302\026\307\305\360\016\355\211\376\302\026\310\310\360\016\302\005\302\006\302\t&\003\000(\016C\002\003\352\t\001\000\001\002\001\000\005\000\000\005\001\335\321\235\341)\016C\002\003\354\t\001\000\001\004\001\000\r\000\000\005\001\335Bg\001\000\000\335\351\266\236%\001\000\016C\002\003\356\t\001\000\001\005\002\000\024\000\000\013\001\000\005\001\335\356\325\336Bg\001\000\000\265\336\351\266\236$\002\000\342\321(\016C\002\003\360\t\000\000\000\003\006\000I\000\362\t\004\001\352\t\n\001\364\t\000\001\216\b\003\001\366\t\000\003\356\t\f\001\004\013\001\000\000\341\336\004\350\001\000\000\357\016\337\217\343\337\340\266\236\243\3521^\004\000\337G\004}\000\000\000\251\352\037^\004\000\337\266\235G\004\350\001\000\000\251\352\020\337\267\235\343^\005\000\004\350\001\000\000\357\016)\337\217\343\354\312)\016C\002\003\370\t\000\000\000\002\004\000\037\000\362\t\004\001\364\t\000\001\216\b\003\001\366\t\000\003\004\013\001\000\000\341\336\217\342\336\337\243\352\021\340\336G\004\037\001\000\000\251\353\006\336\217\342\354\354)\016C\002\003\372\t\001\000\001\003\007\000L\000\000\004\001\000\n\001\000\000\001\000\003\001\000\001\001\000\000\003\000\f\001\004H\000\000\000\341\336\321\357\016\337\340\243\352=^\005\000\337\221\343G`\004\000\004\037\001\000\000\251\352\t\004\020\001\000\000\341\354\342^\004\000\004 \002\000\000\251\352\013\337\340\246\353\023\337\217\343\354\315^\004\000\321\251\352\306^\006\000\356\016))\016C\002\003\374\t\000\000\000\003\t\000\304\001\000\362\t\004\001\352\t\n\001\364\t\000\001\216\b\003\001\324\006\001\001\366\t\000\003\354\t\013\001\356\t\f\001\264\005\000\000\004\f\001\000\000\341\336\004\350\001\000\000\357\016\337\340\243i\261\000\000\000^\005\000\337\221\343G`\004\000\004\037\001\000\000\251\352\t\004\020\001\000\000\341\354\337^\004\000\004 \002\000\000\251\352\013\337\340\243\352\317\337\217\343\354\312^\006\000\356\004\373\001\000\000\251\352\023^\004\000\004\346\001\000\000\251\352\263^\007\000\356\016\354\254^\004\000\004\373\001\000\000\251\352.\336\004\373\001\000\000\357\016^\005\000\337G\004\373\001\000\000\251\021\353\r\016^\005\000\337G\004\346\001\000\000\251i}\377\377\377\337\217\343\355u\377^\004\000\004\350\001\000\000\251ii\377\377\377^\007\000\356\016\337\340\243\352\021^\b\000^\005\000\337G\357\352\006\337\217\343\354\354)\016C\002\003\376\t\000\000\000\003\005\000A\000\362\t\004\001\364\t\000\001\216\b\003\001\264\005\000\000\366\t\000\003\004F\000\000\000\341\336\337\243\3526\340^\004\000\336G\357\021\353%\016^\004\000\336G\004\343\001\000\000\251\352\036\336\337\266\236\251\021\353\017\016^\004\000\336\266\235G\004\343\001\000\000\252\352\006\336\217\342\354\307)\016C\002\003\200\n\000\002\000\005\n\000\263\001\000\000\b\001\000\000\001\000\003\001\000\000\000\000\000\003\000\002\001\000\022\001\000\004\001\000\023\001\000\024\001\266\341\336\337\243\352\017\340^\004\000\336G\357\352\006\336\217\342\354\356\004f\002\000\000^\004\000Bg\001\000\000^\005\000\336$\002\000\235\004f\002\000\000\235\311^\006\000B\342\001\000\000\305$\001\000\265\246\352\034\004\r\001\000\000_\007\000^\b\000B\342\001\000\000\305$\001\000\265\246\352\003\265\341)\336\312\306\337\243\352\022^\004\000\306G\004\367\001\000\000\251\352\005\223\001\354\353\306\337\243\352\027^\004\000\306G\004\361\001\000\000\251\352\n\004\033\000\000\000_\007\000)^\t\000B\342\001\000\000\305$\001\000\265\246\352\n\004\016\001\000\000_\007\000)\004\017\001\000\000_\007\000\265\341)\016C\002\003\202\n\002\000\002\003\002\000+\000\000\t\001\000\004\001\335\351\321\243\352\022\335B\205\001\000\000\004\026\000\000\000$\001\000\016\354\352\335\351\322\243\352\016\335B\205\001\000\000\336$\001\000\016\354\356)"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _qjsc_repl_size ## @qjsc_repl_size
.p2align 2
_qjsc_repl_size:
.long 16086 ## 0x3ed6
.globl _qjsc_repl ## @qjsc_repl
.p2align 4
_qjsc_repl:
.ascii "\002\241\003\016repl.js\006std\004os\020isFinite\024parseFloat\bopen\020Fraction\b\033[0m\bnone\n\033[30m\nblack\n\033[31m\006red\n\033[32m\ngreen\n\033[33m\fyellow\n\033[34m\bblue\n\033[35m\016magenta\n\033[36m\bcyan\n\033[37m\nwhite\016\033[30;1m\bgray\bgrey\016\033[31;1m\024bright_red\016\033[32;1m\030bright_green\016\033[33;1m\032bright_yellow\016\033[34;1m\026bright_blue\016\033[35;1m\034bright_magenta\016\033[36;1m\026bright_cyan\016\033[37;1m\030bright_white\016comment\nregex\016keyword\btype\024identifier\nerror\fresult\022error_msg\004> \fqjs > \f ... \002\001\002\002\002\003\002\004\002\005\002\006\002\007\002\b\002\t\002\n\002\013\002\r\002\016\002\020\002\021\002\022\002\023\002\024\002\030\002\031\006\033OA\006\033OB\006\033OC\006\033OD\006\033OF\006\033OH\f\033[1;5C\f\033[1;5D\b\033[1~\b\033[3~\b\033[4~\b\033[5~\b\033[6~\006\033[A\006\033[B\006\033[C\006\033[D\006\033[F\006\033[H\004\033\177\004\033b\004\033d\004\033f\004\033k\004\033l\004\033t\004\033u\002\177\016execCmd\020termInit\ffileno\fisatty\032ttyGetWinSize\022ttySetRaw\fsignal\fSIGINT\034setReadHandler\034sigint_handler\026handle_byte\"term_read_handler\bread\fbuffer\020is_alpha\002A\002Z\002a\002z\020is_digit\016is_word\002_\002$\024ucs_length\024charCodeAt*is_trailing_surrogate\026codePointAt\026is_balanced\004()\004[]\004{} print_color_text\bputs\022substring\022print_csi\004\033[\026move_cursor\006min\002C\002D\fupdate\004 \b\006\033[J\006out\nflush\finsert\032quoted_insert\024quote_flag\nabort\006cmd\024cursor_pos\nalert\"beginning_of_line\026end_of_line\030forward_char\fcharAt\032backward_char\"skip_word_forward$skip_word_backward\030forward_word\032backward_word\026accept_line\026history_add\bpush previous_history\032history_index\016history\030next_history\034history_search.history_search_backward,history_search_forward\036delete_char_dir\026delete_char\022control_d(backward_delete_char\036transpose_chars\036transpose_words\026upcase_word\026toUpperCase\032downcase_word\026toLowerCase\026kill_region\022kill_line$backward_kill_line\022kill_word$backward_kill_word\byank\024clip_board\022control_c\020last_fun*readline_print_prompt\bexit<\n(Press Ctrl-C again to quit)\n\nreset get_context_word$get_context_object\bline\006pos\006obj\bbase\002c\002g\034config_numcalc\024has_jscalc\024has_bignum\fcolors\fstyles\bprec\016expBits\016log2_10\fpstate\fprompt\bplen\006ps1\006ps2\butf8\022show_time\026show_colors\022eval_time\nmexpr\nlevel\020last_cmd\036last_cursor_pos\020this_fun\024utf8_state\020utf8_val\016term_fd\032term_read_buf\024term_width\032term_cursor_x\036get_completions\024completion\020commands\fdupstr\032readline_keys\034readline_state\026readline_cb\034readline_start\026handle_char\024handle_key\020hex_mode\022eval_mode number_to_string$bigfloat_to_string bigint_to_string\nprint\"extract_directive handle_directive\bhelp\034eval_and_print\022cmd_start$cmd_readline_start&readline_handle_cmd\024handle_cmd\026colorize_js* ~!%^&*(-+={[|:;,<>?/\016indexOf\002.\002'\002\"\002]\002}\002/\020includes\nisNaN&getOwnPropertyNames\024startsWith\bsort\006tab\006ctx\fsymcmp\002(\002)\006max\nfloor\bceil\fpadEnd\002 \nround\032fromCodePoint\002\033\002[\002O\002;\004-0\002-\0040x\bmath\022BigFloat(\002l\002p\002e\004.0\002n\022print_rec\024[circular]\016Complex\006Mod\024Polynomial\016PolyMod RationalFunction\fSeries\016isArray\004[ \004, \016<empty>\006...\004 ]\024__getClass\bkeys\004{ \004: \004 }\006pop\016__quote\b...\"\002m\022function \002\\\002h\002?\bload\btrim\026lastIndexOf\006.js\024loadScript\002x\002d\002t&BigFloat precision=\020 bits (~0 digits), exponent size=\f bits\n\006f16\006f32\006f64\bf128\020parseInt\024expBitsMax\016precMin\016precMax$Invalid precision\n\024expBitsMin,Invalid exponent bits\n\fdigits\bmode\032Running mode=\032Invalid mode\n\nclear\f\033[H\033[J\002q\032algebraicMode&Unknown directive: \006dec\006hex\006num\006alg,\\h this help\n\026\\x 6hexadecimal number display\n\026\\d .decimal number display\n\026\\t ,toggle timing display\n>\\clear clear the terminal\n\026\\a \036algebraic mode\n\026\\n \032numeric mode\nf\\p [m [e]] set the BigFloat precision to 'm' bits\n\204\001\\digits n set the BigFloat precision to 'ceil(n*log2(10))' bits\nh\\mode [std|math] change the running mode (current = \004)\n\"\\q exit\n\006sel&\"use math\"; void 0;\016getTime\024evalScript\"backtrace_barrier\016console\006log\016Throw: :QJSCalc - Type \"\\h\" for help\n:QuickJS - Type \"\\h\" for help\n\b \016setPrec\bbind\004gc\002|jbreak|case|catch|continue|debugger|default|delete|do|^else|finally|for|function|if|in|instanceof|new|^return|switch|this|throw|try|typeof|while|with|Zclass|const|enum|import|export|extends|super|fimplements|interface|let|package|private|protected|(public|static|yield|Nundefined|null|true|false|Infinity|NaN|\036eval|arguments|\fawait|z|this|super|undefined|null|true|false|Infinity|NaN|arguments|\024|void|var|\002+\002`\002{\024push_state\024last_state\022pop_state&parse_block_comment\nstyle\002i\006str$parse_line_comment\030parse_string\026parse_regex\030parse_number parse_identifier\022set_style\017\302\003\002\304\003\306\003\000\000\002\000\372\001\000\001\372\001\001\016\000\002\003\240\001\000\000\000\002\002\001\r\000\304\003\000\r\306\003\001\r\b\352\002)\300\0008\212\000\000\000\357)\016C\002\003\000\001w\001\002\002H\367\t\000\000\000\f\000\001\f\300\000\303*\300\001\303+\300\002\303,\300\003\303-\300\004\303.\300\005\303/\300\006\3030\300\007\3031\300\b\3032\300\t\3033\300\n\3034\300\013\3035\300\f\3036\300\r\3037\300\016\3038\300\017\3039\300\020\303:\300\021\303;\300\022\303<\300\023\303=\300\024\303>\300\025\303?\300\026\303@\300\027\303A\300\030\303B\300\031\303C\300\032\303D\300\033\303E\300\034\303F\300\035\303G\300\036\303H\300\037\303I\300 \303J\300!\303K\300\"\303L\300#\303M\300$\303N\300%\303O\300&\303P\300'\303Q\300(\303R\300)\303S\300*\303T\300+\303U\300,\303V\300-\303W\300.\303X\300/\303Y\3000\303Z\3001\303[\3002\303\\\3003\303]\3004\303^\3005\303`\3006\303d\3007\303e\3008\303f\3009\303g\300:\303j\300;\303k\300<\303l\300=\303m\300>\303n\300?\303o\300A\303p\300B\303q\300C\303r\300D\303s\300E\303t\300F\303u\300G\303v\321e\001\000C\343\000\000\000\321e\000\000C\342\000\000\000\321A\225\000\000\000\311\321A\231\000\000\000\312\321A\226\000\000\000\313\321A\237\000\000\000\314\321A\235\000\000\000\303\004\321A\344\000\000\000\303\005\321A\345\000\000\000\303\006e\001\000A\346\000\000\000\364\303\0077\347\000\000\000\365\303\b7\263\000\000\000\365\303\t\013\004\350\000\000\000L\351\000\000\000\004\352\000\000\000L\353\000\000\000\004\354\000\000\000L\355\000\000\000\004\356\000\000\000L\357\000\000\000\004\360\000\000\000L\361\000\000\000\004\362\000\000\000L\363\000\000\000\004\364\000\000\000L\365\000\000\000\004\366\000\000\000L\367\000\000\000\004\370\000\000\000L\371\000\000\000\004\372\000\000\000L\373\000\000\000\004\372\000\000\000L\374\000\000\000\004\375\000\000\000L\376\000\000\000\004\377\000\000\000L\000\001\000\000\004\001\001\000\000L\002\001\000\000\004\003\001\000\000L\004\001\000\000\004\005\001\000\000L\006\001\000\000\004\007\001\000\000L\b\001\000\000\004\t\001\000\000L\n\001\000\000\303\n\302\007\352~\013\004\353\000\000\000L\026\000\000\000\004\371\000\000\000L\013\001\000\000\004\357\000\000\000LH\000\000\000\004\367\000\000\000L\f\001\000\000\004\357\000\000\000LF\000\000\000\004\363\000\000\000L\r\001\000\000\004\373\000\000\000L\033\000\000\000\004\006\001\000\000L\016\001\000\000\004\361\000\000\000L\017\001\000\000\004\376\000\000\000L\020\001\000\000\004\353\000\000\000L\021\001\000\000\004\376\000\000\000L\022\001\000\000\303\013\354|\013\004\000\001\000\000L\026\000\000\000\004\371\000\000\000L\013\001\000\000\004\b\001\000\000LH\000\000\000\004\367\000\000\000L\f\001\000\000\004\357\000\000\000LF\000\000\000\004\n\001\000\000L\r\001\000\000\004\002\001\000\000L\033\000\000\000\004\006\001\000\000L\016\001\000\000\004\000\001\000\000L\017\001\000\000\004\355\000\000\000L\020\001\000\000\004\n\001\000\000L\021\001\000\000\004\376\000\000\000L\022\001\000\000\303\013&\000\000\303\f\301\303\r\301\303\021\301\303\022\265\303\023\302\007\352\n\004\023\001\000\000\303\024\354\b\004\024\001\000\000\303\024\004\025\001\000\000\303\025\n\303\026\t\303\027\n\303\030\265\303\031\301\303\032\265\303\033\301\303\034\265\303\035\301\303\036\265\303\037\t\303#\265\303$\265\303%\265\303)\013\302<L\026\001\000\000\302?L\027\001\000\000\302YL\030\001\000\000\302ML\031\001\000\000\302=L\032\001\000\000\302>L\033\001\000\000\302:L\034\001\000\000\302NL\035\001\000\000\302^L\036\001\000\000\302DL\037\001\000\000\302TL \001\000\000\302DL!\001\000\000\302GL\"\001\000\000\302FL#\001\000\000\3029L$\001\000\000\302;L%\001\000\000\302;L&\001\000\000\302OL'\001\000\000\302ZL(\001\000\000\302XL)\001\000\000\302FL*\001\000\000\302GL+\001\000\000\302>L,\001\000\000\302?L-\001\000\000\302BL.\001\000\000\302CL/\001\000\000\302BL0\001\000\000\302CL1\001\000\000\302<L2\001\000\000\302LL3\001\000\000\302=L4\001\000\000\302IL5\001\000\000\302JL6\001\000\000\302FL7\001\000\000\302GL8\001\000\000\302>L9\001\000\000\302?L:\001\000\000\302=L;\001\000\000\302<L<\001\000\000\302WL=\001\000\000\302CL>\001\000\000\302VL?\001\000\000\302BL@\001\000\000\302ULA\001\000\000\302RLB\001\000\000\302PLC\001\000\000\302QLD\001\000\000\302NLE\001\000\000\303_\t\303h\004\342\000\000\000\303i\302\007\352\t\321\300@CF\001\000\000\302*\356\016\302r\356)\016C\002\003\216\005\000\001\000\004\007\000\213\001\000\000&\001\000\000\f\000(\001\000\001\f\000+\001\000'\001\000,\001e\001\000A\r\000\000\000BH\001\000\000$\000\000\341\275P\343e\003\000BI\001\000\000\335$\001\000\3525e\003\000AJ\001\000\000\352\024e\003\000BJ\001\000\000\335$\001\000\315\352\005\305\265G\343e\003\000AK\001\000\000\352\016e\003\000BK\001\000\000\335$\001\000\016e\003\000BL\001\000\000e\003\000AM\001\000\000^\004\000$\002\000\0168\250\000\000\000\021\275@!\001\000_\005\000e\003\000BN\001\000\000\335^\006\000$\002\000)\016C\002\003\236\005\000\000\000\002\001\000\004\000\240\005-\001\335\270\357)\016C\002\003\242\005\000\002\000\006\004\000(\000\000\001\f\000&\001\000'\001\000-\001e\000\000BR\001\000\000\336\337AS\001\000\000\265\337\351$\004\000\311\265\312\306\305\243\352\013\340\337\306G\357\016\223\001\354\362)\016C\002\003\240\005\001\000\001\004\004\000_\000\000\026\001\000f\001\000$\001\000%\001\335\226\352\006\336\321\357\016)\337\265\254\352$\321\276\200\000\246\352\035\321\276\300\000\243\352\026\340\273\240\321\275?\255\257\344\337\216\347\265\253\3523\336\340\357\016)\321\276\300\000\246\352!\321\276\370\000\243\352\032\266\321\276\340\000\246\235\321\276\360\000\246\235\343\321\266\273\337\236\240\266\236\255\344)\265\343\336\321\357\016)\016C\002\003\250\005\001\000\001\002\000\0005\000\321\227\004H\000\000\000\253\021\352*\016\321\004U\001\000\000\246\021\352\t\016\321\004V\001\000\000\244\021\353\024\016\321\004W\001\000\000\246\021\352\t\016\321\004X\001\000\000\244(\016C\002\003\262\005\001\000\001\002\000\002\031\000\321\227\004H\000\000\000\253\021\352\016\016\321\277\000\246\021\352\006\016\321\277\001\244(\007\0020\007\0029\016C\002\003\264\005\001\000\001\002\002\000-\000\000.\001\000/\001\321\227\004H\000\000\000\253\021\352\"\016\335\321\357\021\353\033\016\336\321\357\021\353\024\016\321\004[\001\000\000\251\021\353\t\016\321\004\\\001\000\000\251(\016C\002\003\272\005\001\004\001\003\000\0002\000\321\351\314\265\311\265\313\307\310\243\352%\321B^\001\000\000\307$\001\000\316\001\000\334\000\000\243\021\353\t\016\306\001\000\340\000\000\246\352\003\223\000\223\002\354\330\305(\016C\002\003\276\005\001\001\001\003\000\000)\000\321\227\004H\000\000\000\254\352\003\t(\321B`\001\000\000\265$\001\000\315\001\000\334\000\000\246\021\352\t\016\305\001\000\340\000\000\243(\016C\002\003\302\005\002\000\002\003\000\000#\000\321\322\235\021\004b\001\000\000\253\353\023\021\004c\001\000\000\253\353\n\021\004d\001\000\000\253\352\003\n(\016\t(\016C\002\003\312\005\003\003\003\006\003\000c\000\000\000\f\000\n\001\000\013\001\322\312\306\321\351\243\352[\323\306\315G\313\306\217\316\321\351\243\352\b\323\306G\307\251\353\362e\000\000Bf\001\000\000\336\337\307G\021\353\007\016\004\026\000\000\000G$\001\000\016e\000\000Bf\001\000\000\321Bg\001\000\000\305\306$\002\000$\001\000\016e\000\000Bf\001\000\000\336\004\351\000\000\000G$\001\000\016\354\241)\016C\002\003\320\005\002\000\002\005\001\000\035\000\000\000\fe\000\000Bf\001\000\000\004i\001\000\000\321\266\252\352\004\321\354\002\301\235\322\235$\001\000)\016C\002\003\324\005\001\002\001\004\005\000\241\001\000\000)\001\000(\001\000\000\f\000\004\001\0005\001\321\265\245\352M\321\265\252i\227\000\000\000\335\336\266\236\251\352\031e\002\000Bf\001\000\000\004\037\001\000\000$\001\000\016\265\341\321\216\325\354\332\340Bk\001\000\000\336\266\236\335\236\321$\002\000\312^\004\000\306\004l\001\000\000\360\016\321\306\236\325\335\306\235\341\354\265\321\214\325\321\265\252\352H\335\265\251\352\"^\004\000\266\004U\001\000\000\360\016^\004\000\336\266\236\004l\001\000\000\360\016\321\216\325\336\266\236\341\354\326\340Bk\001\000\000\321\335$\002\000\312^\004\000\306\004m\001\000\000\360\016\321\306\236\325\335\306\236\341\354\265)\016C\002\003\334\005\000\005\000\006\r\000\234\002\000\000\034\001\000\036\001\000\030\001\000\037\001\000\000\f\0006\001\0001\001\000\032\001\000v\001\0004\001\000)\001\000(\001\000\035\001\335\336\252i\306\000\000\000\337\226\3522\336Bg\001\000\000\265\340$\002\000\335Bg\001\000\000\265\340$\002\000\251\352\031e\004\000Bf\001\000\000\335Bg\001\000\000\340$\001\000$\001\000\016\354S^\005\000^\006\000\336Bg\001\000\000\265\340$\002\000\357\214\357\016\337\352.^\007\000\352\016^\007\000\004\037\001\000\000\235\335\235\354\002\335\317\351\335\351\236\314^\b\000\307\357\303\004^\t\000\307\310\302\004\267G\361\016\354\016e\004\000Bf\001\000\000\335$\001\000\016^\n\000^\006\000\335\357\235^\013\000\234`\n\000\265\251\352\022e\004\000Bf\001\000\000\004o\001\000\000$\001\000\016e\004\000Bf\001\000\000\004p\001\000\000$\001\000\016\335\342\335\351\344^\f\000\340\245\352\031^\005\000^\006\000\335Bg\001\000\000\340^\f\000$\002\000\357\357\016\354\037^\f\000\340\243\352\030^\005\000^\006\000\335Bg\001\000\000^\f\000\340$\002\000\357\214\357\016^\f\000\344e\004\000Aq\001\000\000Br\001\000\000$\000\000)\016C\002\003\346\005\001\000\001\004\002\000\"\000\000\034\001\000\035\001\321\352\037\335Bg\001\000\000\265\336$\002\000\321\235\335Bg\001\000\000\336$\001\000\235\341\336\321\351\235\342)\016C\002\003\350\005\000\000\000\001\001\000\003\000\352\005#\001\n\341)\016C\002\003\354\005\000\000\000\001\002\000\007\000\356\005\034\001\360\005\035\001\301\341\265\342\275\376(\016C\002\003\362\005\000\000\000\000\000\000\001\000)\016C\002\003\364\005\000\000\000\001\001\000\003\000\360\005\035\001\265\341)\016C\002\003\366\005\000\000\000\001\002\000\004\000\360\005\035\001\356\005\034\001\336\351\341)\016C\002\003\370\005\000\000\000\004\003\000\035\000\360\005\035\001\356\005\034\001\276\0052\001\335\336\351\243\352\027\335\217\341\337\336B}\001\000\000\335$\001\000\357\352\006\335\217\341\354\356)\016C\002\003\374\005\000\000\000\004\003\000\034\000\360\005\035\001\276\0052\001\356\005\034\001\335\265\245\352\027\335\216\341\336\337B}\001\000\000\335$\001\000\357\352\006\335\216\341\354\356)\016C\002\003\376\005\001\000\001\004\002\0005\000\000\034\001\0000\001\321\335\351\243\352\025\336\335B}\001\000\000\321$\001\000\357\226\352\006\321\217\325\354\347\321\335\351\243\352\024\336\335B}\001\000\000\321$\001\000\357\352\006\321\217\325\354\350\321(\016C\002\003\200\006\001\000\001\005\002\0007\000\0000\001\000\034\001\321\265\245\352\027\335\336B}\001\000\000\321\266\236$\001\000\357\226\352\006\321\216\325\354\346\321\265\245\352\026\335\336B}\001\000\000\321\266\236$\001\000\357\352\006\321\216\325\354\347\321(\016C\002\003\202\006\000\000\000\002\002\000\005\000\360\005\035\001\376\005@\001\336\335\357\341)\016C\002\003\204\006\000\000\000\002\002\000\005\000\360\005\035\001\200\006A\001\336\335\357\341)\016C\002\003\206\006\000\000\000\003\003\000\027\000\304\003\000\f\210\006E\001\356\005\034\001e\000\000Bf\001\000\000\004\037\001\000\000$\001\000\016\336\337\357\016\264(\016C\002\003\210\006\001\000\001\003\002\000\022\000\000\f\001\000 \001\321\352\f\335B\205\001\000\000\321$\001\000\016\335\351\342)\016C\002\003\214\006\000\000\000\003\004\000 \000\216\006 \001\220\006\f\001\356\005\034\001\360\005\035\001\335\265\245\352\033\335\336\351\251\352\f\336B\205\001\000\000\337$\001\000\016\335\216\341\336\335G\347\351\344)\016C\002\003\222\006\000\000\000\003\004\000\022\000\216\006 \001\220\006\f\001\356\005\034\001\360\005\035\001\335\336\351\266\236\243\352\n\335\217\341\336\335G\347\351\344)\016C\002\003\224\006\001\003\001\005\004\000=\000\000\035\001\000\f\001\000 \001\000\034\001\335\311\266\312\306\336\351\244\3523\336\351\306\321\232\235\337\235\336\351\234\313\336\307GBg\001\000\000\265\305$\002\000\340Bg\001\000\000\265\305$\002\000\251\352\b\307\343\336\307G\344)\223\001\354\311)\016C\002\003\226\006\000\000\000\002\001\000\005\000\224\006H\001\335\264#\001\000\016C\002\003\230\006\000\000\000\002\001\000\005\000\224\006H\001\335\266#\001\000\016C\002\003\232\006\001\002\001\004\005\000f\000\000\035\001\0002\001\000\034\001\000\"\001\000S\001\335\311\321\265\243\352\025\222\000\336\337B}\001\000\000\305$\001\000\357\352\005\222\000\354\357\305\266\235\312\336\337B}\001\000\000\306$\001\000\357\352\005\223\001\354\357\305\265\246\3520\305\337\351\243\352*\340^\004\000\253\352\n^\004\000\305\306\321\361\016)\337Bg\001\000\000\265\305$\002\000\337Bg\001\000\000\306$\001\000\235\343\305\341)\016C\002\003\234\006\000\000\000\002\001\000\004\000\232\006K\001\335\266\357)\016C\002\003\236\006\000\000\000\003\003\000\037\000\356\005\034\001\304\003\000\f\232\006K\001\335\351\265\251\352\025e\001\000Bf\001\000\000\004\037\001\000\000$\001\000\016\275\375(\337\266\357\016)\016C\002\003\240\006\000\000\000\002\001\000\004\000\232\006K\001\335\264\357)\016C\002\003\242\006\000\001\000\006\002\000Q\000\000\035\001\000\034\001\335\311\336\351\266\245\352I\305\265\245\352D\305\336\351\251\352\003\222\000\336Bg\001\000\000\265\305\266\236$\002\000\336Bg\001\000\000\305\305\266\235$\002\000\235\336Bg\001\000\000\305\266\236\305$\002\000\235\336Bg\001\000\000\305\266\235$\001\000\235\342\305\266\235\341)\016C\002\003\244\006\000\004\000\005\004\000W\000\000A\001\000\035\001\000@\001\000\034\001\335\336\357\311\337\305\357\312\337\336\357\313\335\307\357\314\305\306\243\352B\306\336\244\352=\336\310\244\3528\310\307\243\3523\340Bg\001\000\000\265\305$\002\000\340Bg\001\000\000\310\307$\002\000\235\340Bg\001\000\000\306\310$\002\000\235\340Bg\001\000\000\305\306$\002\000\235\344\307\342)\016C\002\003\246\006\000\001\000\005\003\0000\000\000@\001\000\035\001\000\034\001\335\336\357\311\337Bg\001\000\000\265\336$\002\000\337Bg\001\000\000\336\305$\002\000B\224\001\000\000$\000\000\235\337Bg\001\000\000\305$\001\000\235\343)\016C\002\003\252\006\000\001\000\005\003\0000\000\000@\001\000\035\001\000\034\001\335\336\357\311\337Bg\001\000\000\265\336$\002\000\337Bg\001\000\000\336\305$\002\000B\226\001\000\000$\000\000\235\337Bg\001\000\000\305$\001\000\235\343)\016C\002\003\256\006\003\001\003\004\006\000^\000\000\034\001\000\"\001\000S\001\000\r\001\000\035\001\000!\001\335Bg\001\000\000\321\322$\002\000\311\336\337\254\352\005\305\344\354\020\323\265\243\352\007\305\340\235\344\354\005\340\305\235\344\335Bg\001\000\000\265\321$\002\000\335Bg\001\000\000\322$\001\000\235\341^\004\000\322\245\352\r^\004\000\322\321\236\236_\004\000\354\f^\004\000\321\245\352\005\321_\004\000\337_\005\000)\016C\002\003\260\006\000\000\000\004\003\000\007\000\256\006S\001\360\005\035\001\356\005\034\001\335\336\337\351\266\361)\016C\002\003\262\006\000\000\000\004\002\000\006\000\256\006S\001\360\005\035\001\335\265\336\264\361)\016C\002\003\264\006\000\000\000\004\003\000\b\000\256\006S\001\360\005\035\001\376\005@\001\335\336\337\336\357\266\361)\016C\002\003\266\006\000\000\000\004\003\000\b\000\256\006S\001\200\006A\001\360\005\035\001\335\336\337\357\337\264\361)\016C\002\003\270\006\000\000\000\002\002\000\004\000\346\0058\001\272\006\r\001\335\336\357)\016C\002\003\274\006\000\000\000\003\004\0009\000\276\006\"\001\274\006Y\001\304\003\000\f\300\006d\001\335\336\253\352 e\002\000Bf\001\000\000\004\037\001\000\000$\001\000\016e\002\000B\241\001\000\000\265$\001\000\016)e\002\000Bf\001\000\000\004\242\001\000\000$\001\000\016\340\356\016)\016C\002\003\306\006\000\000\000\001\002\000\005\000\356\005\034\001\360\005\035\001\301\341\265\342)\016C\002\003\310\006\002\001\002\004\001\000\035\000\0000\001\301\311\322\265\245\352\025\335\321\322\266\236G\357\352\f\322\216\326\321\322G\305\235\311\354\350\305(\016C\002\003\312\006\002\006\002\005z\002\207\002\b\314\006\000\001\000\316\006\000\001\000\320\006\000\000\000\322\006\000\001\000\324\006\000\002\000\020\000\001\000\342\001\000\001\000\232\001\000\001\000\326\006\000\003\252\002\000\001\262\002\001\001\254\002\002\001\276\002\003\001\272\002\004\001\310\003\005\001\312\003\006\001\330\006\007\001\332\006\b\001\334\006\t\001\336\006\n\001\340\006\013\001\220\006\f\001\272\006\r\001\342\006\016\001\344\006\017\001\346\006\020\001\350\006\021\001\352\006\022\001\354\006\023\001\356\006\024\001\360\006\025\001\362\006\026\001\364\006\027\001\366\006\030\001\370\006\031\001\372\006\032\001\374\006\033\001\356\005\034\001\360\005\035\001\376\006\036\001\200\007\037\001\216\006 \001\202\007!\001\276\006\"\001\352\005#\001\204\007$\001\206\007%\001\210\007&\001\212\007'\001\214\007(\001\216\007)\001\216\005*\001\236\005+\001\242\005,\001\240\005-\001\250\005.\001\262\005/\001\264\0050\001\272\0051\001\276\0052\001\302\0053\001\312\0054\001\320\0055\001\324\0056\001\334\0057\001\346\0058\001\350\0059\001\354\005:\001\362\005;\001\364\005<\001\366\005=\001\370\005>\001\374\005?\001\376\005@\001\200\006A\001\202\006B\001\204\006C\001\206\006D\001\210\006E\001\214\006F\001\222\006G\001\224\006H\001\226\006I\001\230\006J\001\232\006K\001\234\006L\001\236\006M\001\240\006N\001\242\006O\001\244\006P\001\246\006Q\001\252\006R\001\256\006S\001\260\006T\001\262\006U\001\264\006V\001\266\006W\001\270\006X\001\274\006Y\001\306\006Z\001\310\006[\001\312\006\\\001\220\007]\001\222\007^\001\224\007_\001\226\007`\001\230\007a\001\232\007b\001\234\007c\001\300\006d\001\236\007e\001\240\007f\001\242\007g\001\244\007h\001\246\007i\001\250\007j\001\252\007k\001\254\007l\001\256\007m\001\260\007n\001\262\007o\001\264\007p\001\266\007q\001\270\007r\001\272\007s\001\274\007t\001\276\007u\001\300\007v\001\304\003\000\f\306\003\001\f\f\003\303\004\b\314\f\000\303\005\322\265\244\021\353\026\016\004\341\001\000\000B\342\001\000\000\321\322\266\236G$\001\000\265\246\352\003\335(\322\267\246i\331\000\000\000\321\322\266\236G\004\343\001\000\000\253i\311\000\000\000\322\216\326\013\311\321\322\266\236G\317\021\004\344\001\000\000\253\353\n\021\004\345\001\000\000\253\352\007\004W\001\000\000(\021\004\346\001\000\000\253\352\005&\000\000(\021\004\347\001\000\000\253\352\003\013(\021\004\350\001\000\000\253\352\007\277\000\277\0013(^1\000\307\357\352s^\\\000\321\322\360\312\004\003\000\000\000\004\002\000\000\000\004\001\000\000\000\004\b\000\000\000&\004\000B\351\001\000\000\306$\001\000\021\353\013\0168\352\001\000\000\306\215\357\226\352\r8:\000\000\000\3061\001\000\000\000(^]\000\321\322\306\351\236\360\315\363\021\353\004\016\305\362\352\003\305(\305\335\253\352\023\305\306G\362\352\r8:\000\000\000\3061\001\000\000\000(\305\306G(\013()\007\002 \0074\000\001\000\023\000\000\000\b\006\000\000\000\004\007\365\377\377\377\013\000\001 \000\f\000\n\016C\002\003\220\007\002\n\002\004\003\001\343\001\000\000[\001\000\\\001\000\000\001\335\321\322\360\311\336\321\322\305\351\236\360\313&\000\000\314\265\303\004\307\312\302\004\275\n\243\352g\306\363\353c\306\006\254\352^\337B\353\001\000\000\306$\001\000\303\007\265\303\005\302\005\302\007\351\243\3528\302\007\302\005G\304\b\227\004H\000\000\000\251\352$\301\302\b\215\235\302\b\252\352\032\302\bB\354\001\000\000\305$\001\000\352\r\310B\205\001\000\000\302\b$\001\000\016\223\005\354\302\337B_\000\000\000\306$\001\000\312\223\004\354\224\310\351\266\245\352F\300\000\303\t\300\000\016\310B\355\001\000\000b\t\000$\001\000\016\266\304\005\303\004\302\004\310\351\243\352\036\310\302\004G\310\302\004\266\236G\252\352\r\310\302\005\221\303\005q\310\302\004GI\223\004\354\335\310\302\005C0\000\000\000\013\310L\356\001\000\000\305\351L\247\001\000\000\307L\357\001\000\000(\016C\002\003\340\007\002\000\002\003\000\0004\000\321\265G\322\265G\252\352\033\321\265G\004[\001\000\000\251\352\003\266(\322\265G\004[\001\000\000\251\352\003\264(\321\322\243\352\003\264(\321\322\245\352\004\266\215(\265(\016C\002\003\222\007\000\r\000\007\n\000\217\003\000\000]\001\000\034\001\000\035\001\0008\001\000\"\001\000^\001\000\004\001\000(\001\000\000\f\000d\001\335\336\337\360\316A\356\001\000\000\315\351\265\253\352\002)\305\265G\317\351\303\005\266\314\310\305\351\243\352*\305\310G\303\006\265\303\004\302\004\302\005\243\352\027\302\006\302\004G\307\302\004G\254\352\007\302\004\303\005\354\005\223\004\354\344\223\003\354\322\306A\247\001\000\000\314\310\302\005\243\352\013\340\307\310G\357\016\223\003\354\361^\004\000^\005\000\253\352B\305\351\266\251\352<\306A\357\001\000\000\305\265GG\304\f\365\352\032\340\004\361\001\000\000\357\016\302\f\351\265\251\352\036\340\004\362\001\000\000\357\016\354\024\302\f\227\004I\000\000\000\251\352\t\340\004\343\001\000\000\357\016^\004\000^\005\000\253i\334\000\000\000\305\351\267\246i\323\000\000\000\265\303\007\265\314\310\305\351\243\352\030^\006\000B\363\001\000\000\302\007\305\310G\351$\002\000\303\007\223\003\354\344\267\224\007^\006\000B\363\001\000\000\266^\006\000B\364\001\000\000^\007\000\266\235\302\007\233$\001\000$\002\000\303\t^\006\000B\365\001\000\000\305\351\302\t\233$\001\000\303\013e\b\000Bf\001\000\000\004\037\001\000\000$\001\000\016\265\303\n\302\n\302\013\243\352X\265\303\b\302\b\302\t\243\3529\302\b\302\013\232\302\n\235\320\305\351\246\353+\305\310G\313\302\b\302\t\266\236\252\352\r\307B\366\001\000\000\302\007$\001\000\313e\b\000Bf\001\000\000\307$\001\000\016\223\b\354\302e\b\000Bf\001\000\000\004\037\001\000\000$\001\000\016\223\n\354\243^\t\000\356\016)\016C\002\003\226\007\002\001\002\002\000\000\020\000\301\311\322\220\326\265\245\352\006\321\224\000\354\365\305(\016C\002\003\300\006\000\000\000\003\007\000\036\000\304\003\000\f\352\006\022\001\216\007)\001\272\0051\001\214\007(\001\376\006\036\001\200\007\037\001e\000\000Bf\001\000\000\336$\001\000\016\340\336\357^\004\000\234\343\301_\005\000\265_\006\000)\016C\002\003\236\007\002\001\002\006\022\001\260\001\000\000\034\001\000\035\001\000 \001\000\f\001\000c\001\000\022\001\000\021\001\000\032\001\000`\001\000\023\001\000\025\001\000\027\001\000\004\001\000\031\001\000\024\001\000d\001\0007\001\000b\001\321\021\353\003\016\301\345\351\342\340\351\343\322_\004\000^\006\000_\005\000^\007\000\352\"^\005\000^\b\000\004\367\001\000\000^\t\000^\005\000\351\236\360\235`\005\000^\n\000\235_\005\000\354f^\013\000\352P^\f\000B\370\001\000\000^\r\000$\001\000\004\367\001\000\000\235\311\265_\r\000^\b\000\277\000\272\305\351\236\360\305\235\311^\005\000\305Bg\001\000\000\265\305\351\271\236$\002\000\004\343\001\000\000\235\305Bg\001\000\000\305\351\271\236$\001\000\235\235_\005\000^\005\000\351_\t\000^\005\000^\016\000\235_\005\000^\017\000\356\016^\020\000\356\016\265_\021\000)\007\0020\016C\002\003\240\007\001\001\001\003\004\002\214\001\000\000\001\001\000b\001\000a\001\000g\001\335B\371\001\000\000\321$\001\000\311\336\021\265\253\352\026\305\004\372\001\000\000\251\352\007\305\343\266\342\354l\340\305\357\016\354f\021\266\253\352'\337\305\235\343\305\004\373\001\000\000\251\352\005\267\342\354P\305\004\374\001\000\000\251\352\005\270\342\354C\340\337\357\016\265\342\354;\021\267\253\352'\337\305\235\343\305\004\375\001\000\000\251\021\353\016\016\305\277\000\246\021\352\006\016\305\277\001\244\226\352\030\340\337\357\016\265\342\354\020\021\270\253\352\013\337\305\235\343\340\337\357\016\265\342)\007\0020\007\0029\016C\002\003\242\007\001\001\001\005\r\000\260\001\000\000#\001\0001\001\0008\001\000_\001\000!\001\000c\001\000\034\001\000\001\f\000&\001\000\"\001\000;\001\000\035\001\0007\001\335\352\020\336\321\357\266\253\352\005\337\321\357\016\t\341\354z\340\321G\315\352U\305_\004\000\305\321\357\021\264\253\352\t^\005\000^\006\000\357)\021\275\376\253\352\007^\005\000\007\357)\021\275\375\253\352&e\007\000BL\001\000\000e\007\000AM\001\000\000\007$\002\000\016e\007\000BN\001\000\000^\b\000\007$\002\000)\016^\004\000_\t\000\354 \336\321\357\266\253\352\024\321\004\367\001\000\000\246\352\013\337\321\357\016\337_\t\000\354\006^\n\000\356\016^\013\000\265\243\352\004\265\354\024^\013\000^\006\000\351\245\352\007^\006\000\351\354\004^\013\000_\013\000^\f\000\356)\016C\002\003\250\007\002\001\002\005\002\001p\000\000\005\001\000\004\001\335\321\357\226\352\n\321B7\000\000\000%\000\000\321\265\251\352\025\266\321\233\265\243\352\t\004\376\001\000\000\311\354L\277\000\311\354G\322\275\020\251\3527\321\336B\364\001\000\000\321$\001\000\253\352)\321\265\243\352\f\321\214\325\004\377\001\000\000\311\354\003\301\311\305\004\000\002\000\000\321B7\000\000\000\275\020$\001\000\235\235\311\354\013\321B7\000\000\000$\000\000\311\305(\007\0020\016C\002\003\252\007\002\001\002\005\001\001\376\001\000\000i\0018\263\000\000\000B\344\000\000\000\321$\001\000\226\352)\335\004\001\002\000\000\254\352\027\004\002\002\000\000\321B7\000\000\000$\000\000\235\004\362\001\000\000\235(\321B7\000\000\000%\000\000\321\265\251\352\025\266\321\233\265\243\352\t\004\376\001\000\000\311\354>\277\000\311\3549\322\275\020\251\352)\321\265\243\352\f\321\214\325\004\377\001\000\000\311\354\003\301\311\305\004\000\002\000\000\321B7\000\000\000\275\020$\001\000\235\235\311\354\013\321B7\000\000\000$\000\000\311\321\227\004\214\000\000\000\253\352\023\335\004\001\002\000\000\254\352\n\004\003\002\000\000\224\000\354W\335\004\342\000\000\000\254\352N\305B\342\001\000\000\004\343\001\000\000$\001\000\265\243\352<\322\275\020\251\021\352\022\016\305B\342\001\000\000\004\004\002\000\000$\001\000\265\243\021\353\030\016\322\275\n\251\352\032\305B\342\001\000\000\004\005\002\000\000$\001\000\265\243\352\b\004\006\002\000\000\224\000\305(\007\0020\016C\002\003\254\007\002\001\002\005\001\000J\000\000i\001\322\275\020\251\352)\321\265\243\352\f\321\214\325\004\377\001\000\000\311\354\003\301\311\305\004\000\002\000\000\321B7\000\000\000\275\020$\001\000\235\235\311\354\013\321B7\000\000\000$\000\000\311\335\004\342\000\000\000\253\352\b\004\007\002\000\000\224\000\305(\016C\002\003\256\007\001\002\001\002\t\001\013\000\000\000\f\000\b\001\000\002\001\000\000\001\000j\001\000h\001\000l\001\000k\001\000\001\001\300\000\312&\000\000\311\306\321\357)\016C\002\003\220\b\001\006\001\005\013\000\225\006\000\000\000\f\000\000\001\000\001\000\000\002\000\000\001\001\000\003\000\000\004\000\000\005\000\000\006\000\000\007\000\000\b\000\321\227\304\004\004I\000\000\000\253i\335\001\000\000\321\363\352\017e\000\000Bf\001\000\000\321$\001\000\016)\336B\342\001\000\000\321$\001\000\265\246\352\023e\000\000Bf\001\000\000\004\t\002\000\000$\001\000\016)\337\352b\3218\347\000\000\000\247\021\353@\016\3218\n\002\000\000\247\021\3535\016\3218\013\002\000\000\247\021\353*\016\3218\f\002\000\000\247\021\353\037\016\3218\r\002\000\000\247\021\353\024\016\3218\016\002\000\000\247\021\353\t\016\3218\017\002\000\000\247\352\027e\000\000Bf\001\000\000\321B7\000\000\000$\000\000$\001\000\016)\336B\205\001\000\000\321$\001\000\016\340B\020\002\000\000\321$\001\000i\206\000\000\000\321\351\311e\000\000Bf\001\000\000\004\021\002\000\000$\001\000\016\265\312\306\305\243\352T\306\265\254\352\022e\000\000Bf\001\000\000\004\022\002\000\000$\001\000\016\306\321\250\352\013^\004\000\321\306G\357\016\354\022e\000\000Bf\001\000\000\004\023\002\000\000$\001\000\016\306\275\024\245\352\024e\000\000Bf\001\000\000\004\024\002\000\000$\001\000\016\354\005\223\001\354\251e\000\000Bf\001\000\000\004\025\002\000\000$\001\000\016\355\235\000^\005\000B\026\002\000\000\321$\001\000\004\243\000\000\000\253\352\030e\000\000Bf\001\000\000\321B7\000\000\000$\000\000$\001\000\016\354q^\005\000B\027\002\000\000\321$\001\000\317\351\311e\000\000Bf\001\000\000\004\030\002\000\000$\001\000\016\265\312\306\305\243\3529\306\265\254\352\022e\000\000Bf\001\000\000\004\022\002\000\000$\001\000\016\307\306G\314e\000\000Bf\001\000\000\310\004\031\002\000\000$\002\000\016^\004\000\321\310G\357\016\223\001\354\304e\000\000Bf\001\000\000\004\032\002\000\000$\001\000\016\336B\033\002\000\000\321$\001\000\016)\302\004\004H\000\000\000\253\3526\321B\034\002\000\000$\000\000\304\005\351\275O\245\352\026\302\005Bg\001\000\000\265\275K$\002\000\004\035\002\000\000\235\303\005e\000\000Bf\001\000\000\302\005$\001\000\016)\302\004\004F\000\000\000\253\352\036e\000\000Bf\001\000\000^\006\000\321^\007\000\352\005\275\020\354\003\275\n\360$\001\000\016)\302\004\004\213\000\000\000\253\352\036e\000\000Bf\001\000\000^\b\000\321^\007\000\352\005\275\020\354\003\275\n\360$\001\000\016)\302\004\004\214\000\000\000\253\352\036e\000\000Bf\001\000\000^\t\000\321^\007\000\352\005\275\020\354\003\275\n\360$\001\000\016)\302\004\004\215\000\000\000\253\352\035e\000\000Bf\001\000\000\321B7\000\000\000$\000\000\004\036\002\000\000\235$\001\000\016)\302\004\004J\000\000\000\253\352\023e\000\000Bf\001\000\000^\n\000\321\357$\001\000\016)\302\004\004\033\000\000\000\253\352 e\000\000Bf\001\000\000\004\037\002\000\000\321A6\000\000\000\235\004b\001\000\000\235$\001\000\016)e\000\000Bf\001\000\000\321$\001\000\016)\016C\002\003\260\007\001\001\001\004\001\000,\000\000.\001\321\265G\004 \002\000\000\254\352\003\301(\266\311\305\321\351\243\352\r\335\321\305G\357\226\353\005\223\000\354\357\321Bg\001\000\000\266\305%\002\000\016C\002\003\262\007\002\004\002\007\f\000\262\007\000\000p\001\000\000\f\000h\001\000\027\001\000\t\001\000\016\001\000\004\001\000\020\001\000\017\001\000\006\001\000i\001\000\b\001\321\004!\002\000\000\253\021\353\024\016\321\004\"\002\000\000\253\021\353\t\016\321\004\332\001\000\000\251\352\007\335\356\016\355\215\003\321\004#\002\000\000\253\352K\322Bg\001\000\000\321\351\266\235$\001\000B$\002\000\000$\000\000\320B%\002\000\000\004\343\001\000\000$\001\000\310B%\002\000\000\004\350\001\000\000$\001\000\244\352\b\004&\002\000\000\224\003e\001\000B'\002\000\000\310$\001\000\016\t(\321\004(\002\000\000\253\352\006\n\343\355,\003\321\004)\002\000\000\253\352\006\t\343\355\036\003\321\004*\002\000\000\253\352\007\340\226\344\355\017\003^\004\000i\226\001\000\000\321\004\004\002\000\000\253i\212\001\000\000\322Bg\001\000\000\321\351\266\235$\001\000B$\002\000\000$\000\000B]\000\000\000\004\367\001\000\000$\001\000\315\351\266\253\352I\305\265G\301\253\352Be\001\000Bf\001\000\000\004+\002\000\000^\005\000\235\004,\002\000\000\235^\006\000B\364\001\000\000^\005\000^\007\000\233$\001\000\235\004-\002\000\000\235^\b\000\235\004.\002\000\000\235$\001\000\016\355\026\001\305\265G\004/\002\000\000\253\352\r\275\013_\005\000\272_\b\000\355\377\000\305\265G\0040\002\000\000\253\352\016\275\030_\005\000\275\b_\b\000\355\347\000\305\265G\0041\002\000\000\253\352\016\2755_\005\000\275\013_\b\000\355\317\000\305\265G\0042\002\000\000\253\352\016\275q_\005\000\275\017_\b\000\355\267\00083\002\000\000\305\265G\357\312\305\351\267\246\352\r83\002\000\000\305\266G\357\313\354\f8\264\000\000\000A4\002\000\000\3138\230\000\000\000B\352\001\000\000\306$\001\000\021\353\036\016\3068\264\000\000\000A5\002\000\000\243\021\353\016\016\3068\264\000\000\000A6\002\000\000\245\352\024e\001\000Bf\001\000\000\0047\002\000\000$\001\000\016\t(8\230\000\000\000B\352\001\000\000\307$\001\000\021\353\036\016\3078\264\000\000\000A8\002\000\000\243\021\353\016\016\3078\264\000\000\000A4\002\000\000\245\352\024e\001\000Bf\001\000\000\0049\002\000\000$\001\000\016\t(\306_\005\000\307_\b\000\t(^\004\000\352x\321\004:\002\000\000\253\352o\322Bg\001\000\000\321\351\266\235$\001\000B$\002\000\000$\000\000\311^\006\000B\365\001\000\000^\t\000\305\357^\007\000\232$\001\000\3168\264\000\000\000A5\002\000\000\243\021\353\016\016\3068\264\000\000\000A6\002\000\000\245\352\024e\001\000Bf\001\000\000\0047\002\000\000$\001\000\016\t(\306_\005\0008\264\000\000\000A4\002\000\000_\b\000\t(^\004\000\352n\321\004;\002\000\000\253\352e\322Bg\001\000\000\321\351\266\235$\001\000B$\002\000\000$\000\000\315\301\253\352\036e\001\000Bf\001\000\000\004<\002\000\000^\n\000\235\004\037\001\000\000\235$\001\000\016\354,\305\004\342\000\000\000\253\021\353\t\016\305\004\001\002\000\000\253\352\007\305_\n\000\354\022e\001\000Bf\001\000\000\004=\002\000\000$\001\000\016\t(\321\004>\002\000\000\253\352\024e\001\000Bf\001\000\000\004?\002\000\000$\001\000\016\354j\321\004@\002\000\000\253\352\020e\001\000B\241\001\000\000\265$\001\000\016\354R^\013\000\352\027\321\004W\001\000\000\253\352\0166A\002\000\000\n;A\002\000\000\3547^\013\000\352\027\321\004\007\002\000\000\253\352\0166A\002\000\000\t;A\002\000\000\354\034e\001\000Bf\001\000\000\004B\002\000\000\321\235\004\037\001\000\000\235$\001\000\016\t(\n(\016C\002\003\000\001\000\001\003\001\000F\000\000h\001\321\021\004C\002\000\000\253\352\005\t\341\3548\021\004D\002\000\000\253\352\005\n\341\354+\021\004E\002\000\000\253\352\0166A\002\000\000\t;A\002\000\000\354\025\021\004F\002\000\000\253\352\f6A\002\000\000\n;A\002\000\000)\016C\002\003\264\007\000\001\000\005\007\001\325\001\000\000\000\f\000h\001\000\027\001\000\b\001\000\t\001\000i\001\000\007\001\300\000\311e\000\000Bf\001\000\000\004G\002\000\000\004H\002\000\000\235\305\336\357\235\004I\002\000\000\235\004J\002\000\000\235\305\336\226\357\235\004K\002\000\000\235\004L\002\000\000\235\305\337\357\235\004M\002\000\000\235\004N\002\000\000\235$\001\000\016\340\3525e\000\000Bf\001\000\000\004O\002\000\000\3058A\002\000\000\357\235\004P\002\000\000\235\004Q\002\000\000\235\3058A\002\000\000\226\357\235\004R\002\000\000\235$\001\000\016^\004\000\3527e\000\000Bf\001\000\000\004S\002\000\000\004T\002\000\000\235$\001\000\016\340\226\352\034e\000\000Bf\001\000\000\004U\002\000\000^\005\000\235\004V\002\000\000\235$\001\000\016^\006\000\226\352\022e\000\000Bf\001\000\000\004W\002\000\000$\001\000\016)\016C\002\003\260\t\001\000\001\001\000\000\017\000\321\352\007\004}\000\000\000(\004\367\001\000\000(\016C\002\003\266\007\001\003\001\006\b\000\237\002\000\000i\001\000\003\001\000\000\f\000\031\001\000\n\001\000\013\001\000m\001\000\000\003l\225\000\000\000\335\004\001\002\000\000\253\352\t\004Y\002\000\000\321\235\325\336\021!\000\000BZ\002\000\000$\000\000\312e\002\000B[\002\000\000\321\013\nL\\\002\000\000$\002\000\311\336\021!\000\000BZ\002\000\000$\000\000\306\236\344e\002\000Bf\001\000\000^\004\000^\005\000A\021\001\000\000G$\001\000\016^\006\000\305\357\016e\002\000Bf\001\000\000\004\037\001\000\000$\001\000\016e\002\000Bf\001\000\000^\004\000A\351\000\000\000$\001\000\016^\007\000\305C[\001\000\000\016)\313l\206\000\000\000e\002\000Bf\001\000\000^\004\000^\005\000A\022\001\000\000G$\001\000\016\3078\227\000\000\000\247\352,8]\002\000\000B^\002\000\000\307$\001\000\016\307A5\000\000\000\3525e\002\000Bf\001\000\000\307A5\000\000\000$\001\000\016\354!e\002\000Bf\001\000\000\004_\002\000\000$\001\000\0168]\002\000\000B^\002\000\000\307$\001\000\016e\002\000Bf\001\000\000^\004\000A\351\000\000\000$\001\000\016\016)/\016C\002\003\270\007\000\000\000\004\013\000n\000\330\006\007\001\332\006\b\001\304\003\000\f\334\006\t\001\346\006\020\001\272\002\004\001\342\006\016\001\344\006\017\001\246\007i\001\326\006\000\003\272\007s\001\335\226\352(\336\352\024e\002\000Bf\001\000\000\004`\002\000\000$\001\000\016\354\022e\002\000Bf\001\000\000\004a\002\000\000$\001\000\016\340\352<^\005\000B^\002\000\000\275\n$\001\000^\005\000B^\002\000\000\267$\001\000\233_\004\000\275q_\006\000\275\017_\007\000\336\352\022\004\001\002\000\000_\b\000^\t\000\335CA\002\000\000^\n\000\356)\016C\002\003\272\007\000\000\000\004\004\000\f\000\236\007e\001\226\007`\001\374\006\033\001\274\007t\001\335\336\004b\002\000\000\337\360\340\360)\016C\002\003\274\007\001\000\001\002\002\000\007\000\000u\001\000s\001\335\321\357\016\336\356)\016C\002\003\276\007\001\002\001\006\f\000\236\001\000\000p\001\000n\001\000o\001\000\032\001\000v\001\000\021\001\000\033\001\000\t\001\000q\001\000\016\001\000\017\001\000\000\f\321\363\352\004\301\325)\321\004\"\002\000\000\253\352\004\335\356)\336\321\357\316\351\265\245\352\027\337\306\321\360\226\352\002)\321Bg\001\000\000\306\351\266\235$\001\000\325\321\301\253\352\002)\340\352\013\340\004\037\001\000\000\235\321\235\325^\004\000\321\357\315\265G_\005\000\305\266G_\006\000^\005\000\352\004\321\344)\301\344^\007\000\352$8\264\000\000\000Bc\002\000\000^\b\000Bd\002\000\000\007\321$\002\000^\t\000^\n\000$\003\000\016\354\007^\b\000\321\357\016\265_\006\000e\013\000Be\002\000\000$\000\000)\016C\002\003\300\007\001\027\001\004\003\n\217\004\000\0000\001\0003\001\000/\001\300\000\303\n\300\001\303\013\300\002\303\f\300\003\303\r\300\004\303\016\300\005\303\017\300\006\303\020\300\007\303\021\300\b\303\025\300\t\303\026\321\351\314\301\303\005\265\303\006\266\303\b&\000\000\303\t\004f\002\000\000\004g\002\000\000\235\004h\002\000\000\235\004i\002\000\000\235\004j\002\000\000\235\004k\002\000\000\235\004l\002\000\000\235\004m\002\000\000\235\004n\002\000\000\235\004o\002\000\000\235\303\022\004p\002\000\000\303\023\004q\002\000\000\303\024\265\311\305\310\243iu\001\000\000\007\303\004\305\313\321\305\221\311G\316\021\004\367\001\000\000\253\353\034\021\004\036\001\000\000\253\353\023\021\004!\001\000\000\253\353\n\021\004\037\001\000\000\253\352\004\016\354\307\021\004r\002\000\000\253\353\n\021\004\377\001\000\000\253\352\030\305\310\243\352\r\321\305G\306\251\352\006\223\000\016\354\244\266\303\b\016\354\236\021\004\350\001\000\000\253\352D\305\310\243\352\023\321\305G\004}\000\000\000\251\352\b\302\r\356\016\355\347\000\305\310\243\352\023\321\305G\004\350\001\000\000\251\352\b\302\016\356\016\355\320\000\302\b\352\013\302\020\356\016\265\303\b\355\302\000\266\303\b\016\355S\377\021\004\344\001\000\000\253\353\023\021\004\345\001\000\000\253\353\n\021\004s\002\000\000\253\352\f\302\017\306\357\016\265\303\b\355\225\000\021\004\361\001\000\000\253\353\023\021\004\373\001\000\000\253\353\n\021\004t\002\000\000\253\352\017\266\303\b\223\006\302\n\306\357\016\016\355\004\377\021\004\362\001\000\000\253\353\023\021\004\346\001\000\000\253\353\n\021\004\347\001\000\000\253\352%\265\303\b\302\006\265\245\352\023\336\302\013\356\306\360\352\013\222\006\302\f\356\016\016\355\316\376\004\020\001\000\000\303\004\354,\337\306\357\352\n\302\021\356\016\265\303\b\354\036\335\306\357\021\353\t\016\306\004\\\001\000\000\251\352\007\302\025\356\016\354\b\266\303\b\016\355\232\376\016\302\004i\224\376\377\377\302\026\307\305\360\016\355\211\376\302\026\310\310\360\016\302\005\302\006\302\t&\003\000(\016C\002\003\352\t\001\000\001\002\001\000\005\000\000\005\001\335\321\235\341)\016C\002\003\354\t\001\000\001\004\001\000\r\000\000\005\001\335Bg\001\000\000\335\351\266\236%\001\000\016C\002\003\356\t\001\000\001\005\002\000\024\000\000\013\001\000\005\001\335\356\325\336Bg\001\000\000\265\336\351\266\236$\002\000\342\321(\016C\002\003\360\t\000\000\000\003\006\000I\000\362\t\004\001\352\t\n\001\364\t\000\001\216\b\003\001\366\t\000\003\356\t\f\001\004\013\001\000\000\341\336\004\350\001\000\000\357\016\337\217\343\337\340\266\236\243\3521^\004\000\337G\004}\000\000\000\251\352\037^\004\000\337\266\235G\004\350\001\000\000\251\352\020\337\267\235\343^\005\000\004\350\001\000\000\357\016)\337\217\343\354\312)\016C\002\003\370\t\000\000\000\002\004\000\037\000\362\t\004\001\364\t\000\001\216\b\003\001\366\t\000\003\004\013\001\000\000\341\336\217\342\336\337\243\352\021\340\336G\004\037\001\000\000\251\353\006\336\217\342\354\354)\016C\002\003\372\t\001\000\001\003\007\000L\000\000\004\001\000\n\001\000\000\001\000\003\001\000\001\001\000\000\003\000\f\001\004H\000\000\000\341\336\321\357\016\337\340\243\352=^\005\000\337\221\343G`\004\000\004\037\001\000\000\251\352\t\004\020\001\000\000\341\354\342^\004\000\004 \002\000\000\251\352\013\337\340\246\353\023\337\217\343\354\315^\004\000\321\251\352\306^\006\000\356\016))\016C\002\003\374\t\000\000\000\003\t\000\304\001\000\362\t\004\001\352\t\n\001\364\t\000\001\216\b\003\001\324\006\001\001\366\t\000\003\354\t\013\001\356\t\f\001\264\005\000\000\004\f\001\000\000\341\336\004\350\001\000\000\357\016\337\340\243i\261\000\000\000^\005\000\337\221\343G`\004\000\004\037\001\000\000\251\352\t\004\020\001\000\000\341\354\337^\004\000\004 \002\000\000\251\352\013\337\340\243\352\317\337\217\343\354\312^\006\000\356\004\373\001\000\000\251\352\023^\004\000\004\346\001\000\000\251\352\263^\007\000\356\016\354\254^\004\000\004\373\001\000\000\251\352.\336\004\373\001\000\000\357\016^\005\000\337G\004\373\001\000\000\251\021\353\r\016^\005\000\337G\004\346\001\000\000\251i}\377\377\377\337\217\343\355u\377^\004\000\004\350\001\000\000\251ii\377\377\377^\007\000\356\016\337\340\243\352\021^\b\000^\005\000\337G\357\352\006\337\217\343\354\354)\016C\002\003\376\t\000\000\000\003\005\000A\000\362\t\004\001\364\t\000\001\216\b\003\001\264\005\000\000\366\t\000\003\004F\000\000\000\341\336\337\243\3526\340^\004\000\336G\357\021\353%\016^\004\000\336G\004\343\001\000\000\251\352\036\336\337\266\236\251\021\353\017\016^\004\000\336\266\235G\004\343\001\000\000\252\352\006\336\217\342\354\307)\016C\002\003\200\n\000\002\000\005\n\000\263\001\000\000\b\001\000\000\001\000\003\001\000\000\000\000\000\003\000\002\001\000\022\001\000\004\001\000\023\001\000\024\001\266\341\336\337\243\352\017\340^\004\000\336G\357\352\006\336\217\342\354\356\004f\002\000\000^\004\000Bg\001\000\000^\005\000\336$\002\000\235\004f\002\000\000\235\311^\006\000B\342\001\000\000\305$\001\000\265\246\352\034\004\r\001\000\000_\007\000^\b\000B\342\001\000\000\305$\001\000\265\246\352\003\265\341)\336\312\306\337\243\352\022^\004\000\306G\004\367\001\000\000\251\352\005\223\001\354\353\306\337\243\352\027^\004\000\306G\004\361\001\000\000\251\352\n\004\033\000\000\000_\007\000)^\t\000B\342\001\000\000\305$\001\000\265\246\352\n\004\016\001\000\000_\007\000)\004\017\001\000\000_\007\000\265\341)\016C\002\003\202\n\002\000\002\003\002\000+\000\000\t\001\000\004\001\335\351\321\243\352\022\335B\205\001\000\000\004\026\000\000\000$\001\000\016\354\352\335\351\322\243\352\016\335B\205\001\000\000\336$\001\000\016\354\356)"
.subsections_via_symbols
| the_stack_data/24291.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur wzr, [x29, #-24]
stur wzr, [x29, #-28]
str wzr, [sp, #32]
str wzr, [sp, #28]
str wzr, [sp, #24]
str wzr, [sp, #20]
str wzr, [sp, #16]
movi d0, #0000000000000000
str s0, [sp, #12]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_24
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-16]
mov w10, #5
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
stur w8, [x29, #-20]
ldur w8, [x29, #-20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-16]
ldr w8, [sp, #28]
add w8, w8, w9
str w8, [sp, #28]
b LBB0_22
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-24]
add w8, w8, #1
stur w8, [x29, #-24]
ldur w8, [x29, #-24]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-16]
ldr w8, [sp, #24]
subs w8, w8, w9
str w8, [sp, #24]
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-16]
ldr w8, [sp, #24]
add w8, w8, w9
str w8, [sp, #24]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_1 Depth=1
b LBB0_21
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_20
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
ldur s0, [x29, #-16]
scvtf s1, s0
ldr s0, [sp, #12]
fadd s0, s0, s1
str s0, [sp, #12]
b LBB0_19
LBB0_14: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_18
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
ldr w8, [sp, #16]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-16]
str w8, [sp, #16]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_1 Depth=1
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_1 Depth=1
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_1 Depth=1
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_1 Depth=1
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_1 Depth=1
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_1 Depth=1
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_24:
ldr w8, [sp, #28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_26
b LBB0_25
LBB0_25:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_27
LBB0_26:
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_27
LBB0_27:
ldur w8, [x29, #-24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_29
b LBB0_28
LBB0_28:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_30
LBB0_29:
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_30
LBB0_30:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_33
LBB0_32:
ldr w9, [sp, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_33
LBB0_33:
ldur w8, [x29, #-28]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_35
b LBB0_34
LBB0_34:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_36
LBB0_35:
ldr s0, [sp, #12]
fcvt d1, s0
fmov d0, #1.00000000
fmul d0, d0, d1
ldur s2, [x29, #-28]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fdiv d0, d0, d1
mov x8, sp
str d0, [x8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_36
LBB0_36:
ldr w8, [sp, #32]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_38
b LBB0_37
LBB0_37:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_39
LBB0_38:
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_39
LBB0_39:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "N "
l_.str.2: ; @.str.2
.asciz "%d "
l_.str.3: ; @.str.3
.asciz "%.1f "
l_.str.4: ; @.str.4
.asciz "N"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3ff0000000000000 ## double 1
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
movl $0, -24(%rbp)
movl $0, -28(%rbp)
movl $0, -32(%rbp)
movl $0, -36(%rbp)
movl $0, -40(%rbp)
movl $0, -44(%rbp)
movl $0, -48(%rbp)
xorps %xmm0, %xmm0
movss %xmm0, -52(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_24
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movl -16(%rbp), %eax
movl $5, %ecx
cltd
idivl %ecx
movl %edx, -20(%rbp)
cmpl $0, -20(%rbp)
jne LBB0_5
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_5
## %bb.4: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl -36(%rbp), %eax
movl %eax, -36(%rbp)
jmp LBB0_22
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
cmpl $1, -20(%rbp)
jne LBB0_10
## %bb.6: ## in Loop: Header=BB0_1 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movl -24(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_8
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %ecx
movl -40(%rbp), %eax
subl %ecx, %eax
movl %eax, -40(%rbp)
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl -40(%rbp), %eax
movl %eax, -40(%rbp)
LBB0_9: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_21
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
cmpl $2, -20(%rbp)
jne LBB0_12
## %bb.11: ## in Loop: Header=BB0_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_20
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
cmpl $3, -20(%rbp)
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
cvtsi2ssl -16(%rbp), %xmm0
addss -52(%rbp), %xmm0
movss %xmm0, -52(%rbp)
jmp LBB0_19
LBB0_14: ## in Loop: Header=BB0_1 Depth=1
cmpl $4, -20(%rbp)
jne LBB0_18
## %bb.15: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
movl -48(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_17
## %bb.16: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movl %eax, -48(%rbp)
LBB0_17: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_19
LBB0_19: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_20
LBB0_20: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_21
LBB0_21: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_24:
cmpl $0, -36(%rbp)
jne LBB0_26
## %bb.25:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_27
LBB0_26:
movl -36(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_27:
cmpl $0, -24(%rbp)
jne LBB0_29
## %bb.28:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_30
LBB0_29:
movl -40(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_30:
cmpl $0, -44(%rbp)
jne LBB0_32
## %bb.31:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_33
LBB0_32:
movl -44(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB0_33:
cmpl $0, -28(%rbp)
jne LBB0_35
## %bb.34:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_36
LBB0_35:
movss -52(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
mulsd %xmm1, %xmm0
cvtsi2sdl -28(%rbp), %xmm1
divsd %xmm1, %xmm0
leaq L_.str.3(%rip), %rdi
movb $1, %al
callq _printf
LBB0_36:
cmpl $0, -32(%rbp)
jne LBB0_38
## %bb.37:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_39
LBB0_38:
movl -48(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_39:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "N "
L_.str.2: ## @.str.2
.asciz "%d "
L_.str.3: ## @.str.3
.asciz "%.1f "
L_.str.4: ## @.str.4
.asciz "N"
.subsections_via_symbols
| the_stack_data/117328807.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x0, #1
mov x1, #4
bl _calloc
str x0, [sp]
ldr x8, [sp]
str wzr, [x8]
ldr x8, [sp]
ldr w8, [x8]
subs w8, w8, #5
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #10
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
ldr x8, [sp]
ldr w8, [x8]
subs w8, w8, #0
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #11
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB0_5:
b LBB0_6
LBB0_6:
ldr x9, [sp]
mov w8, #5
str w8, [x9]
ldr x8, [sp]
ldr w8, [x8]
subs w8, w8, #5
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #15
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB0_8:
b LBB0_9
LBB0_9:
ldr x8, [sp]
ldr w8, [x8]
subs w8, w8, #0
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #16
adrp x3, l_.str.4@PAGE
add x3, x3, l_.str.4@PAGEOFF
bl ___assert_rtn
LBB0_11:
b LBB0_12
LBB0_12:
ldr x8, [sp]
ldr w8, [x8]
adds w8, w8, #10
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #17
adrp x3, l_.str.5@PAGE
add x3, x3, l_.str.5@PAGEOFF
bl ___assert_rtn
LBB0_14:
b LBB0_15
LBB0_15:
ldr x8, [sp]
ldr w8, [x8]
subs w8, w8, #100
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #18
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB0_17:
b LBB0_18
LBB0_18:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "89199433.c"
l_.str.1: ; @.str.1
.asciz "r[0] != 5"
l_.str.2: ; @.str.2
.asciz "r[0] == 0"
l_.str.3: ; @.str.3
.asciz "r[0] == 5"
l_.str.4: ; @.str.4
.asciz "r[0] != 0"
l_.str.5: ; @.str.5
.asciz "r[0] != -10"
l_.str.6: ; @.str.6
.asciz "r[0] != 100"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $1, %edi
movl $4, %esi
callq _calloc
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movl $0, (%rax)
movq -16(%rbp), %rax
cmpl $5, (%rax)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $10, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
movq -16(%rbp), %rax
cmpl $0, (%rax)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_5
## %bb.4:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $11, %edx
callq ___assert_rtn
LBB0_5:
jmp LBB0_6
LBB0_6:
movq -16(%rbp), %rax
movl $5, (%rax)
movq -16(%rbp), %rax
cmpl $5, (%rax)
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_8
## %bb.7:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $15, %edx
callq ___assert_rtn
LBB0_8:
jmp LBB0_9
LBB0_9:
movq -16(%rbp), %rax
cmpl $0, (%rax)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_11
## %bb.10:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.4(%rip), %rcx
movl $16, %edx
callq ___assert_rtn
LBB0_11:
jmp LBB0_12
LBB0_12:
movq -16(%rbp), %rax
cmpl $-10, (%rax)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_14
## %bb.13:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.5(%rip), %rcx
movl $17, %edx
callq ___assert_rtn
LBB0_14:
jmp LBB0_15
LBB0_15:
movq -16(%rbp), %rax
cmpl $100, (%rax)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_17
## %bb.16:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $18, %edx
callq ___assert_rtn
LBB0_17:
jmp LBB0_18
LBB0_18:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "89199433.c"
L_.str.1: ## @.str.1
.asciz "r[0] != 5"
L_.str.2: ## @.str.2
.asciz "r[0] == 0"
L_.str.3: ## @.str.3
.asciz "r[0] == 5"
L_.str.4: ## @.str.4
.asciz "r[0] != 0"
L_.str.5: ## @.str.5
.asciz "r[0] != -10"
L_.str.6: ## @.str.6
.asciz "r[0] != 100"
.subsections_via_symbols
| the_stack_data/89199433.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/86076011.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-24]
stur w0, [x29, #-28]
stur x1, [x29, #-40]
ldur w8, [x29, #-28]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
ldr x0, [x8]
ldur x8, [x29, #-40]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
ldur x8, [x29, #-40]
ldr x0, [x8, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #48]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_4:
ldr x0, [sp, #48]
mov x1, #0
mov w2, #2
bl _fseek
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #48]
bl _fclose
mov w0, #1
bl _exit
LBB0_6:
ldr x0, [sp, #48]
bl _ftell
mov x8, x0
str w8, [sp, #28]
ldr x0, [sp, #48]
mov x1, #0
mov w2, #0
bl _fseek
ldur x8, [x29, #-40]
ldr x0, [x8, #16]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #40]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB0_8:
ldr x1, [sp, #40]
mov w0, #1
bl _fputc
ldr x1, [sp, #40]
mov w0, #80
bl _fputc
ldr x1, [sp, #40]
mov w0, #82
bl _fputc
ldr x1, [sp, #40]
mov w0, #71
bl _fputc
str wzr, [sp, #32]
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #14
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldr x1, [sp, #40]
mov w0, #13
bl _fputc
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_9
LBB0_12:
ldr w0, [sp, #28]
ldr x1, [sp, #40]
bl _writeword
ldr x1, [sp, #40]
mov w0, #4608
str w0, [sp, #24] ; 4-byte Folded Spill
bl _writeword
ldr w0, [sp, #24] ; 4-byte Folded Reload
ldr x1, [sp, #40]
bl _writeword
str wzr, [sp, #32]
b LBB0_13
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
subs w8, w8, #104
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
ldr x1, [sp, #40]
mov w0, #0
bl _fputc
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_13 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_13
LBB0_16:
str wzr, [sp, #32]
b LBB0_17
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_20
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
ldr x0, [sp, #48]
bl _getc
str w0, [sp, #36]
ldr w0, [sp, #36]
ldr x1, [sp, #40]
bl _fputc
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_17 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_17
LBB0_20:
ldr x0, [sp, #48]
bl _fclose
ldr x0, [sp, #40]
bl _fclose
ldur w8, [x29, #-24]
str w8, [sp, #20] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
bl ___stack_chk_fail
LBB0_22:
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _writeword ; -- Begin function writeword
.p2align 2
_writeword: ; @writeword
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
str x1, [sp, #16]
ldur w8, [x29, #-4]
mov w10, #256
str w10, [sp, #12] ; 4-byte Folded Spill
udiv w9, w8, w10
mul w9, w9, w10
subs w0, w8, w9
ldr x1, [sp, #16]
bl _fputc
ldr w9, [sp, #12] ; 4-byte Folded Reload
ldur w8, [x29, #-4]
udiv w0, w8, w9
ldr x1, [sp, #16]
bl _fputc
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage: %s [binary file] [Sharp MZ .m12 file]\n"
l_.str.1: ; @.str.1
.asciz "rb"
l_.str.2: ; @.str.2
.asciz "Can't open input file\n"
l_.str.3: ; @.str.3
.asciz "Couldn't determine size of file\n"
l_.str.4: ; @.str.4
.asciz "wb"
l_.str.5: ; @.str.5
.asciz "Can't open output file\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -24(%rbp)
movl %edi, -28(%rbp)
movq %rsi, -40(%rbp)
cmpl $3, -28(%rbp)
je LBB0_2
## %bb.1:
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -40(%rbp), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
movq -40(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -48(%rbp)
cmpq $0, %rax
jne LBB0_4
## %bb.3:
leaq L_.str.2(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_4:
movq -48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $2, %edx
callq _fseek
cmpl $0, %eax
je LBB0_6
## %bb.5:
leaq L_.str.3(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movq -48(%rbp), %rdi
callq _fclose
movl $1, %edi
callq _exit
LBB0_6:
movq -48(%rbp), %rdi
callq _ftell
## kill: def $eax killed $eax killed $rax
movl %eax, -68(%rbp)
movq -48(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
xorl %edx, %edx
callq _fseek
movq -40(%rbp), %rax
movq 16(%rax), %rdi
leaq L_.str.4(%rip), %rsi
callq _fopen
movq %rax, -56(%rbp)
cmpq $0, %rax
jne LBB0_8
## %bb.7:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB0_8:
movq -56(%rbp), %rsi
movl $1, %edi
callq _fputc
movq -56(%rbp), %rsi
movl $80, %edi
callq _fputc
movq -56(%rbp), %rsi
movl $82, %edi
callq _fputc
movq -56(%rbp), %rsi
movl $71, %edi
callq _fputc
movl $0, -64(%rbp)
LBB0_9: ## =>This Inner Loop Header: Depth=1
cmpl $14, -64(%rbp)
jge LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq -56(%rbp), %rsi
movl $13, %edi
callq _fputc
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB0_9
LBB0_12:
movl -68(%rbp), %edi
movq -56(%rbp), %rsi
callq _writeword
movq -56(%rbp), %rsi
movl $4608, %edi ## imm = 0x1200
callq _writeword
movq -56(%rbp), %rsi
movl $4608, %edi ## imm = 0x1200
callq _writeword
movl $0, -64(%rbp)
LBB0_13: ## =>This Inner Loop Header: Depth=1
cmpl $104, -64(%rbp)
jge LBB0_16
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movq -56(%rbp), %rsi
xorl %edi, %edi
callq _fputc
## %bb.15: ## in Loop: Header=BB0_13 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB0_13
LBB0_16:
movl $0, -64(%rbp)
LBB0_17: ## =>This Inner Loop Header: Depth=1
movl -64(%rbp), %eax
cmpl -68(%rbp), %eax
jge LBB0_20
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movq -48(%rbp), %rdi
callq _getc
movl %eax, -60(%rbp)
movl -60(%rbp), %edi
movq -56(%rbp), %rsi
callq _fputc
## %bb.19: ## in Loop: Header=BB0_17 Depth=1
movl -64(%rbp), %eax
addl $1, %eax
movl %eax, -64(%rbp)
jmp LBB0_17
LBB0_20:
movq -48(%rbp), %rdi
callq _fclose
movq -56(%rbp), %rdi
callq _fclose
movl -24(%rbp), %eax
movl %eax, -72(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_22
## %bb.21:
movl -72(%rbp), %eax ## 4-byte Reload
addq $80, %rsp
popq %rbp
retq
LBB0_22:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _writeword ## -- Begin function writeword
.p2align 4, 0x90
_writeword: ## @writeword
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movq %rsi, -16(%rbp)
movl -4(%rbp), %edi
andl $255, %edi
movq -16(%rbp), %rsi
callq _fputc
movl -4(%rbp), %edi
shrl $8, %edi
movq -16(%rbp), %rsi
callq _fputc
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: %s [binary file] [Sharp MZ .m12 file]\n"
L_.str.1: ## @.str.1
.asciz "rb"
L_.str.2: ## @.str.2
.asciz "Can't open input file\n"
L_.str.3: ## @.str.3
.asciz "Couldn't determine size of file\n"
L_.str.4: ## @.str.4
.asciz "wb"
L_.str.5: ## @.str.5
.asciz "Can't open output file\n"
.subsections_via_symbols
| the_stack_data/237641997.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
stur wzr, [x29, #-12]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
add x8, sp, #12
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldr w8, [sp, #12]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w9, [sp, #12]
ldur w8, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-12]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_6:
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%i"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -12(%rbp)
movl $0, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
leaq -20(%rbp), %rsi
movb $0, %al
callq _scanf
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -12(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_6:
movl -12(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%i"
.subsections_via_symbols
| the_stack_data/68005.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _greska ; -- Begin function greska
.p2align 2
_greska: ; @greska
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
sub sp, sp, #512
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #96]
str w0, [sp, #92]
str x1, [sp, #80]
ldr w8, [sp, #92]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
bl _greska
b LBB1_2
LBB1_2:
ldr x8, [sp, #80]
ldr x0, [x8, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
str x1, [sp, #32] ; 8-byte Folded Spill
bl _fopen
ldr x1, [sp, #32] ; 8-byte Folded Reload
str x0, [sp, #72]
ldr x8, [sp, #80]
ldr x0, [x8, #16]
bl _fopen
str x0, [sp, #64]
ldr x8, [sp, #72]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
bl _greska
b LBB1_5
LBB1_5:
str wzr, [sp, #60]
ldr x2, [sp, #72]
sub x0, x29, #225
mov w1, #201
str w1, [sp, #28] ; 4-byte Folded Spill
bl _fgets
ldr w1, [sp, #28] ; 4-byte Folded Reload
str x0, [sp, #48]
ldr x2, [sp, #64]
add x0, sp, #102
bl _fgets
str x0, [sp, #40]
b LBB1_6
LBB1_6: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
mov w9, #0
str w9, [sp, #24] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_6 Depth=1
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, ne
str w8, [sp, #24] ; 4-byte Folded Spill
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_6 Depth=1
ldr w8, [sp, #24] ; 4-byte Folded Reload
tbz w8, #0, LBB1_12
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_6 Depth=1
sub x0, x29, #225
add x1, sp, #102
bl _strcmp
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_6 Depth=1
ldr w9, [sp, #60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_6 Depth=1
ldr x2, [sp, #72]
sub x0, x29, #225
mov w1, #201
str w1, [sp, #20] ; 4-byte Folded Spill
bl _fgets
ldr w1, [sp, #20] ; 4-byte Folded Reload
str x0, [sp, #48]
ldr x2, [sp, #64]
add x0, sp, #102
bl _fgets
str x0, [sp, #40]
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB1_6
LBB1_12:
b LBB1_13
LBB1_13: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_15
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_13 Depth=1
ldr w9, [sp, #60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x2, [sp, #72]
sub x0, x29, #225
mov w1, #201
bl _fgets
str x0, [sp, #48]
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB1_13
LBB1_15:
b LBB1_16
LBB1_16: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_16 Depth=1
ldr w9, [sp, #60]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x2, [sp, #64]
add x0, sp, #102
mov w1, #201
bl _fgets
str x0, [sp, #40]
ldr w8, [sp, #60]
add w8, w8, #1
str w8, [sp, #60]
b LBB1_16
LBB1_18:
ldr x0, [sp, #72]
bl _fclose
ldr x0, [sp, #64]
bl _fclose
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_19
LBB1_19:
bl ___stack_chk_fail
LBB1_20:
mov w0, #0
add sp, sp, #512
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "-1\n"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "%d "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _greska ## -- Begin function greska
.p2align 4, 0x90
_greska: ## @greska
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $496, %rsp ## imm = 0x1F0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -436(%rbp)
movl %edi, -440(%rbp)
movq %rsi, -448(%rbp)
cmpl $3, -440(%rbp)
je LBB1_2
## %bb.1:
callq _greska
LBB1_2:
movq -448(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -456(%rbp)
movq -448(%rbp), %rax
movq 16(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -464(%rbp)
cmpq $0, -456(%rbp)
je LBB1_4
## %bb.3:
cmpq $0, -464(%rbp)
jne LBB1_5
LBB1_4:
callq _greska
LBB1_5:
movl $0, -468(%rbp)
leaq -224(%rbp), %rdi
movq -456(%rbp), %rdx
movl $201, %esi
callq _fgets
movq %rax, -480(%rbp)
leaq -432(%rbp), %rdi
movq -464(%rbp), %rdx
movl $201, %esi
callq _fgets
movq %rax, -488(%rbp)
LBB1_6: ## =>This Inner Loop Header: Depth=1
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq $0, -480(%rbp)
movb %al, -489(%rbp) ## 1-byte Spill
je LBB1_8
## %bb.7: ## in Loop: Header=BB1_6 Depth=1
cmpq $0, -488(%rbp)
setne %al
movb %al, -489(%rbp) ## 1-byte Spill
LBB1_8: ## in Loop: Header=BB1_6 Depth=1
movb -489(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_9
jmp LBB1_12
LBB1_9: ## in Loop: Header=BB1_6 Depth=1
leaq -224(%rbp), %rdi
leaq -432(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
je LBB1_11
## %bb.10: ## in Loop: Header=BB1_6 Depth=1
movl -468(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB1_11: ## in Loop: Header=BB1_6 Depth=1
leaq -224(%rbp), %rdi
movq -456(%rbp), %rdx
movl $201, %esi
callq _fgets
movq %rax, -480(%rbp)
leaq -432(%rbp), %rdi
movq -464(%rbp), %rdx
movl $201, %esi
callq _fgets
movq %rax, -488(%rbp)
movl -468(%rbp), %eax
addl $1, %eax
movl %eax, -468(%rbp)
jmp LBB1_6
LBB1_12:
jmp LBB1_13
LBB1_13: ## =>This Inner Loop Header: Depth=1
cmpq $0, -480(%rbp)
je LBB1_15
## %bb.14: ## in Loop: Header=BB1_13 Depth=1
movl -468(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -224(%rbp), %rdi
movq -456(%rbp), %rdx
movl $201, %esi
callq _fgets
movq %rax, -480(%rbp)
movl -468(%rbp), %eax
addl $1, %eax
movl %eax, -468(%rbp)
jmp LBB1_13
LBB1_15:
jmp LBB1_16
LBB1_16: ## =>This Inner Loop Header: Depth=1
cmpq $0, -488(%rbp)
je LBB1_18
## %bb.17: ## in Loop: Header=BB1_16 Depth=1
movl -468(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq -432(%rbp), %rdi
movq -464(%rbp), %rdx
movl $201, %esi
callq _fgets
movq %rax, -488(%rbp)
movl -468(%rbp), %eax
addl $1, %eax
movl %eax, -468(%rbp)
jmp LBB1_16
LBB1_18:
movq -456(%rbp), %rdi
callq _fclose
movq -464(%rbp), %rdi
callq _fclose
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_20
## %bb.19:
xorl %eax, %eax
addq $496, %rsp ## imm = 0x1F0
popq %rbp
retq
LBB1_20:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "-1\n"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "%d "
.subsections_via_symbols
| the_stack_data/88543.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ; -- Begin function main
lCPI0_0:
.quad 0x3eb0c6f7a0b5ed8d ; double 9.9999999999999995E-7
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #20]
adrp x8, l___const.main.p@PAGE
add x8, x8, l___const.main.p@PAGEOFF
ldr q0, [x8]
str q0, [sp, #32]
adrp x8, l___const.main.c@PAGE
add x8, x8, l___const.main.c@PAGEOFF
ldr x8, [x8]
str x8, [sp, #24]
ldr s0, [sp, #36]
ldr s1, [sp, #44]
fsub s0, s0, s1
ldr s1, [sp, #32]
ldr s2, [sp, #40]
fsub s1, s1, s2
fdiv s0, s0, s1
str s0, [sp, #16]
ldr s2, [sp, #36]
ldr s0, [sp, #16]
ldr s1, [sp, #32]
fmsub s0, s0, s1, s2
str s0, [sp, #12]
ldr s0, [sp, #28]
ldr s1, [sp, #16]
ldr s2, [sp, #24]
ldr s3, [sp, #12]
fmadd s1, s1, s2, s3
fsub s0, s0, s1
fcvtzs w0, s0
bl _abs
scvtf d0, w0
adrp x8, lCPI0_0@PAGE
ldr d1, [x8, lCPI0_0@PAGEOFF]
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _puts
b LBB0_3
LBB0_2:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _puts
b LBB0_3
LBB0_3:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 2 ; @__const.main.p
l___const.main.p:
.long 0x3f800000 ; float 1
.long 0x40800000 ; float 4
.long 0x40800000 ; float 4
.long 0x40000000 ; float 2
.section __TEXT,__literal8,8byte_literals
.p2align 2 ; @__const.main.c
l___const.main.c:
.long 0x41700000 ; float 15
.long 0x40400000 ; float 3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "lezi"
l_.str.1: ; @.str.1
.asciz "nelezi"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function main
LCPI0_0:
.quad 0x3eb0c6f7a0b5ed8d ## double 9.9999999999999995E-7
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -44(%rbp)
movq L___const.main.p(%rip), %rax
movq %rax, -32(%rbp)
movq L___const.main.p+8(%rip), %rax
movq %rax, -24(%rbp)
movq L___const.main.c(%rip), %rax
movq %rax, -40(%rbp)
movss -28(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -20(%rbp), %xmm0
movss -32(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
subss -24(%rbp), %xmm1
divss %xmm1, %xmm0
movss %xmm0, -48(%rbp)
movss -28(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -48(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -32(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
movd %xmm0, %eax
xorl $2147483648, %eax ## imm = 0x80000000
movd %eax, %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -52(%rbp)
movss -36(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -48(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
movss -40(%rbp), %xmm3 ## xmm3 = mem[0],zero,zero,zero
movss -52(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
mulss %xmm3, %xmm1
addss %xmm2, %xmm1
subss %xmm1, %xmm0
cvttss2si %xmm0, %edi
callq _abs
cvtsi2sd %eax, %xmm1
movsd LCPI0_0(%rip), %xmm0 ## xmm0 = mem[0],zero
ucomisd %xmm1, %xmm0
jbe LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _puts
jmp LBB0_3
LBB0_2:
leaq L_.str.1(%rip), %rdi
callq _puts
LBB0_3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## @__const.main.p
L___const.main.p:
.long 0x3f800000 ## float 1
.long 0x40800000 ## float 4
.long 0x40800000 ## float 4
.long 0x40000000 ## float 2
.section __TEXT,__literal8,8byte_literals
.p2align 2 ## @__const.main.c
L___const.main.c:
.long 0x41700000 ## float 15
.long 0x40400000 ## float 3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "lezi"
L_.str.1: ## @.str.1
.asciz "nelezi"
.subsections_via_symbols
| the_stack_data/527310.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _abort ; -- Begin function abort
.p2align 2
_abort: ; @abort
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w0, #2
adrp x1, _abort.message@PAGE
add x1, x1, _abort.message@PAGEOFF
mov x2, #18
bl _write
brk #0x1
.cfi_endproc
; -- End function
.section __TEXT,__const
_abort.message: ; @abort.message
.asciz "** abort() called\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _abort ## -- Begin function abort
.p2align 4, 0x90
_abort: ## @abort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq _abort.message(%rip), %rsi
movl $2, %edi
movl $18, %edx
callq _write
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @abort.message
_abort.message:
.asciz "** abort() called\n"
.subsections_via_symbols
| the_stack_data/740604.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #160
.cfi_def_cfa_offset 160
stp x29, x30, [sp, #144] ; 16-byte Folded Spill
add x29, sp, #144
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #32]
mov w8, #1
str w8, [sp, #24]
str wzr, [sp, #20]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #36
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
str wzr, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #36
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_4:
str wzr, [sp, #28]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldrsw x8, [sp, #28]
add x9, sp, #36
ldrsb w8, [x9, x8]
ldr w10, [sp, #20]
subs w10, w10, #1
ldrsb w9, [x9, w10, sxtw]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
str wzr, [sp, #24]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #20]
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_5
LBB0_10:
ldr w8, [sp, #24]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_13
LBB0_12:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_13
LBB0_13:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
bl ___stack_chk_fail
LBB0_15:
mov w0, #0
ldp x29, x30, [sp, #144] ; 16-byte Folded Reload
add sp, sp, #160
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the string : "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "Palindrome !\n"
l_.str.3: ; @.str.3
.asciz "Not Palindrome !\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -116(%rbp)
movl $1, -124(%rbp)
movl $0, -128(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
movl $0, -120(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -120(%rbp), %rax
movsbl -112(%rbp,%rax), %eax
cmpl $0, %eax
je LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -128(%rbp), %eax
addl $1, %eax
movl %eax, -128(%rbp)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB0_1
LBB0_4:
movl $0, -120(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -120(%rbp), %eax
cmpl -128(%rbp), %eax
jge LBB0_10
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -120(%rbp), %rax
movsbl -112(%rbp,%rax), %eax
movl -128(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl -112(%rbp,%rcx), %ecx
cmpl %ecx, %eax
je LBB0_8
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl $0, -124(%rbp)
LBB0_8: ## in Loop: Header=BB0_5 Depth=1
movl -128(%rbp), %eax
addl $-1, %eax
movl %eax, -128(%rbp)
## %bb.9: ## in Loop: Header=BB0_5 Depth=1
movl -120(%rbp), %eax
addl $1, %eax
movl %eax, -120(%rbp)
jmp LBB0_5
LBB0_10:
cmpl $1, -124(%rbp)
jne LBB0_12
## %bb.11:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_13
LBB0_12:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_13:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_15
## %bb.14:
xorl %eax, %eax
addq $128, %rsp
popq %rbp
retq
LBB0_15:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the string : "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "Palindrome !\n"
L_.str.3: ## @.str.3
.asciz "Not Palindrome !\n"
.subsections_via_symbols
| the_stack_data/175142600.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #496
.cfi_def_cfa_offset 496
stp x28, x27, [sp, #464] ; 16-byte Folded Spill
stp x29, x30, [sp, #480] ; 16-byte Folded Spill
add x29, sp, #480
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #52]
str wzr, [sp, #32]
str wzr, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
mov x9, sp
add x8, sp, #48
str x8, [x9]
add x8, sp, #27
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
subs w8, w0, #0
cset w8, eq
mov w9, #0
str w9, [sp, #20] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsb w8, [sp, #27]
subs w8, w8, #10
cset w8, ne
str w8, [sp, #20] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20] ; 4-byte Folded Reload
tbz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #48]
ldrsw x10, [sp, #44]
mov x9, x10
add w9, w9, #1
str w9, [sp, #44]
add x9, sp, #56
str w8, [x9, x10, lsl #2]
b LBB0_1
LBB0_5:
ldr w8, [sp, #48]
ldrsw x10, [sp, #44]
mov x9, x10
add w9, w9, #1
str w9, [sp, #44]
add x9, sp, #56
str w8, [x9, x10, lsl #2]
mov x9, sp
add x8, sp, #36
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
str wzr, [sp, #40]
b LBB0_6
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
ldrsw x9, [sp, #40]
add x8, sp, #56
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
mov w8, #1
str w8, [sp, #32]
b LBB0_11
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_6 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_6
LBB0_11:
ldr w8, [sp, #32]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
ldr w9, [sp, #40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_20
LBB0_13:
str wzr, [sp, #40]
b LBB0_14
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_19
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=1
ldrsw x9, [sp, #40]
add x8, sp, #56
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
mov w8, #1
str w8, [sp, #28]
b LBB0_19
LBB0_17: ; in Loop: Header=BB0_14 Depth=1
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_14 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_14
LBB0_19:
b LBB0_20
LBB0_20:
ldr w8, [sp, #28]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_22
b LBB0_21
LBB0_21:
ldr w9, [sp, #40]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_23
LBB0_22:
ldr w9, [sp, #44]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_23
LBB0_23:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_25
b LBB0_24
LBB0_24:
bl ___stack_chk_fail
LBB0_25:
mov w0, #0
ldp x29, x30, [sp, #480] ; 16-byte Folded Reload
ldp x28, x27, [sp, #464] ; 16-byte Folded Reload
add sp, sp, #496
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d%c"
l_.str.1: ; @.str.1
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $448, %rsp ## imm = 0x1C0
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -420(%rbp)
movl $0, -440(%rbp)
movl $0, -444(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str(%rip), %rdi
leaq -424(%rbp), %rsi
leaq -445(%rbp), %rdx
movb $0, %al
callq _scanf
movl %eax, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -446(%rbp) ## 1-byte Spill
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movsbl -445(%rbp), %eax
cmpl $10, %eax
setne %al
movb %al, -446(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -446(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_5
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -424(%rbp), %ecx
movl -428(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -428(%rbp)
cltq
movl %ecx, -416(%rbp,%rax,4)
jmp LBB0_1
LBB0_5:
movl -424(%rbp), %ecx
movl -428(%rbp), %eax
movl %eax, %edx
addl $1, %edx
movl %edx, -428(%rbp)
cltq
movl %ecx, -416(%rbp,%rax,4)
leaq L_.str.1(%rip), %rdi
leaq -436(%rbp), %rsi
movb $0, %al
callq _scanf
movl $0, -432(%rbp)
LBB0_6: ## =>This Inner Loop Header: Depth=1
movl -432(%rbp), %eax
cmpl -428(%rbp), %eax
jge LBB0_11
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movslq -432(%rbp), %rax
movl -416(%rbp,%rax,4), %eax
cmpl -436(%rbp), %eax
jne LBB0_9
## %bb.8:
movl $1, -440(%rbp)
jmp LBB0_11
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
jmp LBB0_10
LBB0_10: ## in Loop: Header=BB0_6 Depth=1
movl -432(%rbp), %eax
addl $1, %eax
movl %eax, -432(%rbp)
jmp LBB0_6
LBB0_11:
cmpl $1, -440(%rbp)
jne LBB0_13
## %bb.12:
movl -432(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_20
LBB0_13:
movl $0, -432(%rbp)
LBB0_14: ## =>This Inner Loop Header: Depth=1
movl -432(%rbp), %eax
cmpl -428(%rbp), %eax
jge LBB0_19
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movslq -432(%rbp), %rax
movl -416(%rbp,%rax,4), %eax
cmpl -436(%rbp), %eax
jle LBB0_17
## %bb.16:
movl $1, -444(%rbp)
jmp LBB0_19
LBB0_17: ## in Loop: Header=BB0_14 Depth=1
jmp LBB0_18
LBB0_18: ## in Loop: Header=BB0_14 Depth=1
movl -432(%rbp), %eax
addl $1, %eax
movl %eax, -432(%rbp)
jmp LBB0_14
LBB0_19:
jmp LBB0_20
LBB0_20:
cmpl $1, -444(%rbp)
jne LBB0_22
## %bb.21:
movl -432(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_23
LBB0_22:
movl -428(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_23:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_25
## %bb.24:
xorl %eax, %eax
addq $448, %rsp ## imm = 0x1C0
popq %rbp
retq
LBB0_25:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d%c"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/77149.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w0, #0
str wzr, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/8708.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "skipped\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "skipped\n"
.subsections_via_symbols
| the_stack_data/62637174.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add8s_70F ; -- Begin function add8s_70F
.p2align 2
_add8s_70F: ; @add8s_70F
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
str x0, [sp, #104]
str x1, [sp, #96]
ldr x8, [sp, #96]
lsr x8, x8, #5
and x8, x8, #0x1
ldr x9, [sp, #104]
lsr x9, x9, #5
and x9, x9, #0x1
orr x8, x8, x9
str x8, [sp, #88]
ldr x8, [sp, #96]
lsr x8, x8, #6
and x8, x8, #0x1
ldr x9, [sp, #104]
lsr x9, x9, #6
and x9, x9, #0x1
and x8, x8, x9
str x8, [sp, #80]
ldr x8, [sp, #96]
lsr x8, x8, #6
and x8, x8, #0x1
ldr x9, [sp, #104]
lsr x9, x9, #6
and x9, x9, #0x1
eor x8, x8, x9
str x8, [sp, #72]
ldr x8, [sp, #96]
lsr x8, x8, #7
and x8, x8, #0x1
ldr x9, [sp, #104]
lsr x9, x9, #7
and x9, x9, #0x1
eor x8, x8, x9
str x8, [sp, #64]
ldr x8, [sp, #72]
ldr x9, [sp, #88]
and x8, x8, x9
str x8, [sp, #56]
ldr x8, [sp, #72]
ldr x9, [sp, #104]
lsr x9, x9, #7
and x9, x9, #0x1
and x8, x8, x9
str x8, [sp, #48]
ldr x8, [sp, #56]
ldr x9, [sp, #104]
lsr x9, x9, #7
and x9, x9, #0x1
and x8, x8, x9
str x8, [sp, #40]
ldr x8, [sp, #80]
ldr x9, [sp, #40]
orr x8, x8, x9
str x8, [sp, #32]
ldr x8, [sp, #88]
ldr x9, [sp, #48]
eor x8, x8, x9
str x8, [sp, #24]
ldr x8, [sp, #72]
ldr x9, [sp, #48]
eor x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #64]
ldr x9, [sp, #32]
eor x8, x8, x9
str x8, [sp, #8]
mov x9, #0
str xzr, [sp]
ldr x8, [sp, #16]
and x10, x8, #0x1
ldr x8, [sp]
orr x8, x8, x10
str x8, [sp]
ldr x8, [sp]
orr x8, x8, x9
str x8, [sp]
ldr x8, [sp, #8]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #2
str x8, [sp]
ldr x8, [sp, #24]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #3
str x8, [sp]
ldr x8, [sp, #24]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #4
str x8, [sp]
ldr x8, [sp, #24]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #5
str x8, [sp]
ldr x8, [sp, #16]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #6
str x8, [sp]
ldr x8, [sp, #8]
and x9, x8, #0x1
ldr x8, [sp]
orr x8, x8, x9, lsl #7
str x8, [sp]
ldr x0, [sp]
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _add8s_70F ## -- Begin function add8s_70F
.p2align 4, 0x90
_add8s_70F: ## @add8s_70F
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rax
shrq $5, %rax
andq $1, %rax
movq -8(%rbp), %rcx
shrq $5, %rcx
andq $1, %rcx
orq %rcx, %rax
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
shrq $6, %rax
andq $1, %rax
movq -8(%rbp), %rcx
shrq $6, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
shrq $6, %rax
andq $1, %rax
movq -8(%rbp), %rcx
shrq $6, %rcx
andq $1, %rcx
xorq %rcx, %rax
movq %rax, -40(%rbp)
movq -16(%rbp), %rax
shrq $7, %rax
andq $1, %rax
movq -8(%rbp), %rcx
shrq $7, %rcx
andq $1, %rcx
xorq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
andq -24(%rbp), %rax
movq %rax, -56(%rbp)
movq -40(%rbp), %rax
movq -8(%rbp), %rcx
shrq $7, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -64(%rbp)
movq -56(%rbp), %rax
movq -8(%rbp), %rcx
shrq $7, %rcx
andq $1, %rcx
andq %rcx, %rax
movq %rax, -72(%rbp)
movq -32(%rbp), %rax
orq -72(%rbp), %rax
movq %rax, -80(%rbp)
movq -24(%rbp), %rax
xorq -64(%rbp), %rax
movq %rax, -88(%rbp)
movq -40(%rbp), %rax
xorq -64(%rbp), %rax
movq %rax, -96(%rbp)
movq -48(%rbp), %rax
xorq -80(%rbp), %rax
movq %rax, -104(%rbp)
movq $0, -112(%rbp)
movq -96(%rbp), %rax
andq $1, %rax
shlq $0, %rax
orq -112(%rbp), %rax
movq %rax, -112(%rbp)
movq -112(%rbp), %rax
orq $0, %rax
movq %rax, -112(%rbp)
movq -104(%rbp), %rax
andq $1, %rax
shlq $2, %rax
orq -112(%rbp), %rax
movq %rax, -112(%rbp)
movq -88(%rbp), %rax
andq $1, %rax
shlq $3, %rax
orq -112(%rbp), %rax
movq %rax, -112(%rbp)
movq -88(%rbp), %rax
andq $1, %rax
shlq $4, %rax
orq -112(%rbp), %rax
movq %rax, -112(%rbp)
movq -88(%rbp), %rax
andq $1, %rax
shlq $5, %rax
orq -112(%rbp), %rax
movq %rax, -112(%rbp)
movq -96(%rbp), %rax
andq $1, %rax
shlq $6, %rax
orq -112(%rbp), %rax
movq %rax, -112(%rbp)
movq -104(%rbp), %rax
andq $1, %rax
shlq $7, %rax
orq -112(%rbp), %rax
movq %rax, -112(%rbp)
movq -112(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/96787.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Display ; -- Begin function Display
.p2align 2
_Display: ; @Display
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
b LBB0_1
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _createNodesFirst ; -- Begin function createNodesFirst
.p2align 2
_createNodesFirst: ; @createNodesFirst
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
mov x0, #16
bl _malloc
adrp x8, _firstNode@PAGE
str x0, [x8, _firstNode@PAGEOFF]
ldur x9, [x29, #-8]
ldr w9, [x9]
ldr x10, [x8, _firstNode@PAGEOFF]
str w9, [x10]
ldr x9, [x8, _firstNode@PAGEOFF]
; kill: def $x10 killed $xzr
str xzr, [x9, #8]
ldr x8, [x8, _firstNode@PAGEOFF]
str x8, [sp, #16]
mov w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
mov x0, #16
bl _malloc
str x0, [sp, #24]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
str w8, [x9]
ldr x8, [sp, #24]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x8, [sp, #24]
str x8, [sp, #16]
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_4:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _createNodesSecond ; -- Begin function createNodesSecond
.p2align 2
_createNodesSecond: ; @createNodesSecond
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
mov x0, #16
bl _malloc
adrp x8, _secondNode@PAGE
str x0, [x8, _secondNode@PAGEOFF]
ldur x9, [x29, #-8]
ldr w9, [x9]
ldr x10, [x8, _secondNode@PAGEOFF]
str w9, [x10]
ldr x9, [x8, _secondNode@PAGEOFF]
; kill: def $x10 killed $xzr
str xzr, [x9, #8]
ldr x8, [x8, _secondNode@PAGEOFF]
str x8, [sp, #16]
mov w8, #1
str w8, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
mov x0, #16
bl _malloc
str x0, [sp, #24]
ldur x8, [x29, #-8]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
str w8, [x9]
ldr x8, [sp, #24]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x8, [sp, #24]
str x8, [sp, #16]
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_1
LBB2_4:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _Concate ; -- Begin function Concate
.p2align 2
_Concate: ; @Concate
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
str x8, [sp, #8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #8]
ldr x8, [x8, #8]
str x8, [sp, #8]
b LBB3_1
LBB3_3:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
str x8, [x9, #8]
; kill: def $x8 killed $xzr
str xzr, [sp, #16]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #60]
adrp x8, l___const.main.arrayOne@PAGE
add x8, x8, l___const.main.arrayOne@PAGEOFF
ldr q0, [x8]
sub x9, x29, #32
str x9, [sp, #8] ; 8-byte Folded Spill
stur q0, [x29, #-32]
ldr w8, [x8, #16]
stur w8, [x29, #-16]
adrp x8, l___const.main.arrayTwo@PAGE
add x8, x8, l___const.main.arrayTwo@PAGEOFF
ldr q0, [x8]
add x9, sp, #64
str x9, [sp, #24] ; 8-byte Folded Spill
str q0, [sp, #64]
ldr w8, [x8, #16]
str w8, [sp, #80]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w1, #5
str w1, [sp, #20] ; 4-byte Folded Spill
bl _createNodesFirst
adrp x8, _firstNode@PAGE
str x8, [sp, #40] ; 8-byte Folded Spill
ldr x0, [x8, _firstNode@PAGEOFF]
bl _Display
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #48] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w1, [sp, #20] ; 4-byte Folded Reload
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _createNodesSecond
adrp x8, _secondNode@PAGE
str x8, [sp, #32] ; 8-byte Folded Spill
ldr x0, [x8, _secondNode@PAGEOFF]
bl _Display
ldr x0, [sp, #48] ; 8-byte Folded Reload
bl _printf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x9, _firstNode@PAGEOFF]
ldr x1, [x8, _secondNode@PAGEOFF]
bl _Concate
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x0, [x8, _firstNode@PAGEOFF]
bl _Display
ldr x0, [sp, #48] ; 8-byte Folded Reload
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
bl ___stack_chk_fail
LBB4_2:
mov w0, #0
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _firstNode ; @firstNode
.zerofill __DATA,__common,_firstNode,8,3
.globl _secondNode ; @secondNode
.zerofill __DATA,__common,_secondNode,8,3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
.section __TEXT,__const
.p2align 2 ; @__const.main.arrayOne
l___const.main.arrayOne:
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 5 ; 0x5
.p2align 2 ; @__const.main.arrayTwo
l___const.main.arrayTwo:
.long 6 ; 0x6
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "\nDisplaying Linked List First: "
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "\nDisplaying Linked List Second: "
l_.str.4: ; @.str.4
.asciz "\nDisplaying After Concating Two Linked List: "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Display ## -- Begin function Display
.p2align 4, 0x90
_Display: ## @Display
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -8(%rbp)
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB0_1
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _createNodesFirst ## -- Begin function createNodesFirst
.p2align 4, 0x90
_createNodesFirst: ## @createNodesFirst
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $16, %edi
callq _malloc
movq %rax, _firstNode(%rip)
movq -8(%rbp), %rax
movl (%rax), %ecx
movq _firstNode(%rip), %rax
movl %ecx, (%rax)
movq _firstNode(%rip), %rax
movq $0, 8(%rax)
movq _firstNode(%rip), %rax
movq %rax, -32(%rbp)
movl $1, -36(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $16, %edi
callq _malloc
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movslq -36(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movq -24(%rbp), %rax
movq $0, 8(%rax)
movq -24(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
movq %rax, -32(%rbp)
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB1_1
LBB1_4:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _createNodesSecond ## -- Begin function createNodesSecond
.p2align 4, 0x90
_createNodesSecond: ## @createNodesSecond
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $16, %edi
callq _malloc
movq %rax, _secondNode(%rip)
movq -8(%rbp), %rax
movl (%rax), %ecx
movq _secondNode(%rip), %rax
movl %ecx, (%rax)
movq _secondNode(%rip), %rax
movq $0, 8(%rax)
movq _secondNode(%rip), %rax
movq %rax, -32(%rbp)
movl $1, -36(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -36(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl $16, %edi
callq _malloc
movq %rax, -24(%rbp)
movq -8(%rbp), %rax
movslq -36(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
movq -24(%rbp), %rax
movl %ecx, (%rax)
movq -24(%rbp), %rax
movq $0, 8(%rax)
movq -24(%rbp), %rcx
movq -32(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
movq %rax, -32(%rbp)
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB2_1
LBB2_4:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Concate ## -- Begin function Concate
.p2align 4, 0x90
_Concate: ## @Concate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
cmpq $0, 8(%rax)
je LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -24(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
jmp LBB3_1
LBB3_3:
movq -16(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq $0, -16(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -68(%rbp)
movq l___const.main.arrayOne(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.main.arrayOne+8(%rip), %rax
movq %rax, -24(%rbp)
movl l___const.main.arrayOne+16(%rip), %eax
movl %eax, -16(%rbp)
movq l___const.main.arrayTwo(%rip), %rax
movq %rax, -64(%rbp)
movq l___const.main.arrayTwo+8(%rip), %rax
movq %rax, -56(%rbp)
movl l___const.main.arrayTwo+16(%rip), %eax
movl %eax, -48(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -32(%rbp), %rdi
movl $5, %esi
callq _createNodesFirst
movq _firstNode(%rip), %rdi
callq _Display
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq -64(%rbp), %rdi
movl $5, %esi
callq _createNodesSecond
movq _secondNode(%rip), %rdi
callq _Display
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq _firstNode(%rip), %rdi
movq _secondNode(%rip), %rsi
callq _Concate
movq _firstNode(%rip), %rdi
callq _Display
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB4_2
## %bb.1:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB4_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _firstNode ## @firstNode
.zerofill __DATA,__common,_firstNode,8,3
.globl _secondNode ## @secondNode
.zerofill __DATA,__common,_secondNode,8,3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
.section __TEXT,__const
.p2align 4 ## @__const.main.arrayOne
l___const.main.arrayOne:
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 5 ## 0x5
.p2align 4 ## @__const.main.arrayTwo
l___const.main.arrayTwo:
.long 6 ## 0x6
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "\nDisplaying Linked List First: "
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "\nDisplaying Linked List Second: "
L_.str.4: ## @.str.4
.asciz "\nDisplaying After Concating Two Linked List: "
.subsections_via_symbols
| the_stack_data/798548.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_xnumb_d2i2d2i0d2_ ; -- Begin function scilab_rt_xnumb_d2i2d2i0d2_
.p2align 2
_scilab_rt_xnumb_d2i2d2i0d2_: ; @scilab_rt_xnumb_d2i2d2i0d2_
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
ldr x12, [x29, #16]
ldr w11, [x29, #24]
ldr w10, [x29, #28]
ldr w9, [x29, #32]
ldr x8, [x29, #40]
stur w0, [x29, #-4]
stur w1, [x29, #-8]
stur x2, [x29, #-16]
stur w3, [x29, #-20]
stur w4, [x29, #-24]
stur x5, [x29, #-32]
stur w6, [x29, #-36]
stur w7, [x29, #-40]
stur x12, [x29, #-48]
stur w11, [x29, #-52]
stur w10, [x29, #-56]
stur w9, [x29, #-60]
stur x8, [x29, #-72]
ldur w8, [x29, #-8]
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
ldur w8, [x29, #-24]
; kill: def $x8 killed $w8
str x8, [sp, #24] ; 8-byte Folded Spill
ldur w8, [x29, #-40]
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
ldur w8, [x29, #-60]
; kill: def $x8 killed $w8
str x8, [sp, #40] ; 8-byte Folded Spill
movi d0, #0000000000000000
str d0, [sp, #72]
str wzr, [sp, #68]
str d0, [sp, #56]
str d0, [sp, #48]
stur wzr, [x29, #-76]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-76]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #80]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #80]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x10, [sp, #16] ; 8-byte Folded Reload
ldur x8, [x29, #-16]
ldursw x9, [x29, #-76]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #80]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #72]
fadd d0, d0, d1
str d0, [sp, #72]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #80]
add w8, w8, #1
str w8, [sp, #80]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB0_1
LBB0_8:
ldr d0, [sp, #72]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
stur wzr, [x29, #-76]
b LBB0_9
LBB0_9: ; =>This Loop Header: Depth=1
; Child Loop BB0_11 Depth 2
ldur w8, [x29, #-76]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
str wzr, [sp, #80]
b LBB0_11
LBB0_11: ; Parent Loop BB0_9 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #80]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_14
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=2
ldr x10, [sp, #24] ; 8-byte Folded Reload
ldur x8, [x29, #-32]
ldursw x9, [x29, #-76]
mul x9, x9, x10
add x8, x8, x9, lsl #2
ldrsw x9, [sp, #80]
ldr w9, [x8, x9, lsl #2]
ldr w8, [sp, #68]
add w8, w8, w9
str w8, [sp, #68]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=2
ldr w8, [sp, #80]
add w8, w8, #1
str w8, [sp, #80]
b LBB0_11
LBB0_14: ; in Loop: Header=BB0_9 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_9 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB0_9
LBB0_16:
ldr w9, [sp, #68]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-76]
b LBB0_17
LBB0_17: ; =>This Loop Header: Depth=1
; Child Loop BB0_19 Depth 2
ldur w8, [x29, #-76]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_24
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
str wzr, [sp, #80]
b LBB0_19
LBB0_19: ; Parent Loop BB0_17 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #80]
ldur w9, [x29, #-40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_22
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_19 Depth=2
ldr x10, [sp, #32] ; 8-byte Folded Reload
ldur x8, [x29, #-48]
ldursw x9, [x29, #-76]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #80]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #56]
fadd d0, d0, d1
str d0, [sp, #56]
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_19 Depth=2
ldr w8, [sp, #80]
add w8, w8, #1
str w8, [sp, #80]
b LBB0_19
LBB0_22: ; in Loop: Header=BB0_17 Depth=1
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_17 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB0_17
LBB0_24:
ldr d0, [sp, #56]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w9, [x29, #-52]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-76]
b LBB0_25
LBB0_25: ; =>This Loop Header: Depth=1
; Child Loop BB0_27 Depth 2
ldur w8, [x29, #-76]
ldur w9, [x29, #-56]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_32
b LBB0_26
LBB0_26: ; in Loop: Header=BB0_25 Depth=1
str wzr, [sp, #80]
b LBB0_27
LBB0_27: ; Parent Loop BB0_25 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #80]
ldur w9, [x29, #-60]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_30
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_27 Depth=2
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-72]
ldursw x9, [x29, #-76]
mul x9, x9, x10
add x8, x8, x9, lsl #3
ldrsw x9, [sp, #80]
ldr d1, [x8, x9, lsl #3]
ldr d0, [sp, #48]
fadd d0, d0, d1
str d0, [sp, #48]
b LBB0_29
LBB0_29: ; in Loop: Header=BB0_27 Depth=2
ldr w8, [sp, #80]
add w8, w8, #1
str w8, [sp, #80]
b LBB0_27
LBB0_30: ; in Loop: Header=BB0_25 Depth=1
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_25 Depth=1
ldur w8, [x29, #-76]
add w8, w8, #1
stur w8, [x29, #-76]
b LBB0_25
LBB0_32:
ldr d0, [sp, #48]
mov x8, sp
str d0, [x8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%f"
l_.str.1: ; @.str.1
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _scilab_rt_xnumb_d2i2d2i0d2_ ## -- Begin function scilab_rt_xnumb_d2i2d2i0d2_
.p2align 4, 0x90
_scilab_rt_xnumb_d2i2d2i0d2_: ## @scilab_rt_xnumb_d2i2d2i0d2_
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq 64(%rbp), %rax
movl 56(%rbp), %eax
movl 48(%rbp), %eax
movl 40(%rbp), %eax
movq 32(%rbp), %rax
movl 24(%rbp), %eax
movl 16(%rbp), %eax
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movq %rdx, -16(%rbp)
movl %ecx, -20(%rbp)
movl %r8d, -24(%rbp)
movq %r9, -32(%rbp)
movl -8(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -104(%rbp) ## 8-byte Spill
movl -24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -96(%rbp) ## 8-byte Spill
movl 24(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -88(%rbp) ## 8-byte Spill
movl 56(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -80(%rbp) ## 8-byte Spill
xorps %xmm0, %xmm0
movsd %xmm0, -48(%rbp)
movl $0, -52(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -64(%rbp)
xorps %xmm0, %xmm0
movsd %xmm0, -72(%rbp)
movl $0, -36(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -36(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -40(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -104(%rbp), %rdx ## 8-byte Reload
movq -16(%rbp), %rax
movslq -36(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq -40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -48(%rbp), %xmm0
movsd %xmm0, -48(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_1
LBB0_8:
movsd -48(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl $0, -36(%rbp)
LBB0_9: ## =>This Loop Header: Depth=1
## Child Loop BB0_11 Depth 2
movl -36(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_16
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl $0, -40(%rbp)
LBB0_11: ## Parent Loop BB0_9 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_14
## %bb.12: ## in Loop: Header=BB0_11 Depth=2
movq -96(%rbp), %rdx ## 8-byte Reload
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
imulq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movslq -40(%rbp), %rcx
movl (%rax,%rcx,4), %eax
addl -52(%rbp), %eax
movl %eax, -52(%rbp)
## %bb.13: ## in Loop: Header=BB0_11 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_11
LBB0_14: ## in Loop: Header=BB0_9 Depth=1
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_9 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_9
LBB0_16:
movl -52(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -36(%rbp)
LBB0_17: ## =>This Loop Header: Depth=1
## Child Loop BB0_19 Depth 2
movl -36(%rbp), %eax
cmpl 16(%rbp), %eax
jge LBB0_24
## %bb.18: ## in Loop: Header=BB0_17 Depth=1
movl $0, -40(%rbp)
LBB0_19: ## Parent Loop BB0_17 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl 24(%rbp), %eax
jge LBB0_22
## %bb.20: ## in Loop: Header=BB0_19 Depth=2
movq -88(%rbp), %rdx ## 8-byte Reload
movq 32(%rbp), %rax
movslq -36(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq -40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -64(%rbp), %xmm0
movsd %xmm0, -64(%rbp)
## %bb.21: ## in Loop: Header=BB0_19 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_19
LBB0_22: ## in Loop: Header=BB0_17 Depth=1
jmp LBB0_23
LBB0_23: ## in Loop: Header=BB0_17 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_17
LBB0_24:
movsd -64(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
movl 40(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -36(%rbp)
LBB0_25: ## =>This Loop Header: Depth=1
## Child Loop BB0_27 Depth 2
movl -36(%rbp), %eax
cmpl 48(%rbp), %eax
jge LBB0_32
## %bb.26: ## in Loop: Header=BB0_25 Depth=1
movl $0, -40(%rbp)
LBB0_27: ## Parent Loop BB0_25 Depth=1
## => This Inner Loop Header: Depth=2
movl -40(%rbp), %eax
cmpl 56(%rbp), %eax
jge LBB0_30
## %bb.28: ## in Loop: Header=BB0_27 Depth=2
movq -80(%rbp), %rdx ## 8-byte Reload
movq 64(%rbp), %rax
movslq -36(%rbp), %rcx
imulq %rdx, %rcx
shlq $3, %rcx
addq %rcx, %rax
movslq -40(%rbp), %rcx
movsd (%rax,%rcx,8), %xmm0 ## xmm0 = mem[0],zero
addsd -72(%rbp), %xmm0
movsd %xmm0, -72(%rbp)
## %bb.29: ## in Loop: Header=BB0_27 Depth=2
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_27
LBB0_30: ## in Loop: Header=BB0_25 Depth=1
jmp LBB0_31
LBB0_31: ## in Loop: Header=BB0_25 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_25
LBB0_32:
movsd -72(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str(%rip), %rdi
movb $1, %al
callq _printf
addq $112, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%f"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/154827215.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _RowSums ; -- Begin function RowSums
.p2align 2
_RowSums: ; @RowSums
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #8]
ldr w10, [sp, #4]
add w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
add w8, w8, w9
ldr x9, [sp, #8]
ldr w10, [sp, #4]
add w10, w10, #2
ldr w9, [x9, w10, sxtw #2]
add w8, w8, w9
ldr x9, [sp, #8]
ldr w10, [sp, #4]
add w10, w10, #3
ldr w9, [x9, w10, sxtw #2]
add w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _ColumnSums ; -- Begin function ColumnSums
.p2align 2
_ColumnSums: ; @ColumnSums
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #8]
ldr w10, [sp, #4]
add w10, w10, #4
ldr w9, [x9, w10, sxtw #2]
add w8, w8, w9
ldr x9, [sp, #8]
ldr w10, [sp, #4]
add w10, w10, #8
ldr w9, [x9, w10, sxtw #2]
add w8, w8, w9
ldr x9, [sp, #8]
ldr w10, [sp, #4]
add w10, w10, #12
ldr w9, [x9, w10, sxtw #2]
add w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-76]
str wzr, [sp, #80]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #80]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #80]
sub x8, x29, #72
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #80]
add w8, w8, #1
str w8, [sp, #80]
b LBB2_1
LBB2_4:
str wzr, [sp, #76]
b LBB2_5
LBB2_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #76]
subs w8, w8, #16
cset w8, ge
tbnz w8, #0, LBB2_11
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_5 Depth=1
ldrsw x9, [sp, #76]
sub x8, x29, #72
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w8, [sp, #76]
add w8, w8, #1
mov w10, #4
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_5 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB2_9
LBB2_8: ; in Loop: Header=BB2_5 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB2_9
LBB2_9: ; in Loop: Header=BB2_5 Depth=1
b LBB2_10
LBB2_10: ; in Loop: Header=BB2_5 Depth=1
ldr w8, [sp, #76]
add w8, w8, #1
str w8, [sp, #76]
b LBB2_5
LBB2_11:
sub x0, x29, #72
str x0, [sp, #48] ; 8-byte Folded Spill
mov w1, #0
str w1, [sp, #44] ; 4-byte Folded Spill
bl _RowSums
mov x8, x0
ldr x0, [sp, #48] ; 8-byte Folded Reload
str w8, [sp, #32] ; 4-byte Folded Spill
mov w1, #4
bl _RowSums
mov x8, x0
ldr x0, [sp, #48] ; 8-byte Folded Reload
str w8, [sp, #36] ; 4-byte Folded Spill
mov w1, #8
bl _RowSums
mov x8, x0
ldr x0, [sp, #48] ; 8-byte Folded Reload
str w8, [sp, #40] ; 4-byte Folded Spill
mov w1, #12
bl _RowSums
ldr w12, [sp, #32] ; 4-byte Folded Reload
ldr w11, [sp, #36] ; 4-byte Folded Reload
ldr w10, [sp, #40] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x12
str x8, [x9]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #16]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #24]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr w1, [sp, #44] ; 4-byte Folded Reload
ldr x0, [sp, #48] ; 8-byte Folded Reload
bl _ColumnSums
mov x8, x0
ldr x0, [sp, #48] ; 8-byte Folded Reload
str w8, [sp, #60] ; 4-byte Folded Spill
mov w1, #1
bl _ColumnSums
mov x8, x0
ldr x0, [sp, #48] ; 8-byte Folded Reload
str w8, [sp, #64] ; 4-byte Folded Spill
mov w1, #2
bl _ColumnSums
mov x8, x0
ldr x0, [sp, #48] ; 8-byte Folded Reload
str w8, [sp, #68] ; 4-byte Folded Spill
mov w1, #3
bl _ColumnSums
ldr w12, [sp, #60] ; 4-byte Folded Reload
ldr w11, [sp, #64] ; 4-byte Folded Reload
ldr w10, [sp, #68] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x12
str x8, [x9]
; implicit-def: $x8
mov x8, x11
str x8, [x9, #8]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #16]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #24]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur w8, [x29, #-72]
ldur w9, [x29, #-52]
add w8, w8, w9
ldur w9, [x29, #-32]
add w8, w8, w9
ldur w9, [x29, #-12]
add w11, w8, w9
ldur w8, [x29, #-60]
ldur w9, [x29, #-48]
add w8, w8, w9
ldur w9, [x29, #-36]
add w8, w8, w9
ldur w9, [x29, #-24]
add w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldur w8, [x29, #-76]
str w8, [sp, #72] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB2_13
b LBB2_12
LBB2_12:
bl ___stack_chk_fail
LBB2_13:
ldr w0, [sp, #72] ; 4-byte Folded Reload
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%2d"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz " "
l_.str.4: ; @.str.4
.asciz "Row sums: %d %d %d %d\n"
l_.str.5: ; @.str.5
.asciz "Column sums: %d %d %d %d\n"
l_.str.6: ; @.str.6
.asciz "Diagonal sums: %d %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _RowSums ## -- Begin function RowSums
.p2align 4, 0x90
_RowSums: ## @RowSums
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movl -12(%rbp), %edx
addl $1, %edx
movslq %edx, %rdx
addl (%rcx,%rdx,4), %eax
movq -8(%rbp), %rcx
movl -12(%rbp), %edx
addl $2, %edx
movslq %edx, %rdx
addl (%rcx,%rdx,4), %eax
movq -8(%rbp), %rcx
movl -12(%rbp), %edx
addl $3, %edx
movslq %edx, %rdx
addl (%rcx,%rdx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ColumnSums ## -- Begin function ColumnSums
.p2align 4, 0x90
_ColumnSums: ## @ColumnSums
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movl -12(%rbp), %edx
addl $4, %edx
movslq %edx, %rdx
addl (%rcx,%rdx,4), %eax
movq -8(%rbp), %rcx
movl -12(%rbp), %edx
addl $8, %edx
movslq %edx, %rdx
addl (%rcx,%rdx,4), %eax
movq -8(%rbp), %rcx
movl -12(%rbp), %edx
addl $12, %edx
movslq %edx, %rdx
addl (%rcx,%rdx,4), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -84(%rbp)
movl $0, -88(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $16, -88(%rbp)
jge LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movslq -88(%rbp), %rax
leaq -80(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB2_1
LBB2_4:
movl $0, -92(%rbp)
LBB2_5: ## =>This Inner Loop Header: Depth=1
cmpl $16, -92(%rbp)
jge LBB2_11
## %bb.6: ## in Loop: Header=BB2_5 Depth=1
movslq -92(%rbp), %rax
movl -80(%rbp,%rax,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -92(%rbp), %eax
addl $1, %eax
movl $4, %ecx
cltd
idivl %ecx
cmpl $0, %edx
jne LBB2_8
## %bb.7: ## in Loop: Header=BB2_5 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_9
LBB2_8: ## in Loop: Header=BB2_5 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB2_9: ## in Loop: Header=BB2_5 Depth=1
jmp LBB2_10
LBB2_10: ## in Loop: Header=BB2_5 Depth=1
movl -92(%rbp), %eax
addl $1, %eax
movl %eax, -92(%rbp)
jmp LBB2_5
LBB2_11:
leaq -80(%rbp), %rdi
xorl %esi, %esi
callq _RowSums
movl %eax, -120(%rbp) ## 4-byte Spill
leaq -80(%rbp), %rdi
movl $4, %esi
callq _RowSums
movl %eax, -116(%rbp) ## 4-byte Spill
leaq -80(%rbp), %rdi
movl $8, %esi
callq _RowSums
movl %eax, -112(%rbp) ## 4-byte Spill
leaq -80(%rbp), %rdi
movl $12, %esi
callq _RowSums
movl -120(%rbp), %esi ## 4-byte Reload
movl -116(%rbp), %edx ## 4-byte Reload
movl -112(%rbp), %ecx ## 4-byte Reload
movl %eax, %r8d
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq -80(%rbp), %rdi
xorl %esi, %esi
callq _ColumnSums
movl %eax, -108(%rbp) ## 4-byte Spill
leaq -80(%rbp), %rdi
movl $1, %esi
callq _ColumnSums
movl %eax, -104(%rbp) ## 4-byte Spill
leaq -80(%rbp), %rdi
movl $2, %esi
callq _ColumnSums
movl %eax, -100(%rbp) ## 4-byte Spill
leaq -80(%rbp), %rdi
movl $3, %esi
callq _ColumnSums
movl -108(%rbp), %esi ## 4-byte Reload
movl -104(%rbp), %edx ## 4-byte Reload
movl -100(%rbp), %ecx ## 4-byte Reload
movl %eax, %r8d
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl -80(%rbp), %esi
addl -60(%rbp), %esi
addl -40(%rbp), %esi
addl -20(%rbp), %esi
movl -68(%rbp), %edx
addl -56(%rbp), %edx
addl -44(%rbp), %edx
addl -32(%rbp), %edx
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
movl -84(%rbp), %eax
movl %eax, -96(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB2_13
## %bb.12:
movl -96(%rbp), %eax ## 4-byte Reload
addq $128, %rsp
popq %rbp
retq
LBB2_13:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%2d"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz " "
L_.str.4: ## @.str.4
.asciz "Row sums: %d %d %d %d\n"
L_.str.5: ## @.str.5
.asciz "Column sums: %d %d %d %d\n"
L_.str.6: ## @.str.6
.asciz "Diagonal sums: %d %d\n"
.subsections_via_symbols
| the_stack_data/1249686.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
str wzr, [sp, #12]
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-8]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_8:
ldr w9, [sp, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $0, -20(%rbp)
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movl $1, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -20(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -20(%rbp)
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_8:
movl -20(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/212643960.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str wzr, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/51587.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
movi d0, #0000000000000000
stur s0, [x29, #-20]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
sub x8, x29, #5
str x8, [x9, #8]
sub x8, x29, #16
str x8, [x9, #16]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldursb w8, [x29, #-5]
subs w8, w8, #42
; kill: def $x8 killed $w8
str x8, [sp, #32] ; 8-byte Folded Spill
subs x8, x8, #5
cset w8, hi
tbnz w8, #0, LBB0_6
; %bb.1:
ldr x11, [sp, #32] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_2:
ldur s0, [x29, #-12]
ldur s1, [x29, #-16]
bl _add
stur s0, [x29, #-20]
b LBB0_7
LBB0_3:
ldur s0, [x29, #-12]
ldur s1, [x29, #-16]
bl _sub
stur s0, [x29, #-20]
b LBB0_7
LBB0_4:
ldur s0, [x29, #-12]
ldur s1, [x29, #-16]
bl _mult
stur s0, [x29, #-20]
b LBB0_7
LBB0_5:
ldur s0, [x29, #-12]
ldur s1, [x29, #-16]
bl _div
stur s0, [x29, #-20]
b LBB0_7
LBB0_6:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_7
LBB0_7:
ldur s0, [x29, #-12]
fcvt d2, s0
ldursb w10, [x29, #-5]
ldur s0, [x29, #-16]
fcvt d1, s0
ldur s0, [x29, #-20]
fcvt d0, s0
mov x8, sp
str d2, [x8]
; implicit-def: $x9
mov x9, x10
str x9, [x8, #8]
str d1, [x8, #16]
str d0, [x8, #24]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_4-Ltmp0
.long LBB0_2-Ltmp0
.long LBB0_6-Ltmp0
.long LBB0_3-Ltmp0
.long LBB0_6-Ltmp0
.long LBB0_5-Ltmp0
; -- End function
.globl _add ; -- Begin function add
.p2align 2
_add: ; @add
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str s1, [sp, #8]
ldr s0, [sp, #12]
ldr s1, [sp, #8]
fadd s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _sub ; -- Begin function sub
.p2align 2
_sub: ; @sub
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str s1, [sp, #8]
ldr s0, [sp, #12]
ldr s1, [sp, #8]
fsub s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _mult ; -- Begin function mult
.p2align 2
_mult: ; @mult
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str s1, [sp, #8]
ldr s0, [sp, #12]
ldr s1, [sp, #8]
fmul s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _div ; -- Begin function div
.p2align 2
_div: ; @div
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str s0, [sp, #12]
str s1, [sp, #8]
ldr s0, [sp, #12]
ldr s1, [sp, #8]
fdiv s0, s0, s1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "WELCOME TO SIMPLE CALCULATOR\n"
l_.str.1: ; @.str.1
.asciz "----------------------------\n"
l_.str.2: ; @.str.2
.asciz "Enter [number 1] [+ - * /] [number 2]\n"
l_.str.3: ; @.str.3
.asciz "%f %c %f"
l_.str.4: ; @.str.4
.asciz "Invalid operator"
l_.str.5: ; @.str.5
.asciz "%.2f %c %.2f = %.2f"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl $0, -20(%rbp)
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -33(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -33(%rbp), %al ## 1-byte Reload
leaq L_.str.1(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -33(%rbp), %al ## 1-byte Reload
leaq L_.str.2(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -33(%rbp), %al ## 1-byte Reload
leaq L_.str.3(%rip), %rdi
leaq -12(%rbp), %rsi
leaq -5(%rbp), %rdx
leaq -16(%rbp), %rcx
callq _scanf
movsbl -5(%rbp), %eax
addl $-42, %eax
movl %eax, %ecx
movq %rcx, -32(%rbp) ## 8-byte Spill
subl $5, %eax
ja LBB0_5
## %bb.7:
movq -32(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_1:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -16(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _add
movss %xmm0, -20(%rbp)
jmp LBB0_6
LBB0_2:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -16(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _sub
movss %xmm0, -20(%rbp)
jmp LBB0_6
LBB0_3:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -16(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _mult
movss %xmm0, -20(%rbp)
jmp LBB0_6
LBB0_4:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss -16(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
callq _div
movss %xmm0, -20(%rbp)
jmp LBB0_6
LBB0_5:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
movsbl -5(%rbp), %esi
movss -16(%rbp), %xmm1 ## xmm1 = mem[0],zero,zero,zero
cvtss2sd %xmm1, %xmm1
movss -20(%rbp), %xmm2 ## xmm2 = mem[0],zero,zero,zero
cvtss2sd %xmm2, %xmm2
leaq L_.str.5(%rip), %rdi
movb $3, %al
callq _printf
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
LJTI0_0:
.long L0_0_set_3
.long L0_0_set_1
.long L0_0_set_5
.long L0_0_set_2
.long L0_0_set_5
.long L0_0_set_4
.end_data_region
## -- End function
.globl _add ## -- Begin function add
.p2align 4, 0x90
_add: ## @add
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -8(%rbp), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _sub ## -- Begin function sub
.p2align 4, 0x90
_sub: ## @sub
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -8(%rbp), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mult ## -- Begin function mult
.p2align 4, 0x90
_mult: ## @mult
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -8(%rbp), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _div ## -- Begin function div
.p2align 4, 0x90
_div: ## @div
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movss %xmm0, -4(%rbp)
movss %xmm1, -8(%rbp)
movss -4(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -8(%rbp), %xmm0
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "WELCOME TO SIMPLE CALCULATOR\n"
L_.str.1: ## @.str.1
.asciz "----------------------------\n"
L_.str.2: ## @.str.2
.asciz "Enter [number 1] [+ - * /] [number 2]\n"
L_.str.3: ## @.str.3
.asciz "%f %c %f"
L_.str.4: ## @.str.4
.asciz "Invalid operator"
L_.str.5: ## @.str.5
.asciz "%.2f %c %.2f = %.2f"
.subsections_via_symbols
| the_stack_data/9480.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #5
stur w8, [x29, #-8]
mov w8, #10
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
subs w8, w8, w9
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "The numbers are: %d and %d\n"
l_.str.1: ; @.str.1
.asciz "The numbers have been swapped with new positions: %d and %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $5, -8(%rbp)
movl $10, -12(%rbp)
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %eax
subl -12(%rbp), %eax
movl %eax, -12(%rbp)
movl -8(%rbp), %eax
subl -12(%rbp), %eax
movl %eax, -8(%rbp)
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "The numbers are: %d and %d\n"
L_.str.1: ## @.str.1
.asciz "The numbers have been swapped with new positions: %d and %d\n"
.subsections_via_symbols
| the_stack_data/170452262.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #20]
mov w8, #2
str w8, [sp, #24]
mov w8, #3
str w8, [sp, #28]
mov w8, #1
str w8, [sp, #32]
mov w8, #4
str w8, [sp, #36]
mov w8, #5
str w8, [sp, #40]
mov w8, #10
str w8, [sp, #44]
mov w8, #12
str w8, [sp, #48]
mov w8, #13
str w8, [sp, #52]
mov w8, #14
str w8, [sp, #56]
mov w8, #7
str w8, [sp, #60]
mov w8, #6
str w8, [sp, #64]
mov w8, #8
str w8, [sp, #68]
ldr w9, [sp, #44]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "El numero de personas que viven en el departamento 3 del bloque 2 es %i\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -68(%rbp)
movl $2, -64(%rbp)
movl $3, -60(%rbp)
movl $1, -56(%rbp)
movl $4, -52(%rbp)
movl $5, -48(%rbp)
movl $10, -44(%rbp)
movl $12, -40(%rbp)
movl $13, -36(%rbp)
movl $14, -32(%rbp)
movl $7, -28(%rbp)
movl $6, -24(%rbp)
movl $8, -20(%rbp)
movl -44(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "El numero de personas que viven en el departamento 3 del bloque 2 es %i\n"
.subsections_via_symbols
| the_stack_data/1101729.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ; -- Begin function __VERIFIER_assert
.p2align 2
___VERIFIER_assert: ; @__VERIFIER_assert
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_1
LBB0_1:
b LBB0_2
LBB0_2:
bl ___VERIFIER_error
LBB0_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #12]
str wzr, [sp, #8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #50
cset w8, ge
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x10, [sp, #8]
add x9, sp, #16
mov w8, #42
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_1
LBB1_3:
str wzr, [sp, #8]
b LBB1_4
LBB1_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #50
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
ldrsw x10, [sp, #8]
add x9, sp, #16
mov w8, #43
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_4
LBB1_6:
str wzr, [sp, #8]
b LBB1_7
LBB1_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #50
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=1
ldrsw x10, [sp, #8]
add x9, sp, #16
mov w8, #44
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_7
LBB1_9:
str wzr, [sp, #8]
b LBB1_10
LBB1_10: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #50
cset w8, ge
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_10 Depth=1
ldrsw x10, [sp, #8]
add x9, sp, #16
mov w8, #45
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB1_10
LBB1_12:
str wzr, [sp, #4]
b LBB1_13
LBB1_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #50
cset w8, ge
tbnz w8, #0, LBB1_16
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_13 Depth=1
ldrsw x9, [sp, #4]
add x8, sp, #16
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #45
cset w8, eq
and w0, w8, #0x1
bl ___VERIFIER_assert
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_13 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_13
LBB1_16:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17:
bl ___stack_chk_fail
LBB1_18:
mov w0, #0
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl ___VERIFIER_assert ## -- Begin function __VERIFIER_assert
.p2align 4, 0x90
___VERIFIER_assert: ## @__VERIFIER_assert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
cmpl $0, -4(%rbp)
jne LBB0_3
## %bb.1:
jmp LBB0_2
LBB0_2:
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq ___VERIFIER_error
LBB0_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $224, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -212(%rbp)
movl $0, -216(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
cmpl $50, -216(%rbp)
jge LBB1_3
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -216(%rbp), %rax
movl $42, -208(%rbp,%rax,4)
movl -216(%rbp), %eax
addl $1, %eax
movl %eax, -216(%rbp)
jmp LBB1_1
LBB1_3:
movl $0, -216(%rbp)
LBB1_4: ## =>This Inner Loop Header: Depth=1
cmpl $50, -216(%rbp)
jge LBB1_6
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
movslq -216(%rbp), %rax
movl $43, -208(%rbp,%rax,4)
movl -216(%rbp), %eax
addl $1, %eax
movl %eax, -216(%rbp)
jmp LBB1_4
LBB1_6:
movl $0, -216(%rbp)
LBB1_7: ## =>This Inner Loop Header: Depth=1
cmpl $50, -216(%rbp)
jge LBB1_9
## %bb.8: ## in Loop: Header=BB1_7 Depth=1
movslq -216(%rbp), %rax
movl $44, -208(%rbp,%rax,4)
movl -216(%rbp), %eax
addl $1, %eax
movl %eax, -216(%rbp)
jmp LBB1_7
LBB1_9:
movl $0, -216(%rbp)
LBB1_10: ## =>This Inner Loop Header: Depth=1
cmpl $50, -216(%rbp)
jge LBB1_12
## %bb.11: ## in Loop: Header=BB1_10 Depth=1
movslq -216(%rbp), %rax
movl $45, -208(%rbp,%rax,4)
movl -216(%rbp), %eax
addl $1, %eax
movl %eax, -216(%rbp)
jmp LBB1_10
LBB1_12:
movl $0, -220(%rbp)
LBB1_13: ## =>This Inner Loop Header: Depth=1
cmpl $50, -220(%rbp)
jge LBB1_16
## %bb.14: ## in Loop: Header=BB1_13 Depth=1
movslq -220(%rbp), %rax
cmpl $45, -208(%rbp,%rax,4)
sete %al
andb $1, %al
movzbl %al, %edi
callq ___VERIFIER_assert
## %bb.15: ## in Loop: Header=BB1_13 Depth=1
movl -220(%rbp), %eax
addl $1, %eax
movl %eax, -220(%rbp)
jmp LBB1_13
LBB1_16:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_18
## %bb.17:
xorl %eax, %eax
addq $224, %rsp
popq %rbp
retq
LBB1_18:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/167330518.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/23574847.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
subs w8, w8, #50
cset w8, gt
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
ldur w10, [x29, #-8]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Este programa serve para ver os multiplos positivos inteiros compreendidos entre 1 a 50\n\n"
l_.str.1: ; @.str.1
.asciz "Insira um numero:"
l_.str.2: ; @.str.2
.asciz "%d"
l_.str.3: ; @.str.3
.asciz "numero: %d - multiplos: "
l_.str.4: ; @.str.4
.asciz "%d "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
movl -8(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $50, -12(%rbp)
jg LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
cltd
idivl -8(%rbp)
cmpl $0, %edx
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_6:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Este programa serve para ver os multiplos positivos inteiros compreendidos entre 1 a 50\n\n"
L_.str.1: ## @.str.1
.asciz "Insira um numero:"
L_.str.2: ## @.str.2
.asciz "%d"
L_.str.3: ## @.str.3
.asciz "numero: %d - multiplos: "
L_.str.4: ## @.str.4
.asciz "%d "
.subsections_via_symbols
| the_stack_data/200144478.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ; -- Begin function test
.p2align 2
_test: ; @test
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w8, #-16
str w8, [sp, #8]
str w8, [sp, #4]
ldr w9, [sp, #8]
mov w8, #-1
subs w8, w8, w9, asr #4
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #1
str w8, [sp, #12]
b LBB0_13
LBB0_2:
ldr w9, [sp, #4]
mov w8, #268435455
subs w8, w8, w9, lsr #4
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #2
str w8, [sp, #12]
b LBB0_13
LBB0_4:
mov w8, #1073741824
str w8, [sp, #8]
str w8, [sp, #4]
ldr w8, [sp, #8]
lsl w8, w8, #1
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
mov w8, #3
str w8, [sp, #12]
b LBB0_13
LBB0_6:
ldr w9, [sp, #4]
mov w8, #-2147483648
subs w8, w8, w9, lsl #1
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
mov w8, #4
str w8, [sp, #12]
b LBB0_13
LBB0_8:
mov w8, #1
str w8, [sp, #8]
str w8, [sp, #4]
ldr w8, [sp, #8]
ldr w9, [sp, #4]
add w9, w9, #3
lsl w8, w8, w9
subs w8, w8, #16
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
mov w8, #5
str w8, [sp, #12]
b LBB0_13
LBB0_10:
ldr w8, [sp, #4]
add w9, w8, #5
ldr w8, [sp, #8]
lsl w8, w8, w9
str w8, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #64
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
mov w8, #6
str w8, [sp, #12]
b LBB0_13
LBB0_12:
str wzr, [sp, #12]
b LBB0_13
LBB0_13:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _test ## -- Begin function test
.p2align 4, 0x90
_test: ## @test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $-16, -8(%rbp)
movl $-16, -12(%rbp)
movl -8(%rbp), %eax
sarl $4, %eax
cmpl $-1, %eax
je LBB0_2
## %bb.1:
movl $1, -4(%rbp)
jmp LBB0_13
LBB0_2:
movl -12(%rbp), %eax
shrl $4, %eax
cmpl $268435455, %eax ## imm = 0xFFFFFFF
je LBB0_4
## %bb.3:
movl $2, -4(%rbp)
jmp LBB0_13
LBB0_4:
movl $1073741824, -8(%rbp) ## imm = 0x40000000
movl $1073741824, -12(%rbp) ## imm = 0x40000000
movl -8(%rbp), %eax
shll $1, %eax
cmpl $0, %eax
jl LBB0_6
## %bb.5:
movl $3, -4(%rbp)
jmp LBB0_13
LBB0_6:
movl -12(%rbp), %eax
shll $1, %eax
cmpl $-2147483648, %eax ## imm = 0x80000000
je LBB0_8
## %bb.7:
movl $4, -4(%rbp)
jmp LBB0_13
LBB0_8:
movl $1, -8(%rbp)
movl $1, -12(%rbp)
movl -8(%rbp), %eax
movl -12(%rbp), %ecx
addl $3, %ecx
## kill: def $cl killed $ecx
shll %cl, %eax
cmpl $16, %eax
je LBB0_10
## %bb.9:
movl $5, -4(%rbp)
jmp LBB0_13
LBB0_10:
movl -12(%rbp), %ecx
addl $5, %ecx
movl -8(%rbp), %eax
## kill: def $cl killed $ecx
shll %cl, %eax
movl %eax, -8(%rbp)
cmpl $64, -8(%rbp)
je LBB0_12
## %bb.11:
movl $6, -4(%rbp)
jmp LBB0_13
LBB0_12:
movl $0, -4(%rbp)
LBB0_13:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/133727.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #192
.cfi_def_cfa_offset 192
stp x29, x30, [sp, #176] ; 16-byte Folded Spill
add x29, sp, #176
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w1, #0
str wzr, [sp, #48]
sub x8, x29, #24
str x8, [sp, #32] ; 8-byte Folded Spill
stur xzr, [x29, #-24]
sturh wzr, [x29, #-16]
add x0, sp, #52
mov x2, #100
bl _memset
str wzr, [sp, #44]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x0, [sp, #32] ; 8-byte Folded Reload
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x2, [x8]
mov w1, #10
bl _fgets
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
sub x0, x29, #24
str x0, [sp, #24] ; 8-byte Folded Spill
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _strcspn
ldr x8, [sp, #24] ; 8-byte Folded Reload
add x8, x8, x0
strb wzr, [x8]
b LBB0_2
LBB0_2:
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
; kill: def $x8 killed $w8
subs x8, x8, #10
cset w8, hs
tbnz w8, #0, LBB0_43
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #44]
mov x9, x8
sub x8, x29, #24
ldrsb w8, [x8, x9]
subs w8, w8, #48
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #74
cset w8, hi
tbnz w8, #0, LBB0_42
; %bb.5: ; in Loop: Header=BB0_3 Depth=1
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI0_0@PAGE
add x10, x10, lJTI0_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.6@PAGE
add x1, x1, l_.str.6@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_10: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_11: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_12: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_13: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_14: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.11@PAGE
add x1, x1, l_.str.11@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_15: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_16: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_17: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_18: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.15@PAGE
add x1, x1, l_.str.15@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_19: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.16@PAGE
add x1, x1, l_.str.16@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_20: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.17@PAGE
add x1, x1, l_.str.17@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_21: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_22: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.19@PAGE
add x1, x1, l_.str.19@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_23: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_24: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.21@PAGE
add x1, x1, l_.str.21@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_25: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.22@PAGE
add x1, x1, l_.str.22@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_26: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.23@PAGE
add x1, x1, l_.str.23@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_27: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.24@PAGE
add x1, x1, l_.str.24@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_28: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.25@PAGE
add x1, x1, l_.str.25@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_29: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.26@PAGE
add x1, x1, l_.str.26@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_30: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.27@PAGE
add x1, x1, l_.str.27@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_31: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.28@PAGE
add x1, x1, l_.str.28@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_32: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.29@PAGE
add x1, x1, l_.str.29@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_33: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.30@PAGE
add x1, x1, l_.str.30@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_34: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.31@PAGE
add x1, x1, l_.str.31@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_35: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.32@PAGE
add x1, x1, l_.str.32@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_36: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.33@PAGE
add x1, x1, l_.str.33@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_37: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.34@PAGE
add x1, x1, l_.str.34@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_38: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.35@PAGE
add x1, x1, l_.str.35@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_39: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.36@PAGE
add x1, x1, l_.str.36@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_40: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.37@PAGE
add x1, x1, l_.str.37@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_41: ; in Loop: Header=BB0_3 Depth=1
add x0, sp, #52
adrp x1, l_.str.38@PAGE
add x1, x1, l_.str.38@PAGEOFF
mov x2, #100
bl ___strcat_chk
b LBB0_42
LBB0_42: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB0_3
LBB0_43:
mov x9, sp
sub x8, x29, #24
str x8, [x9]
add x8, sp, #52
str x8, [x9, #8]
adrp x0, l_.str.39@PAGE
add x0, x0, l_.str.39@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_45
b LBB0_44
LBB0_44:
bl ___stack_chk_fail
LBB0_45:
mov w0, #0
ldp x29, x30, [sp, #176] ; 16-byte Folded Reload
add sp, sp, #192
ret
.cfi_endproc
.p2align 2
lJTI0_0:
.long LBB0_32-Ltmp0
.long LBB0_33-Ltmp0
.long LBB0_34-Ltmp0
.long LBB0_35-Ltmp0
.long LBB0_36-Ltmp0
.long LBB0_37-Ltmp0
.long LBB0_38-Ltmp0
.long LBB0_39-Ltmp0
.long LBB0_40-Ltmp0
.long LBB0_41-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_6-Ltmp0
.long LBB0_7-Ltmp0
.long LBB0_8-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_10-Ltmp0
.long LBB0_11-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_13-Ltmp0
.long LBB0_14-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_16-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_18-Ltmp0
.long LBB0_19-Ltmp0
.long LBB0_20-Ltmp0
.long LBB0_21-Ltmp0
.long LBB0_22-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_24-Ltmp0
.long LBB0_25-Ltmp0
.long LBB0_26-Ltmp0
.long LBB0_27-Ltmp0
.long LBB0_28-Ltmp0
.long LBB0_29-Ltmp0
.long LBB0_30-Ltmp0
.long LBB0_31-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_42-Ltmp0
.long LBB0_6-Ltmp0
.long LBB0_7-Ltmp0
.long LBB0_8-Ltmp0
.long LBB0_9-Ltmp0
.long LBB0_10-Ltmp0
.long LBB0_11-Ltmp0
.long LBB0_12-Ltmp0
.long LBB0_13-Ltmp0
.long LBB0_14-Ltmp0
.long LBB0_15-Ltmp0
.long LBB0_16-Ltmp0
.long LBB0_17-Ltmp0
.long LBB0_18-Ltmp0
.long LBB0_19-Ltmp0
.long LBB0_20-Ltmp0
.long LBB0_21-Ltmp0
.long LBB0_22-Ltmp0
.long LBB0_23-Ltmp0
.long LBB0_24-Ltmp0
.long LBB0_25-Ltmp0
.long LBB0_26-Ltmp0
.long LBB0_27-Ltmp0
.long LBB0_28-Ltmp0
.long LBB0_29-Ltmp0
.long LBB0_30-Ltmp0
.long LBB0_31-Ltmp0
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n\t\345\260\206\345\221\274\345\217\267\350\275\254\346\215\242\346\210\220\345\255\227\346\257\215\350\247\243\351\207\212\346\263\225\347\232\204\345\215\225\350\257\215\347\273\204\345\220\210\347\232\204C\347\250\213\345\272\217\n\n"
l_.str.1: ; @.str.1
.asciz "\350\257\267\350\276\223\345\205\245\350\246\201\350\275\254\346\215\242\347\232\204\345\221\274\345\217\267\357\274\232"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz " Alfa"
l_.str.4: ; @.str.4
.asciz " Bravo"
l_.str.5: ; @.str.5
.asciz " Charlie"
l_.str.6: ; @.str.6
.asciz " Delta"
l_.str.7: ; @.str.7
.asciz " Echo"
l_.str.8: ; @.str.8
.asciz " Foxtrot"
l_.str.9: ; @.str.9
.asciz " Golf"
l_.str.10: ; @.str.10
.asciz " Hotel"
l_.str.11: ; @.str.11
.asciz " India"
l_.str.12: ; @.str.12
.asciz " Juliett"
l_.str.13: ; @.str.13
.asciz " Kilo"
l_.str.14: ; @.str.14
.asciz " Lima"
l_.str.15: ; @.str.15
.asciz " Mike"
l_.str.16: ; @.str.16
.asciz " November"
l_.str.17: ; @.str.17
.asciz " Oscar"
l_.str.18: ; @.str.18
.asciz " Papa"
l_.str.19: ; @.str.19
.asciz " Quebec"
l_.str.20: ; @.str.20
.asciz " Romeo"
l_.str.21: ; @.str.21
.asciz " Sierra"
l_.str.22: ; @.str.22
.asciz " Tango"
l_.str.23: ; @.str.23
.asciz " Uniform"
l_.str.24: ; @.str.24
.asciz " Victor"
l_.str.25: ; @.str.25
.asciz " Whiskey"
l_.str.26: ; @.str.26
.asciz " X-ray"
l_.str.27: ; @.str.27
.asciz " Yankee"
l_.str.28: ; @.str.28
.asciz " Zulu"
l_.str.29: ; @.str.29
.asciz " Zero"
l_.str.30: ; @.str.30
.asciz " One"
l_.str.31: ; @.str.31
.asciz " Two"
l_.str.32: ; @.str.32
.asciz " Three"
l_.str.33: ; @.str.33
.asciz " Four"
l_.str.34: ; @.str.34
.asciz " Five"
l_.str.35: ; @.str.35
.asciz " Six"
l_.str.36: ; @.str.36
.asciz " Seven"
l_.str.37: ; @.str.37
.asciz " Eight"
l_.str.38: ; @.str.38
.asciz " Nine"
l_.str.39: ; @.str.39
.asciz "\345\221\274\345\217\267%s\347\232\204\345\255\227\346\257\215\350\247\243\351\207\212\346\263\225\346\230\257\357\274\232%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $144, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -132(%rbp)
leaq -18(%rbp), %rdi
xorl %esi, %esi
movl $10, %edx
callq _memset
leaq -128(%rbp), %rdi
xorl %esi, %esi
movl $100, %edx
callq _memset
movl $0, -136(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -18(%rbp), %rdi
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdx
movl $10, %esi
callq _fgets
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq -18(%rbp), %rdi
leaq L_.str.2(%rip), %rsi
callq _strcspn
movb $0, -18(%rbp,%rax)
LBB0_2:
jmp LBB0_3
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -136(%rbp), %eax
## kill: def $rax killed $eax
cmpq $10, %rax
jae LBB0_42
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movl -136(%rbp), %eax
## kill: def $rax killed $eax
movsbl -18(%rbp,%rax), %eax
addl $-48, %eax
movl %eax, %ecx
movq %rcx, -144(%rbp) ## 8-byte Spill
subl $74, %eax
ja LBB0_41
## %bb.45: ## in Loop: Header=BB0_3 Depth=1
movq -144(%rbp), %rax ## 8-byte Reload
leaq LJTI0_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.5(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.6(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_9: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.7(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_10: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.8(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.9(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_12: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_13: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.11(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_14: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.12(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_15: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.13(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_16: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.14(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_17: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.15(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_18: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.16(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_19: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.17(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_20: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.18(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_21: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.19(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_22: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.20(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_23: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.21(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_24: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.22(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_25: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.23(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_26: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.24(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_27: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.25(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_28: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.26(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_29: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.27(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_30: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.28(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_31: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.29(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_32: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.30(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_33: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.31(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_34: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.32(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_35: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.33(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_36: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.34(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_37: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.35(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_38: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.36(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_39: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.37(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
jmp LBB0_41
LBB0_40: ## in Loop: Header=BB0_3 Depth=1
leaq -128(%rbp), %rdi
leaq L_.str.38(%rip), %rsi
movl $100, %edx
callq ___strcat_chk
LBB0_41: ## in Loop: Header=BB0_3 Depth=1
movl -136(%rbp), %eax
addl $1, %eax
movl %eax, -136(%rbp)
jmp LBB0_3
LBB0_42:
leaq -18(%rbp), %rsi
leaq -128(%rbp), %rdx
leaq L_.str.39(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_44
## %bb.43:
xorl %eax, %eax
addq $144, %rsp
popq %rbp
retq
LBB0_44:
callq ___stack_chk_fail
ud2
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L0_0_set_31, LBB0_31-LJTI0_0
.set L0_0_set_32, LBB0_32-LJTI0_0
.set L0_0_set_33, LBB0_33-LJTI0_0
.set L0_0_set_34, LBB0_34-LJTI0_0
.set L0_0_set_35, LBB0_35-LJTI0_0
.set L0_0_set_36, LBB0_36-LJTI0_0
.set L0_0_set_37, LBB0_37-LJTI0_0
.set L0_0_set_38, LBB0_38-LJTI0_0
.set L0_0_set_39, LBB0_39-LJTI0_0
.set L0_0_set_40, LBB0_40-LJTI0_0
.set L0_0_set_41, LBB0_41-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
.set L0_0_set_13, LBB0_13-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_17, LBB0_17-LJTI0_0
.set L0_0_set_18, LBB0_18-LJTI0_0
.set L0_0_set_19, LBB0_19-LJTI0_0
.set L0_0_set_20, LBB0_20-LJTI0_0
.set L0_0_set_21, LBB0_21-LJTI0_0
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_23, LBB0_23-LJTI0_0
.set L0_0_set_24, LBB0_24-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_26, LBB0_26-LJTI0_0
.set L0_0_set_27, LBB0_27-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
LJTI0_0:
.long L0_0_set_31
.long L0_0_set_32
.long L0_0_set_33
.long L0_0_set_34
.long L0_0_set_35
.long L0_0_set_36
.long L0_0_set_37
.long L0_0_set_38
.long L0_0_set_39
.long L0_0_set_40
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_5
.long L0_0_set_6
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_9
.long L0_0_set_10
.long L0_0_set_11
.long L0_0_set_12
.long L0_0_set_13
.long L0_0_set_14
.long L0_0_set_15
.long L0_0_set_16
.long L0_0_set_17
.long L0_0_set_18
.long L0_0_set_19
.long L0_0_set_20
.long L0_0_set_21
.long L0_0_set_22
.long L0_0_set_23
.long L0_0_set_24
.long L0_0_set_25
.long L0_0_set_26
.long L0_0_set_27
.long L0_0_set_28
.long L0_0_set_29
.long L0_0_set_30
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_41
.long L0_0_set_5
.long L0_0_set_6
.long L0_0_set_7
.long L0_0_set_8
.long L0_0_set_9
.long L0_0_set_10
.long L0_0_set_11
.long L0_0_set_12
.long L0_0_set_13
.long L0_0_set_14
.long L0_0_set_15
.long L0_0_set_16
.long L0_0_set_17
.long L0_0_set_18
.long L0_0_set_19
.long L0_0_set_20
.long L0_0_set_21
.long L0_0_set_22
.long L0_0_set_23
.long L0_0_set_24
.long L0_0_set_25
.long L0_0_set_26
.long L0_0_set_27
.long L0_0_set_28
.long L0_0_set_29
.long L0_0_set_30
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n\t\345\260\206\345\221\274\345\217\267\350\275\254\346\215\242\346\210\220\345\255\227\346\257\215\350\247\243\351\207\212\346\263\225\347\232\204\345\215\225\350\257\215\347\273\204\345\220\210\347\232\204C\347\250\213\345\272\217\n\n"
L_.str.1: ## @.str.1
.asciz "\350\257\267\350\276\223\345\205\245\350\246\201\350\275\254\346\215\242\347\232\204\345\221\274\345\217\267\357\274\232"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz " Alfa"
L_.str.4: ## @.str.4
.asciz " Bravo"
L_.str.5: ## @.str.5
.asciz " Charlie"
L_.str.6: ## @.str.6
.asciz " Delta"
L_.str.7: ## @.str.7
.asciz " Echo"
L_.str.8: ## @.str.8
.asciz " Foxtrot"
L_.str.9: ## @.str.9
.asciz " Golf"
L_.str.10: ## @.str.10
.asciz " Hotel"
L_.str.11: ## @.str.11
.asciz " India"
L_.str.12: ## @.str.12
.asciz " Juliett"
L_.str.13: ## @.str.13
.asciz " Kilo"
L_.str.14: ## @.str.14
.asciz " Lima"
L_.str.15: ## @.str.15
.asciz " Mike"
L_.str.16: ## @.str.16
.asciz " November"
L_.str.17: ## @.str.17
.asciz " Oscar"
L_.str.18: ## @.str.18
.asciz " Papa"
L_.str.19: ## @.str.19
.asciz " Quebec"
L_.str.20: ## @.str.20
.asciz " Romeo"
L_.str.21: ## @.str.21
.asciz " Sierra"
L_.str.22: ## @.str.22
.asciz " Tango"
L_.str.23: ## @.str.23
.asciz " Uniform"
L_.str.24: ## @.str.24
.asciz " Victor"
L_.str.25: ## @.str.25
.asciz " Whiskey"
L_.str.26: ## @.str.26
.asciz " X-ray"
L_.str.27: ## @.str.27
.asciz " Yankee"
L_.str.28: ## @.str.28
.asciz " Zulu"
L_.str.29: ## @.str.29
.asciz " Zero"
L_.str.30: ## @.str.30
.asciz " One"
L_.str.31: ## @.str.31
.asciz " Two"
L_.str.32: ## @.str.32
.asciz " Three"
L_.str.33: ## @.str.33
.asciz " Four"
L_.str.34: ## @.str.34
.asciz " Five"
L_.str.35: ## @.str.35
.asciz " Six"
L_.str.36: ## @.str.36
.asciz " Seven"
L_.str.37: ## @.str.37
.asciz " Eight"
L_.str.38: ## @.str.38
.asciz " Nine"
L_.str.39: ## @.str.39
.asciz "\345\221\274\345\217\267%s\347\232\204\345\255\227\346\257\215\350\247\243\351\207\212\346\263\225\346\230\257\357\274\232%s\n"
.subsections_via_symbols
| the_stack_data/150141434.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-28]
sub x8, x29, #16
str x8, [sp, #24]
sub x8, x29, #24
add x8, x8, #4
str x8, [sp, #16]
add x8, sp, #32
str x8, [sp, #8]
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #13
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB0_2:
b LBB0_3
LBB0_3:
ldr x8, [sp, #24]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #14
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___assert_rtn
LBB0_5:
b LBB0_6
LBB0_6:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #15
adrp x3, l_.str.3@PAGE
add x3, x3, l_.str.3@PAGEOFF
bl ___assert_rtn
LBB0_8:
b LBB0_9
LBB0_9:
ldr x8, [sp, #24]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #17
adrp x3, l_.str.4@PAGE
add x3, x3, l_.str.4@PAGEOFF
bl ___assert_rtn
LBB0_11:
b LBB0_12
LBB0_12:
ldr x8, [sp, #24]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #18
adrp x3, l_.str.5@PAGE
add x3, x3, l_.str.5@PAGEOFF
bl ___assert_rtn
LBB0_14:
b LBB0_15
LBB0_15:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w9, eq
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_17
b LBB0_16
LBB0_16:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #19
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB0_17:
b LBB0_18
LBB0_18:
ldur w8, [x29, #-28]
str w8, [sp, #4] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_19
LBB0_19:
bl ___stack_chk_fail
LBB0_20:
ldr w0, [sp, #4] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "132952396.c"
l_.str.1: ; @.str.1
.asciz "p == q"
l_.str.2: ; @.str.2
.asciz "p == r"
l_.str.3: ; @.str.3
.asciz "q == r"
l_.str.4: ; @.str.4
.asciz "p != q"
l_.str.5: ; @.str.5
.asciz "p != r"
l_.str.6: ; @.str.6
.asciz "q != r"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -28(%rbp)
leaq -16(%rbp), %rax
movq %rax, -40(%rbp)
leaq -24(%rbp), %rax
addq $4, %rax
movq %rax, -48(%rbp)
leaq -32(%rbp), %rax
movq %rax, -56(%rbp)
movq -40(%rbp), %rax
cmpq -48(%rbp), %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_2
## %bb.1:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $13, %edx
callq ___assert_rtn
LBB0_2:
jmp LBB0_3
LBB0_3:
movq -40(%rbp), %rax
cmpq -56(%rbp), %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_5
## %bb.4:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.2(%rip), %rcx
movl $14, %edx
callq ___assert_rtn
LBB0_5:
jmp LBB0_6
LBB0_6:
movq -48(%rbp), %rax
cmpq -56(%rbp), %rax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_8
## %bb.7:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.3(%rip), %rcx
movl $15, %edx
callq ___assert_rtn
LBB0_8:
jmp LBB0_9
LBB0_9:
movq -40(%rbp), %rax
cmpq -48(%rbp), %rax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_11
## %bb.10:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.4(%rip), %rcx
movl $17, %edx
callq ___assert_rtn
LBB0_11:
jmp LBB0_12
LBB0_12:
movq -40(%rbp), %rax
cmpq -56(%rbp), %rax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_14
## %bb.13:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.5(%rip), %rcx
movl $18, %edx
callq ___assert_rtn
LBB0_14:
jmp LBB0_15
LBB0_15:
movq -48(%rbp), %rax
cmpq -56(%rbp), %rax
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB0_17
## %bb.16:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $19, %edx
callq ___assert_rtn
LBB0_17:
jmp LBB0_18
LBB0_18:
movl -28(%rbp), %eax
movl %eax, -60(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_20
## %bb.19:
movl -60(%rbp), %eax ## 4-byte Reload
addq $64, %rsp
popq %rbp
retq
LBB0_20:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "132952396.c"
L_.str.1: ## @.str.1
.asciz "p == q"
L_.str.2: ## @.str.2
.asciz "p == r"
L_.str.3: ## @.str.3
.asciz "q == r"
L_.str.4: ## @.str.4
.asciz "p != q"
L_.str.5: ## @.str.5
.asciz "p != r"
L_.str.6: ## @.str.6
.asciz "q != r"
.subsections_via_symbols
| the_stack_data/132952396.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _merge ; -- Begin function merge
.p2align 2
_merge: ; @merge
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur w2, [x29, #-16]
stur w3, [x29, #-20]
ldur w8, [x29, #-12]
str w8, [sp, #24]
ldur w8, [x29, #-16]
add w8, w8, #1
str w8, [sp, #20]
str wzr, [sp, #16]
ldur w8, [x29, #-20]
ldur w9, [x29, #-12]
subs w8, w8, w9
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x9, w8
mov x8, #4
mul x0, x8, x9
bl _malloc
str x0, [sp, #8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, gt
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, le
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #20]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #8]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #8]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_8:
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #24]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #8]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_9
LBB0_11:
b LBB0_12
LBB0_12: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=1
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #8]
ldrsw x10, [sp, #16]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_12
LBB0_14:
str wzr, [sp, #16]
ldur w8, [x29, #-12]
str w8, [sp, #24]
b LBB0_15
LBB0_15: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_18
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_15 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #24]
str w8, [x9, x10, lsl #2]
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_15 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_15
LBB0_18:
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _ordenar ; -- Begin function ordenar
.p2align 2
_ordenar: ; @ordenar
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
ldur w8, [x29, #-12]
ldr w9, [sp, #16]
add w8, w8, w9
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #12]
ldur w8, [x29, #-12]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
ldr w2, [sp, #12]
bl _ordenar
ldur x0, [x29, #-8]
ldr w8, [sp, #12]
add w1, w8, #1
ldr w2, [sp, #16]
bl _ordenar
ldur x0, [x29, #-8]
ldur w1, [x29, #-12]
ldr w2, [sp, #12]
ldr w3, [sp, #16]
bl _merge
b LBB1_2
LBB1_2:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _pesquisar ; -- Begin function pesquisar
.p2align 2
_pesquisar: ; @pesquisar
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str w1, [sp, #28]
str w2, [sp, #24]
str wzr, [sp, #20]
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #16]
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #16]
str wzr, [sp, #20]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB2_9
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #16]
add w8, w8, w9
str w8, [sp, #12]
ldr w8, [sp, #12]
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #12]
ldr w8, [sp, #28]
ldr x9, [sp, #32]
ldrsw x10, [sp, #12]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
subs w8, w8, #1
str w8, [sp, #16]
b LBB2_8
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #28]
ldr x9, [sp, #32]
ldrsw x10, [sp, #12]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #20]
b LBB2_7
LBB2_6:
ldr w8, [sp, #12]
str w8, [sp, #44]
b LBB2_10
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
b LBB2_8
LBB2_8: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_9:
mov w8, #-1
str w8, [sp, #44]
b LBB2_10
LBB2_10:
ldr w0, [sp, #44]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldursw x8, [x29, #-8]
lsl x0, x8, #2
bl _malloc
stur x0, [x29, #-24]
stur wzr, [x29, #-28]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-24]
ldursw x9, [x29, #-28]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB3_1
LBB3_4:
ldur x0, [x29, #-24]
ldur w8, [x29, #-8]
subs w2, w8, #1
mov w1, #0
bl _ordenar
stur wzr, [x29, #-28]
b LBB3_5
LBB3_5: ; =>This Loop Header: Depth=1
; Child Loop BB3_9 Depth 2
; Child Loop BB3_14 Depth 2
ldur w8, [x29, #-28]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB3_21
b LBB3_6
LBB3_6: ; in Loop: Header=BB3_5 Depth=1
str wzr, [sp, #40]
str wzr, [sp, #36]
mov x9, sp
sub x8, x29, #36
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur x0, [x29, #-24]
ldur w1, [x29, #-36]
ldur w2, [x29, #-8]
bl _pesquisar
str w0, [sp, #40]
ldr w8, [sp, #40]
adds w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB3_8
b LBB3_7
LBB3_7: ; in Loop: Header=BB3_5 Depth=1
str wzr, [sp, #36]
b LBB3_19
LBB3_8: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
ldr w8, [sp, #40]
subs w8, w8, #1
stur w8, [x29, #-32]
b LBB3_9
LBB3_9: ; Parent Loop BB3_5 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-24]
ldursw x9, [x29, #-32]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ne
mov w9, #0
str w9, [sp, #32] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_11
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_9 Depth=2
ldur w8, [x29, #-32]
subs w8, w8, #0
cset w8, ge
str w8, [sp, #32] ; 4-byte Folded Spill
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_9 Depth=2
ldr w8, [sp, #32] ; 4-byte Folded Reload
tbz w8, #0, LBB3_13
b LBB3_12
LBB3_12: ; in Loop: Header=BB3_9 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
ldur w8, [x29, #-32]
subs w8, w8, #1
stur w8, [x29, #-32]
b LBB3_9
LBB3_13: ; in Loop: Header=BB3_5 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB3_14
LBB3_14: ; Parent Loop BB3_5 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-24]
ldursw x9, [x29, #-32]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ne
mov w9, #0
str w9, [sp, #28] ; 4-byte Folded Spill
tbnz w8, #0, LBB3_16
b LBB3_15
LBB3_15: ; in Loop: Header=BB3_14 Depth=2
ldur w8, [x29, #-32]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #28] ; 4-byte Folded Spill
b LBB3_16
LBB3_16: ; in Loop: Header=BB3_14 Depth=2
ldr w8, [sp, #28] ; 4-byte Folded Reload
tbz w8, #0, LBB3_18
b LBB3_17
LBB3_17: ; in Loop: Header=BB3_14 Depth=2
ldr w8, [sp, #36]
add w8, w8, #1
str w8, [sp, #36]
ldur w8, [x29, #-32]
add w8, w8, #1
stur w8, [x29, #-32]
b LBB3_14
LBB3_18: ; in Loop: Header=BB3_5 Depth=1
b LBB3_19
LBB3_19: ; in Loop: Header=BB3_5 Depth=1
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB3_20
LBB3_20: ; in Loop: Header=BB3_5 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB3_5
LBB3_21:
ldur x0, [x29, #-24]
bl _free
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _merge ## -- Begin function merge
.p2align 4, 0x90
_merge: ## @merge
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl %ecx, -20(%rbp)
movl -12(%rbp), %eax
movl %eax, -24(%rbp)
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
movl $0, -32(%rbp)
movl -20(%rbp), %eax
subl -12(%rbp), %eax
addl $1, %eax
movslq %eax, %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -40(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -16(%rbp), %ecx
movb %al, -41(%rbp) ## 1-byte Spill
jg LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
cmpl -20(%rbp), %eax
setle %al
movb %al, -41(%rbp) ## 1-byte Spill
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
movb -41(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_4
jmp LBB0_8
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movq -8(%rbp), %rcx
movslq -28(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB0_6
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -40(%rbp), %rax
movslq -32(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -40(%rbp), %rax
movslq -32(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_1
LBB0_8:
jmp LBB0_9
LBB0_9: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_11
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -40(%rbp), %rax
movslq -32(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_9
LBB0_11:
jmp LBB0_12
LBB0_12: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -20(%rbp), %eax
jg LBB0_14
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movq -8(%rbp), %rax
movslq -28(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -40(%rbp), %rax
movslq -32(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_12
LBB0_14:
movl $0, -32(%rbp)
movl -12(%rbp), %eax
movl %eax, -24(%rbp)
LBB0_15: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
cmpl -20(%rbp), %eax
jg LBB0_18
## %bb.16: ## in Loop: Header=BB0_15 Depth=1
movq -40(%rbp), %rax
movslq -32(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.17: ## in Loop: Header=BB0_15 Depth=1
movl -24(%rbp), %eax
addl $1, %eax
movl %eax, -24(%rbp)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_15
LBB0_18:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _ordenar ## -- Begin function ordenar
.p2align 4, 0x90
_ordenar: ## @ordenar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl -12(%rbp), %eax
addl -16(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -20(%rbp)
movl -12(%rbp), %eax
cmpl -16(%rbp), %eax
jge LBB1_2
## %bb.1:
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -20(%rbp), %edx
callq _ordenar
movq -8(%rbp), %rdi
movl -20(%rbp), %esi
addl $1, %esi
movl -16(%rbp), %edx
callq _ordenar
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
movl -20(%rbp), %edx
movl -16(%rbp), %ecx
callq _merge
LBB1_2:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _pesquisar ## -- Begin function pesquisar
.p2align 4, 0x90
_pesquisar: ## @pesquisar
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movl %edx, -24(%rbp)
movl $0, -28(%rbp)
movl -24(%rbp), %eax
subl $1, %eax
movl %eax, -32(%rbp)
movl -24(%rbp), %eax
subl $1, %eax
movl %eax, -32(%rbp)
movl $0, -28(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -32(%rbp), %eax
jg LBB2_9
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl -28(%rbp), %eax
addl -32(%rbp), %eax
movl %eax, -36(%rbp)
movl -36(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -36(%rbp)
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
movslq -36(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jge LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movl -36(%rbp), %eax
subl $1, %eax
movl %eax, -32(%rbp)
jmp LBB2_8
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
movslq -36(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
jle LBB2_6
## %bb.5: ## in Loop: Header=BB2_1 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB2_7
LBB2_6:
movl -36(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB2_10
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_8
LBB2_8: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_9:
movl $-1, -4(%rbp)
LBB2_10:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movslq -8(%rbp), %rdi
shlq $2, %rdi
callq _malloc
movq %rax, -24(%rbp)
movl $0, -28(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -24(%rbp), %rsi
movslq -28(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB3_1
LBB3_4:
movq -24(%rbp), %rdi
movl -8(%rbp), %edx
subl $1, %edx
xorl %esi, %esi
callq _ordenar
movl $0, -28(%rbp)
LBB3_5: ## =>This Loop Header: Depth=1
## Child Loop BB3_9 Depth 2
## Child Loop BB3_14 Depth 2
movl -28(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB3_21
## %bb.6: ## in Loop: Header=BB3_5 Depth=1
movl $0, -40(%rbp)
movl $0, -44(%rbp)
leaq L_.str.1(%rip), %rdi
leaq -36(%rbp), %rsi
movb $0, %al
callq _scanf
movq -24(%rbp), %rdi
movl -36(%rbp), %esi
movl -8(%rbp), %edx
callq _pesquisar
movl %eax, -40(%rbp)
cmpl $-1, -40(%rbp)
jne LBB3_8
## %bb.7: ## in Loop: Header=BB3_5 Depth=1
movl $0, -44(%rbp)
jmp LBB3_19
LBB3_8: ## in Loop: Header=BB3_5 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
movl -40(%rbp), %eax
subl $1, %eax
movl %eax, -32(%rbp)
LBB3_9: ## Parent Loop BB3_5 Depth=1
## => This Inner Loop Header: Depth=2
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -36(%rbp), %ecx
movb %al, -45(%rbp) ## 1-byte Spill
jne LBB3_11
## %bb.10: ## in Loop: Header=BB3_9 Depth=2
cmpl $0, -32(%rbp)
setge %al
movb %al, -45(%rbp) ## 1-byte Spill
LBB3_11: ## in Loop: Header=BB3_9 Depth=2
movb -45(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_12
jmp LBB3_13
LBB3_12: ## in Loop: Header=BB3_9 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
movl -32(%rbp), %eax
addl $-1, %eax
movl %eax, -32(%rbp)
jmp LBB3_9
LBB3_13: ## in Loop: Header=BB3_5 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
LBB3_14: ## Parent Loop BB3_5 Depth=1
## => This Inner Loop Header: Depth=2
movq -24(%rbp), %rax
movslq -32(%rbp), %rcx
movl (%rax,%rcx,4), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -36(%rbp), %ecx
movb %al, -46(%rbp) ## 1-byte Spill
jne LBB3_16
## %bb.15: ## in Loop: Header=BB3_14 Depth=2
movl -32(%rbp), %eax
cmpl -8(%rbp), %eax
setl %al
movb %al, -46(%rbp) ## 1-byte Spill
LBB3_16: ## in Loop: Header=BB3_14 Depth=2
movb -46(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB3_17
jmp LBB3_18
LBB3_17: ## in Loop: Header=BB3_14 Depth=2
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB3_14
LBB3_18: ## in Loop: Header=BB3_5 Depth=1
jmp LBB3_19
LBB3_19: ## in Loop: Header=BB3_5 Depth=1
movl -44(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.20: ## in Loop: Header=BB3_5 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB3_5
LBB3_21:
movq -24(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/961902.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _srand ; -- Begin function srand
.p2align 2
_srand: ; @srand
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
adrp x9, _seed@GOTPAGE
ldr x9, [x9, _seed@GOTPAGEOFF]
str x8, [x9]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _rand ; -- Begin function rand
.p2align 2
_rand: ; @rand
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
adrp x8, _seed@GOTPAGE
ldr x8, [x8, _seed@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x9, [x8]
mov x10, #44488
udiv x9, x9, x10
; kill: def $w9 killed $w9 killed $x9
str w9, [sp, #24]
ldr x8, [x8]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #28]
ldr w9, [sp, #28]
mov w8, #48271
mul w8, w8, w9
ldr w10, [sp, #24]
mov w9, #3399
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x8, [sp, #20]
str x8, [x9]
b LBB1_3
LBB1_2:
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldrsw x8, [sp, #20]
mov x10, #2147483647
add x8, x8, x10
str x8, [x9]
b LBB1_3
LBB1_3:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _seed,8,3 ; @seed
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _srand ## -- Begin function srand
.p2align 4, 0x90
_srand: ## @srand
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rcx
movq _seed@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rand ## -- Begin function rand
.p2align 4, 0x90
_rand: ## @rand
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _seed@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $44488, %ecx ## imm = 0xADC8
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
## kill: def $eax killed $eax killed $rax
movl %eax, -8(%rbp)
movq _seed@GOTPCREL(%rip), %rax
movq (%rax), %rax
movl $44488, %ecx ## imm = 0xADC8
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movl %edx, %eax
movl %eax, -4(%rbp)
imull $48271, -4(%rbp), %eax ## imm = 0xBC8F
imull $3399, -8(%rbp), %ecx ## imm = 0xD47
subl %ecx, %eax
movl %eax, -12(%rbp)
cmpl $0, -12(%rbp)
jle LBB1_2
## %bb.1:
movslq -12(%rbp), %rcx
movq _seed@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
jmp LBB1_3
LBB1_2:
movslq -12(%rbp), %rcx
addq $2147483647, %rcx ## imm = 0x7FFFFFFF
movq _seed@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
LBB1_3:
movq _seed@GOTPCREL(%rip), %rax
movq (%rax), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _seed,8,3 ## @seed
.subsections_via_symbols
| the_stack_data/67325845.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _label2array ; -- Begin function label2array
.p2align 2
_label2array: ; @label2array
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
str x1, [sp, #24]
ldr x0, [sp, #24]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fopen
mov x8, x0
str x8, [sp, #16]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_11
LBB0_2:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr x3, [sp, #16]
add x0, sp, #15
mov x2, #1
mov x1, x2
bl _fread
subs x8, x0, #0
cset w8, ls
tbnz w8, #0, LBB0_10
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldrb w8, [sp, #15]
str w8, [sp, #8] ; 4-byte Folded Spill
subs w8, w8, #9
subs w8, w8, #1
cset w8, ls
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
subs w8, w8, #34
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_8
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
b LBB0_9
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_9
LBB0_8: ; in Loop: Header=BB0_3 Depth=1
ldrb w10, [sp, #15]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=1
b LBB0_3
LBB0_10:
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_11
LBB0_11:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB1_5
LBB1_2:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
ldr x8, [sp, #16]
ldr x1, [x8, #16]
bl _label2array
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _perror
b LBB1_4
LBB1_4:
stur wzr, [x29, #-4]
b LBB1_5
LBB1_5:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "r"
l_.str.1: ; @.str.1
.asciz "const char %s[] = \""
l_.str.2: ; @.str.2
.asciz "\\\""
l_.str.3: ; @.str.3
.asciz "%c"
l_.str.4: ; @.str.4
.asciz "\";\n"
l_.str.5: ; @.str.5
.asciz "usage: %s <var> <file>\n"
l_.str.6: ; @.str.6
.asciz "label2array"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _label2array ## -- Begin function label2array
.p2align 4, 0x90
_label2array: ## @label2array
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -24(%rbp), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, -32(%rbp)
cmpq $0, %rax
jne LBB0_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB0_10
LBB0_2:
movq -16(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
LBB0_3: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rcx
leaq -33(%rbp), %rdi
movl $1, %edx
movq %rdx, %rsi
callq _fread
cmpq $0, %rax
jbe LBB0_9
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movzbl -33(%rbp), %eax
movl %eax, -40(%rbp) ## 4-byte Spill
addl $-9, %eax
subl $2, %eax
jb LBB0_5
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_3 Depth=1
movl -40(%rbp), %eax ## 4-byte Reload
subl $34, %eax
je LBB0_6
jmp LBB0_7
LBB0_5: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_8
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
movzbl -33(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_8: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_3
LBB0_9:
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
LBB0_10:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $3, -8(%rbp)
je LBB1_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq (%rax), %rdx
leaq L_.str.5(%rip), %rsi
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB1_5
LBB1_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movq -16(%rbp), %rax
movq 16(%rax), %rsi
callq _label2array
cmpl $-1, %eax
jne LBB1_4
## %bb.3:
leaq L_.str.6(%rip), %rdi
callq _perror
LBB1_4:
movl $0, -4(%rbp)
LBB1_5:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r"
L_.str.1: ## @.str.1
.asciz "const char %s[] = \""
L_.str.2: ## @.str.2
.asciz "\\\""
L_.str.3: ## @.str.3
.asciz "%c"
L_.str.4: ## @.str.4
.asciz "\";\n"
L_.str.5: ## @.str.5
.asciz "usage: %s <var> <file>\n"
L_.str.6: ## @.str.6
.asciz "label2array"
.subsections_via_symbols
| the_stack_data/45450604.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _write_check ; -- Begin function write_check
.p2align 2
_write_check: ; @write_check
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
str wzr, [sp, #12]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x1, [x29, #-8]
ldursw x2, [x29, #-12]
mov w0, #1
bl _write
mov x8, x0
str w8, [sp, #12]
b LBB0_2
LBB0_2:
ldr w8, [sp, #12]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr w9, [sp, #16]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_4
LBB0_4:
ldr w0, [sp, #12]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _write_check ## -- Begin function write_check
.p2align 4, 0x90
_write_check: ## @write_check
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl $0, -20(%rbp)
cmpq $0, -8(%rbp)
je LBB0_2
## %bb.1:
movq -8(%rbp), %rsi
movslq -12(%rbp), %rdx
movl $1, %edi
callq _write
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
LBB0_2:
cmpl $-1, -20(%rbp)
je LBB0_4
## %bb.3:
movl -16(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
LBB0_4:
movl -20(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/23576514.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-8]
subs w8, w8, #101
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #101
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_8:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "100 100 10000 4\n"
l_.str.1: ; @.str.1
.asciz "%d %d\n"
l_.str.2: ; @.str.2
.asciz "1\n3\n5\n11\n0 0 0 0"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -8(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $101, -8(%rbp)
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $1, -12(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $101, -12(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_7
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_8:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "100 100 10000 4\n"
L_.str.1: ## @.str.1
.asciz "%d %d\n"
L_.str.2: ## @.str.2
.asciz "1\n3\n5\n11\n0 0 0 0"
.subsections_via_symbols
| the_stack_data/89199578.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
add x8, sp, #16
str x8, [x9]
bl _scanf
ldur w8, [x29, #-12]
stur w8, [x29, #-8]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB0_1
LBB0_4:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter the first number :"
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "Enter the last number :"
l_.str.4: ; @.str.4
.asciz "%2d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movl -12(%rbp), %eax
movl %eax, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -16(%rbp), %eax
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB0_1
LBB0_4:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter the first number :"
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "Enter the last number :"
L_.str.4: ## @.str.4
.asciz "%2d\n"
.subsections_via_symbols
| the_stack_data/284282.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _show ; -- Begin function show
.p2align 2
_show: ; @show
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldursw x9, [x29, #-4]
adrp x8, _data@PAGE
add x8, x8, _data@PAGEOFF
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB0_1
LBB0_4:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _shell_sort ; -- Begin function shell_sort
.p2align 2
_shell_sort: ; @shell_sort
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #2
stur w8, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
; Child Loop BB1_5 Depth 3
; Child Loop BB1_7 Depth 4
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_17
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
str wzr, [sp, #16]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB1_5 Depth 3
; Child Loop BB1_7 Depth 4
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_15
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
bl _show
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #12]
b LBB1_5
LBB1_5: ; Parent Loop BB1_1 Depth=1
; Parent Loop BB1_3 Depth=2
; => This Loop Header: Depth=3
; Child Loop BB1_7 Depth 4
ldr w8, [sp, #12]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB1_13
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=3
ldrsw x9, [sp, #12]
adrp x8, _data@PAGE
add x8, x8, _data@PAGEOFF
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-4]
ldr w8, [sp, #12]
ldur w9, [x29, #-12]
subs w8, w8, w9
stur w8, [x29, #-8]
b LBB1_7
LBB1_7: ; Parent Loop BB1_1 Depth=1
; Parent Loop BB1_3 Depth=2
; Parent Loop BB1_5 Depth=3
; => This Inner Loop Header: Depth=4
ldur w8, [x29, #-8]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w8, lt
mov w9, #0
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_7 Depth=4
ldursw x9, [x29, #-8]
adrp x8, _data@PAGE
add x8, x8, _data@PAGEOFF
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, gt
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_7 Depth=4
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB1_11
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_7 Depth=4
ldursw x8, [x29, #-8]
adrp x9, _data@PAGE
add x9, x9, _data@PAGEOFF
ldr w8, [x9, x8, lsl #2]
ldur w10, [x29, #-8]
ldur w11, [x29, #-12]
add w10, w10, w11
str w8, [x9, w10, sxtw #2]
ldur w9, [x29, #-12]
ldur w8, [x29, #-8]
subs w8, w8, w9
stur w8, [x29, #-8]
b LBB1_7
LBB1_11: ; in Loop: Header=BB1_5 Depth=3
ldur w8, [x29, #-4]
ldur w9, [x29, #-8]
ldur w10, [x29, #-12]
add w10, w9, w10
adrp x9, _data@PAGE
add x9, x9, _data@PAGEOFF
str w8, [x9, w10, sxtw #2]
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_5 Depth=3
ldur w9, [x29, #-12]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB1_5
LBB1_13: ; in Loop: Header=BB1_3 Depth=2
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_3
LBB1_15: ; in Loop: Header=BB1_1 Depth=1
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
mov w9, #2
sdiv w8, w8, w9
stur w8, [x29, #-12]
b LBB1_1
LBB1_17:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
bl _shell_sort
bl _show
mov w0, #0
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _data ; @data
.p2align 2
_data:
.long 4 ; 0x4
.long 5 ; 0x5
.long 3 ; 0x3
.long 2 ; 0x2
.long 1 ; 0x1
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _show ## -- Begin function show
.p2align 4, 0x90
_show: ## @show
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $5, -4(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -4(%rbp), %rcx
leaq _data(%rip), %rax
movl (%rax,%rcx,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB0_1
LBB0_4:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _shell_sort ## -- Begin function shell_sort
.p2align 4, 0x90
_shell_sort: ## @shell_sort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $2, -12(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
## Child Loop BB1_5 Depth 3
## Child Loop BB1_7 Depth 4
cmpl $0, -12(%rbp)
jle LBB1_17
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $0, -16(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB1_5 Depth 3
## Child Loop BB1_7 Depth 4
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_15
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
callq _show
movl -16(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -20(%rbp)
LBB1_5: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_3 Depth=2
## => This Loop Header: Depth=3
## Child Loop BB1_7 Depth 4
cmpl $5, -20(%rbp)
jge LBB1_13
## %bb.6: ## in Loop: Header=BB1_5 Depth=3
movslq -20(%rbp), %rcx
leaq _data(%rip), %rax
movl (%rax,%rcx,4), %eax
movl %eax, -4(%rbp)
movl -20(%rbp), %eax
subl -12(%rbp), %eax
movl %eax, -8(%rbp)
LBB1_7: ## Parent Loop BB1_1 Depth=1
## Parent Loop BB1_3 Depth=2
## Parent Loop BB1_5 Depth=3
## => This Inner Loop Header: Depth=4
movl -8(%rbp), %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl -16(%rbp), %ecx
movb %al, -21(%rbp) ## 1-byte Spill
jl LBB1_9
## %bb.8: ## in Loop: Header=BB1_7 Depth=4
movslq -8(%rbp), %rcx
leaq _data(%rip), %rax
movl (%rax,%rcx,4), %eax
cmpl -4(%rbp), %eax
setg %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB1_9: ## in Loop: Header=BB1_7 Depth=4
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_10
jmp LBB1_11
LBB1_10: ## in Loop: Header=BB1_7 Depth=4
movslq -8(%rbp), %rcx
leaq _data(%rip), %rax
movl (%rax,%rcx,4), %edx
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movslq %eax, %rcx
leaq _data(%rip), %rax
movl %edx, (%rax,%rcx,4)
movl -12(%rbp), %ecx
movl -8(%rbp), %eax
subl %ecx, %eax
movl %eax, -8(%rbp)
jmp LBB1_7
LBB1_11: ## in Loop: Header=BB1_5 Depth=3
movl -4(%rbp), %edx
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movslq %eax, %rcx
leaq _data(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.12: ## in Loop: Header=BB1_5 Depth=3
movl -12(%rbp), %eax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB1_5
LBB1_13: ## in Loop: Header=BB1_3 Depth=2
jmp LBB1_14
LBB1_14: ## in Loop: Header=BB1_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_3
LBB1_15: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_16
LBB1_16: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_17:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
callq _shell_sort
callq _show
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _data ## @data
.p2align 4
_data:
.long 4 ## 0x4
.long 5 ## 0x5
.long 3 ## 0x3
.long 2 ## 0x2
.long 1 ## 0x1
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.1: ## @.str.1
.asciz "\n"
.subsections_via_symbols
| the_stack_data/623160.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _net_cxgbe_pmd_info ; @net_cxgbe_pmd_info
_net_cxgbe_pmd_info:
.asciz "PMD_INFO_STRING= {\"name\" : \"net_cxgbe\", \"kmod\" : \"* igb_uio | uio_pci_generic | vfio-pci\", \"pci_ids\" : [[5157, 21504, 65535, 65535],[5157, 21505, 65535, 65535],[5157, 21506, 65535, 65535],[5157, 21507, 65535, 65535],[5157, 21508, 65535, 65535],[5157, 21509, 65535, 65535],[5157, 21510, 65535, 65535],[5157, 21511, 65535, 65535],[5157, 21512, 65535, 65535],[5157, 21513, 65535, 65535],[5157, 21514, 65535, 65535],[5157, 21517, 65535, 65535],[5157, 21518, 65535, 65535],[5157, 21520, 65535, 65535],[5157, 21521, 65535, 65535],[5157, 21522, 65535, 65535],[5157, 21523, 65535, 65535],[5157, 21524, 65535, 65535],[5157, 21525, 65535, 65535],[5157, 21632, 65535, 65535],[5157, 21633, 65535, 65535],[5157, 21634, 65535, 65535],[5157, 21635, 65535, 65535],[5157, 21636, 65535, 65535],[5157, 21637, 65535, 65535],[5157, 21638, 65535, 65535],[5157, 21639, 65535, 65535],[5157, 21640, 65535, 65535],[5157, 21641, 65535, 65535],[5157, 21648, 65535, 65535],[5157, 21649, 65535, 65535],[5157, 21650, 65535, 65535],[5157, 25601, 65535, 65535],[5157, 25602, 65535, 65535],[5157, 25603, 65535, 65535],[5157, 25605, 65535, 65535],[5157, 25607, 65535, 65535],[5157, 25608, 65535, 65535],[5157, 25613, 65535, 65535],[5157, 25617, 65535, 65535],[5157, 25620, 65535, 65535],[5157, 25728, 65535, 65535],[5157, 25729, 65535, 65535] ]}"
.no_dead_strip _net_cxgbe_pmd_info
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _net_cxgbe_pmd_info ## @net_cxgbe_pmd_info
.p2align 4
_net_cxgbe_pmd_info:
.asciz "PMD_INFO_STRING= {\"name\" : \"net_cxgbe\", \"kmod\" : \"* igb_uio | uio_pci_generic | vfio-pci\", \"pci_ids\" : [[5157, 21504, 65535, 65535],[5157, 21505, 65535, 65535],[5157, 21506, 65535, 65535],[5157, 21507, 65535, 65535],[5157, 21508, 65535, 65535],[5157, 21509, 65535, 65535],[5157, 21510, 65535, 65535],[5157, 21511, 65535, 65535],[5157, 21512, 65535, 65535],[5157, 21513, 65535, 65535],[5157, 21514, 65535, 65535],[5157, 21517, 65535, 65535],[5157, 21518, 65535, 65535],[5157, 21520, 65535, 65535],[5157, 21521, 65535, 65535],[5157, 21522, 65535, 65535],[5157, 21523, 65535, 65535],[5157, 21524, 65535, 65535],[5157, 21525, 65535, 65535],[5157, 21632, 65535, 65535],[5157, 21633, 65535, 65535],[5157, 21634, 65535, 65535],[5157, 21635, 65535, 65535],[5157, 21636, 65535, 65535],[5157, 21637, 65535, 65535],[5157, 21638, 65535, 65535],[5157, 21639, 65535, 65535],[5157, 21640, 65535, 65535],[5157, 21641, 65535, 65535],[5157, 21648, 65535, 65535],[5157, 21649, 65535, 65535],[5157, 21650, 65535, 65535],[5157, 25601, 65535, 65535],[5157, 25602, 65535, 65535],[5157, 25603, 65535, 65535],[5157, 25605, 65535, 65535],[5157, 25607, 65535, 65535],[5157, 25608, 65535, 65535],[5157, 25613, 65535, 65535],[5157, 25617, 65535, 65535],[5157, 25620, 65535, 65535],[5157, 25728, 65535, 65535],[5157, 25729, 65535, 65535] ]}"
.no_dead_strip _net_cxgbe_pmd_info
.subsections_via_symbols
| the_stack_data/178264277.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #176
.cfi_def_cfa_offset 176
stp x29, x30, [sp, #160] ; 16-byte Folded Spill
add x29, sp, #160
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
str wzr, [sp, #48]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #58
str x8, [sp, #24] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _atoi
ldr w1, [sp, #12] ; 4-byte Folded Reload
str w0, [sp, #44]
ldr w9, [sp, #44]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
add x0, sp, #52
str x0, [sp, #16] ; 8-byte Folded Spill
mov x2, #50
adrp x3, l_.str.2@PAGE
add x3, x3, l_.str.2@PAGEOFF
bl ___sprintf_chk
ldr x0, [sp, #16] ; 8-byte Folded Reload
bl _strlen
mov x8, x0
ldr x0, [sp, #24] ; 8-byte Folded Reload
str x8, [sp, #32] ; 8-byte Folded Spill
bl _strlen
mov x8, x0
ldr x0, [sp, #32] ; 8-byte Folded Reload
subs x8, x0, x8
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov x9, sp
sub x8, x29, #58
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #48]
b LBB0_3
LBB0_2:
ldr w9, [sp, #44]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
str wzr, [sp, #48]
b LBB0_3
LBB0_3:
ldr w8, [sp, #48]
str w8, [sp, #8] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
bl ___stack_chk_fail
LBB0_5:
ldr w0, [sp, #8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #160] ; 16-byte Folded Reload
add sp, sp, #176
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "String: "
l_.str.1: ; @.str.1
.asciz "%s"
l_.str.2: ; @.str.2
.asciz "%i"
l_.str.3: ; @.str.3
.asciz "'%s' CANNOT be converted to Integer\n"
l_.str.4: ; @.str.4
.asciz "Integer Value: %i\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $160, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -132(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq -64(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
leaq -64(%rbp), %rdi
callq _atoi
movl %eax, -136(%rbp)
leaq -128(%rbp), %rdi
movl -136(%rbp), %r8d
xorl %esi, %esi
movl $50, %edx
leaq L_.str.2(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
leaq -128(%rbp), %rdi
callq _strlen
movq %rax, -144(%rbp) ## 8-byte Spill
leaq -64(%rbp), %rdi
callq _strlen
movq %rax, %rcx
movq -144(%rbp), %rax ## 8-byte Reload
cmpq %rcx, %rax
je LBB0_2
## %bb.1:
leaq -64(%rbp), %rsi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -132(%rbp)
jmp LBB0_3
LBB0_2:
movl -136(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -132(%rbp)
LBB0_3:
movl -132(%rbp), %eax
movl %eax, -148(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_5
## %bb.4:
movl -148(%rbp), %eax ## 4-byte Reload
addq $160, %rsp
popq %rbp
retq
LBB0_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "String: "
L_.str.1: ## @.str.1
.asciz "%s"
L_.str.2: ## @.str.2
.asciz "%i"
L_.str.3: ## @.str.3
.asciz "'%s' CANNOT be converted to Integer\n"
L_.str.4: ## @.str.4
.asciz "Integer Value: %i\n"
.subsections_via_symbols
| the_stack_data/542417.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov x9, sp
sub x8, x29, #12
str x8, [x9]
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #20
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fadd s0, s0, s1
fmov s1, #2.00000000
fdiv s0, s0, s1
str s0, [sp, #16]
ldr s0, [sp, #16]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
b LBB0_21
LBB0_2:
ldr w8, [sp, #20]
subs w8, w8, #2
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_3
LBB0_3:
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fsub s0, s0, s1
stur s0, [x29, #-16]
ldur s0, [x29, #-16]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_9
LBB0_5:
ldur s0, [x29, #-12]
ldur s1, [x29, #-8]
fcmp s0, s1
cset w8, le
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6:
ldur s0, [x29, #-12]
ldur s1, [x29, #-8]
fsub s0, s0, s1
stur s0, [x29, #-16]
ldur s0, [x29, #-16]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB0_8
LBB0_7:
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fsub s0, s0, s1
stur s0, [x29, #-16]
ldur s0, [x29, #-16]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB0_8
LBB0_8:
b LBB0_9
LBB0_9:
b LBB0_20
LBB0_10:
ldr w8, [sp, #20]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fmul s0, s0, s1
stur s0, [x29, #-20]
ldur s0, [x29, #-20]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB0_19
LBB0_12:
ldr w8, [sp, #20]
subs w8, w8, #4
cset w8, ne
tbnz w8, #0, LBB0_17
b LBB0_13
LBB0_13:
ldur s0, [x29, #-12]
fcmp s0, #0.0
cset w8, eq
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14:
ldur s0, [x29, #-8]
ldur s1, [x29, #-12]
fdiv s0, s0, s1
str s0, [sp, #24]
ldr s0, [sp, #24]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
b LBB0_16
LBB0_15:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
b LBB0_16
LBB0_16:
b LBB0_18
LBB0_17:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
b LBB0_18
LBB0_18:
b LBB0_19
LBB0_19:
b LBB0_20
LBB0_20:
b LBB0_21
LBB0_21:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Digite o primeiro numero:"
l_.str.1: ; @.str.1
.asciz "%f"
l_.str.2: ; @.str.2
.asciz "Digite o segundo numero:"
l_.str.3: ; @.str.3
.asciz "Escolha uma opcao\n1-Media entre os numeros digitados\n2-Diferenca entre os numeros digitados\n3-Produto entre os numeros digitados\n4-Divisao do primeiro pelo segundo\n"
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "A media dos dois numeros = %.2f"
l_.str.6: ; @.str.6
.asciz "Diferenca entre o maior pelo menor = %.2f"
l_.str.7: ; @.str.7
.asciz "Diferenca entre os numeros = %.2f"
l_.str.8: ; @.str.8
.asciz "O produto entre os numeros = %.2f"
l_.str.9: ; @.str.9
.asciz "A divisao entre os dois numeros = %.2f"
l_.str.10: ; @.str.10
.asciz "O segundo numero deve ser diferente de 0"
l_.str.11: ; @.str.11
.asciz "Opcao invalida"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function main
LCPI0_0:
.long 0x40000000 ## float 2
.section __TEXT,__text,regular,pure_instructions
.globl _main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -28(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $1, -28(%rbp)
jne LBB0_2
## %bb.1:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -12(%rbp), %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss %xmm0, -32(%rbp)
movss -32(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.5(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_21
LBB0_2:
cmpl $2, -28(%rbp)
jne LBB0_10
## %bb.3:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -12(%rbp), %xmm0
jbe LBB0_5
## %bb.4:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -12(%rbp), %xmm0
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.6(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_9
LBB0_5:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
ucomiss -8(%rbp), %xmm0
jbe LBB0_7
## %bb.6:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -8(%rbp), %xmm0
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.6(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_8
LBB0_7:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
subss -12(%rbp), %xmm0
movss %xmm0, -16(%rbp)
movss -16(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.7(%rip), %rdi
movb $1, %al
callq _printf
LBB0_8:
jmp LBB0_9
LBB0_9:
jmp LBB0_20
LBB0_10:
cmpl $3, -28(%rbp)
jne LBB0_12
## %bb.11:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
mulss -12(%rbp), %xmm0
movss %xmm0, -20(%rbp)
movss -20(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.8(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_19
LBB0_12:
cmpl $4, -28(%rbp)
jne LBB0_17
## %bb.13:
movss -12(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jne LBB0_14
jp LBB0_14
jmp LBB0_15
LBB0_14:
movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
divss -12(%rbp), %xmm0
movss %xmm0, -24(%rbp)
movss -24(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.9(%rip), %rdi
movb $1, %al
callq _printf
jmp LBB0_16
LBB0_15:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
LBB0_16:
jmp LBB0_18
LBB0_17:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
LBB0_18:
jmp LBB0_19
LBB0_19:
jmp LBB0_20
LBB0_20:
jmp LBB0_21
LBB0_21:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Digite o primeiro numero:"
L_.str.1: ## @.str.1
.asciz "%f"
L_.str.2: ## @.str.2
.asciz "Digite o segundo numero:"
L_.str.3: ## @.str.3
.asciz "Escolha uma opcao\n1-Media entre os numeros digitados\n2-Diferenca entre os numeros digitados\n3-Produto entre os numeros digitados\n4-Divisao do primeiro pelo segundo\n"
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "A media dos dois numeros = %.2f"
L_.str.6: ## @.str.6
.asciz "Diferenca entre o maior pelo menor = %.2f"
L_.str.7: ## @.str.7
.asciz "Diferenca entre os numeros = %.2f"
L_.str.8: ## @.str.8
.asciz "O produto entre os numeros = %.2f"
L_.str.9: ## @.str.9
.asciz "A divisao entre os dois numeros = %.2f"
L_.str.10: ## @.str.10
.asciz "O segundo numero deve ser diferente de 0"
L_.str.11: ## @.str.11
.asciz "Opcao invalida"
.subsections_via_symbols
| the_stack_data/85806.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Thread ; -- Begin function Thread
.p2align 2
_Thread: ; @Thread
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
mov x0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #5
stur w8, [x29, #-8]
stur wzr, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
add x0, sp, #8
mov x3, #0
mov x1, x3
adrp x2, _Thread@PAGE
add x2, x2, _Thread@PAGEOFF
bl _pthread_create
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_4:
mov w0, #1
bl _sleep
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _Thread ## -- Begin function Thread
.p2align 4, 0x90
_Thread: ## @Thread
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
xorl %eax, %eax
## kill: def $rax killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $5, -8(%rbp)
movl $0, -12(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
movl -8(%rbp), %ecx
cmpl %ecx, %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq -24(%rbp), %rdi
xorl %eax, %eax
movl %eax, %ecx
leaq _Thread(%rip), %rdx
movq %rcx, %rsi
callq _pthread_create
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_4:
movl $1, %edi
callq _sleep
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/1055651.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
adrp x8, l___const.main.tb@PAGE
add x8, x8, l___const.main.tb@PAGEOFF
ldr x10, [x8]
sub x9, x29, #24
stur x10, [x29, #-24]
ldr w8, [x8, #8]
stur w8, [x29, #-16]
adrp x10, l___const.main.t@PAGE
add x10, x10, l___const.main.t@PAGEOFF
ldr q0, [x10]
add x8, sp, #32
str q0, [sp, #32]
ldr w10, [x10, #16]
str w10, [sp, #48]
mov w10, #6271
str w10, [sp, #24]
add x8, x8, #12
str x8, [sp, #16]
ldr w8, [sp, #48]
ldr w10, [sp, #24]
mul w11, w8, w10
ldr x10, [sp, #16]
ldr w8, [x10]
sdiv w8, w8, w11
str w8, [x10]
ldr x10, [sp, #16]
ldr w8, [x10]
add w8, w8, #10
str w8, [x10]
mov w8, #-10
str w8, [sp, #24]
ldr x8, [sp, #16]
ldr w8, [x8]
ldr w10, [sp, #24]
add w8, w8, w10
ldr x10, [sp, #16]
str w8, [x10]
ldr x8, [sp, #16]
ldr w8, [x8]
subs w8, w8, #0
cset w10, eq
mov w8, #1
and w11, w10, #0x1
mov w10, #123
mul w10, w10, w11
str w8, [x9, w10, sxtw #2]
ldur w8, [x29, #-24]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.tb
l___const.main.tb:
.long 9 ; 0x9
.long 4 ; 0x4
.long 2 ; 0x2
.p2align 2 ; @__const.main.t
l___const.main.t:
.long 123 ; 0x7b
.long 345 ; 0x159
.long 241 ; 0xf1
.long 11 ; 0xb
.long 991 ; 0x3df
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movq l___const.main.tb(%rip), %rax
movq %rax, -20(%rbp)
movl l___const.main.tb+8(%rip), %eax
movl %eax, -12(%rbp)
movq l___const.main.t(%rip), %rax
movq %rax, -48(%rbp)
movq l___const.main.t+8(%rip), %rax
movq %rax, -40(%rbp)
movl l___const.main.t+16(%rip), %eax
movl %eax, -32(%rbp)
movl $6271, -56(%rbp) ## imm = 0x187F
leaq -48(%rbp), %rax
addq $12, %rax
movq %rax, -64(%rbp)
movl -32(%rbp), %ecx
imull -56(%rbp), %ecx
movq -64(%rbp), %rax
movq %rax, -80(%rbp) ## 8-byte Spill
movl (%rax), %eax
cltd
idivl %ecx
movl %eax, %ecx
movq -80(%rbp), %rax ## 8-byte Reload
movl %ecx, (%rax)
movq -64(%rbp), %rax
movl (%rax), %ecx
addl $10, %ecx
movl %ecx, (%rax)
movl $-10, -56(%rbp)
movq -64(%rbp), %rax
movl (%rax), %ecx
addl -56(%rbp), %ecx
movq -64(%rbp), %rax
movl %ecx, (%rax)
movq -64(%rbp), %rax
cmpl $0, (%rax)
setne %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
imull $123, %eax, %eax
cltq
movl $1, -20(%rbp,%rax,4)
movl -20(%rbp), %eax
movl %eax, -68(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
movl -68(%rbp), %eax ## 4-byte Reload
addq $80, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 2 ## @__const.main.tb
l___const.main.tb:
.long 9 ## 0x9
.long 4 ## 0x4
.long 2 ## 0x2
.p2align 4 ## @__const.main.t
l___const.main.t:
.long 123 ## 0x7b
.long 345 ## 0x159
.long 241 ## 0xf1
.long 11 ## 0xb
.long 991 ## 0x3df
.subsections_via_symbols
| the_stack_data/295050.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #12]
adrp x8, l___const.main.array@PAGE
add x8, x8, l___const.main.array@PAGEOFF
ldr q0, [x8]
str q0, [sp, #16]
ldr w8, [x8, #16]
str w8, [sp, #32]
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w9, [sp, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldr w9, [sp, #28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x9, sp
mov x8, #20
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
mov x8, #5
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.array
l___const.main.array:
.long 3 ; 0x3
.long 24 ; 0x18
.long 12 ; 0xc
.long 5 ; 0x5
.long 76 ; 0x4c
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Valor de array[0] = %d\n"
l_.str.1: ; @.str.1
.asciz "Valor de array[1] = %d\n"
l_.str.2: ; @.str.2
.asciz "Valor de array[2] = %d\n"
l_.str.3: ; @.str.3
.asciz "Valor de array[3] = %d\n"
l_.str.4: ; @.str.4
.asciz "Valor de array[4] = %d\n"
l_.str.5: ; @.str.5
.asciz "Tamanio del arreglo (en bytes) = %ld\n"
l_.str.6: ; @.str.6
.asciz "Tamanio del arreglo (en cantidad de elementos) = %ld\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -36(%rbp)
movq l___const.main.array(%rip), %rax
movq %rax, -32(%rbp)
movq l___const.main.array+8(%rip), %rax
movq %rax, -24(%rbp)
movl l___const.main.array+16(%rip), %eax
movl %eax, -16(%rbp)
movl -32(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl -28(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl -24(%rbp), %esi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl -20(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -16(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.5(%rip), %rdi
movl $20, %esi
movb $0, %al
callq _printf
leaq L_.str.6(%rip), %rdi
movl $5, %esi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_2
## %bb.1:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
LBB0_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.array
l___const.main.array:
.long 3 ## 0x3
.long 24 ## 0x18
.long 12 ## 0xc
.long 5 ## 0x5
.long 76 ## 0x4c
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Valor de array[0] = %d\n"
L_.str.1: ## @.str.1
.asciz "Valor de array[1] = %d\n"
L_.str.2: ## @.str.2
.asciz "Valor de array[2] = %d\n"
L_.str.3: ## @.str.3
.asciz "Valor de array[3] = %d\n"
L_.str.4: ## @.str.4
.asciz "Valor de array[4] = %d\n"
L_.str.5: ## @.str.5
.asciz "Tamanio del arreglo (en bytes) = %ld\n"
L_.str.6: ## @.str.6
.asciz "Tamanio del arreglo (en cantidad de elementos) = %ld\n"
.subsections_via_symbols
| the_stack_data/48574060.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/921410.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
mov w9, #12
sdiv w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
ldur w8, [x29, #-8]
subs w8, w8, #12
stur w8, [x29, #-8]
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
mov w8, #12
stur w8, [x29, #-8]
b LBB0_3
LBB0_3:
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_7
LBB0_4:
ldur w8, [x29, #-8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
mov w8, #12
stur w8, [x29, #-8]
b LBB0_6
LBB0_6:
ldur w8, [x29, #-8]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_7
LBB0_7:
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter a 24-hour time: Equivalent 12-hour time: "
l_.str.1: ; @.str.1
.asciz "%d:%d"
l_.str.2: ; @.str.2
.asciz "%d:%02d PM\n"
l_.str.3: ; @.str.3
.asciz "%d:%02d AM\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movl -8(%rbp), %eax
movl $12, %ecx
cltd
idivl %ecx
cmpl $0, %eax
je LBB0_4
## %bb.1:
movl -8(%rbp), %eax
subl $12, %eax
movl %eax, -8(%rbp)
cmpl $0, -8(%rbp)
jne LBB0_3
## %bb.2:
movl $12, -8(%rbp)
LBB0_3:
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_7
LBB0_4:
cmpl $0, -8(%rbp)
jne LBB0_6
## %bb.5:
movl $12, -8(%rbp)
LBB0_6:
movl -8(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB0_7:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter a 24-hour time: Equivalent 12-hour time: "
L_.str.1: ## @.str.1
.asciz "%d:%d"
L_.str.2: ## @.str.2
.asciz "%d:%02d PM\n"
L_.str.3: ## @.str.3
.asciz "%d:%02d AM\n"
.subsections_via_symbols
| the_stack_data/906356.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _notmain ; -- Begin function notmain
.p2align 2
_notmain: ; @notmain
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
mov w1, #0
mov x2, #24
mov x3, #-1
bl ___memset_chk
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _notmain ## -- Begin function notmain
.p2align 4, 0x90
_notmain: ## @notmain
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
xorl %esi, %esi
movl $24, %edx
movq $-1, %rcx
callq ___memset_chk
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/35108.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _repeat ; -- Begin function repeat
.p2align 2
_repeat: ; @repeat
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str x2, [sp, #24]
str wzr, [sp, #20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #24]
ldur x1, [x29, #-8]
mov x2, #-1
bl ___strcat_chk
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_1
LBB0_4:
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-44]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #40
str x8, [sp, #32] ; 8-byte Folded Spill
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #48
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _scanf
ldr x0, [sp, #32] ; 8-byte Folded Reload
bl _strlen
ldrsw x8, [sp, #48]
mul x8, x0, x8
add x0, x8, #1
bl _malloc
str x0, [sp, #40]
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w0, #1
bl _exit
LBB1_2:
ldr x8, [sp, #40]
str x8, [sp, #16] ; 8-byte Folded Spill
sub x0, x29, #40
str x0, [sp, #24] ; 8-byte Folded Spill
bl _strlen
mov x8, x0
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldrsw x9, [sp, #48]
mul x8, x8, x9
add x2, x8, #1
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldr x0, [sp, #24] ; 8-byte Folded Reload
ldr w1, [sp, #48]
ldr x2, [sp, #40]
bl _repeat
ldr x0, [sp, #40]
bl _free
; kill: def $x8 killed $xzr
str xzr, [sp, #40]
b LBB1_3
LBB1_3:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_5
b LBB1_4
LBB1_4:
bl ___stack_chk_fail
LBB1_5:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Your word is %s\n"
l_.str.1: ; @.str.1
.asciz "Enter a word: "
l_.str.2: ; @.str.2
.asciz "%s"
l_.str.3: ; @.str.3
.asciz "Enter a count: "
l_.str.4: ; @.str.4
.asciz "%d"
l_.str.5: ; @.str.5
.asciz "Cannot allocate new string. Exiting...\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _repeat ## -- Begin function repeat
.p2align 4, 0x90
_repeat: ## @repeat
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movl $0, -28(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -24(%rbp), %rdi
movq -8(%rbp), %rsi
movq $-1, %rdx
callq ___strcat_chk
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_1
LBB0_4:
movq -24(%rbp), %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq -48(%rbp), %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.4(%rip), %rdi
leaq -56(%rbp), %rsi
movb $0, %al
callq _scanf
leaq -48(%rbp), %rdi
callq _strlen
movq %rax, %rdi
movslq -56(%rbp), %rax
imulq %rax, %rdi
addq $1, %rdi
callq _malloc
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
jne LBB1_2
## %bb.1:
leaq L_.str.5(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl $1, %edi
callq _exit
LBB1_2:
movq -64(%rbp), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
leaq -48(%rbp), %rdi
callq _strlen
movq -72(%rbp), %rdi ## 8-byte Reload
movq %rax, %rdx
movslq -56(%rbp), %rax
imulq %rax, %rdx
addq $1, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
leaq -48(%rbp), %rdi
movl -56(%rbp), %esi
movq -64(%rbp), %rdx
callq _repeat
movq -64(%rbp), %rdi
callq _free
movq $0, -64(%rbp)
## %bb.3:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_5
## %bb.4:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB1_5:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Your word is %s\n"
L_.str.1: ## @.str.1
.asciz "Enter a word: "
L_.str.2: ## @.str.2
.asciz "%s"
L_.str.3: ## @.str.3
.asciz "Enter a count: "
L_.str.4: ## @.str.4
.asciz "%d"
L_.str.5: ## @.str.5
.asciz "Cannot allocate new string. Exiting...\n"
.subsections_via_symbols
| the_stack_data/6386495.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #44]
mov w8, #10
str w8, [sp, #40]
add x0, sp, #48
adrp x1, l___const.main.X@PAGE
add x1, x1, l___const.main.X@PAGEOFF
mov x2, #40
bl _memcpy
str wzr, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #40]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #48
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #48
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #36]
ldr w8, [sp, #28]
str w8, [sp, #32]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_6:
ldr w8, [sp, #36]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #32]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
bl ___stack_chk_fail
LBB0_8:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.globl _mainURI ; -- Begin function mainURI
.p2align 2
_mainURI: ; @mainURI
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sub sp, sp, #80
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
sub sp, sp, #16
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
add sp, sp, #16
ldur w8, [x29, #-12]
; kill: def $x8 killed $w8
mov x9, sp
stur x9, [x29, #-24]
lsl x9, x8, #2
add x9, x9, #15
and x9, x9, #0xfffffffffffffff0
stur x9, [x29, #-64] ; 8-byte Folded Spill
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
ldur x10, [x29, #-64] ; 8-byte Folded Reload
mov x9, sp
subs x9, x9, x10
mov sp, x9
stur x9, [x29, #-56] ; 8-byte Folded Spill
stur x8, [x29, #-32]
stur wzr, [x29, #-44]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-44]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldursw x9, [x29, #-44]
add x8, x8, x9, lsl #2
sub sp, sp, #16
mov x9, sp
str x8, [x9]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _scanf
ldur x8, [x29, #-56] ; 8-byte Folded Reload
add sp, sp, #16
ldursw x9, [x29, #-44]
ldr w8, [x8, x9, lsl #2]
ldur w9, [x29, #-36]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-56] ; 8-byte Folded Reload
ldursw x9, [x29, #-44]
ldr w8, [x8, x9, lsl #2]
stur w8, [x29, #-36]
ldur w8, [x29, #-44]
stur w8, [x29, #-40]
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-44]
add w8, w8, #1
stur w8, [x29, #-44]
b LBB1_1
LBB1_6:
ldur w8, [x29, #-36]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-40]
; implicit-def: $x8
mov x8, x9
sub sp, sp, #16
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
add sp, sp, #16
ldur x8, [x29, #-24]
stur x8, [x29, #-72] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
bl ___stack_chk_fail
LBB1_8:
ldur x8, [x29, #-72] ; 8-byte Folded Reload
mov sp, x8
mov w0, #0
mov sp, x29
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.X
l___const.main.X:
.long 1 ; 0x1
.long 2 ; 0x2
.long 3 ; 0x3
.long 4 ; 0x4
.long 4294967291 ; 0xfffffffb
.long 6 ; 0x6
.long 7 ; 0x7
.long 8 ; 0x8
.long 9 ; 0x9
.long 10 ; 0xa
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Menor valor: %d\nPosicao: %d"
l_.str.1: ; @.str.1
.asciz "%d\n"
l_.str.2: ; @.str.2
.asciz "%d "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movl $10, -56(%rbp)
leaq -48(%rbp), %rdi
leaq l___const.main.X(%rip), %rsi
movl $40, %edx
callq _memcpy
movl $0, -68(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -68(%rbp), %eax
cmpl -56(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -68(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
cmpl -60(%rbp), %eax
jge LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movslq -68(%rbp), %rax
movl -48(%rbp,%rax,4), %eax
movl %eax, -60(%rbp)
movl -68(%rbp), %eax
movl %eax, -64(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB0_1
LBB0_6:
movl -60(%rbp), %esi
movl -64(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_8
## %bb.7:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _mainURI ## -- Begin function mainURI
.p2align 4, 0x90
_mainURI: ## @mainURI
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
leaq -12(%rbp), %rsi
callq _scanf
movl -12(%rbp), %eax
## kill: def $rax killed $eax
movq %rax, -64(%rbp) ## 8-byte Spill
movq %rsp, %rcx
movq %rcx, -24(%rbp)
shlq $2, %rax
callq ____chkstk_darwin
addq $15, %rax
andq $-16, %rax
subq %rax, %rsp
movq -64(%rbp), %rax ## 8-byte Reload
movq %rsp, %rcx
movq %rcx, -56(%rbp) ## 8-byte Spill
movq %rax, -32(%rbp)
movl $0, -44(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -44(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB1_6
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -56(%rbp), %rsi ## 8-byte Reload
movslq -44(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _scanf
## kill: def $ecx killed $eax
movq -56(%rbp), %rax ## 8-byte Reload
movslq -44(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -36(%rbp), %eax
jge LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movq -56(%rbp), %rax ## 8-byte Reload
movslq -44(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -36(%rbp)
movl -44(%rbp), %eax
movl %eax, -40(%rbp)
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB1_1
LBB1_6:
movl -36(%rbp), %esi
movl -40(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -24(%rbp), %rax
movq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_8
## %bb.7:
xorl %eax, %eax
movq %rbp, %rsp
popq %rbp
retq
LBB1_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.X
l___const.main.X:
.long 1 ## 0x1
.long 2 ## 0x2
.long 3 ## 0x3
.long 4 ## 0x4
.long 4294967291 ## 0xfffffffb
.long 6 ## 0x6
.long 7 ## 0x7
.long 8 ## 0x8
.long 9 ## 0x9
.long 10 ## 0xa
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Menor valor: %d\nPosicao: %d"
L_.str.1: ## @.str.1
.asciz "%d\n"
L_.str.2: ## @.str.2
.asciz "%d "
.subsections_via_symbols
| the_stack_data/34280.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fopen
str x0, [sp, #24]
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #16]
b LBB0_2
LBB0_2:
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_11
LBB0_5:
b LBB0_6
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x0, [sp, #24]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
ldr x0, [sp, #24]
bl _getc
strb w0, [sp, #15]
ldr x0, [sp, #24]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
ldrsb w0, [sp, #15]
ldr x1, [sp, #16]
bl _putc
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_6 Depth=1
b LBB0_6
LBB0_10:
ldr x0, [sp, #24]
bl _fclose
ldr x0, [sp, #16]
bl _fclose
b LBB0_11
LBB0_11:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "r"
l_.str.1: ; @.str.1
.asciz "w"
l_.str.2: ; @.str.2
.asciz "erro!"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $3, -8(%rbp)
jne LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
movq 16(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -32(%rbp)
LBB0_2:
cmpq $0, -24(%rbp)
je LBB0_4
## %bb.3:
cmpq $0, -32(%rbp)
jne LBB0_5
LBB0_4:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_11
LBB0_5:
jmp LBB0_6
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB0_7
jmp LBB0_10
LBB0_7: ## in Loop: Header=BB0_6 Depth=1
movq -24(%rbp), %rdi
callq _getc
## kill: def $al killed $al killed $eax
movb %al, -33(%rbp)
movq -24(%rbp), %rdi
callq _feof
cmpl $0, %eax
jne LBB0_9
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movsbl -33(%rbp), %edi
movq -32(%rbp), %rsi
callq _putc
LBB0_9: ## in Loop: Header=BB0_6 Depth=1
jmp LBB0_6
LBB0_10:
movq -24(%rbp), %rdi
callq _fclose
movq -32(%rbp), %rdi
callq _fclose
LBB0_11:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "r"
L_.str.1: ## @.str.1
.asciz "w"
L_.str.2: ## @.str.2
.asciz "erro!"
.subsections_via_symbols
| the_stack_data/156020.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur w8, [x29, #-8]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur w8, [x29, #-8]
subs w8, w8, #9
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_19
LBB0_3:
mov w8, #1
str w8, [sp, #12]
b LBB0_4
LBB0_4: ; =>This Loop Header: Depth=1
; Child Loop BB0_12 Depth 2
; Child Loop BB0_7 Depth 2
ldr w8, [sp, #12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_18
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #12]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
mov w8, #1
stur w8, [x29, #-12]
b LBB0_7
LBB0_7: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
ldur w9, [x29, #-8]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_7
LBB0_10: ; in Loop: Header=BB0_4 Depth=1
b LBB0_16
LBB0_11: ; in Loop: Header=BB0_4 Depth=1
ldur w8, [x29, #-8]
stur w8, [x29, #-12]
b LBB0_12
LBB0_12: ; Parent Loop BB0_4 Depth=1
; => This Inner Loop Header: Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_15
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_12 Depth=2
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_12 Depth=2
ldur w8, [x29, #-12]
subs w8, w8, #1
stur w8, [x29, #-12]
b LBB0_12
LBB0_15: ; in Loop: Header=BB0_4 Depth=1
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_4 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_4
LBB0_18:
stur wzr, [x29, #-4]
b LBB0_19
LBB0_19:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Ingrese un numero entre el 1 y el 9: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "El numero ingresado no entra dentro del rango\n"
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -8(%rbp), %rsi
movb $0, %al
callq _scanf
cmpl $1, -8(%rbp)
jl LBB0_2
## %bb.1:
cmpl $9, -8(%rbp)
jle LBB0_3
LBB0_2:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -4(%rbp)
jmp LBB0_19
LBB0_3:
movl $1, -20(%rbp)
LBB0_4: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
## Child Loop BB0_12 Depth 2
movl -20(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_18
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
je LBB0_11
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movl $1, -12(%rbp)
LBB0_7: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jg LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movl -12(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_7
LBB0_10: ## in Loop: Header=BB0_4 Depth=1
jmp LBB0_16
LBB0_11: ## in Loop: Header=BB0_4 Depth=1
movl -8(%rbp), %eax
movl %eax, -12(%rbp)
LBB0_12: ## Parent Loop BB0_4 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $1, -12(%rbp)
jl LBB0_15
## %bb.13: ## in Loop: Header=BB0_12 Depth=2
movl -12(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.14: ## in Loop: Header=BB0_12 Depth=2
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB0_12
LBB0_15: ## in Loop: Header=BB0_4 Depth=1
jmp LBB0_16
LBB0_16: ## in Loop: Header=BB0_4 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.17: ## in Loop: Header=BB0_4 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_4
LBB0_18:
movl $0, -4(%rbp)
LBB0_19:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Ingrese un numero entre el 1 y el 9: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "El numero ingresado no entra dentro del rango\n"
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/72013891.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
str wzr, [sp, #20]
mov w8, #1
str w8, [sp, #16]
str wzr, [sp, #12]
movi.2d v0, #0000000000000000
str q0, [sp, #32]
str q0, [sp, #48]
str wzr, [sp, #24]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #32
add x8, x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #32
ldrsb w8, [x8, x9]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
b LBB0_6
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_6:
ldr w8, [sp, #20]
subs w8, w8, #1
str w8, [sp, #24]
b LBB0_7
LBB0_7: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_12
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #32
ldrsb w8, [x8, x9]
subs w8, w8, #49
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=1
ldr w9, [sp, #16]
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #16]
lsl w8, w8, #1
str w8, [sp, #16]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_7 Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #24]
b LBB0_7
LBB0_12:
ldr w9, [sp, #12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
bl ___stack_chk_fail
LBB0_14:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%c"
l_.str.1: ; @.str.1
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
movl $0, -60(%rbp)
movl $1, -64(%rbp)
movl $0, -68(%rbp)
leaq -48(%rbp), %rdi
xorl %esi, %esi
movl $32, %edx
callq _memset
movl $0, -56(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movslq -56(%rbp), %rax
leaq -48(%rbp), %rsi
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
cmpl $0, %eax
je LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -56(%rbp), %rax
movsbl -48(%rbp,%rax), %eax
cmpl $10, %eax
jne LBB0_4
## %bb.3:
jmp LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_1
LBB0_6:
movl -60(%rbp), %eax
subl $1, %eax
movl %eax, -56(%rbp)
LBB0_7: ## =>This Inner Loop Header: Depth=1
cmpl $0, -56(%rbp)
jl LBB0_12
## %bb.8: ## in Loop: Header=BB0_7 Depth=1
movslq -56(%rbp), %rax
movsbl -48(%rbp,%rax), %eax
cmpl $49, %eax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_7 Depth=1
movl -64(%rbp), %eax
addl -68(%rbp), %eax
movl %eax, -68(%rbp)
LBB0_10: ## in Loop: Header=BB0_7 Depth=1
movl -64(%rbp), %eax
shll $1, %eax
movl %eax, -64(%rbp)
## %bb.11: ## in Loop: Header=BB0_7 Depth=1
movl -56(%rbp), %eax
addl $-1, %eax
movl %eax, -56(%rbp)
jmp LBB0_7
LBB0_12:
movl -68(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_14
## %bb.13:
xorl %eax, %eax
addq $80, %rsp
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%c"
L_.str.1: ## @.str.1
.asciz "%d"
.subsections_via_symbols
| the_stack_data/3262186.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _thread_count@GOTPAGE
ldr x8, [x8, _thread_count@GOTPAGEOFF]
str x8, [sp] ; 8-byte Folded Spill
adrp x8, _messages@GOTPAGE
ldr x8, [x8, _messages@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16]
ldr x0, [x8]
bl _Usage
b LBB0_2
LBB0_2:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
mov x1, #0
mov w2, #10
bl _strtol
ldr x8, [sp] ; 8-byte Folded Reload
mov x9, x0
str w9, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
ldr x8, [sp] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #1024
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldur x8, [x29, #-16]
ldr x0, [x8]
bl _Usage
b LBB0_5
LBB0_5:
ldr x8, [sp] ; 8-byte Folded Reload
ldrsw x8, [x8]
lsl x0, x8, #3
bl _malloc
ldr x8, [sp] ; 8-byte Folded Reload
str x0, [sp, #16]
ldrsw x8, [x8]
lsl x0, x8, #3
bl _malloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8]
str xzr, [sp, #24]
b LBB0_6
LBB0_6: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #24]
ldrsw x9, [x9]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x9, [x8]
ldr x10, [sp, #24]
mov x8, #0
str x8, [x9, x10, lsl #3]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_6 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB0_6
LBB0_9:
str xzr, [sp, #24]
b LBB0_10
LBB0_10: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #24]
ldrsw x9, [x9]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_13
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #16]
ldr x9, [sp, #24]
add x0, x8, x9, lsl #3
ldr x3, [sp, #24]
mov x1, #0
adrp x2, _Send_msg@PAGE
add x2, x2, _Send_msg@PAGEOFF
bl _pthread_create
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_10 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB0_10
LBB0_13:
str xzr, [sp, #24]
b LBB0_14
LBB0_14: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #24]
ldrsw x9, [x9]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_17
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_14 Depth=1
ldr x8, [sp, #16]
ldr x9, [sp, #24]
ldr x0, [x8, x9, lsl #3]
mov x1, #0
bl _pthread_join
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_14 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB0_14
LBB0_17:
str xzr, [sp, #24]
b LBB0_18
LBB0_18: ; =>This Inner Loop Header: Depth=1
ldr x9, [sp] ; 8-byte Folded Reload
ldr x8, [sp, #24]
ldrsw x9, [x9]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_21
b LBB0_19
LBB0_19: ; in Loop: Header=BB0_18 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x8, [x8]
ldr x9, [sp, #24]
ldr x0, [x8, x9, lsl #3]
bl _free
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_18 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB0_18
LBB0_21:
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldr x0, [x8]
bl _free
ldr x0, [sp, #16]
bl _free
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _Usage ; -- Begin function Usage
.p2align 2
_Usage: ; @Usage
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.globl _Send_msg ; -- Begin function Send_msg
.p2align 2
_Send_msg: ; @Send_msg
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x9, _thread_count@GOTPAGE
ldr x9, [x9, _thread_count@GOTPAGEOFF]
adrp x8, _messages@GOTPAGE
ldr x8, [x8, _messages@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
stur x8, [x29, #-16]
ldur x8, [x29, #-16]
add x8, x8, #1
ldrsw x11, [x9]
sdiv x10, x8, x11
mul x10, x10, x11
subs x8, x8, x10
stur x8, [x29, #-24]
ldur x8, [x29, #-16]
ldrsw x10, [x9]
add x8, x8, x10
subs x8, x8, #1
ldrsw x10, [x9]
sdiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
str x8, [sp, #32]
mov x0, #100
bl _malloc
str x0, [sp, #24]
ldr x0, [sp, #24]
ldur x10, [x29, #-24]
ldur x8, [x29, #-16]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
mov w1, #0
mov x2, #-1
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___sprintf_chk
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x9, [sp, #24]
ldr x10, [x8]
ldur x11, [x29, #-24]
str x9, [x10, x11, lsl #3]
ldr x8, [x8]
ldur x9, [x29, #-16]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldur x10, [x29, #-16]
ldr x8, [x8]
ldur x9, [x29, #-16]
ldr x8, [x8, x9, lsl #3]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB2_3
LBB2_2:
ldur x10, [x29, #-16]
ldr x8, [sp, #32]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB2_3
LBB2_3:
mov x0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.globl _MAX_THREADS ; @MAX_THREADS
.p2align 2
_MAX_THREADS:
.long 1024 ; 0x400
.globl _MSG_MAX ; @MSG_MAX
.p2align 2
_MSG_MAX:
.long 100 ; 0x64
.comm _thread_count,4,2 ; @thread_count
.comm _messages,8,3 ; @messages
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "usage: %s <number of threads>\n"
l_.str.1: ; @.str.1
.asciz "Hello to %ld from %ld"
l_.str.2: ; @.str.2
.asciz "Thread %ld > %s\n"
l_.str.3: ; @.str.3
.asciz "Thread %ld > No message from %ld\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
je LBB0_2
## %bb.1:
movq -16(%rbp), %rax
movq (%rax), %rdi
callq _Usage
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $10, %edx
callq _strtol
movl %eax, %ecx
movq _thread_count@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _thread_count@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB0_4
## %bb.3:
movq _thread_count@GOTPCREL(%rip), %rax
cmpl $1024, (%rax) ## imm = 0x400
jle LBB0_5
LBB0_4:
movq -16(%rbp), %rax
movq (%rax), %rdi
callq _Usage
LBB0_5:
movq _thread_count@GOTPCREL(%rip), %rax
movslq (%rax), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, -32(%rbp)
movq _thread_count@GOTPCREL(%rip), %rax
movslq (%rax), %rdi
shlq $3, %rdi
callq _malloc
movq %rax, %rcx
movq _messages@GOTPCREL(%rip), %rax
movq %rcx, (%rax)
movq $0, -24(%rbp)
LBB0_6: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq _thread_count@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rax
jge LBB0_9
## %bb.7: ## in Loop: Header=BB0_6 Depth=1
movq _messages@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -24(%rbp), %rcx
movq $0, (%rax,%rcx,8)
## %bb.8: ## in Loop: Header=BB0_6 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_6
LBB0_9:
movq $0, -24(%rbp)
LBB0_10: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq _thread_count@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rax
jge LBB0_13
## %bb.11: ## in Loop: Header=BB0_10 Depth=1
movq -32(%rbp), %rdi
movq -24(%rbp), %rax
shlq $3, %rax
addq %rax, %rdi
movq -24(%rbp), %rcx
xorl %eax, %eax
movl %eax, %esi
leaq _Send_msg(%rip), %rdx
callq _pthread_create
## %bb.12: ## in Loop: Header=BB0_10 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_10
LBB0_13:
movq $0, -24(%rbp)
LBB0_14: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq _thread_count@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rax
jge LBB0_17
## %bb.15: ## in Loop: Header=BB0_14 Depth=1
movq -32(%rbp), %rax
movq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
xorl %eax, %eax
movl %eax, %esi
callq _pthread_join
## %bb.16: ## in Loop: Header=BB0_14 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_14
LBB0_17:
movq $0, -24(%rbp)
LBB0_18: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movq _thread_count@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cmpq %rcx, %rax
jge LBB0_21
## %bb.19: ## in Loop: Header=BB0_18 Depth=1
movq _messages@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -24(%rbp), %rcx
movq (%rax,%rcx,8), %rdi
callq _free
## %bb.20: ## in Loop: Header=BB0_18 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB0_18
LBB0_21:
movq _messages@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _free
movq -32(%rbp), %rdi
callq _free
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Usage ## -- Begin function Usage
.p2align 4, 0x90
_Usage: ## @Usage
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
movl %eax, -12(%rbp) ## 4-byte Spill
callq _fprintf
movl -12(%rbp), %edi ## 4-byte Reload
callq _exit
.cfi_endproc
## -- End function
.globl _Send_msg ## -- Begin function Send_msg
.p2align 4, 0x90
_Send_msg: ## @Send_msg
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
addq $1, %rax
movq _thread_count@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cqto
idivq %rcx
movq %rdx, -24(%rbp)
movq -16(%rbp), %rax
movq _thread_count@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
addq %rcx, %rax
subq $1, %rax
movq _thread_count@GOTPCREL(%rip), %rcx
movslq (%rcx), %rcx
cqto
idivq %rcx
movq %rdx, -32(%rbp)
movl $100, %edi
callq _malloc
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
movq -24(%rbp), %r8
movq -16(%rbp), %r9
xorl %esi, %esi
movq $-1, %rdx
leaq L_.str.1(%rip), %rcx
movb $0, %al
callq ___sprintf_chk
movq -40(%rbp), %rdx
movq _messages@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -24(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
movq _messages@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -16(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB2_2
## %bb.1:
movq -16(%rbp), %rsi
movq _messages@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -16(%rbp), %rcx
movq (%rax,%rcx,8), %rdx
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_3
LBB2_2:
movq -16(%rbp), %rsi
movq -32(%rbp), %rdx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB2_3:
xorl %eax, %eax
## kill: def $rax killed $eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__const
.globl _MAX_THREADS ## @MAX_THREADS
.p2align 2
_MAX_THREADS:
.long 1024 ## 0x400
.globl _MSG_MAX ## @MSG_MAX
.p2align 2
_MSG_MAX:
.long 100 ## 0x64
.comm _thread_count,4,2 ## @thread_count
.comm _messages,8,3 ## @messages
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "usage: %s <number of threads>\n"
L_.str.1: ## @.str.1
.asciz "Hello to %ld from %ld"
L_.str.2: ## @.str.2
.asciz "Thread %ld > %s\n"
L_.str.3: ## @.str.3
.asciz "Thread %ld > No message from %ld\n"
.subsections_via_symbols
| the_stack_data/11895.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _VirtualGameControllerVersionString ; @VirtualGameControllerVersionString
_VirtualGameControllerVersionString:
.asciz "@(#)PROGRAM:VirtualGameController PROJECT:VirtualGameControllerIOS-1\n"
.globl _VirtualGameControllerVersionNumber ; @VirtualGameControllerVersionNumber
.p2align 3
_VirtualGameControllerVersionNumber:
.quad 0x3ff0000000000000 ; double 1
.no_dead_strip _VirtualGameControllerVersionString
.no_dead_strip _VirtualGameControllerVersionNumber
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__const
.globl _VirtualGameControllerVersionString ## @VirtualGameControllerVersionString
.p2align 4
_VirtualGameControllerVersionString:
.asciz "@(#)PROGRAM:VirtualGameController PROJECT:VirtualGameControllerIOS-1\n"
.globl _VirtualGameControllerVersionNumber ## @VirtualGameControllerVersionNumber
.p2align 3
_VirtualGameControllerVersionNumber:
.quad 0x3ff0000000000000 ## double 1
.no_dead_strip _VirtualGameControllerVersionString
.no_dead_strip _VirtualGameControllerVersionNumber
.subsections_via_symbols
| the_stack_data/99791.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #320
.cfi_def_cfa_offset 320
stp x28, x27, [sp, #288] ; 16-byte Folded Spill
stp x29, x30, [sp, #304] ; 16-byte Folded Spill
add x29, sp, #304
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #36]
str w0, [sp, #32]
str x1, [sp, #24]
str wzr, [sp, #20]
str wzr, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_5 Depth 3
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp, #12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_5 Depth 3
ldr w8, [sp, #12]
subs w8, w8, #4
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
str wzr, [sp, #8]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_3 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #8]
subs w8, w8, #5
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp, #20]
add w9, w8, #1
str w9, [sp, #20]
ldrsw x9, [sp, #16]
mov x10, #80
mul x10, x9, x10
add x9, sp, #40
add x9, x9, x10
ldrsw x10, [sp, #12]
mov x11, #20
mul x10, x10, x11
add x9, x9, x10
ldrsw x10, [sp, #8]
str w8, [x9, x10, lsl #2]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB0_5
LBB0_8: ; in Loop: Header=BB0_3 Depth=2
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_3
LBB0_10: ; in Loop: Header=BB0_1 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_12:
add x1, sp, #4
mov w8, #60
str w8, [sp, #4]
add x0, sp, #40
bl _print_array_values
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13:
bl ___stack_chk_fail
LBB0_14:
mov w0, #0
ldp x29, x30, [sp, #304] ; 16-byte Folded Reload
ldp x28, x27, [sp, #288] ; 16-byte Folded Reload
add sp, sp, #320
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $304, %rsp ## imm = 0x130
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -260(%rbp)
movl %edi, -264(%rbp)
movq %rsi, -272(%rbp)
movl $0, -276(%rbp)
movl $0, -280(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_5 Depth 3
cmpl $3, -280(%rbp)
jge LBB0_12
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl $0, -284(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_5 Depth 3
cmpl $4, -284(%rbp)
jge LBB0_10
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl $0, -288(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $5, -288(%rbp)
jge LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=3
movl -276(%rbp), %edx
movl %edx, %eax
addl $1, %eax
movl %eax, -276(%rbp)
movslq -280(%rbp), %rcx
leaq -256(%rbp), %rax
imulq $80, %rcx, %rcx
addq %rcx, %rax
movslq -284(%rbp), %rcx
imulq $20, %rcx, %rcx
addq %rcx, %rax
movslq -288(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.7: ## in Loop: Header=BB0_5 Depth=3
movl -288(%rbp), %eax
addl $1, %eax
movl %eax, -288(%rbp)
jmp LBB0_5
LBB0_8: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_9
LBB0_9: ## in Loop: Header=BB0_3 Depth=2
movl -284(%rbp), %eax
addl $1, %eax
movl %eax, -284(%rbp)
jmp LBB0_3
LBB0_10: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
movl -280(%rbp), %eax
addl $1, %eax
movl %eax, -280(%rbp)
jmp LBB0_1
LBB0_12:
movl $60, -292(%rbp)
leaq -256(%rbp), %rdi
leaq -292(%rbp), %rsi
callq _print_array_values
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_14
## %bb.13:
xorl %eax, %eax
addq $304, %rsp ## imm = 0x130
popq %rbp
retq
LBB0_14:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/211079609.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _ptr_recorder@GOTPAGE
ldr x8, [x8, _ptr_recorder@GOTPAGEOFF]
str x8, [sp, #8] ; 8-byte Folded Spill
mov x9, #64000
add x8, x8, x9
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, le
tbnz w8, #0, LBB0_4
b LBB0_1
LBB0_1:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _atoi
stur w0, [x29, #-24]
ldur w8, [x29, #-24]
subs w8, w8, #1000
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
b LBB0_3
LBB0_3:
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
bl _atoi
stur w0, [x29, #-20]
b LBB0_4
LBB0_4:
ldr x8, [sp, #16] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
stur wzr, [x29, #-28]
b LBB0_5
LBB0_5: ; =>This Loop Header: Depth=1
; Child Loop BB0_7 Depth 2
ldur w8, [x29, #-28]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_12
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldursw x0, [x29, #-20]
bl _malloc
ldr x9, [sp, #8] ; 8-byte Folded Reload
ldursw x10, [x29, #-28]
mov x8, x0
str x8, [x9, x10, lsl #3]
str x0, [sp, #24]
str wzr, [sp, #32]
b LBB0_7
LBB0_7: ; Parent Loop BB0_5 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #32]
ldur w9, [x29, #-20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_7 Depth=2
ldr x9, [sp, #24]
mov w8, #1
strb w8, [x9]
ldr x8, [sp, #24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_7 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_7
LBB0_10: ; in Loop: Header=BB0_5 Depth=1
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=1
ldur w8, [x29, #-28]
add w8, w8, #1
stur w8, [x29, #-28]
b LBB0_5
LBB0_12:
b LBB0_13
LBB0_13: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-28]
subs w9, w8, #1
stur w9, [x29, #-28]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_15
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_13 Depth=1
ldr x8, [sp, #8] ; 8-byte Folded Reload
ldursw x9, [x29, #-28]
ldr x0, [x8, x9, lsl #3]
bl _free
b LBB0_13
LBB0_15:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Error: request iter shall be less than or equal 1000\n."
l_.str.1: ; @.str.1
.asciz "%p\n"
.comm _ptr_recorder,8000,3 ; @ptr_recorder
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
jle LBB0_4
## %bb.1:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, -24(%rbp)
cmpl $1000, -24(%rbp) ## imm = 0x3E8
jle LBB0_3
## %bb.2:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str(%rip), %rsi
movb $0, %al
callq _fprintf
LBB0_3:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _atoi
movl %eax, -20(%rbp)
LBB0_4:
leaq L_.str.1(%rip), %rdi
movq _ptr_recorder@GOTPCREL(%rip), %rsi
addq $64000, %rsi ## imm = 0xFA00
movb $0, %al
callq _printf
movl $0, -28(%rbp)
LBB0_5: ## =>This Loop Header: Depth=1
## Child Loop BB0_7 Depth 2
movl -28(%rbp), %eax
cmpl -24(%rbp), %eax
jge LBB0_12
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movslq -20(%rbp), %rdi
callq _malloc
movslq -28(%rbp), %rdx
movq _ptr_recorder@GOTPCREL(%rip), %rcx
movq %rax, (%rcx,%rdx,8)
movq %rax, -40(%rbp)
movl $0, -32(%rbp)
LBB0_7: ## Parent Loop BB0_5 Depth=1
## => This Inner Loop Header: Depth=2
movl -32(%rbp), %eax
cmpl -20(%rbp), %eax
jge LBB0_10
## %bb.8: ## in Loop: Header=BB0_7 Depth=2
movq -40(%rbp), %rax
movb $1, (%rax)
movq -40(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.9: ## in Loop: Header=BB0_7 Depth=2
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_7
LBB0_10: ## in Loop: Header=BB0_5 Depth=1
jmp LBB0_11
LBB0_11: ## in Loop: Header=BB0_5 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_5
LBB0_12:
jmp LBB0_13
LBB0_13: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
movl %eax, %ecx
addl $-1, %ecx
movl %ecx, -28(%rbp)
cmpl $0, %eax
jl LBB0_15
## %bb.14: ## in Loop: Header=BB0_13 Depth=1
movslq -28(%rbp), %rcx
movq _ptr_recorder@GOTPCREL(%rip), %rax
movq (%rax,%rcx,8), %rdi
callq _free
jmp LBB0_13
LBB0_15:
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Error: request iter shall be less than or equal 1000\n."
L_.str.1: ## @.str.1
.asciz "%p\n"
.comm _ptr_recorder,8000,4 ## @ptr_recorder
.subsections_via_symbols
| the_stack_data/62638162.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #12] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #2
stur w8, [x29, #-8]
mov w8, #3
stur w8, [x29, #-12]
ldur w8, [x29, #-8]
ldur w9, [x29, #-12]
add w8, w8, w9
str w8, [sp, #16]
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "the value of c is %i"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl $2, -8(%rbp)
movl $3, -12(%rbp)
movl -8(%rbp), %eax
addl -12(%rbp), %eax
movl %eax, -16(%rbp)
movl -16(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "the value of c is %i"
.subsections_via_symbols
| the_stack_data/154828203.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/87555.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rightrot ; -- Begin function rightrot
.p2align 2
_rightrot: ; @rightrot
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
lsr w8, w8, w9
ldr w9, [sp, #12]
ldrsw x11, [sp, #8]
mov x10, #4
subs x10, x10, x11
; kill: def $w10 killed $w10 killed $x10
lsl w9, w9, w10
eor w0, w8, w9
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _rightrot ## -- Begin function rightrot
.p2align 4, 0x90
_rightrot: ## @rightrot
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
movl -8(%rbp), %ecx
## kill: def $cl killed $ecx
shrl %cl, %eax
movl -4(%rbp), %edx
movslq -8(%rbp), %rsi
movl $4, %ecx
subq %rsi, %rcx
## kill: def $ecx killed $ecx killed $rcx
## kill: def $cl killed $ecx
shll %cl, %edx
movl %edx, %ecx
xorl %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/111076792.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _block_scope09 ; -- Begin function block_scope09
.p2align 2
_block_scope09: ; @block_scope09
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
mov w8, #2
str w8, [sp]
mov w8, #1
str w8, [sp, #4]
adrp x9, _y@PAGE
ldr w8, [x9, _y@PAGEOFF]
add w8, w8, #1
str w8, [x9, _y@PAGEOFF]
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __DATA,__data
.globl _x ; @x
.p2align 2
_x:
.long 1 ; 0x1
.globl _y ; @y
.p2align 2
_y:
.long 2 ; 0x2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _block_scope09 ## -- Begin function block_scope09
.p2align 4, 0x90
_block_scope09: ## @block_scope09
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
movl $2, -16(%rbp)
movl $1, -12(%rbp)
movl _y(%rip), %eax
addl $1, %eax
movl %eax, _y(%rip)
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __DATA,__data
.globl _x ## @x
.p2align 2
_x:
.long 1 ## 0x1
.globl _y ## @y
.p2align 2
_y:
.long 2 ## 0x2
.subsections_via_symbols
| the_stack_data/168892113.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ordinateur ; -- Begin function ordinateur
.p2align 2
_ordinateur: ; @ordinateur
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
stur x2, [x29, #-24]
mov w8, #64
sturb w8, [x29, #-25]
ldursb w10, [x29, #-25]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
bl _rand
mov w9, #7
sdiv w8, w0, w9
mul w8, w8, w9
subs w8, w0, w8
add w8, w8, #65
sturb w8, [x29, #-26]
ldursb w10, [x29, #-26]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #1
sturb w8, [x29, #-27]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_5 Depth 3
ldurb w8, [x29, #-27]
and w8, w8, #0x1
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_26
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
sturb wzr, [x29, #-27]
str wzr, [sp, #32]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_5 Depth 3
ldr w8, [sp, #32]
subs w8, w8, #30
cset w8, ge
tbnz w8, #0, LBB0_25
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
str wzr, [sp, #28]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_3 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #28]
subs w8, w8, #30
cset w8, ge
tbnz w8, #0, LBB0_23
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=3
ldur x8, [x29, #-8]
ldrsw x9, [sp, #32]
mov x10, #30
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #28]
ldrsb w8, [x8, x9]
ldursb w9, [x29, #-25]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_21
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp, #28]
add w8, w8, #1
subs w8, w8, #29
cset w8, gt
tbnz w8, #0, LBB0_10
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=3
ldur x8, [x29, #-8]
ldrsw x9, [sp, #32]
mov x10, #30
mul x9, x9, x10
add x8, x8, x9
ldr w9, [sp, #28]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
ldursb w9, [x29, #-26]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_5 Depth=3
ldurb w8, [x29, #-25]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #32]
mov x11, #30
mul x10, x10, x11
add x9, x9, x10
ldr w10, [sp, #28]
add w10, w10, #1
add x9, x9, w10, sxtw
strb w8, [x9]
ldurb w8, [x29, #-27]
mov w9, #1
and w8, w8, #0x1
orr w8, w8, #0x1
subs w8, w8, #0
cset w8, ne
and w8, w8, w9
sturb w8, [x29, #-27]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp, #28]
subs w8, w8, #1
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_13
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_5 Depth=3
ldur x8, [x29, #-8]
ldrsw x9, [sp, #32]
mov x10, #30
mul x9, x9, x10
add x8, x8, x9
ldr w9, [sp, #28]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
ldursb w9, [x29, #-26]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_5 Depth=3
ldurb w8, [x29, #-25]
ldur x9, [x29, #-8]
ldrsw x10, [sp, #32]
mov x11, #30
mul x10, x10, x11
add x9, x9, x10
ldr w10, [sp, #28]
subs w10, w10, #1
add x9, x9, w10, sxtw
strb w8, [x9]
ldurb w8, [x29, #-27]
mov w9, #1
and w8, w8, #0x1
orr w8, w8, #0x1
subs w8, w8, #0
cset w8, ne
and w8, w8, w9
sturb w8, [x29, #-27]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp, #32]
subs w8, w8, #1
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_16
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_5 Depth=3
ldur x10, [x29, #-8]
ldr w8, [sp, #32]
subs w8, w8, #1
mov w9, #30
smaddl x8, w8, w9, x10
ldrsw x9, [sp, #28]
ldrsb w8, [x8, x9]
ldursb w9, [x29, #-26]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_16
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_5 Depth=3
ldurb w8, [x29, #-25]
ldur x11, [x29, #-8]
ldr w9, [sp, #32]
subs w9, w9, #1
mov w10, #30
smaddl x9, w9, w10, x11
ldrsw x10, [sp, #28]
add x9, x9, x10
strb w8, [x9]
ldurb w8, [x29, #-27]
mov w9, #1
and w8, w8, #0x1
orr w8, w8, #0x1
subs w8, w8, #0
cset w8, ne
and w8, w8, w9
sturb w8, [x29, #-27]
b LBB0_16
LBB0_16: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp, #32]
add w8, w8, #1
subs w8, w8, #29
cset w8, gt
tbnz w8, #0, LBB0_19
b LBB0_17
LBB0_17: ; in Loop: Header=BB0_5 Depth=3
ldur x10, [x29, #-8]
ldr w8, [sp, #32]
add w8, w8, #1
mov w9, #30
smaddl x8, w8, w9, x10
ldrsw x9, [sp, #28]
ldrsb w8, [x8, x9]
ldursb w9, [x29, #-26]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_5 Depth=3
ldurb w8, [x29, #-25]
ldur x11, [x29, #-8]
ldr w9, [sp, #32]
add w9, w9, #1
mov w10, #30
smaddl x9, w9, w10, x11
ldrsw x10, [sp, #28]
add x9, x9, x10
strb w8, [x9]
ldurb w8, [x29, #-27]
mov w9, #1
and w8, w8, #0x1
orr w8, w8, #0x1
subs w8, w8, #0
cset w8, ne
and w8, w8, w9
sturb w8, [x29, #-27]
b LBB0_20
LBB0_19: ; in Loop: Header=BB0_5 Depth=3
sturb wzr, [x29, #-27]
b LBB0_20
LBB0_20: ; in Loop: Header=BB0_5 Depth=3
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_5 Depth=3
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_5
LBB0_23: ; in Loop: Header=BB0_3 Depth=2
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_3
LBB0_25: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_26:
movi d0, #0000000000000000
str s0, [sp, #24]
str wzr, [sp, #20]
b LBB0_27
LBB0_27: ; =>This Loop Header: Depth=1
; Child Loop BB0_29 Depth 2
ldr w8, [sp, #20]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_36
b LBB0_28
LBB0_28: ; in Loop: Header=BB0_27 Depth=1
str wzr, [sp, #16]
b LBB0_29
LBB0_29: ; Parent Loop BB0_27 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_34
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_29 Depth=2
ldur x8, [x29, #-8]
ldrsw x9, [sp, #20]
mov x10, #30
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #16]
ldrsb w8, [x8, x9]
ldursb w9, [x29, #-25]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_29 Depth=2
ldr s0, [sp, #24]
fmov s1, #1.00000000
fadd s0, s0, s1
str s0, [sp, #24]
b LBB0_32
LBB0_32: ; in Loop: Header=BB0_29 Depth=2
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_29 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_29
LBB0_34: ; in Loop: Header=BB0_27 Depth=1
b LBB0_35
LBB0_35: ; in Loop: Header=BB0_27 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB0_27
LBB0_36:
ldr s0, [sp, #24]
mov w8, #1147207680
fmov s1, w8
fdiv s0, s0, s1
mov w8, #1120403456
fmov s1, w8
fmul s0, s0, s1
str s0, [sp, #24]
ldr s0, [sp, #24]
ldur x8, [x29, #-24]
str s0, [x8]
ldur x8, [x29, #-24]
ldr s0, [x8]
fcvt d0, s0
mov x8, sp
str d0, [x8]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "ordi = %c \n"
l_.str.1: ; @.str.1
.asciz "L'ordinateur a choisi : %c \n"
l_.str.2: ; @.str.2
.asciz "score_ordi = %f\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## -- Begin function ordinateur
LCPI0_0:
.long 0x42c80000 ## float 100
LCPI0_1:
.long 0x44610000 ## float 900
LCPI0_2:
.long 0x3f800000 ## float 1
.section __TEXT,__text,regular,pure_instructions
.globl _ordinateur
.p2align 4, 0x90
_ordinateur: ## @ordinateur
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq %rdx, -24(%rbp)
movb $64, -25(%rbp)
movsbl -25(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
callq _rand
movl $7, %ecx
cltd
idivl %ecx
addl $65, %edx
movb %dl, %al
movb %al, -26(%rbp)
movsbl -26(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movb $1, -27(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_5 Depth 3
movb -27(%rbp), %al
andb $1, %al
movzbl %al, %eax
cmpl $1, %eax
jne LBB0_26
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movb $0, -27(%rbp)
movl $0, -32(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_5 Depth 3
cmpl $30, -32(%rbp)
jge LBB0_25
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl $0, -36(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
cmpl $30, -36(%rbp)
jge LBB0_23
## %bb.6: ## in Loop: Header=BB0_5 Depth=3
movq -8(%rbp), %rax
movslq -32(%rbp), %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movslq -36(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl -25(%rbp), %ecx
cmpl %ecx, %eax
jne LBB0_21
## %bb.7: ## in Loop: Header=BB0_5 Depth=3
movl -36(%rbp), %eax
addl $1, %eax
cmpl $29, %eax
jg LBB0_10
## %bb.8: ## in Loop: Header=BB0_5 Depth=3
movq -8(%rbp), %rax
movslq -32(%rbp), %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movl -36(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movsbl -26(%rbp), %ecx
cmpl %ecx, %eax
jne LBB0_10
## %bb.9: ## in Loop: Header=BB0_5 Depth=3
movb -25(%rbp), %dl
movq -8(%rbp), %rax
movslq -32(%rbp), %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movl -36(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movb -27(%rbp), %al
andb $1, %al
movzbl %al, %eax
orl $1, %eax
cmpl $0, %eax
setne %al
andb $1, %al
movb %al, -27(%rbp)
LBB0_10: ## in Loop: Header=BB0_5 Depth=3
movl -36(%rbp), %eax
subl $1, %eax
cmpl $0, %eax
jl LBB0_13
## %bb.11: ## in Loop: Header=BB0_5 Depth=3
movq -8(%rbp), %rax
movslq -32(%rbp), %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movl -36(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movsbl -26(%rbp), %ecx
cmpl %ecx, %eax
jne LBB0_13
## %bb.12: ## in Loop: Header=BB0_5 Depth=3
movb -25(%rbp), %dl
movq -8(%rbp), %rax
movslq -32(%rbp), %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movl -36(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movb %dl, (%rax,%rcx)
movb -27(%rbp), %al
andb $1, %al
movzbl %al, %eax
orl $1, %eax
cmpl $0, %eax
setne %al
andb $1, %al
movb %al, -27(%rbp)
LBB0_13: ## in Loop: Header=BB0_5 Depth=3
movl -32(%rbp), %eax
subl $1, %eax
cmpl $0, %eax
jl LBB0_16
## %bb.14: ## in Loop: Header=BB0_5 Depth=3
movq -8(%rbp), %rax
movl -32(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movslq -36(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl -26(%rbp), %ecx
cmpl %ecx, %eax
jne LBB0_16
## %bb.15: ## in Loop: Header=BB0_5 Depth=3
movb -25(%rbp), %dl
movq -8(%rbp), %rax
movl -32(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movslq -36(%rbp), %rcx
movb %dl, (%rax,%rcx)
movb -27(%rbp), %al
andb $1, %al
movzbl %al, %eax
orl $1, %eax
cmpl $0, %eax
setne %al
andb $1, %al
movb %al, -27(%rbp)
LBB0_16: ## in Loop: Header=BB0_5 Depth=3
movl -32(%rbp), %eax
addl $1, %eax
cmpl $29, %eax
jg LBB0_19
## %bb.17: ## in Loop: Header=BB0_5 Depth=3
movq -8(%rbp), %rax
movl -32(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movslq -36(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl -26(%rbp), %ecx
cmpl %ecx, %eax
jne LBB0_19
## %bb.18: ## in Loop: Header=BB0_5 Depth=3
movb -25(%rbp), %dl
movq -8(%rbp), %rax
movl -32(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movslq -36(%rbp), %rcx
movb %dl, (%rax,%rcx)
movb -27(%rbp), %al
andb $1, %al
movzbl %al, %eax
orl $1, %eax
cmpl $0, %eax
setne %al
andb $1, %al
movb %al, -27(%rbp)
jmp LBB0_20
LBB0_19: ## in Loop: Header=BB0_5 Depth=3
movb $0, -27(%rbp)
LBB0_20: ## in Loop: Header=BB0_5 Depth=3
jmp LBB0_21
LBB0_21: ## in Loop: Header=BB0_5 Depth=3
jmp LBB0_22
LBB0_22: ## in Loop: Header=BB0_5 Depth=3
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB0_5
LBB0_23: ## in Loop: Header=BB0_3 Depth=2
jmp LBB0_24
LBB0_24: ## in Loop: Header=BB0_3 Depth=2
movl -32(%rbp), %eax
addl $1, %eax
movl %eax, -32(%rbp)
jmp LBB0_3
LBB0_25: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_26:
xorps %xmm0, %xmm0
movss %xmm0, -40(%rbp)
movl $0, -44(%rbp)
LBB0_27: ## =>This Loop Header: Depth=1
## Child Loop BB0_29 Depth 2
movl -44(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_36
## %bb.28: ## in Loop: Header=BB0_27 Depth=1
movl $0, -48(%rbp)
LBB0_29: ## Parent Loop BB0_27 Depth=1
## => This Inner Loop Header: Depth=2
movl -48(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_34
## %bb.30: ## in Loop: Header=BB0_29 Depth=2
movq -8(%rbp), %rax
movslq -44(%rbp), %rcx
imulq $30, %rcx, %rcx
addq %rcx, %rax
movslq -48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl -25(%rbp), %ecx
cmpl %ecx, %eax
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_29 Depth=2
movss LCPI0_2(%rip), %xmm0 ## xmm0 = mem[0],zero,zero,zero
addss -40(%rbp), %xmm0
movss %xmm0, -40(%rbp)
LBB0_32: ## in Loop: Header=BB0_29 Depth=2
jmp LBB0_33
LBB0_33: ## in Loop: Header=BB0_29 Depth=2
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_29
LBB0_34: ## in Loop: Header=BB0_27 Depth=1
jmp LBB0_35
LBB0_35: ## in Loop: Header=BB0_27 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
movl %eax, -44(%rbp)
jmp LBB0_27
LBB0_36:
movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movss LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
divss %xmm1, %xmm0
movss LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero,zero,zero
mulss %xmm1, %xmm0
movss %xmm0, -40(%rbp)
movss -40(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero
movq -24(%rbp), %rax
movss %xmm0, (%rax)
movq -24(%rbp), %rax
movss (%rax), %xmm0 ## xmm0 = mem[0],zero,zero,zero
cvtss2sd %xmm0, %xmm0
leaq L_.str.2(%rip), %rdi
movb $1, %al
callq _printf
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "ordi = %c \n"
L_.str.1: ## @.str.1
.asciz "L'ordinateur a choisi : %c \n"
L_.str.2: ## @.str.2
.asciz "score_ordi = %f\n"
.subsections_via_symbols
| the_stack_data/449931.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _decompose ; -- Begin function decompose
.p2align 2
_decompose: ; @decompose
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur d0, [x29, #-8]
str x0, [sp, #16]
str x1, [sp, #8]
str x2, [sp]
ldur d0, [x29, #-8]
fcmp d0, #0.0
cset w8, gt
and w8, w8, #0x1
ldur d0, [x29, #-8]
fcmp d0, #0.0
cset w9, mi
and w9, w9, #0x1
subs w8, w8, w9
ldr x9, [sp, #16]
str w8, [x9]
ldur d0, [x29, #-8]
ldr x0, [sp, #8]
bl _frexp
fmov d1, #2.00000000
fmul d0, d0, d1
fabs d0, d0
ldr x8, [sp]
str d0, [x8]
ldr x9, [sp, #8]
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #28] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur d0, [x29, #-16]
sub x0, x29, #28
add x1, sp, #32
sub x2, x29, #24
bl _decompose
ldur w8, [x29, #-28]
; implicit-def: $x10
mov x10, x8
ldr w8, [sp, #32]
; implicit-def: $x9
mov x9, x8
ldur d0, [x29, #-24]
mov x8, sp
str x10, [x8]
str x9, [x8, #8]
str d0, [x8, #16]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w0, [sp, #28] ; 4-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%lf"
l_.str.1: ; @.str.1
.asciz "s: %i\nq: %i\nf: %lf\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.section __TEXT,__literal16,16byte_literals
.p2align 4 ## -- Begin function decompose
LCPI0_0:
.quad 0x7fffffffffffffff ## double NaN
.quad 0x7fffffffffffffff ## double NaN
.section __TEXT,__literal8,8byte_literals
.p2align 3
LCPI0_1:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _decompose
.p2align 4, 0x90
_decompose: ## @decompose
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movsd %xmm0, -8(%rbp)
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
xorps %xmm1, %xmm1
ucomisd %xmm1, %xmm0
seta %al
andb $1, %al
movzbl %al, %ecx
xorps %xmm0, %xmm0
ucomisd -8(%rbp), %xmm0
seta %al
andb $1, %al
movzbl %al, %eax
subl %eax, %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movsd -8(%rbp), %xmm0 ## xmm0 = mem[0],zero
movq -24(%rbp), %rdi
callq _frexp
movsd LCPI0_1(%rip), %xmm1 ## xmm1 = mem[0],zero
mulsd %xmm1, %xmm0
movaps LCPI0_0(%rip), %xmm1 ## xmm1 = [NaN,NaN]
pand %xmm1, %xmm0
movq -32(%rbp), %rax
movsd %xmm0, (%rax)
movq -24(%rbp), %rax
movl (%rax), %ecx
addl $-1, %ecx
movl %ecx, (%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -16(%rbp), %rsi
movb $0, %al
callq _scanf
movsd -16(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq -28(%rbp), %rdi
leaq -32(%rbp), %rsi
leaq -24(%rbp), %rdx
callq _decompose
movl -28(%rbp), %esi
movl -32(%rbp), %edx
movsd -24(%rbp), %xmm0 ## xmm0 = mem[0],zero
leaq L_.str.1(%rip), %rdi
movb $1, %al
callq _printf
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lf"
L_.str.1: ## @.str.1
.asciz "s: %i\nq: %i\nf: %lf\n"
.subsections_via_symbols
| the_stack_data/40755.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/1217950.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _stdscr@GOTPAGE
ldr x8, [x8, _stdscr@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
bl _initscr
bl _noecho
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
mov w8, #1
and w1, w8, #0x1
bl _keypad
mov x0, #4
mov x1, #0
bl _mousemask
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _wgetch
str w0, [sp, #28]
ldr w8, [sp, #28]
subs w8, w8, #409
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
add x0, sp, #32
bl _getmouse
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
mov w2, #0
mov x1, x2
bl _wmove
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _wclrtoeol
ldr w8, [sp, #40]
; implicit-def: $x10
mov x10, x8
ldr w9, [sp, #36]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printw
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
bl _wrefresh
b LBB0_1
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
subs w8, w8, #10
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
b LBB0_6
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
b LBB0_1
LBB0_6:
bl _endwin
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Mouse clicked at %d, %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
callq _initscr
callq _noecho
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl $1, %esi
callq _keypad
movl $4, %edi
xorl %eax, %eax
movl %eax, %esi
callq _mousemask
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wgetch
movl %eax, -36(%rbp)
cmpl $409, -36(%rbp) ## imm = 0x199
jne LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq -32(%rbp), %rdi
callq _getmouse
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %edx, %edx
movl %edx, %esi
callq _wmove
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wclrtoeol
movl -24(%rbp), %esi
movl -28(%rbp), %edx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printw
movq _stdscr@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _wrefresh
jmp LBB0_1
LBB0_3: ## in Loop: Header=BB0_1 Depth=1
cmpl $10, -36(%rbp)
jne LBB0_5
## %bb.4:
jmp LBB0_6
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_1
LBB0_6:
callq _endwin
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Mouse clicked at %d, %d"
.subsections_via_symbols
| the_stack_data/913970.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mhandle_free ; -- Begin function mhandle_free
.p2align 2
_mhandle_free: ; @mhandle_free
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x8, [x29, #-8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
b LBB0_8
LBB0_2:
bl _mhandle_init
ldur x0, [x29, #-8]
bl _mhandle_hash_table_get
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x10, [x29, #-16]
ldur x8, [x29, #-8]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
bl _abort
LBB0_4:
ldur x8, [x29, #-24]
ldrb w8, [x8, #24]
lsr w8, w8, #2
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldur x8, [x29, #-8]
subs x8, x8, #2
str x8, [sp, #32]
ldur x8, [x29, #-24]
ldr x8, [x8, #8]
add x8, x8, #4
str x8, [sp, #24]
ldr x0, [sp, #32]
ldr x1, [sp, #24]
ldur x8, [x29, #-24]
ldr x2, [x8, #16]
bl _mhandle_check_corrupt
ldr x0, [sp, #32]
ldr x2, [sp, #24]
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldr x0, [sp, #32]
bl _free
b LBB0_7
LBB0_6:
ldur x0, [x29, #-8]
ldur x8, [x29, #-24]
ldr x2, [x8, #8]
mov w1, #0
mov x3, #-1
bl ___memset_chk
ldur x0, [x29, #-8]
bl _free
b LBB0_7
LBB0_7:
ldur x0, [x29, #-8]
ldur x1, [x29, #-16]
bl _mhandle_hash_table_remove
b LBB0_8
LBB0_8:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mhandle_init
_mhandle_init: ; @mhandle_init
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _mhandle_initialized@PAGE
ldr w8, [x8, _mhandle_initialized@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
b LBB1_4
LBB1_2:
mov w8, #1
adrp x9, _mhandle_initialized@PAGE
str w8, [x9, _mhandle_initialized@PAGEOFF]
mov x0, #1000
mov x1, #32
bl _calloc
adrp x8, _mhandle_hash_table@PAGE
str x0, [x8, _mhandle_hash_table@PAGEOFF]
adrp x10, _mhandle_hash_table_size@PAGE
mov w9, #1000
str w9, [x10, _mhandle_hash_table_size@PAGEOFF]
adrp x9, _mhandle_hash_table_count@PAGE
str wzr, [x9, _mhandle_hash_table_count@PAGEOFF]
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _mhandle_out_of_memory
b LBB1_4
LBB1_4:
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mhandle_hash_table_get
_mhandle_hash_table_get: ; @mhandle_hash_table_get
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
ldr x8, [sp, #16]
adrp x9, _mhandle_hash_table_size@PAGE
ldrsw x10, [x9, _mhandle_hash_table_size@PAGEOFF]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x9, [sp, #12]
lsl x9, x9, #5
ldr x8, [x8, x9]
ldr x9, [sp, #16]
subs x8, x8, x9
cset w8, ne
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_4
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x9, [sp, #12]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
lsr w8, w8, #1
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, eq
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x9, [sp, #12]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, ne
str w8, [sp, #8] ; 4-byte Folded Spill
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #8] ; 4-byte Folded Reload
tbz w8, #0, LBB2_8
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x9, [sp, #12]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
lsr w8, w8, #1
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, ne
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
b LBB2_9
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
adrp x9, _mhandle_hash_table_size@PAGE
ldr w10, [x9, _mhandle_hash_table_size@PAGEOFF]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #12]
b LBB2_1
LBB2_8:
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x9, [sp, #12]
add x8, x8, x9, lsl #5
str x8, [sp, #24]
b LBB2_9
LBB2_9:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mhandle_check_corrupt
_mhandle_check_corrupt: ; @mhandle_check_corrupt
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
str x8, [sp, #24] ; 8-byte Folded Spill
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
ldur x8, [x29, #-8]
stur x8, [x29, #-40]
stur wzr, [x29, #-44]
stur xzr, [x29, #-32]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
subs x8, x8, #2
cset w8, hs
tbnz w8, #0, LBB3_6
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-40]
ldur x9, [x29, #-32]
ldrb w8, [x8, x9]
subs w8, w8, #90
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
mov w8, #1
stur w8, [x29, #-44]
b LBB3_4
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB3_1
LBB3_6:
stur xzr, [x29, #-32]
b LBB3_7
LBB3_7: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
subs x8, x8, #2
cset w8, hs
tbnz w8, #0, LBB3_12
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_7 Depth=1
ldur x8, [x29, #-40]
ldur x9, [x29, #-16]
subs x9, x9, #2
ldur x10, [x29, #-32]
add x9, x9, x10
ldrb w8, [x8, x9]
subs w8, w8, #165
cset w8, eq
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9: ; in Loop: Header=BB3_7 Depth=1
mov w8, #2
stur w8, [x29, #-44]
b LBB3_10
LBB3_10: ; in Loop: Header=BB3_7 Depth=1
b LBB3_11
LBB3_11: ; in Loop: Header=BB3_7 Depth=1
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB3_7
LBB3_12:
ldur w8, [x29, #-44]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_14
b LBB3_13
LBB3_13:
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
LBB3_14:
mov w8, #-1
str w8, [sp, #48]
str w8, [sp, #44]
ldur x8, [x29, #-8]
add x8, x8, #2
str x8, [sp, #32]
stur xzr, [x29, #-32]
b LBB3_15
LBB3_15: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-32]
adrp x9, _mhandle_hash_table_size@PAGE
ldrsw x9, [x9, _mhandle_hash_table_size@PAGEOFF]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB3_29
b LBB3_16
LBB3_16: ; in Loop: Header=BB3_15 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldur x9, [x29, #-32]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
lsr w8, w8, #1
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, eq
tbnz w8, #0, LBB3_27
b LBB3_17
LBB3_17: ; in Loop: Header=BB3_15 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldur x9, [x29, #-32]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, ne
tbnz w8, #0, LBB3_27
b LBB3_18
LBB3_18: ; in Loop: Header=BB3_15 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldur x9, [x29, #-32]
lsl x9, x9, #5
ldr x8, [x8, x9]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB3_22
b LBB3_19
LBB3_19: ; in Loop: Header=BB3_15 Depth=1
ldr w8, [sp, #48]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB3_21
b LBB3_20
LBB3_20: ; in Loop: Header=BB3_15 Depth=1
adrp x9, _mhandle_hash_table@PAGE
ldr x8, [x9, _mhandle_hash_table@PAGEOFF]
ldur x10, [x29, #-32]
lsl x10, x10, #5
ldr x8, [x8, x10]
ldr x9, [x9, _mhandle_hash_table@PAGEOFF]
ldrsw x10, [sp, #48]
lsl x10, x10, #5
ldr x9, [x9, x10]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB3_22
b LBB3_21
LBB3_21: ; in Loop: Header=BB3_15 Depth=1
ldur x8, [x29, #-32]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #48]
b LBB3_22
LBB3_22: ; in Loop: Header=BB3_15 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldur x9, [x29, #-32]
lsl x9, x9, #5
ldr x8, [x8, x9]
ldr x9, [sp, #32]
subs x8, x8, x9
cset w8, ls
tbnz w8, #0, LBB3_26
b LBB3_23
LBB3_23: ; in Loop: Header=BB3_15 Depth=1
ldr w8, [sp, #44]
adds w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB3_25
b LBB3_24
LBB3_24: ; in Loop: Header=BB3_15 Depth=1
adrp x9, _mhandle_hash_table@PAGE
ldr x8, [x9, _mhandle_hash_table@PAGEOFF]
ldur x10, [x29, #-32]
lsl x10, x10, #5
ldr x8, [x8, x10]
ldr x9, [x9, _mhandle_hash_table@PAGEOFF]
ldrsw x10, [sp, #44]
lsl x10, x10, #5
ldr x9, [x9, x10]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB3_26
b LBB3_25
LBB3_25: ; in Loop: Header=BB3_15 Depth=1
ldur x8, [x29, #-32]
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #44]
b LBB3_26
LBB3_26: ; in Loop: Header=BB3_15 Depth=1
b LBB3_27
LBB3_27: ; in Loop: Header=BB3_15 Depth=1
b LBB3_28
LBB3_28: ; in Loop: Header=BB3_15 Depth=1
ldur x8, [x29, #-32]
add x8, x8, #1
stur x8, [x29, #-32]
b LBB3_15
LBB3_29:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
ldur x11, [x29, #-24]
ldur w8, [x29, #-44]
subs w8, w8, #1
cset w8, eq
and w10, w8, #0x1
adrp x9, l_.str.11@PAGE
add x9, x9, l_.str.11@PAGEOFF
adrp x8, l_.str.10@PAGE
add x8, x8, l_.str.10@PAGEOFF
ands w10, w10, #0x1
csel x10, x8, x9, ne
ldr x8, [sp, #32]
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x1, l_.str.9@PAGE
add x1, x1, l_.str.9@PAGEOFF
bl _fprintf
ldr w8, [sp, #48]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB3_31
b LBB3_30
LBB3_30:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _mhandle_hash_table@PAGE
ldr x9, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x10, [sp, #48]
add x9, x9, x10, lsl #5
ldr x10, [x9, #16]
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x9, [sp, #48]
lsl x9, x9, #5
ldr x8, [x8, x9]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.12@PAGE
add x1, x1, l_.str.12@PAGEOFF
bl _fprintf
b LBB3_31
LBB3_31:
ldr w8, [sp, #44]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB3_33
b LBB3_32
LBB3_32:
ldr x8, [sp, #24] ; 8-byte Folded Reload
ldr x0, [x8]
adrp x8, _mhandle_hash_table@PAGE
ldr x9, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x10, [sp, #44]
add x9, x9, x10, lsl #5
ldr x10, [x9, #16]
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x9, [sp, #44]
lsl x9, x9, #5
ldr x8, [x8, x9]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fprintf
b LBB3_33
LBB3_33:
bl _abort
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mhandle_hash_table_remove
_mhandle_hash_table_remove: ; @mhandle_hash_table_remove
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x0, [x29, #-8]
bl _mhandle_hash_table_get
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x10, [x29, #-16]
ldur x8, [x29, #-8]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
bl _abort
LBB4_2:
ldr x9, [sp, #24]
ldrb w8, [x9, #24]
and w8, w8, #0xfffffffe
orr w8, w8, #0x1
strb w8, [x9, #24]
ldr x8, [sp, #24]
ldr x10, [x8, #8]
adrp x9, _mhandle_mem_used@PAGE
ldr x8, [x9, _mhandle_mem_used@PAGEOFF]
subs x8, x8, x10
str x8, [x9, _mhandle_mem_used@PAGEOFF]
adrp x9, _mhandle_hash_table_count@PAGE
ldr w8, [x9, _mhandle_hash_table_count@PAGEOFF]
subs w8, w8, #1
str w8, [x9, _mhandle_hash_table_count@PAGEOFF]
ldr x8, [sp, #24]
ldr x0, [x8, #8]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _mhandle_malloc ; -- Begin function mhandle_malloc
.p2align 2
_mhandle_malloc: ; @mhandle_malloc
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
bl _mhandle_init
ldur x8, [x29, #-8]
add x8, x8, #4
str x8, [sp, #8]
ldr x0, [sp, #8]
bl _malloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldur x0, [x29, #-16]
bl _mhandle_out_of_memory
b LBB5_2
LBB5_2:
ldr x8, [sp, #16]
add x8, x8, #2
str x8, [sp, #24]
ldr x0, [sp, #16]
ldr x1, [sp, #8]
bl _mhandle_mark_corrupt
ldr x0, [sp, #24]
ldur x1, [x29, #-8]
ldur x2, [x29, #-16]
mov w3, #1
bl _mhandle_hash_table_insert
ldr x0, [sp, #24]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mhandle_out_of_memory
_mhandle_out_of_memory: ; @mhandle_out_of_memory
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _fprintf
bl _abort
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mhandle_mark_corrupt
_mhandle_mark_corrupt: ; @mhandle_mark_corrupt
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str x1, [sp, #16]
ldr x8, [sp, #24]
str x8, [sp]
str xzr, [sp, #8]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #2
cset w8, hs
tbnz w8, #0, LBB7_4
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp]
ldr x9, [sp, #8]
add x9, x8, x9
mov w8, #90
strb w8, [x9]
b LBB7_3
LBB7_3: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB7_1
LBB7_4:
str xzr, [sp, #8]
b LBB7_5
LBB7_5: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #2
cset w8, hs
tbnz w8, #0, LBB7_8
b LBB7_6
LBB7_6: ; in Loop: Header=BB7_5 Depth=1
ldr x8, [sp]
ldr x9, [sp, #16]
subs x9, x9, #2
ldr x10, [sp, #8]
add x9, x9, x10
add x9, x8, x9
mov w8, #165
strb w8, [x9]
b LBB7_7
LBB7_7: ; in Loop: Header=BB7_5 Depth=1
ldr x8, [sp, #8]
add x8, x8, #1
str x8, [sp, #8]
b LBB7_5
LBB7_8:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mhandle_hash_table_insert
_mhandle_hash_table_insert: ; @mhandle_hash_table_insert
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
str x2, [sp, #24]
str w3, [sp, #20]
adrp x8, _mhandle_hash_table_count@PAGE
ldr w8, [x8, _mhandle_hash_table_count@PAGEOFF]
adrp x9, _mhandle_hash_table_size@PAGE
ldr w9, [x9, _mhandle_hash_table_size@PAGEOFF]
mov w10, #2
sdiv w9, w9, w10
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
bl _mhandle_hash_table_grow
b LBB8_2
LBB8_2:
ldur x8, [x29, #-8]
adrp x9, _mhandle_hash_table_size@PAGE
ldrsw x10, [x9, _mhandle_hash_table_size@PAGEOFF]
udiv x9, x8, x10
mul x9, x9, x10
subs x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
str w8, [sp, #4]
b LBB8_3
LBB8_3: ; =>This Inner Loop Header: Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x9, [sp, #4]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
lsr w8, w8, #1
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, eq
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB8_5
b LBB8_4
LBB8_4: ; in Loop: Header=BB8_3 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x9, [sp, #4]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, eq
str w8, [sp] ; 4-byte Folded Spill
b LBB8_5
LBB8_5: ; in Loop: Header=BB8_3 Depth=1
ldr w8, [sp] ; 4-byte Folded Reload
tbz w8, #0, LBB8_7
b LBB8_6
LBB8_6: ; in Loop: Header=BB8_3 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
adrp x9, _mhandle_hash_table_size@PAGE
ldr w10, [x9, _mhandle_hash_table_size@PAGEOFF]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
str w8, [sp, #4]
b LBB8_3
LBB8_7:
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldrsw x9, [sp, #4]
add x8, x8, x9, lsl #5
str x8, [sp, #8]
ldur x8, [x29, #-8]
ldr x9, [sp, #8]
str x8, [x9]
ldur x8, [x29, #-16]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #24]
ldr x9, [sp, #8]
str x8, [x9, #16]
ldr x9, [sp, #8]
ldrb w8, [x9, #24]
and w8, w8, #0xfffffffd
orr w8, w8, #0x2
strb w8, [x9, #24]
ldr x9, [sp, #8]
ldrb w8, [x9, #24]
and w8, w8, #0xfffffffe
mov w10, #0
orr w8, w8, w10
strb w8, [x9, #24]
ldr w10, [sp, #20]
ldr x9, [sp, #8]
ldrb w8, [x9, #24]
and w10, w10, #0x1
and w8, w8, #0xfffffffb
orr w8, w8, w10, lsl #2
strb w8, [x9, #24]
ldur x10, [x29, #-16]
adrp x9, _mhandle_mem_used@PAGE
ldr x8, [x9, _mhandle_mem_used@PAGEOFF]
add x8, x8, x10
str x8, [x9, _mhandle_mem_used@PAGEOFF]
adrp x9, _mhandle_hash_table_count@PAGE
ldr w8, [x9, _mhandle_hash_table_count@PAGEOFF]
add w8, w8, #1
str w8, [x9, _mhandle_hash_table_count@PAGEOFF]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl _mhandle_calloc ; -- Begin function mhandle_calloc
.p2align 2
_mhandle_calloc: ; @mhandle_calloc
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur x2, [x29, #-24]
bl _mhandle_init
ldur x8, [x29, #-8]
ldur x9, [x29, #-16]
mul x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #16]
add x8, x8, #4
str x8, [sp, #8]
ldr x1, [sp, #8]
mov x0, #1
bl _calloc
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
ldur x0, [x29, #-24]
bl _mhandle_out_of_memory
b LBB9_2
LBB9_2:
ldr x8, [sp, #24]
add x8, x8, #2
str x8, [sp, #32]
ldr x0, [sp, #24]
ldr x1, [sp, #8]
bl _mhandle_mark_corrupt
ldr x0, [sp, #32]
ldr x1, [sp, #16]
ldur x2, [x29, #-24]
mov w3, #1
bl _mhandle_hash_table_insert
ldr x0, [sp, #32]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _mhandle_realloc ; -- Begin function mhandle_realloc
.p2align 2
_mhandle_realloc: ; @mhandle_realloc
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB10_2
b LBB10_1
LBB10_1:
ldur x0, [x29, #-24]
ldur x1, [x29, #-32]
bl _mhandle_malloc
stur x0, [x29, #-8]
b LBB10_11
LBB10_2:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB10_4
b LBB10_3
LBB10_3:
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
bl _mhandle_free
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB10_11
LBB10_4:
bl _mhandle_init
ldur x0, [x29, #-16]
bl _mhandle_hash_table_get
str x0, [sp, #24]
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB10_6
b LBB10_5
LBB10_5:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x10, [x29, #-32]
ldur x8, [x29, #-16]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fprintf
bl _abort
LBB10_6:
ldr x8, [sp, #24]
ldrb w8, [x8, #24]
lsr w8, w8, #2
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, ne
tbnz w8, #0, LBB10_8
b LBB10_7
LBB10_7:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldur x10, [x29, #-32]
ldur x8, [x29, #-16]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
bl _abort
LBB10_8:
ldur x8, [x29, #-16]
subs x8, x8, #2
str x8, [sp, #40]
ldr x8, [sp, #24]
ldr x8, [x8, #8]
add x8, x8, #4
str x8, [sp, #32]
ldr x0, [sp, #40]
ldr x1, [sp, #32]
ldur x2, [x29, #-32]
bl _mhandle_check_corrupt
ldur x0, [x29, #-16]
ldur x1, [x29, #-32]
bl _mhandle_hash_table_remove
ldur x8, [x29, #-24]
add x8, x8, #4
str x8, [sp, #32]
ldr x0, [sp, #40]
ldr x1, [sp, #32]
bl _realloc
str x0, [sp, #40]
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB10_10
b LBB10_9
LBB10_9:
ldur x0, [x29, #-32]
bl _mhandle_out_of_memory
b LBB10_10
LBB10_10:
ldr x8, [sp, #40]
add x8, x8, #2
stur x8, [x29, #-16]
ldr x0, [sp, #40]
ldr x1, [sp, #32]
bl _mhandle_mark_corrupt
ldur x0, [x29, #-16]
ldur x1, [x29, #-24]
ldur x2, [x29, #-32]
mov w3, #1
bl _mhandle_hash_table_insert
ldur x8, [x29, #-16]
stur x8, [x29, #-8]
b LBB10_11
LBB10_11:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _mhandle_strdup ; -- Begin function mhandle_strdup
.p2align 2
_mhandle_strdup: ; @mhandle_strdup
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x0, [x29, #-8]
bl _strlen
add x8, x0, #1
str x8, [sp, #8]
bl _mhandle_init
ldur x0, [x29, #-8]
bl _strlen
add x8, x0, #1
str x8, [sp, #8]
ldr x8, [sp, #8]
add x8, x8, #4
str x8, [sp]
ldr x0, [sp]
bl _malloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB11_2
b LBB11_1
LBB11_1:
ldur x0, [x29, #-16]
bl _mhandle_out_of_memory
b LBB11_2
LBB11_2:
ldr x8, [sp, #16]
add x8, x8, #2
str x8, [sp, #24]
ldr x0, [sp, #24]
ldur x1, [x29, #-8]
ldr x2, [sp, #8]
mov x3, #-1
bl ___memcpy_chk
ldr x0, [sp, #16]
ldr x1, [sp]
bl _mhandle_mark_corrupt
ldr x0, [sp, #24]
ldr x1, [sp, #8]
ldur x2, [x29, #-16]
mov w3, #1
bl _mhandle_hash_table_insert
ldr x0, [sp, #24]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.globl ___xmalloc ; -- Begin function __xmalloc
.p2align 2
___xmalloc: ; @__xmalloc
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x0, [x29, #-8]
bl _malloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB12_2
b LBB12_1
LBB12_1:
ldr x0, [sp, #16]
bl _mhandle_out_of_memory
b LBB12_2
LBB12_2:
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___xcalloc ; -- Begin function __xcalloc
.p2align 2
___xcalloc: ; @__xcalloc
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _calloc
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB13_2
b LBB13_1
LBB13_1:
ldr x0, [sp, #8]
bl _mhandle_out_of_memory
b LBB13_2
LBB13_2:
ldr x0, [sp]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___xrealloc ; -- Begin function __xrealloc
.p2align 2
___xrealloc: ; @__xrealloc
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
bl _realloc
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
ldr x0, [sp, #8]
bl _mhandle_out_of_memory
b LBB14_2
LBB14_2:
ldr x0, [sp]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___xstrdup ; -- Begin function __xstrdup
.p2align 2
___xstrdup: ; @__xstrdup
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
ldur x0, [x29, #-8]
bl _strdup
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
ldr x0, [sp, #16]
bl _mhandle_out_of_memory
b LBB15_2
LBB15_2:
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___mhandle_done ; -- Begin function __mhandle_done
.p2align 2
___mhandle_done: ; @__mhandle_done
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB16_1
LBB16_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-4]
adrp x9, _mhandle_hash_table_size@PAGE
ldr w9, [x9, _mhandle_hash_table_size@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB16_7
b LBB16_2
LBB16_2: ; in Loop: Header=BB16_1 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldursw x9, [x29, #-4]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
lsr w8, w8, #1
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, eq
tbnz w8, #0, LBB16_5
b LBB16_3
LBB16_3: ; in Loop: Header=BB16_1 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldursw x9, [x29, #-4]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, ne
tbnz w8, #0, LBB16_5
b LBB16_4
LBB16_4: ; in Loop: Header=BB16_1 Depth=1
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldursw x9, [x29, #-4]
add x8, x8, x9, lsl #5
ldr x8, [x8, #16]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
b LBB16_5
LBB16_5: ; in Loop: Header=BB16_1 Depth=1
b LBB16_6
LBB16_6: ; in Loop: Header=BB16_1 Depth=1
ldur w8, [x29, #-4]
add w8, w8, #1
stur w8, [x29, #-4]
b LBB16_1
LBB16_7:
adrp x8, _mhandle_hash_table_count@PAGE
ldr w8, [x8, _mhandle_hash_table_count@PAGEOFF]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_9
b LBB16_8
LBB16_8:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x8, _mhandle_hash_table_count@PAGE
ldr w8, [x8, _mhandle_hash_table_count@PAGEOFF]
; implicit-def: $x10
mov x10, x8
adrp x8, _mhandle_mem_used@PAGE
ldr x8, [x8, _mhandle_mem_used@PAGEOFF]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
b LBB16_9
LBB16_9:
adrp x8, _mhandle_hash_table_count@PAGE
ldr w8, [x8, _mhandle_hash_table_count@PAGEOFF]
subs w8, w8, #0
cset w8, ne
mov w9, #1
stur w9, [x29, #-8] ; 4-byte Folded Spill
tbnz w8, #0, LBB16_11
b LBB16_10
LBB16_10:
adrp x8, _mhandle_mem_used@PAGE
ldr x8, [x8, _mhandle_mem_used@PAGEOFF]
subs x8, x8, #0
cset w8, eq
stur w8, [x29, #-8] ; 4-byte Folded Spill
b LBB16_11
LBB16_11:
ldur w8, [x29, #-8] ; 4-byte Folded Reload
eor w9, w8, #0x1
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB16_13
b LBB16_12
LBB16_12:
adrp x0, l___func__.__mhandle_done@PAGE
add x0, x0, l___func__.__mhandle_done@PAGEOFF
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
mov w2, #497
adrp x3, l_.str.6@PAGE
add x3, x3, l_.str.6@PAGEOFF
bl ___assert_rtn
LBB16_13:
b LBB16_14
LBB16_14:
adrp x8, _mhandle_hash_table@PAGE
ldr x0, [x8, _mhandle_hash_table@PAGEOFF]
bl _free
adrp x8, _mhandle_initialized@PAGE
str wzr, [x8, _mhandle_initialized@PAGEOFF]
adrp x8, _mhandle_mem_used@PAGE
str xzr, [x8, _mhandle_mem_used@PAGEOFF]
adrp x8, _mhandle_hash_table_count@PAGE
str wzr, [x8, _mhandle_hash_table_count@PAGEOFF]
adrp x8, _mhandle_hash_table_size@PAGE
str wzr, [x8, _mhandle_hash_table_size@PAGEOFF]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___mhandle_check ; -- Begin function __mhandle_check
.p2align 2
___mhandle_check: ; @__mhandle_check
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str wzr, [sp, #16]
stur wzr, [x29, #-12]
b LBB17_1
LBB17_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-12]
adrp x9, _mhandle_hash_table_size@PAGE
ldr w9, [x9, _mhandle_hash_table_size@PAGEOFF]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB17_8
b LBB17_2
LBB17_2: ; in Loop: Header=BB17_1 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
lsr w8, w8, #1
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, eq
tbnz w8, #0, LBB17_6
b LBB17_3
LBB17_3: ; in Loop: Header=BB17_1 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, ne
tbnz w8, #0, LBB17_6
b LBB17_4
LBB17_4: ; in Loop: Header=BB17_1 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
lsr w8, w8, #2
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, eq
tbnz w8, #0, LBB17_6
b LBB17_5
LBB17_5: ; in Loop: Header=BB17_1 Depth=1
adrp x8, _mhandle_hash_table@PAGE
ldr x9, [x8, _mhandle_hash_table@PAGEOFF]
ldursw x10, [x29, #-12]
lsl x10, x10, #5
ldr x9, [x9, x10]
subs x0, x9, #2
ldr x9, [x8, _mhandle_hash_table@PAGEOFF]
ldursw x10, [x29, #-12]
add x9, x9, x10, lsl #5
ldr x1, [x9, #8]
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
ldursw x9, [x29, #-12]
add x8, x8, x9, lsl #5
ldr x2, [x8, #16]
bl _mhandle_check_corrupt
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB17_6
LBB17_6: ; in Loop: Header=BB17_1 Depth=1
b LBB17_7
LBB17_7: ; in Loop: Header=BB17_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB17_1
LBB17_8:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x1, l_.str.7@PAGE
add x1, x1, l_.str.7@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl ___mhandle_used_memory ; -- Begin function __mhandle_used_memory
.p2align 2
___mhandle_used_memory: ; @__mhandle_used_memory
.cfi_startproc
; %bb.0:
adrp x8, _mhandle_mem_used@PAGE
ldr x0, [x8, _mhandle_mem_used@PAGEOFF]
ret
.cfi_endproc
; -- End function
.globl ___mhandle_register_ptr ; -- Begin function __mhandle_register_ptr
.p2align 2
___mhandle_register_ptr: ; @__mhandle_register_ptr
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
str x1, [sp, #16]
str x2, [sp, #8]
ldur x0, [x29, #-8]
ldr x1, [sp, #16]
ldr x2, [sp, #8]
mov w3, #0
bl _mhandle_hash_table_insert
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function mhandle_hash_table_grow
_mhandle_hash_table_grow: ; @mhandle_hash_table_grow
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, _mhandle_hash_table_size@PAGE
ldr w9, [x8, _mhandle_hash_table_size@PAGEOFF]
stur w9, [x29, #-4]
adrp x9, _mhandle_hash_table@PAGE
str x9, [sp, #8] ; 8-byte Folded Spill
ldr x9, [x9, _mhandle_hash_table@PAGEOFF]
str x9, [sp, #16]
ldr w9, [x8, _mhandle_hash_table_size@PAGEOFF]
lsl w9, w9, #1
str w9, [x8, _mhandle_hash_table_size@PAGEOFF]
ldrsw x0, [x8, _mhandle_hash_table_size@PAGEOFF]
mov x1, #32
bl _calloc
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [x8, _mhandle_hash_table@PAGEOFF]
ldr x8, [x8, _mhandle_hash_table@PAGEOFF]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB20_2
b LBB20_1
LBB20_1:
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _mhandle_out_of_memory
b LBB20_2
LBB20_2:
stur wzr, [x29, #-8]
b LBB20_3
LBB20_3: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-8]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB20_9
b LBB20_4
LBB20_4: ; in Loop: Header=BB20_3 Depth=1
ldr x8, [sp, #16]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
lsr w8, w8, #1
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, eq
tbnz w8, #0, LBB20_7
b LBB20_5
LBB20_5: ; in Loop: Header=BB20_3 Depth=1
ldr x8, [sp, #16]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
and w8, w8, #0x1
ands w8, w8, #0xff
cset w8, ne
tbnz w8, #0, LBB20_7
b LBB20_6
LBB20_6: ; in Loop: Header=BB20_3 Depth=1
adrp x9, _mhandle_hash_table_count@PAGE
ldr w8, [x9, _mhandle_hash_table_count@PAGEOFF]
subs w8, w8, #1
str w8, [x9, _mhandle_hash_table_count@PAGEOFF]
ldr x8, [sp, #16]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #5
ldr x10, [x8, #8]
adrp x9, _mhandle_mem_used@PAGE
ldr x8, [x9, _mhandle_mem_used@PAGEOFF]
subs x8, x8, x10
str x8, [x9, _mhandle_mem_used@PAGEOFF]
ldr x8, [sp, #16]
ldursw x9, [x29, #-8]
lsl x9, x9, #5
ldr x0, [x8, x9]
ldr x8, [sp, #16]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #5
ldr x1, [x8, #8]
ldr x8, [sp, #16]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #5
ldr x2, [x8, #16]
ldr x8, [sp, #16]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #5
ldrb w8, [x8, #24]
lsr w8, w8, #2
and w8, w8, #0x1
and w3, w8, #0xff
bl _mhandle_hash_table_insert
b LBB20_7
LBB20_7: ; in Loop: Header=BB20_3 Depth=1
b LBB20_8
LBB20_8: ; in Loop: Header=BB20_3 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB20_3
LBB20_9:
ldr x0, [sp, #16]
bl _free
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\n%s: free: invalid pointer %p\n"
l_.str.1: ; @.str.1
.asciz "\n%s: realloc: invalid pointer %p\n"
l_.str.2: ; @.str.2
.asciz "\n%s: realloc: not supported for pointers not allocated\n\twith malloc/calloc/realloc/strdup (%p)"
.zerofill __DATA,__bss,_mhandle_hash_table_size,4,2 ; @mhandle_hash_table_size
.zerofill __DATA,__bss,_mhandle_hash_table,8,3 ; @mhandle_hash_table
l_.str.3: ; @.str.3
.asciz "\nwarning: %s: pointer not freed"
.zerofill __DATA,__bss,_mhandle_hash_table_count,4,2 ; @mhandle_hash_table_count
l_.str.4: ; @.str.4
.asciz "\n** %d pointers not freed (%lu bytes) **\n"
.zerofill __DATA,__bss,_mhandle_mem_used,8,3 ; @mhandle_mem_used
l___func__.__mhandle_done: ; @__func__.__mhandle_done
.asciz "__mhandle_done"
l_.str.5: ; @.str.5
.asciz "141755.c"
l_.str.6: ; @.str.6
.asciz "mhandle_hash_table_count || !mhandle_mem_used"
.zerofill __DATA,__bss,_mhandle_initialized,4,2 ; @mhandle_initialized
l_.str.7: ; @.str.7
.asciz "libmhandle: %d pointers checked for corruption\n"
l_.str.8: ; @.str.8
.asciz "mhandle_init"
l_.str.9: ; @.str.9
.asciz "\nfatal: %s: memory corrupted %s block (%p)\n"
l_.str.10: ; @.str.10
.asciz "before"
l_.str.11: ; @.str.11
.asciz "after"
l_.str.12: ; @.str.12
.asciz "\tprev block: %s (%p)\n"
l_.str.13: ; @.str.13
.asciz "\tnext block: %s (%p)\n"
l_.str.14: ; @.str.14
.asciz "\nfatal: %s: out of memory\n"
l_.str.15: ; @.str.15
.asciz "lib mhandle (resizing hash table)"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _mhandle_free ## -- Begin function mhandle_free
.p2align 4, 0x90
_mhandle_free: ## @mhandle_free
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpq $0, -8(%rbp)
jne LBB0_2
## %bb.1:
jmp LBB0_8
LBB0_2:
callq _mhandle_init
movq -8(%rbp), %rdi
callq _mhandle_hash_table_get
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB0_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
movq -8(%rbp), %rcx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _abort
LBB0_4:
movq -24(%rbp), %rax
movb 24(%rax), %al
shrb $2, %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB0_6
## %bb.5:
movq -8(%rbp), %rax
addq $-2, %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq 8(%rax), %rax
addq $4, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
movq -24(%rbp), %rax
movq 16(%rax), %rdx
callq _mhandle_check_corrupt
movq -32(%rbp), %rdi
movq -40(%rbp), %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -32(%rbp), %rdi
callq _free
jmp LBB0_7
LBB0_6:
movq -8(%rbp), %rdi
movq -24(%rbp), %rax
movq 8(%rax), %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -8(%rbp), %rdi
callq _free
LBB0_7:
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _mhandle_hash_table_remove
LBB0_8:
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mhandle_init
_mhandle_init: ## @mhandle_init
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
cmpl $0, _mhandle_initialized(%rip)
je LBB1_2
## %bb.1:
jmp LBB1_4
LBB1_2:
movl $1, _mhandle_initialized(%rip)
movl $1000, %edi ## imm = 0x3E8
movl $32, %esi
callq _calloc
movq %rax, _mhandle_hash_table(%rip)
movl $1000, _mhandle_hash_table_size(%rip) ## imm = 0x3E8
movl $0, _mhandle_hash_table_count(%rip)
cmpq $0, _mhandle_hash_table(%rip)
jne LBB1_4
## %bb.3:
leaq L_.str.8(%rip), %rdi
callq _mhandle_out_of_memory
LBB1_4:
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mhandle_hash_table_get
_mhandle_hash_table_get: ## @mhandle_hash_table_get
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movslq _mhandle_hash_table_size(%rip), %rcx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movl %edx, %eax
movl %eax, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -20(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movb $1, %al
cmpq -16(%rbp), %rcx
movb %al, -21(%rbp) ## 1-byte Spill
jne LBB2_4
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -20(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
shrb $1, %al
andb $1, %al
movzbl %al, %ecx
movb $1, %al
cmpl $0, %ecx
movb %al, -21(%rbp) ## 1-byte Spill
je LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -20(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
setne %al
movb %al, -21(%rbp) ## 1-byte Spill
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movb -21(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB2_5
jmp LBB2_8
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -20(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
shrb $1, %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB2_7
## %bb.6:
movq $0, -8(%rbp)
jmp LBB2_9
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
cltd
idivl _mhandle_hash_table_size(%rip)
movl %edx, -20(%rbp)
jmp LBB2_1
LBB2_8:
movq _mhandle_hash_table(%rip), %rax
movslq -20(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq %rax, -8(%rbp)
LBB2_9:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mhandle_check_corrupt
_mhandle_check_corrupt: ## @mhandle_check_corrupt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rax
movq %rax, -40(%rbp)
movl $0, -44(%rbp)
movq $0, -32(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpq $2, -32(%rbp)
jae LBB3_6
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -40(%rbp), %rax
movq -32(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $90, %eax
je LBB3_4
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl $1, -44(%rbp)
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_5
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB3_1
LBB3_6:
movq $0, -32(%rbp)
LBB3_7: ## =>This Inner Loop Header: Depth=1
cmpq $2, -32(%rbp)
jae LBB3_12
## %bb.8: ## in Loop: Header=BB3_7 Depth=1
movq -40(%rbp), %rax
movq -16(%rbp), %rcx
subq $2, %rcx
addq -32(%rbp), %rcx
movzbl (%rax,%rcx), %eax
cmpl $165, %eax
je LBB3_10
## %bb.9: ## in Loop: Header=BB3_7 Depth=1
movl $2, -44(%rbp)
LBB3_10: ## in Loop: Header=BB3_7 Depth=1
jmp LBB3_11
LBB3_11: ## in Loop: Header=BB3_7 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB3_7
LBB3_12:
cmpl $0, -44(%rbp)
jne LBB3_14
## %bb.13:
addq $64, %rsp
popq %rbp
retq
LBB3_14:
movl $-1, -48(%rbp)
movl $-1, -52(%rbp)
movq -8(%rbp), %rax
addq $2, %rax
movq %rax, -64(%rbp)
movq $0, -32(%rbp)
LBB3_15: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
movslq _mhandle_hash_table_size(%rip), %rcx
cmpq %rcx, %rax
jae LBB3_29
## %bb.16: ## in Loop: Header=BB3_15 Depth=1
movq _mhandle_hash_table(%rip), %rax
movq -32(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
shrb $1, %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB3_27
## %bb.17: ## in Loop: Header=BB3_15 Depth=1
movq _mhandle_hash_table(%rip), %rax
movq -32(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB3_27
## %bb.18: ## in Loop: Header=BB3_15 Depth=1
movq _mhandle_hash_table(%rip), %rax
movq -32(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rax
cmpq -64(%rbp), %rax
jae LBB3_22
## %bb.19: ## in Loop: Header=BB3_15 Depth=1
cmpl $-1, -48(%rbp)
je LBB3_21
## %bb.20: ## in Loop: Header=BB3_15 Depth=1
movq _mhandle_hash_table(%rip), %rax
movq -32(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq _mhandle_hash_table(%rip), %rcx
movslq -48(%rbp), %rdx
shlq $5, %rdx
addq %rdx, %rcx
cmpq (%rcx), %rax
jbe LBB3_22
LBB3_21: ## in Loop: Header=BB3_15 Depth=1
movq -32(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -48(%rbp)
LBB3_22: ## in Loop: Header=BB3_15 Depth=1
movq _mhandle_hash_table(%rip), %rax
movq -32(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rax
cmpq -64(%rbp), %rax
jbe LBB3_26
## %bb.23: ## in Loop: Header=BB3_15 Depth=1
cmpl $-1, -52(%rbp)
je LBB3_25
## %bb.24: ## in Loop: Header=BB3_15 Depth=1
movq _mhandle_hash_table(%rip), %rax
movq -32(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq _mhandle_hash_table(%rip), %rcx
movslq -52(%rbp), %rdx
shlq $5, %rdx
addq %rdx, %rcx
cmpq (%rcx), %rax
jae LBB3_26
LBB3_25: ## in Loop: Header=BB3_15 Depth=1
movq -32(%rbp), %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -52(%rbp)
LBB3_26: ## in Loop: Header=BB3_15 Depth=1
jmp LBB3_27
LBB3_27: ## in Loop: Header=BB3_15 Depth=1
jmp LBB3_28
LBB3_28: ## in Loop: Header=BB3_15 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB3_15
LBB3_29:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -24(%rbp), %rdx
movl -44(%rbp), %esi
leaq L_.str.11(%rip), %rcx
leaq L_.str.10(%rip), %rax
cmpl $1, %esi
cmoveq %rax, %rcx
movq -64(%rbp), %r8
leaq L_.str.9(%rip), %rsi
movb $0, %al
callq _fprintf
cmpl $0, -48(%rbp)
jl LBB3_31
## %bb.30:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _mhandle_hash_table(%rip), %rax
movslq -48(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq 16(%rax), %rdx
movq _mhandle_hash_table(%rip), %rax
movslq -48(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rcx
leaq L_.str.12(%rip), %rsi
movb $0, %al
callq _fprintf
LBB3_31:
cmpl $0, -52(%rbp)
jl LBB3_33
## %bb.32:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _mhandle_hash_table(%rip), %rax
movslq -52(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq 16(%rax), %rdx
movq _mhandle_hash_table(%rip), %rax
movslq -52(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rcx
leaq L_.str.13(%rip), %rsi
movb $0, %al
callq _fprintf
LBB3_33:
callq _abort
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mhandle_hash_table_remove
_mhandle_hash_table_remove: ## @mhandle_hash_table_remove
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
callq _mhandle_hash_table_get
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB4_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rdx
movq -8(%rbp), %rcx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _abort
LBB4_2:
movq -24(%rbp), %rax
movb 24(%rax), %cl
andb $-2, %cl
orb $1, %cl
movb %cl, 24(%rax)
movq -24(%rbp), %rax
movq 8(%rax), %rcx
movq _mhandle_mem_used(%rip), %rax
subq %rcx, %rax
movq %rax, _mhandle_mem_used(%rip)
movl _mhandle_hash_table_count(%rip), %eax
addl $-1, %eax
movl %eax, _mhandle_hash_table_count(%rip)
movq -24(%rbp), %rax
movq 8(%rax), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mhandle_malloc ## -- Begin function mhandle_malloc
.p2align 4, 0x90
_mhandle_malloc: ## @mhandle_malloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
callq _mhandle_init
movq -8(%rbp), %rax
addq $4, %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rdi
callq _malloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB5_2
## %bb.1:
movq -16(%rbp), %rdi
callq _mhandle_out_of_memory
LBB5_2:
movq -32(%rbp), %rax
addq $2, %rax
movq %rax, -24(%rbp)
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
callq _mhandle_mark_corrupt
movq -24(%rbp), %rdi
movq -8(%rbp), %rsi
movq -16(%rbp), %rdx
movl $1, %ecx
callq _mhandle_hash_table_insert
movq -24(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mhandle_out_of_memory
_mhandle_out_of_memory: ## @mhandle_out_of_memory
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str.14(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _abort
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mhandle_mark_corrupt
_mhandle_mark_corrupt: ## @mhandle_mark_corrupt
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rax
movq %rax, -32(%rbp)
movq $0, -24(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
cmpq $2, -24(%rbp)
jae LBB7_4
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -32(%rbp), %rax
movq -24(%rbp), %rcx
movb $90, (%rax,%rcx)
## %bb.3: ## in Loop: Header=BB7_1 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB7_1
LBB7_4:
movq $0, -24(%rbp)
LBB7_5: ## =>This Inner Loop Header: Depth=1
cmpq $2, -24(%rbp)
jae LBB7_8
## %bb.6: ## in Loop: Header=BB7_5 Depth=1
movq -32(%rbp), %rax
movq -16(%rbp), %rcx
subq $2, %rcx
addq -24(%rbp), %rcx
movb $-91, (%rax,%rcx)
## %bb.7: ## in Loop: Header=BB7_5 Depth=1
movq -24(%rbp), %rax
addq $1, %rax
movq %rax, -24(%rbp)
jmp LBB7_5
LBB7_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mhandle_hash_table_insert
_mhandle_hash_table_insert: ## @mhandle_hash_table_insert
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movl %ecx, -28(%rbp)
movl _mhandle_hash_table_count(%rip), %eax
movl %eax, -48(%rbp) ## 4-byte Spill
movl _mhandle_hash_table_size(%rip), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movl -48(%rbp), %eax ## 4-byte Reload
cmpl %ecx, %eax
jl LBB8_2
## %bb.1:
callq _mhandle_hash_table_grow
LBB8_2:
movq -8(%rbp), %rax
movslq _mhandle_hash_table_size(%rip), %rcx
xorl %edx, %edx
## kill: def $rdx killed $edx
divq %rcx
movl %edx, %eax
movl %eax, -44(%rbp)
LBB8_3: ## =>This Inner Loop Header: Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -44(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
shrb $1, %al
andb $1, %al
movzbl %al, %ecx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, %ecx
movb %al, -49(%rbp) ## 1-byte Spill
je LBB8_5
## %bb.4: ## in Loop: Header=BB8_3 Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -44(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
setne %al
xorb $-1, %al
movb %al, -49(%rbp) ## 1-byte Spill
LBB8_5: ## in Loop: Header=BB8_3 Depth=1
movb -49(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB8_6
jmp LBB8_7
LBB8_6: ## in Loop: Header=BB8_3 Depth=1
movl -44(%rbp), %eax
addl $1, %eax
cltd
idivl _mhandle_hash_table_size(%rip)
movl %edx, -44(%rbp)
jmp LBB8_3
LBB8_7:
movq _mhandle_hash_table(%rip), %rax
movslq -44(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq %rax, -40(%rbp)
movq -8(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, (%rax)
movq -16(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rcx
movq -40(%rbp), %rax
movq %rcx, 16(%rax)
movq -40(%rbp), %rax
movb 24(%rax), %cl
andb $-3, %cl
orb $2, %cl
movb %cl, 24(%rax)
movq -40(%rbp), %rax
movb 24(%rax), %cl
andb $-2, %cl
orb $0, %cl
movb %cl, 24(%rax)
movl -28(%rbp), %ecx
movq -40(%rbp), %rax
movb %cl, %dl
movb 24(%rax), %cl
andb $1, %dl
shlb $2, %dl
andb $-5, %cl
orb %dl, %cl
movb %cl, 24(%rax)
movq -16(%rbp), %rax
addq _mhandle_mem_used(%rip), %rax
movq %rax, _mhandle_mem_used(%rip)
movl _mhandle_hash_table_count(%rip), %eax
addl $1, %eax
movl %eax, _mhandle_hash_table_count(%rip)
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mhandle_calloc ## -- Begin function mhandle_calloc
.p2align 4, 0x90
_mhandle_calloc: ## @mhandle_calloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
callq _mhandle_init
movq -8(%rbp), %rax
imulq -16(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
addq $4, %rax
movq %rax, -56(%rbp)
movq -56(%rbp), %rsi
movl $1, %edi
callq _calloc
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB9_2
## %bb.1:
movq -24(%rbp), %rdi
callq _mhandle_out_of_memory
LBB9_2:
movq -40(%rbp), %rax
addq $2, %rax
movq %rax, -32(%rbp)
movq -40(%rbp), %rdi
movq -56(%rbp), %rsi
callq _mhandle_mark_corrupt
movq -32(%rbp), %rdi
movq -48(%rbp), %rsi
movq -24(%rbp), %rdx
movl $1, %ecx
callq _mhandle_hash_table_insert
movq -32(%rbp), %rax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mhandle_realloc ## -- Begin function mhandle_realloc
.p2align 4, 0x90
_mhandle_realloc: ## @mhandle_realloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
cmpq $0, -16(%rbp)
jne LBB10_2
## %bb.1:
movq -24(%rbp), %rdi
movq -32(%rbp), %rsi
callq _mhandle_malloc
movq %rax, -8(%rbp)
jmp LBB10_11
LBB10_2:
cmpq $0, -24(%rbp)
jne LBB10_4
## %bb.3:
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
callq _mhandle_free
movq $0, -8(%rbp)
jmp LBB10_11
LBB10_4:
callq _mhandle_init
movq -16(%rbp), %rdi
callq _mhandle_hash_table_get
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
jne LBB10_6
## %bb.5:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
movq -16(%rbp), %rcx
leaq L_.str.1(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _abort
LBB10_6:
movq -56(%rbp), %rax
movb 24(%rax), %al
shrb $2, %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB10_8
## %bb.7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -32(%rbp), %rdx
movq -16(%rbp), %rcx
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _abort
LBB10_8:
movq -16(%rbp), %rax
addq $-2, %rax
movq %rax, -40(%rbp)
movq -56(%rbp), %rax
movq 8(%rax), %rax
addq $4, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rdi
movq -48(%rbp), %rsi
movq -32(%rbp), %rdx
callq _mhandle_check_corrupt
movq -16(%rbp), %rdi
movq -32(%rbp), %rsi
callq _mhandle_hash_table_remove
movq -24(%rbp), %rax
addq $4, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rdi
movq -48(%rbp), %rsi
callq _realloc
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB10_10
## %bb.9:
movq -32(%rbp), %rdi
callq _mhandle_out_of_memory
LBB10_10:
movq -40(%rbp), %rax
addq $2, %rax
movq %rax, -16(%rbp)
movq -40(%rbp), %rdi
movq -48(%rbp), %rsi
callq _mhandle_mark_corrupt
movq -16(%rbp), %rdi
movq -24(%rbp), %rsi
movq -32(%rbp), %rdx
movl $1, %ecx
callq _mhandle_hash_table_insert
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB10_11:
movq -8(%rbp), %rax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _mhandle_strdup ## -- Begin function mhandle_strdup
.p2align 4, 0x90
_mhandle_strdup: ## @mhandle_strdup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
callq _strlen
addq $1, %rax
movq %rax, -40(%rbp)
callq _mhandle_init
movq -8(%rbp), %rdi
callq _strlen
addq $1, %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
addq $4, %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rdi
callq _malloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB11_2
## %bb.1:
movq -16(%rbp), %rdi
callq _mhandle_out_of_memory
LBB11_2:
movq -32(%rbp), %rax
addq $2, %rax
movq %rax, -24(%rbp)
movq -24(%rbp), %rdi
movq -8(%rbp), %rsi
movq -40(%rbp), %rdx
movq $-1, %rcx
callq ___memcpy_chk
movq -32(%rbp), %rdi
movq -48(%rbp), %rsi
callq _mhandle_mark_corrupt
movq -24(%rbp), %rdi
movq -40(%rbp), %rsi
movq -16(%rbp), %rdx
movl $1, %ecx
callq _mhandle_hash_table_insert
movq -24(%rbp), %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___xmalloc ## -- Begin function __xmalloc
.p2align 4, 0x90
___xmalloc: ## @__xmalloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
callq _malloc
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB12_2
## %bb.1:
movq -16(%rbp), %rdi
callq _mhandle_out_of_memory
LBB12_2:
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___xcalloc ## -- Begin function __xcalloc
.p2align 4, 0x90
___xcalloc: ## @__xcalloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _calloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB13_2
## %bb.1:
movq -24(%rbp), %rdi
callq _mhandle_out_of_memory
LBB13_2:
movq -32(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___xrealloc ## -- Begin function __xrealloc
.p2align 4, 0x90
___xrealloc: ## @__xrealloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
callq _realloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB14_2
## %bb.1:
movq -24(%rbp), %rdi
callq _mhandle_out_of_memory
LBB14_2:
movq -32(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___xstrdup ## -- Begin function __xstrdup
.p2align 4, 0x90
___xstrdup: ## @__xstrdup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -8(%rbp), %rdi
callq _strdup
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
jne LBB15_2
## %bb.1:
movq -16(%rbp), %rdi
callq _mhandle_out_of_memory
LBB15_2:
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___mhandle_done ## -- Begin function __mhandle_done
.p2align 4, 0x90
___mhandle_done: ## @__mhandle_done
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
LBB16_1: ## =>This Inner Loop Header: Depth=1
movl -4(%rbp), %eax
cmpl _mhandle_hash_table_size(%rip), %eax
jge LBB16_7
## %bb.2: ## in Loop: Header=BB16_1 Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -4(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
shrb $1, %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB16_5
## %bb.3: ## in Loop: Header=BB16_1 Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -4(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB16_5
## %bb.4: ## in Loop: Header=BB16_1 Depth=1
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq _mhandle_hash_table(%rip), %rax
movslq -4(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq 16(%rax), %rdx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
LBB16_5: ## in Loop: Header=BB16_1 Depth=1
jmp LBB16_6
LBB16_6: ## in Loop: Header=BB16_1 Depth=1
movl -4(%rbp), %eax
addl $1, %eax
movl %eax, -4(%rbp)
jmp LBB16_1
LBB16_7:
cmpl $0, _mhandle_hash_table_count(%rip)
je LBB16_9
## %bb.8:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl _mhandle_hash_table_count(%rip), %edx
movq _mhandle_mem_used(%rip), %rcx
leaq L_.str.4(%rip), %rsi
movb $0, %al
callq _fprintf
LBB16_9:
movb $1, %al
cmpl $0, _mhandle_hash_table_count(%rip)
movb %al, -5(%rbp) ## 1-byte Spill
jne LBB16_11
## %bb.10:
cmpq $0, _mhandle_mem_used(%rip)
setne %al
xorb $-1, %al
movb %al, -5(%rbp) ## 1-byte Spill
LBB16_11:
movb -5(%rbp), %al ## 1-byte Reload
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB16_13
## %bb.12:
leaq L___func__.__mhandle_done(%rip), %rdi
leaq L_.str.5(%rip), %rsi
leaq L_.str.6(%rip), %rcx
movl $497, %edx ## imm = 0x1F1
callq ___assert_rtn
LBB16_13:
jmp LBB16_14
LBB16_14:
movq _mhandle_hash_table(%rip), %rdi
callq _free
movl $0, _mhandle_initialized(%rip)
movq $0, _mhandle_mem_used(%rip)
movl $0, _mhandle_hash_table_count(%rip)
movl $0, _mhandle_hash_table_size(%rip)
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___mhandle_check ## -- Begin function __mhandle_check
.p2align 4, 0x90
___mhandle_check: ## @__mhandle_check
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $0, -16(%rbp)
movl $0, -12(%rbp)
LBB17_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl _mhandle_hash_table_size(%rip), %eax
jge LBB17_8
## %bb.2: ## in Loop: Header=BB17_1 Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -12(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
shrb $1, %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB17_6
## %bb.3: ## in Loop: Header=BB17_1 Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -12(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB17_6
## %bb.4: ## in Loop: Header=BB17_1 Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -12(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
shrb $2, %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB17_6
## %bb.5: ## in Loop: Header=BB17_1 Depth=1
movq _mhandle_hash_table(%rip), %rax
movslq -12(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rdi
addq $-2, %rdi
movq _mhandle_hash_table(%rip), %rax
movslq -12(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq 8(%rax), %rsi
movq _mhandle_hash_table(%rip), %rax
movslq -12(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq 16(%rax), %rdx
callq _mhandle_check_corrupt
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
LBB17_6: ## in Loop: Header=BB17_1 Depth=1
jmp LBB17_7
LBB17_7: ## in Loop: Header=BB17_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB17_1
LBB17_8:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movl -16(%rbp), %edx
leaq L_.str.7(%rip), %rsi
movb $0, %al
callq _fprintf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___mhandle_used_memory ## -- Begin function __mhandle_used_memory
.p2align 4, 0x90
___mhandle_used_memory: ## @__mhandle_used_memory
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq _mhandle_mem_used(%rip), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl ___mhandle_register_ptr ## -- Begin function __mhandle_register_ptr
.p2align 4, 0x90
___mhandle_register_ptr: ## @__mhandle_register_ptr
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq %rdx, -24(%rbp)
movq -8(%rbp), %rdi
movq -16(%rbp), %rsi
movq -24(%rbp), %rdx
xorl %ecx, %ecx
callq _mhandle_hash_table_insert
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function mhandle_hash_table_grow
_mhandle_hash_table_grow: ## @mhandle_hash_table_grow
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl _mhandle_hash_table_size(%rip), %eax
movl %eax, -4(%rbp)
movq _mhandle_hash_table(%rip), %rax
movq %rax, -16(%rbp)
movl _mhandle_hash_table_size(%rip), %eax
shll $1, %eax
movl %eax, _mhandle_hash_table_size(%rip)
movslq _mhandle_hash_table_size(%rip), %rdi
movl $32, %esi
callq _calloc
movq %rax, _mhandle_hash_table(%rip)
cmpq $0, _mhandle_hash_table(%rip)
jne LBB20_2
## %bb.1:
leaq L_.str.15(%rip), %rdi
callq _mhandle_out_of_memory
LBB20_2:
movl $0, -8(%rbp)
LBB20_3: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %eax
cmpl -4(%rbp), %eax
jge LBB20_9
## %bb.4: ## in Loop: Header=BB20_3 Depth=1
movq -16(%rbp), %rax
movslq -8(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
shrb $1, %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
je LBB20_7
## %bb.5: ## in Loop: Header=BB20_3 Depth=1
movq -16(%rbp), %rax
movslq -8(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
andb $1, %al
movzbl %al, %eax
cmpl $0, %eax
jne LBB20_7
## %bb.6: ## in Loop: Header=BB20_3 Depth=1
movl _mhandle_hash_table_count(%rip), %eax
addl $-1, %eax
movl %eax, _mhandle_hash_table_count(%rip)
movq -16(%rbp), %rax
movslq -8(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq 8(%rax), %rcx
movq _mhandle_mem_used(%rip), %rax
subq %rcx, %rax
movq %rax, _mhandle_mem_used(%rip)
movq -16(%rbp), %rax
movslq -8(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movslq -8(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq 8(%rax), %rsi
movq -16(%rbp), %rax
movslq -8(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movq 16(%rax), %rdx
movq -16(%rbp), %rax
movslq -8(%rbp), %rcx
shlq $5, %rcx
addq %rcx, %rax
movb 24(%rax), %al
shrb $2, %al
andb $1, %al
movzbl %al, %ecx
callq _mhandle_hash_table_insert
LBB20_7: ## in Loop: Header=BB20_3 Depth=1
jmp LBB20_8
LBB20_8: ## in Loop: Header=BB20_3 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB20_3
LBB20_9:
movq -16(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\n%s: free: invalid pointer %p\n"
L_.str.1: ## @.str.1
.asciz "\n%s: realloc: invalid pointer %p\n"
L_.str.2: ## @.str.2
.asciz "\n%s: realloc: not supported for pointers not allocated\n\twith malloc/calloc/realloc/strdup (%p)"
.zerofill __DATA,__bss,_mhandle_hash_table_size,4,2 ## @mhandle_hash_table_size
.zerofill __DATA,__bss,_mhandle_hash_table,8,3 ## @mhandle_hash_table
L_.str.3: ## @.str.3
.asciz "\nwarning: %s: pointer not freed"
.zerofill __DATA,__bss,_mhandle_hash_table_count,4,2 ## @mhandle_hash_table_count
L_.str.4: ## @.str.4
.asciz "\n** %d pointers not freed (%lu bytes) **\n"
.zerofill __DATA,__bss,_mhandle_mem_used,8,3 ## @mhandle_mem_used
L___func__.__mhandle_done: ## @__func__.__mhandle_done
.asciz "__mhandle_done"
L_.str.5: ## @.str.5
.asciz "141755.c"
L_.str.6: ## @.str.6
.asciz "mhandle_hash_table_count || !mhandle_mem_used"
.zerofill __DATA,__bss,_mhandle_initialized,4,2 ## @mhandle_initialized
L_.str.7: ## @.str.7
.asciz "libmhandle: %d pointers checked for corruption\n"
L_.str.8: ## @.str.8
.asciz "mhandle_init"
L_.str.9: ## @.str.9
.asciz "\nfatal: %s: memory corrupted %s block (%p)\n"
L_.str.10: ## @.str.10
.asciz "before"
L_.str.11: ## @.str.11
.asciz "after"
L_.str.12: ## @.str.12
.asciz "\tprev block: %s (%p)\n"
L_.str.13: ## @.str.13
.asciz "\tnext block: %s (%p)\n"
L_.str.14: ## @.str.14
.asciz "\nfatal: %s: out of memory\n"
L_.str.15: ## @.str.15
.asciz "lib mhandle (resizing hash table)"
.subsections_via_symbols
| the_stack_data/141755.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_str_is_alpha ; -- Begin function ft_str_is_alpha
.p2align 2
_ft_str_is_alpha: ; @ft_str_is_alpha
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
mov w8, #1
str w8, [sp]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #65
cset w8, lt
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #90
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #97
cset w8, lt
tbnz w8, #0, LBB0_7
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
subs w8, w8, #122
cset w8, gt
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp]
lsr w8, w8, #0
str w8, [sp]
b LBB0_8
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
str wzr, [sp]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_9:
ldr w0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
stur x8, [x29, #-8]
ldur x0, [x29, #-8]
bl _ft_str_is_alpha
stur w0, [x29, #-12]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Buenas"
l_.str.1: ; @.str.1
.asciz "%i"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_str_is_alpha ## -- Begin function ft_str_is_alpha
.p2align 4, 0x90
_ft_str_is_alpha: ## @ft_str_is_alpha
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
movl $1, -16(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $65, %eax
jl LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $90, %eax
jle LBB0_6
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $97, %eax
jl LBB0_7
## %bb.5: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $122, %eax
jg LBB0_7
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
shll $0, %eax
movl %eax, -16(%rbp)
jmp LBB0_8
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl $0, -16(%rbp)
LBB0_8: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_9:
movl -16(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
leaq L_.str(%rip), %rax
movq %rax, -8(%rbp)
movq -8(%rbp), %rdi
callq _ft_str_is_alpha
movl %eax, -12(%rbp)
movl -12(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Buenas"
L_.str.1: ## @.str.1
.asciz "%i"
.subsections_via_symbols
| the_stack_data/479902.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [x9]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
mov w8, #1
stur w8, [x29, #-4]
b LBB0_5
LBB0_2:
ldr x0, [sp, #16]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fscanf
adds w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
mov x9, sp
adrp x8, l_.str@PAGE
add x8, x8, l_.str@PAGEOFF
str x8, [x9]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
b LBB0_4
LBB0_4:
ldr x0, [sp, #16]
bl _fclose
ldur w8, [x29, #-8]
mov w9, #1000
sdiv w10, w8, w9
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
stur wzr, [x29, #-4]
b LBB0_5
LBB0_5:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "/sys/class/thermal/thermal_zone0/temp"
l_.str.1: ; @.str.1
.asciz "r"
l_.str.2: ; @.str.2
.asciz "Failed to open %s\n"
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "Failed to get temperature from %s\n"
l_.str.5: ; @.str.5
.asciz "%d\302\272C\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
leaq L_.str(%rip), %rdx
movb $0, %al
callq _fprintf
movl $1, -4(%rbp)
jmp LBB0_5
LBB0_2:
movq -16(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
leaq -8(%rbp), %rdx
movb $0, %al
callq _fscanf
cmpl $-1, %eax
jne LBB0_4
## %bb.3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.4(%rip), %rsi
leaq L_.str(%rip), %rdx
movb $0, %al
callq _fprintf
LBB0_4:
movq -16(%rbp), %rdi
callq _fclose
movl -8(%rbp), %eax
movl $1000, %ecx ## imm = 0x3E8
cltd
idivl %ecx
movl %eax, %esi
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -4(%rbp)
LBB0_5:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "/sys/class/thermal/thermal_zone0/temp"
L_.str.1: ## @.str.1
.asciz "r"
L_.str.2: ## @.str.2
.asciz "Failed to open %s\n"
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "Failed to get temperature from %s\n"
L_.str.5: ## @.str.5
.asciz "%d\302\272C\n"
.subsections_via_symbols
| the_stack_data/57020.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #36]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #32
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
str wzr, [sp, #28]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #40
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_1
LBB0_4:
ldr w8, [sp, #40]
ldr w9, [sp, #44]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
ldr w8, [sp, #40]
str w8, [sp, #24]
ldr w8, [sp, #44]
str w8, [sp, #20]
b LBB0_7
LBB0_6:
ldr w8, [sp, #44]
str w8, [sp, #24]
ldr w8, [sp, #40]
str w8, [sp, #20]
b LBB0_7
LBB0_7:
mov w8, #2
str w8, [sp, #28]
b LBB0_8
LBB0_8: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
ldr w9, [sp, #32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_9
LBB0_9: ; in Loop: Header=BB0_8 Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #40
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_14
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_8 Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #40
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #24]
str w8, [sp, #20]
ldrsw x9, [sp, #28]
add x8, sp, #40
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #24]
b LBB0_13
LBB0_12: ; in Loop: Header=BB0_8 Depth=1
ldrsw x9, [sp, #28]
add x8, sp, #40
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #20]
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_8 Depth=1
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_8 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_8 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB0_8
LBB0_16:
ldr w9, [sp, #24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr w9, [sp, #20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr w8, [sp, #36]
str w8, [sp, #16] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
bl ___stack_chk_fail
LBB0_18:
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Enter number of elements in array: "
l_.str.1: ; @.str.1
.asciz "%d"
l_.str.2: ; @.str.2
.asciz "Enter your array: "
l_.str.3: ; @.str.3
.asciz "Max: %d\n"
l_.str.4: ; @.str.4
.asciz "Next max: %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -100(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
leaq -104(%rbp), %rsi
movb $0, %al
callq _scanf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -108(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -108(%rbp), %eax
cmpl -104(%rbp), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movslq -108(%rbp), %rax
leaq -96(%rbp), %rsi
shlq $2, %rax
addq %rax, %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
jmp LBB0_1
LBB0_4:
movl -96(%rbp), %eax
cmpl -92(%rbp), %eax
jle LBB0_6
## %bb.5:
movl -96(%rbp), %eax
movl %eax, -112(%rbp)
movl -92(%rbp), %eax
movl %eax, -116(%rbp)
jmp LBB0_7
LBB0_6:
movl -92(%rbp), %eax
movl %eax, -112(%rbp)
movl -96(%rbp), %eax
movl %eax, -116(%rbp)
LBB0_7:
movl $2, -108(%rbp)
LBB0_8: ## =>This Inner Loop Header: Depth=1
movl -108(%rbp), %eax
cmpl -104(%rbp), %eax
jge LBB0_16
## %bb.9: ## in Loop: Header=BB0_8 Depth=1
movslq -108(%rbp), %rax
movl -96(%rbp,%rax,4), %eax
cmpl -116(%rbp), %eax
jle LBB0_14
## %bb.10: ## in Loop: Header=BB0_8 Depth=1
movslq -108(%rbp), %rax
movl -96(%rbp,%rax,4), %eax
cmpl -112(%rbp), %eax
jle LBB0_12
## %bb.11: ## in Loop: Header=BB0_8 Depth=1
movl -112(%rbp), %eax
movl %eax, -116(%rbp)
movslq -108(%rbp), %rax
movl -96(%rbp,%rax,4), %eax
movl %eax, -112(%rbp)
jmp LBB0_13
LBB0_12: ## in Loop: Header=BB0_8 Depth=1
movslq -108(%rbp), %rax
movl -96(%rbp,%rax,4), %eax
movl %eax, -116(%rbp)
LBB0_13: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_14
LBB0_14: ## in Loop: Header=BB0_8 Depth=1
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_8 Depth=1
movl -108(%rbp), %eax
addl $1, %eax
movl %eax, -108(%rbp)
jmp LBB0_8
LBB0_16:
movl -112(%rbp), %esi
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl -116(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movl -100(%rbp), %eax
movl %eax, -120(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_18
## %bb.17:
movl -120(%rbp), %eax ## 4-byte Reload
addq $128, %rsp
popq %rbp
retq
LBB0_18:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Enter number of elements in array: "
L_.str.1: ## @.str.1
.asciz "%d"
L_.str.2: ## @.str.2
.asciz "Enter your array: "
L_.str.3: ## @.str.3
.asciz "Max: %d\n"
L_.str.4: ## @.str.4
.asciz "Next max: %d"
.subsections_via_symbols
| the_stack_data/610.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #5
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "110895.c"
l_.str.1: ; @.str.1
.asciz "false"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $5, %edx
callq ___assert_rtn
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "110895.c"
L_.str.1: ## @.str.1
.asciz "false"
.subsections_via_symbols
| the_stack_data/110895.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w2, #0
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
mov w0, #2
mov w1, #1
bl _socket
str w0, [sp, #12]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_2:
ldr w8, [sp, #12]
str w8, [sp, #8] ; 4-byte Folded Spill
bl _getpid
mov x10, x0
ldr w0, [sp, #8] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
mov w1, #6
bl _fcntl
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_4:
ldr w0, [sp, #12]
bl _close
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _perror
mov w0, #1
bl _exit
LBB0_6:
mov w0, #0
bl _exit
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "socket"
l_.str.1: ; @.str.1
.asciz "fcntl(F_SETOWN)"
l_.str.2: ; @.str.2
.asciz "close"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $2, %edi
movl $1, %esi
xorl %edx, %edx
callq _socket
movl %eax, -20(%rbp)
cmpl $0, %eax
jge LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_2:
movl -20(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
callq _getpid
movl -24(%rbp), %edi ## 4-byte Reload
movl %eax, %edx
movl $6, %esi
movb $0, %al
callq _fcntl
cmpl $0, %eax
jge LBB0_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_4:
movl -20(%rbp), %edi
callq _close
cmpl $0, %eax
jge LBB0_6
## %bb.5:
leaq L_.str.2(%rip), %rdi
callq _perror
movl $1, %edi
callq _exit
LBB0_6:
xorl %edi, %edi
callq _exit
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "socket"
L_.str.1: ## @.str.1
.asciz "fcntl(F_SETOWN)"
L_.str.2: ## @.str.2
.asciz "close"
.subsections_via_symbols
| the_stack_data/943538.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_23
LBB0_2:
ldur x8, [x29, #-16]
ldr x1, [x8, #8]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_3
LBB0_3:
stur xzr, [x29, #-24]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-32]
str xzr, [sp, #40]
ldur w8, [x29, #-8]
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_23
LBB0_5:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
stur x8, [x29, #-32]
ldur x8, [x29, #-16]
ldr x8, [x8, #24]
str x8, [sp, #40]
ldur x8, [x29, #-16]
ldr x0, [x8, #32]
bl _atol
stur x0, [x29, #-24]
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6:
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_8
b LBB0_7
LBB0_7:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_23
LBB0_9:
ldur x0, [x29, #-32]
ldr x1, [sp, #40]
ldur x2, [x29, #-24]
bl _update_fmp_hmac
stur w0, [x29, #-4]
b LBB0_23
LBB0_10:
ldur x8, [x29, #-16]
ldr x1, [x8, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_20
b LBB0_11
LBB0_11:
; kill: def $x8 killed $xzr
str xzr, [sp, #32]
str xzr, [sp, #24]
str xzr, [sp, #16]
str xzr, [sp, #8]
str xzr, [sp]
ldur w8, [x29, #-8]
subs w8, w8, #7
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_12
LBB0_12:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_23
LBB0_13:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
str x8, [sp, #32]
ldur x8, [x29, #-16]
ldr x8, [x8, #24]
str x8, [sp, #24]
ldur x8, [x29, #-16]
ldr x0, [x8, #32]
bl _atol
str x0, [sp, #16]
ldur x8, [x29, #-16]
ldr x0, [x8, #40]
bl _atol
str x0, [sp, #8]
ldur x8, [x29, #-16]
ldr x8, [x8, #48]
str x8, [sp]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_14
LBB0_14:
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_15
LBB0_15:
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_16
LBB0_16:
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_18
b LBB0_17
LBB0_17:
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_23
LBB0_19:
ldr x0, [sp, #32]
ldr x1, [sp, #24]
ldr x2, [sp, #16]
ldr x3, [sp, #8]
ldr x4, [sp]
bl _collect_fmp_bytes
stur w0, [x29, #-4]
b LBB0_23
LBB0_20:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB0_21
LBB0_21:
b LBB0_22
LBB0_22:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_23
LBB0_23:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _update_fmp_hmac ; -- Begin function update_fmp_hmac
.p2align 2
_update_fmp_hmac: ; @update_fmp_hmac
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur x0, [x29, #-56]
str x1, [sp, #64]
str x2, [sp, #56]
; kill: def $x8 killed $xzr
str xzr, [sp, #48]
str xzr, [sp, #40]
str wzr, [sp, #36]
str wzr, [sp, #32]
ldur x8, [x29, #-56]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_1
LBB1_1:
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-44]
b LBB1_15
LBB1_4:
ldur x0, [x29, #-56]
adrp x1, l_.str.18@PAGE
add x1, x1, l_.str.18@PAGEOFF
bl _fopen
str x0, [sp, #48]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-44]
b LBB1_15
LBB1_6:
ldr x0, [sp, #64]
adrp x1, l_.str.20@PAGE
add x1, x1, l_.str.20@PAGEOFF
bl _fopen
str x0, [sp, #40]
ldr x8, [sp, #40]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_8
b LBB1_7
LBB1_7:
adrp x0, l_.str.21@PAGE
add x0, x0, l_.str.21@PAGEOFF
bl _printf
ldr x0, [sp, #48]
bl _fclose
mov w8, #-1
stur w8, [x29, #-44]
b LBB1_15
LBB1_8:
ldr x3, [sp, #40]
sub x0, x29, #40
mov x1, #1
mov x2, #32
str x2, [sp, #24] ; 8-byte Folded Spill
bl _fread
ldr x8, [sp, #24] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, eq
tbnz w8, #0, LBB1_10
b LBB1_9
LBB1_9:
mov x9, sp
mov x8, #32
str x8, [x9]
adrp x0, l_.str.22@PAGE
add x0, x0, l_.str.22@PAGEOFF
bl _printf
ldr x0, [sp, #40]
bl _fclose
ldr x0, [sp, #48]
bl _fclose
mov w8, #-1
stur w8, [x29, #-44]
b LBB1_15
LBB1_10:
ldr x0, [sp, #48]
ldr x1, [sp, #56]
mov w2, #0
bl _fseek
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB1_12
b LBB1_11
LBB1_11:
adrp x0, l_.str.23@PAGE
add x0, x0, l_.str.23@PAGEOFF
bl _printf
ldr x0, [sp, #40]
bl _fclose
ldr x0, [sp, #48]
bl _fclose
mov w8, #-1
stur w8, [x29, #-44]
b LBB1_15
LBB1_12:
ldr x3, [sp, #48]
sub x0, x29, #40
mov x1, #1
mov x2, #32
str x2, [sp, #16] ; 8-byte Folded Spill
bl _fwrite
ldr x8, [sp, #16] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, eq
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13:
mov x9, sp
mov x8, #32
str x8, [x9]
adrp x0, l_.str.24@PAGE
add x0, x0, l_.str.24@PAGEOFF
bl _printf
ldr x0, [sp, #40]
bl _fclose
ldr x0, [sp, #48]
bl _fclose
mov w8, #-1
stur w8, [x29, #-44]
b LBB1_15
LBB1_14:
ldr x0, [sp, #48]
bl _fclose
ldr x0, [sp, #40]
bl _fclose
stur wzr, [x29, #-44]
b LBB1_15
LBB1_15:
ldur w8, [x29, #-44]
str w8, [sp, #12] ; 4-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
bl ___stack_chk_fail
LBB1_17:
ldr w0, [sp, #12] ; 4-byte Folded Reload
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.globl _collect_fmp_bytes ; -- Begin function collect_fmp_bytes
.p2align 2
_collect_fmp_bytes: ; @collect_fmp_bytes
.cfi_startproc
; %bb.0:
sub sp, sp, #128
.cfi_def_cfa_offset 128
stp x29, x30, [sp, #112] ; 16-byte Folded Spill
add x29, sp, #112
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
stur x3, [x29, #-40]
stur x4, [x29, #-48]
; kill: def $x8 killed $xzr
str xzr, [sp, #56]
str xzr, [sp, #48]
str wzr, [sp, #44]
strb wzr, [sp, #43]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_1
LBB2_1:
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_2
LBB2_2:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_3
LBB2_3:
ldur x8, [x29, #-40]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldur x8, [x29, #-48]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_6
b LBB2_5
LBB2_5:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_23
LBB2_6:
ldur x8, [x29, #-24]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldur x0, [x29, #-16]
adrp x1, l_.str.10@PAGE
add x1, x1, l_.str.10@PAGEOFF
bl _fopen
str x0, [sp, #56]
ldr x8, [sp, #56]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_8
b LBB2_7
LBB2_7:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_23
LBB2_8:
ldr x0, [sp, #56]
ldur x1, [x29, #-32]
mov w2, #0
bl _fseek
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_10
b LBB2_9
LBB2_9:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldr x0, [sp, #56]
bl _fclose
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_23
LBB2_10:
ldur x0, [x29, #-48]
adrp x1, l_.str.13@PAGE
add x1, x1, l_.str.13@PAGEOFF
bl _fopen
str x0, [sp, #48]
ldr x8, [sp, #48]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB2_12
b LBB2_11
LBB2_11:
ldur x8, [x29, #-48]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldr x0, [sp, #56]
bl _fclose
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_23
LBB2_12:
mov w8, #1
str w8, [sp, #44]
b LBB2_13
LBB2_13: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #44]
; kill: def $x8 killed $w8
ldur x9, [x29, #-40]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB2_22
b LBB2_14
LBB2_14: ; in Loop: Header=BB2_13 Depth=1
ldr x3, [sp, #56]
add x0, sp, #43
mov x2, #1
str x2, [sp, #32] ; 8-byte Folded Spill
mov x1, x2
bl _fread
ldr x8, [sp, #32] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, eq
tbnz w8, #0, LBB2_16
b LBB2_15
LBB2_15:
ldur x8, [x29, #-16]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
ldr x0, [sp, #56]
bl _fclose
ldr x0, [sp, #48]
bl _fclose
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_23
LBB2_16: ; in Loop: Header=BB2_13 Depth=1
add x8, sp, #43
str x8, [sp, #16] ; 8-byte Folded Spill
ldrb w10, [sp, #43]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
ldr x0, [sp, #16] ; 8-byte Folded Reload
ldr x3, [sp, #48]
mov x2, #1
str x2, [sp, #24] ; 8-byte Folded Spill
mov x1, x2
bl _fwrite
ldr x8, [sp, #24] ; 8-byte Folded Reload
subs x8, x8, x0
cset w8, eq
tbnz w8, #0, LBB2_18
b LBB2_17
LBB2_17:
ldur x8, [x29, #-48]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
ldr x0, [sp, #56]
bl _fclose
ldr x0, [sp, #48]
bl _fclose
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_23
LBB2_18: ; in Loop: Header=BB2_13 Depth=1
ldr w8, [sp, #44]
mov w10, #16
udiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_20
b LBB2_19
LBB2_19: ; in Loop: Header=BB2_13 Depth=1
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
b LBB2_20
LBB2_20: ; in Loop: Header=BB2_13 Depth=1
b LBB2_21
LBB2_21: ; in Loop: Header=BB2_13 Depth=1
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
b LBB2_13
LBB2_22:
ldr x0, [sp, #56]
bl _fclose
ldr x0, [sp, #48]
bl _fclose
stur wzr, [x29, #-4]
b LBB2_23
LBB2_23:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #112] ; 16-byte Folded Reload
add sp, sp, #128
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "\nUsage : \n"
l_.str.1: ; @.str.1
.asciz "fips_fmp_utils -u vmlinux_file hmac_file offset"
l_.str.2: ; @.str.2
.asciz "fips_fmp_utils -g vmlinux_file section_name offset size out_file"
l_.str.3: ; @.str.3
.asciz "\n"
l_.str.4: ; @.str.4
.asciz "-u"
l_.str.5: ; @.str.5
.asciz "./fips_fmp_utils -u vmlinux_file hmac_file offset"
l_.str.6: ; @.str.6
.asciz "-g"
l_.str.7: ; @.str.7
.asciz "./fips_fmp_utils -g vmlinux_file section_name offset size out_file"
l_.str.8: ; @.str.8
.asciz "collect_fmp_bytes : Invalid arguments"
l_.str.9: ; @.str.9
.asciz "Section : %s\n"
l_.str.10: ; @.str.10
.asciz "r"
l_.str.11: ; @.str.11
.asciz "Unable to open file : %s"
l_.str.12: ; @.str.12
.asciz "Unable to seek file : %s"
l_.str.13: ; @.str.13
.asciz "ab"
l_.str.14: ; @.str.14
.asciz "Unable to read 1 byte from file : %s"
l_.str.15: ; @.str.15
.asciz "%02x "
l_.str.16: ; @.str.16
.asciz "Unable to write 1 byte to file : %s"
l_.str.17: ; @.str.17
.asciz "FIPS update_fmp_hmac : Invalid Params"
l_.str.18: ; @.str.18
.asciz "r+b"
l_.str.19: ; @.str.19
.asciz "Unable to open vmlinux file "
l_.str.20: ; @.str.20
.asciz "rb"
l_.str.21: ; @.str.21
.asciz "Unable to open hmac file "
l_.str.22: ; @.str.22
.asciz "Unable to read %d bytes from hmac file"
l_.str.23: ; @.str.23
.asciz "Unable to seek into vmlinux file."
l_.str.24: ; @.str.24
.asciz "Unable to write %d byte into vmlinux"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
jge LBB0_2
## %bb.1:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB0_23
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.4(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_10
## %bb.3:
movq $0, -24(%rbp)
movq $0, -32(%rbp)
movq $0, -40(%rbp)
cmpl $5, -8(%rbp)
je LBB0_5
## %bb.4:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB0_23
LBB0_5:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -40(%rbp)
movq -16(%rbp), %rax
movq 32(%rax), %rdi
callq _atol
movq %rax, -24(%rbp)
cmpq $0, -32(%rbp)
je LBB0_8
## %bb.6:
cmpq $0, -40(%rbp)
je LBB0_8
## %bb.7:
cmpq $0, -24(%rbp)
jne LBB0_9
LBB0_8:
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB0_23
LBB0_9:
movq -32(%rbp), %rdi
movq -40(%rbp), %rsi
movq -24(%rbp), %rdx
callq _update_fmp_hmac
movl %eax, -4(%rbp)
jmp LBB0_23
LBB0_10:
movq -16(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.6(%rip), %rdi
callq _strcmp
cmpl $0, %eax
jne LBB0_20
## %bb.11:
movq $0, -48(%rbp)
movq $0, -56(%rbp)
movq $0, -64(%rbp)
movq $0, -72(%rbp)
movq $0, -80(%rbp)
cmpl $7, -8(%rbp)
je LBB0_13
## %bb.12:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB0_23
LBB0_13:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -48(%rbp)
movq -16(%rbp), %rax
movq 24(%rax), %rax
movq %rax, -56(%rbp)
movq -16(%rbp), %rax
movq 32(%rax), %rdi
callq _atol
movq %rax, -64(%rbp)
movq -16(%rbp), %rax
movq 40(%rax), %rdi
callq _atol
movq %rax, -72(%rbp)
movq -16(%rbp), %rax
movq 48(%rax), %rax
movq %rax, -80(%rbp)
cmpq $0, -48(%rbp)
je LBB0_18
## %bb.14:
cmpq $0, -56(%rbp)
je LBB0_18
## %bb.15:
cmpq $0, -64(%rbp)
je LBB0_18
## %bb.16:
cmpq $0, -72(%rbp)
je LBB0_18
## %bb.17:
cmpq $0, -80(%rbp)
jne LBB0_19
LBB0_18:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB0_23
LBB0_19:
movq -48(%rbp), %rdi
movq -56(%rbp), %rsi
movq -64(%rbp), %rdx
movq -72(%rbp), %rcx
movq -80(%rbp), %r8
callq _collect_fmp_bytes
movl %eax, -4(%rbp)
jmp LBB0_23
LBB0_20:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
## %bb.21:
jmp LBB0_22
LBB0_22:
movl $-1, -4(%rbp)
LBB0_23:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _update_fmp_hmac ## -- Begin function update_fmp_hmac
.p2align 4, 0x90
_update_fmp_hmac: ## @update_fmp_hmac
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $112, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movq %rdi, -64(%rbp)
movq %rsi, -72(%rbp)
movq %rdx, -80(%rbp)
movq $0, -88(%rbp)
movq $0, -96(%rbp)
movl $0, -100(%rbp)
movl $0, -104(%rbp)
cmpq $0, -64(%rbp)
je LBB1_3
## %bb.1:
cmpq $0, -72(%rbp)
je LBB1_3
## %bb.2:
cmpq $0, -80(%rbp)
jne LBB1_4
LBB1_3:
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -52(%rbp)
jmp LBB1_15
LBB1_4:
movq -64(%rbp), %rdi
leaq L_.str.18(%rip), %rsi
callq _fopen
movq %rax, -88(%rbp)
cmpq $0, -88(%rbp)
jne LBB1_6
## %bb.5:
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -52(%rbp)
jmp LBB1_15
LBB1_6:
movq -72(%rbp), %rdi
leaq L_.str.20(%rip), %rsi
callq _fopen
movq %rax, -96(%rbp)
cmpq $0, -96(%rbp)
jne LBB1_8
## %bb.7:
leaq L_.str.21(%rip), %rdi
movb $0, %al
callq _printf
movq -88(%rbp), %rdi
callq _fclose
movl $-1, -52(%rbp)
jmp LBB1_15
LBB1_8:
leaq -48(%rbp), %rdi
movq -96(%rbp), %rcx
movl $1, %esi
movl $32, %edx
callq _fread
movq %rax, %rcx
movl $32, %eax
cmpq %rcx, %rax
je LBB1_10
## %bb.9:
leaq L_.str.22(%rip), %rdi
movl $32, %esi
movb $0, %al
callq _printf
movq -96(%rbp), %rdi
callq _fclose
movq -88(%rbp), %rdi
callq _fclose
movl $-1, -52(%rbp)
jmp LBB1_15
LBB1_10:
movq -88(%rbp), %rdi
movq -80(%rbp), %rsi
xorl %edx, %edx
callq _fseek
cmpl $0, %eax
je LBB1_12
## %bb.11:
leaq L_.str.23(%rip), %rdi
movb $0, %al
callq _printf
movq -96(%rbp), %rdi
callq _fclose
movq -88(%rbp), %rdi
callq _fclose
movl $-1, -52(%rbp)
jmp LBB1_15
LBB1_12:
leaq -48(%rbp), %rdi
movq -88(%rbp), %rcx
movl $1, %esi
movl $32, %edx
callq _fwrite
movq %rax, %rcx
movl $32, %eax
cmpq %rcx, %rax
je LBB1_14
## %bb.13:
leaq L_.str.24(%rip), %rdi
movl $32, %esi
movb $0, %al
callq _printf
movq -96(%rbp), %rdi
callq _fclose
movq -88(%rbp), %rdi
callq _fclose
movl $-1, -52(%rbp)
jmp LBB1_15
LBB1_14:
movq -88(%rbp), %rdi
callq _fclose
movq -96(%rbp), %rdi
callq _fclose
movl $0, -52(%rbp)
LBB1_15:
movl -52(%rbp), %eax
movl %eax, -108(%rbp) ## 4-byte Spill
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_17
## %bb.16:
movl -108(%rbp), %eax ## 4-byte Reload
addq $112, %rsp
popq %rbp
retq
LBB1_17:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _collect_fmp_bytes ## -- Begin function collect_fmp_bytes
.p2align 4, 0x90
_collect_fmp_bytes: ## @collect_fmp_bytes
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq %r8, -48(%rbp)
movq $0, -56(%rbp)
movq $0, -64(%rbp)
movl $0, -68(%rbp)
movb $0, -69(%rbp)
cmpq $0, -16(%rbp)
je LBB2_5
## %bb.1:
cmpq $0, -24(%rbp)
je LBB2_5
## %bb.2:
cmpq $0, -32(%rbp)
je LBB2_5
## %bb.3:
cmpq $0, -40(%rbp)
je LBB2_5
## %bb.4:
cmpq $0, -48(%rbp)
jne LBB2_6
LBB2_5:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB2_23
LBB2_6:
movq -24(%rbp), %rsi
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movq -16(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
callq _fopen
movq %rax, -56(%rbp)
cmpq $0, -56(%rbp)
jne LBB2_8
## %bb.7:
movq -16(%rbp), %rsi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -4(%rbp)
jmp LBB2_23
LBB2_8:
movq -56(%rbp), %rdi
movq -32(%rbp), %rsi
xorl %edx, %edx
callq _fseek
cmpl $0, %eax
je LBB2_10
## %bb.9:
movq -16(%rbp), %rsi
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
movq -56(%rbp), %rdi
callq _fclose
movl $-1, -4(%rbp)
jmp LBB2_23
LBB2_10:
movq -48(%rbp), %rdi
leaq L_.str.13(%rip), %rsi
callq _fopen
movq %rax, -64(%rbp)
cmpq $0, -64(%rbp)
jne LBB2_12
## %bb.11:
movq -48(%rbp), %rsi
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movq -56(%rbp), %rdi
callq _fclose
movl $-1, -4(%rbp)
jmp LBB2_23
LBB2_12:
movl $1, -68(%rbp)
LBB2_13: ## =>This Inner Loop Header: Depth=1
movl -68(%rbp), %eax
## kill: def $rax killed $eax
cmpq -40(%rbp), %rax
ja LBB2_22
## %bb.14: ## in Loop: Header=BB2_13 Depth=1
movq -56(%rbp), %rcx
leaq -69(%rbp), %rdi
movl $1, %edx
movq %rdx, %rsi
callq _fread
movq %rax, %rcx
movl $1, %eax
cmpq %rcx, %rax
je LBB2_16
## %bb.15:
movq -16(%rbp), %rsi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
movq -56(%rbp), %rdi
callq _fclose
movq -64(%rbp), %rdi
callq _fclose
movl $-1, -4(%rbp)
jmp LBB2_23
LBB2_16: ## in Loop: Header=BB2_13 Depth=1
movzbl -69(%rbp), %esi
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
movq -64(%rbp), %rcx
leaq -69(%rbp), %rdi
movl $1, %edx
movq %rdx, %rsi
callq _fwrite
movq %rax, %rcx
movl $1, %eax
cmpq %rcx, %rax
je LBB2_18
## %bb.17:
movq -48(%rbp), %rsi
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
movq -56(%rbp), %rdi
callq _fclose
movq -64(%rbp), %rdi
callq _fclose
movl $-1, -4(%rbp)
jmp LBB2_23
LBB2_18: ## in Loop: Header=BB2_13 Depth=1
movl -68(%rbp), %eax
andl $15, %eax
cmpl $0, %eax
jne LBB2_20
## %bb.19: ## in Loop: Header=BB2_13 Depth=1
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
LBB2_20: ## in Loop: Header=BB2_13 Depth=1
jmp LBB2_21
LBB2_21: ## in Loop: Header=BB2_13 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB2_13
LBB2_22:
movq -56(%rbp), %rdi
callq _fclose
movq -64(%rbp), %rdi
callq _fclose
movl $0, -4(%rbp)
LBB2_23:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "\nUsage : \n"
L_.str.1: ## @.str.1
.asciz "fips_fmp_utils -u vmlinux_file hmac_file offset"
L_.str.2: ## @.str.2
.asciz "fips_fmp_utils -g vmlinux_file section_name offset size out_file"
L_.str.3: ## @.str.3
.asciz "\n"
L_.str.4: ## @.str.4
.asciz "-u"
L_.str.5: ## @.str.5
.asciz "./fips_fmp_utils -u vmlinux_file hmac_file offset"
L_.str.6: ## @.str.6
.asciz "-g"
L_.str.7: ## @.str.7
.asciz "./fips_fmp_utils -g vmlinux_file section_name offset size out_file"
L_.str.8: ## @.str.8
.asciz "collect_fmp_bytes : Invalid arguments"
L_.str.9: ## @.str.9
.asciz "Section : %s\n"
L_.str.10: ## @.str.10
.asciz "r"
L_.str.11: ## @.str.11
.asciz "Unable to open file : %s"
L_.str.12: ## @.str.12
.asciz "Unable to seek file : %s"
L_.str.13: ## @.str.13
.asciz "ab"
L_.str.14: ## @.str.14
.asciz "Unable to read 1 byte from file : %s"
L_.str.15: ## @.str.15
.asciz "%02x "
L_.str.16: ## @.str.16
.asciz "Unable to write 1 byte to file : %s"
L_.str.17: ## @.str.17
.asciz "FIPS update_fmp_hmac : Invalid Params"
L_.str.18: ## @.str.18
.asciz "r+b"
L_.str.19: ## @.str.19
.asciz "Unable to open vmlinux file "
L_.str.20: ## @.str.20
.asciz "rb"
L_.str.21: ## @.str.21
.asciz "Unable to open hmac file "
L_.str.22: ## @.str.22
.asciz "Unable to read %d bytes from hmac file"
L_.str.23: ## @.str.23
.asciz "Unable to seek into vmlinux file."
L_.str.24: ## @.str.24
.asciz "Unable to write %d byte into vmlinux"
.subsections_via_symbols
| the_stack_data/70766.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-8] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _printf
mov w0, #1
stur w0, [x29, #-12] ; 4-byte Folded Spill
bl _sleep
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
str x0, [sp, #8] ; 8-byte Folded Spill
bl _printf
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printf
adrp x8, ___stdoutp@GOTPAGE
ldr x8, [x8, ___stdoutp@GOTPAGEOFF]
str x8, [sp, #16] ; 8-byte Folded Spill
ldr x0, [x8]
bl _fflush
ldur w0, [x29, #-12] ; 4-byte Folded Reload
bl _sleep
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _printf
ldr x8, [sp, #16] ; 8-byte Folded Reload
ldr x0, [x8]
mov x1, #0
mov w2, #2
mov x3, #0
bl _setvbuf
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printf
ldur w0, [x29, #-12] ; 4-byte Folded Reload
bl _sleep
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldur w0, [x29, #-8] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "'Hello world' will be printed after one second:\n"
l_.str.1: ; @.str.1
.asciz "Hello "
l_.str.2: ; @.str.2
.asciz "World\n"
l_.str.3: ; @.str.3
.asciz "'Hello' will be printed, program sleeps for 1 second, and then world will be printed.\n"
l_.str.4: ; @.str.4
.asciz "First example (stdout buffering turned off):\n"
l_.str.5: ; @.str.5
.asciz "World"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $1, %edi
callq _sleep
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _fflush
movl $1, %edi
callq _sleep
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movq ___stdoutp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
xorl %eax, %eax
movl %eax, %ecx
movl $2, %edx
movq %rcx, %rsi
callq _setvbuf
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $1, %edi
callq _sleep
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "'Hello world' will be printed after one second:\n"
L_.str.1: ## @.str.1
.asciz "Hello "
L_.str.2: ## @.str.2
.asciz "World\n"
L_.str.3: ## @.str.3
.asciz "'Hello' will be printed, program sleeps for 1 second, and then world will be printed.\n"
L_.str.4: ## @.str.4
.asciz "First example (stdout buffering turned off):\n"
L_.str.5: ## @.str.5
.asciz "World"
.subsections_via_symbols
| the_stack_data/1106106.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _HashNew ; -- Begin function HashNew
.p2align 2
_HashNew: ; @HashNew
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
; kill: def $x8 killed $w8
mov x0, #1
lsl x8, x0, x8
lsl x8, x8, #3
add x8, x8, #56
str x8, [sp, #16]
; kill: def $x8 killed $xzr
str xzr, [sp, #8]
ldr x1, [sp, #16]
bl _calloc
mov x8, x0
str x8, [sp, #8]
subs x8, x0, #0
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldursw x8, [x29, #-4]
ldr x9, [sp, #8]
str x8, [x9]
ldur w8, [x29, #-4]
mov x9, x8
mov x8, #1
lsl x8, x8, x9
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
subs x8, x8, #1
ldr x9, [sp, #8]
str x8, [x9, #16]
ldr x9, [sp, #8]
mov x8, #51966
movk x8, #47789, lsl #16
str x8, [x9, #32]
b LBB0_2
LBB0_2:
ldr x0, [sp, #8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _HashFree ; -- Begin function HashFree
.p2align 2
_HashFree: ; @HashFree
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
ldur x8, [x29, #-8]
stur x8, [x29, #-24]
ldur x8, [x29, #-24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_14
b LBB1_1
LBB1_1:
ldur x8, [x29, #-24]
add x8, x8, #56
str x8, [sp, #32]
str wzr, [sp, #28]
b LBB1_2
LBB1_2: ; =>This Loop Header: Depth=1
; Child Loop BB1_5 Depth 2
ldrsw x8, [sp, #28]
ldur x9, [x29, #-24]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB1_13
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_2 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_11
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_2 Depth=1
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #16]
b LBB1_5
LBB1_5: ; Parent Loop BB1_2 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_10
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_5 Depth=2
ldr x8, [sp, #16]
ldr x8, [x8]
str x8, [sp, #8]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_5 Depth=2
ldr x8, [sp, #16]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_5 Depth=2
ldr x8, [sp, #16]
ldr x0, [x8, #16]
bl _free
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_5 Depth=2
ldr x0, [sp, #16]
bl _free
ldr x8, [sp, #8]
str x8, [sp, #16]
b LBB1_5
LBB1_10: ; in Loop: Header=BB1_2 Depth=1
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_2 Depth=1
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_2 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB1_2
LBB1_13:
ldur x0, [x29, #-24]
bl _free
b LBB1_14
LBB1_14:
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _HashAdd ; -- Begin function HashAdd
.p2align 2
_HashAdd: ; @HashAdd
.cfi_startproc
; %bb.0:
sub sp, sp, #144
.cfi_def_cfa_offset 144
stp x29, x30, [sp, #128] ; 16-byte Folded Spill
add x29, sp, #128
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
stur w3, [x29, #-36]
stur w4, [x29, #-40]
ldur x8, [x29, #-16]
stur x8, [x29, #-48]
ldur x0, [x29, #-24]
bl _strlen
mov x8, x0
mov x0, #1
add x8, x8, #1
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-52]
ldursw x8, [x29, #-52]
add x1, x8, #32
bl _calloc
mov x8, x0
str x8, [sp, #56]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB2_2
b LBB2_1
LBB2_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB2_16
LBB2_2:
ldr x8, [sp, #56]
add x8, x8, #32
str x8, [sp, #48]
ldr x0, [sp, #48]
ldur x1, [x29, #-24]
ldursw x2, [x29, #-52]
mov x3, #-1
bl ___memmove_chk
ldr x8, [sp, #48]
ldr x9, [sp, #56]
str x8, [x9, #8]
ldur x8, [x29, #-32]
ldr x9, [sp, #56]
str x8, [x9, #16]
ldur w8, [x29, #-36]
ldr x9, [sp, #56]
str w8, [x9, #24]
ldur x8, [x29, #-48]
ldr x8, [x8, #16]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-48]
ldur x1, [x29, #-24]
bl _Hash
ldr x8, [sp, #8] ; 8-byte Folded Reload
and x8, x8, x0
str x8, [sp, #40]
ldur x8, [x29, #-48]
add x8, x8, #56
str x8, [sp, #64]
ldr x8, [sp, #64]
ldr x9, [sp, #40]
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_14
b LBB2_3
LBB2_3:
ldr x8, [sp, #64]
ldr x9, [sp, #40]
add x8, x8, x9, lsl #3
str x8, [sp, #32]
b LBB2_4
LBB2_4: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
ldr x8, [x8]
mov x9, x8
str x9, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_13
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_4 Depth=1
ldur x0, [x29, #-24]
ldr x8, [sp, #24]
ldr x1, [x8, #8]
bl _strcmp
str w0, [sp, #20]
subs w8, w0, #0
cset w8, ge
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldr x8, [sp, #24]
ldr x9, [sp, #56]
str x8, [x9]
ldr x8, [sp, #56]
ldr x9, [sp, #32]
str x8, [x9]
stur wzr, [x29, #-4]
b LBB2_16
LBB2_7: ; in Loop: Header=BB2_4 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB2_12
b LBB2_8
LBB2_8:
ldr x8, [sp, #24]
ldr x8, [x8]
ldr x9, [sp, #56]
str x8, [x9]
ldr x8, [sp, #56]
ldr x9, [sp, #32]
str x8, [x9]
ldur w8, [x29, #-40]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB2_11
b LBB2_9
LBB2_9:
ldr x8, [sp, #24]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB2_11
b LBB2_10
LBB2_10:
ldr x8, [sp, #24]
ldr x0, [x8, #16]
bl _free
b LBB2_11
LBB2_11:
ldr x0, [sp, #24]
bl _free
ldr x8, [sp, #56]
str x8, [sp, #32]
stur wzr, [x29, #-4]
b LBB2_16
LBB2_12: ; in Loop: Header=BB2_4 Depth=1
ldr x8, [sp, #24]
str x8, [sp, #32]
b LBB2_4
LBB2_13:
ldr x8, [sp, #56]
ldr x9, [sp, #32]
str x8, [x9]
ldr x8, [sp, #24]
ldr x9, [sp, #56]
str x8, [x9]
b LBB2_15
LBB2_14:
ldr x8, [sp, #56]
ldr x9, [sp, #64]
ldr x10, [sp, #40]
str x8, [x9, x10, lsl #3]
b LBB2_15
LBB2_15:
stur wzr, [x29, #-4]
b LBB2_16
LBB2_16:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #128] ; 16-byte Folded Reload
add sp, sp, #144
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function Hash
_Hash: ; @Hash
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
ldur x0, [x29, #-16]
bl _strlen
stur x0, [x29, #-24]
mov x8, #31161
movk x8, #40503, lsl #16
str x8, [sp, #32]
str x8, [sp, #24]
ldur x8, [x29, #-8]
ldr x8, [x8, #32]
str x8, [sp, #16]
ldur x8, [x29, #-24]
str x8, [sp, #8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #12
cset w8, lo
tbnz w8, #0, LBB3_3
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldur x8, [x29, #-16]
ldrsb x8, [x8]
ldur x9, [x29, #-16]
ldrsb x9, [x9, #1]
add x8, x8, x9, lsl #8
ldur x9, [x29, #-16]
ldrsb x9, [x9, #2]
add x8, x8, x9, lsl #16
ldur x9, [x29, #-16]
ldrsb x9, [x9, #3]
add x9, x8, x9, lsl #24
ldr x8, [sp, #32]
add x8, x8, x9
str x8, [sp, #32]
ldur x8, [x29, #-16]
ldrsb x8, [x8, #4]
ldur x9, [x29, #-16]
ldrsb x9, [x9, #5]
add x8, x8, x9, lsl #8
ldur x9, [x29, #-16]
ldrsb x9, [x9, #6]
add x8, x8, x9, lsl #16
ldur x9, [x29, #-16]
ldrsb x9, [x9, #7]
add x9, x8, x9, lsl #24
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
ldur x8, [x29, #-16]
ldrsb x8, [x8, #8]
ldur x9, [x29, #-16]
ldrsb x9, [x9, #9]
add x8, x8, x9, lsl #8
ldur x9, [x29, #-16]
ldrsb x9, [x9, #10]
add x8, x8, x9, lsl #16
ldur x9, [x29, #-16]
ldrsb x9, [x9, #11]
add x9, x8, x9, lsl #24
ldr x8, [sp, #16]
add x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
eor x8, x8, x9, lsr #13
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
eor x8, x8, x9, lsl #8
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
eor x8, x8, x9, lsr #13
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
eor x8, x8, x9, lsr #12
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
eor x8, x8, x9, lsl #16
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
eor x8, x8, x9, lsl #5
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
eor x8, x8, x9, lsr #3
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
eor x8, x8, x9, lsl #10
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
eor x8, x8, x9, lsr #15
str x8, [sp, #16]
ldur x8, [x29, #-16]
add x8, x8, #12
stur x8, [x29, #-16]
ldr x8, [sp, #8]
subs x8, x8, #12
str x8, [sp, #8]
b LBB3_1
LBB3_3:
ldur x9, [x29, #-24]
ldr x8, [sp, #16]
add x8, x8, x9
str x8, [sp, #16]
ldr x8, [sp, #8]
subs x8, x8, #1
str x8, [sp] ; 8-byte Folded Spill
subs x8, x8, #10
cset w8, hi
tbnz w8, #0, LBB3_16
; %bb.4:
ldr x11, [sp] ; 8-byte Folded Reload
adrp x10, lJTI3_0@PAGE
add x10, x10, lJTI3_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB3_5:
ldur x8, [x29, #-16]
ldrsb w8, [x8, #10]
lsl w8, w8, #24
mov x9, x8
ldr x8, [sp, #16]
add x8, x8, x9
str x8, [sp, #16]
b LBB3_6
LBB3_6:
ldur x8, [x29, #-16]
ldrsb w8, [x8, #9]
lsl w8, w8, #16
mov x9, x8
ldr x8, [sp, #16]
add x8, x8, x9
str x8, [sp, #16]
b LBB3_7
LBB3_7:
ldur x8, [x29, #-16]
ldrsb w8, [x8, #8]
lsl w8, w8, #8
mov x9, x8
ldr x8, [sp, #16]
add x8, x8, x9
str x8, [sp, #16]
b LBB3_8
LBB3_8:
ldur x8, [x29, #-16]
ldrsb w8, [x8, #7]
lsl w8, w8, #24
mov x9, x8
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
b LBB3_9
LBB3_9:
ldur x8, [x29, #-16]
ldrsb w8, [x8, #6]
lsl w8, w8, #16
mov x9, x8
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
b LBB3_10
LBB3_10:
ldur x8, [x29, #-16]
ldrsb w8, [x8, #5]
lsl w8, w8, #8
mov x9, x8
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
b LBB3_11
LBB3_11:
ldur x8, [x29, #-16]
ldrsb w8, [x8, #4]
mov x9, x8
ldr x8, [sp, #24]
add x8, x8, x9
str x8, [sp, #24]
b LBB3_12
LBB3_12:
ldur x8, [x29, #-16]
ldrsb w8, [x8, #3]
lsl w8, w8, #24
mov x9, x8
ldr x8, [sp, #32]
add x8, x8, x9
str x8, [sp, #32]
b LBB3_13
LBB3_13:
ldur x8, [x29, #-16]
ldrsb w8, [x8, #2]
lsl w8, w8, #16
mov x9, x8
ldr x8, [sp, #32]
add x8, x8, x9
str x8, [sp, #32]
b LBB3_14
LBB3_14:
ldur x8, [x29, #-16]
ldrsb w8, [x8, #1]
lsl w8, w8, #8
mov x9, x8
ldr x8, [sp, #32]
add x8, x8, x9
str x8, [sp, #32]
b LBB3_15
LBB3_15:
ldur x8, [x29, #-16]
ldrsb w8, [x8]
mov x9, x8
ldr x8, [sp, #32]
add x8, x8, x9
str x8, [sp, #32]
b LBB3_16
LBB3_16:
ldr x9, [sp, #24]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
eor x8, x8, x9, lsr #13
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
eor x8, x8, x9, lsl #8
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
eor x8, x8, x9, lsr #13
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
eor x8, x8, x9, lsr #12
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
eor x8, x8, x9, lsl #16
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
eor x8, x8, x9, lsl #5
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
subs x8, x8, x9
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #32]
eor x8, x8, x9, lsr #3
str x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
subs x8, x8, x9
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #24]
eor x8, x8, x9, lsl #10
str x8, [sp, #24]
ldr x9, [sp, #32]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
subs x8, x8, x9
str x8, [sp, #16]
ldr x9, [sp, #24]
ldr x8, [sp, #16]
eor x8, x8, x9, lsr #15
str x8, [sp, #16]
ldr x0, [sp, #16]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
.p2align 2
lJTI3_0:
.long LBB3_15-Ltmp0
.long LBB3_14-Ltmp0
.long LBB3_13-Ltmp0
.long LBB3_12-Ltmp0
.long LBB3_11-Ltmp0
.long LBB3_10-Ltmp0
.long LBB3_9-Ltmp0
.long LBB3_8-Ltmp0
.long LBB3_7-Ltmp0
.long LBB3_6-Ltmp0
.long LBB3_5-Ltmp0
; -- End function
.globl _HashGet ; -- Begin function HashGet
.p2align 2
_HashGet: ; @HashGet
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur x2, [x29, #-32]
ldur x8, [x29, #-16]
str x8, [sp, #40]
ldr x8, [sp, #40]
ldr x8, [x8, #16]
str x8, [sp, #8] ; 8-byte Folded Spill
ldr x0, [sp, #40]
ldur x1, [x29, #-24]
bl _Hash
ldr x8, [sp, #8] ; 8-byte Folded Reload
and x8, x8, x0
str x8, [sp, #16]
ldr x8, [sp, #40]
add x8, x8, #56
str x8, [sp, #32]
ldr x8, [sp, #32]
ldr x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #24]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_8
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #24]
ldr x0, [x8, #8]
ldur x1, [x29, #-24]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB4_6
b LBB4_3
LBB4_3:
ldur x8, [x29, #-32]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB4_5
b LBB4_4
LBB4_4:
ldr x8, [sp, #24]
ldr w8, [x8, #24]
ldur x9, [x29, #-32]
str w8, [x9]
b LBB4_5
LBB4_5:
ldr x8, [sp, #24]
ldr x8, [x8, #16]
stur x8, [x29, #-8]
b LBB4_9
LBB4_6: ; in Loop: Header=BB4_1 Depth=1
b LBB4_7
LBB4_7: ; in Loop: Header=BB4_1 Depth=1
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #24]
b LBB4_1
LBB4_8:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB4_9
LBB4_9:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _HashDelete ; -- Begin function HashDelete
.p2align 2
_HashDelete: ; @HashDelete
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
ldur x8, [x29, #-16]
stur x8, [x29, #-32]
ldur x8, [x29, #-32]
ldr x8, [x8, #16]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x0, [x29, #-32]
ldur x1, [x29, #-24]
bl _Hash
ldr x8, [sp, #8] ; 8-byte Folded Reload
and x8, x8, x0
str x8, [sp, #16]
ldur x8, [x29, #-32]
add x8, x8, #56
str x8, [sp, #40]
ldr x8, [sp, #40]
ldr x9, [sp, #16]
add x8, x8, x9, lsl #3
str x8, [sp, #32]
ldr x8, [sp, #40]
ldr x9, [sp, #16]
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #24]
b LBB5_1
LBB5_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_8
b LBB5_2
LBB5_2: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #24]
ldr x0, [x8, #8]
ldur x1, [x29, #-24]
bl _strcmp
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB5_6
b LBB5_3
LBB5_3:
ldr x8, [sp, #24]
ldr x8, [x8]
ldr x9, [sp, #32]
str x8, [x9]
ldr x8, [sp, #24]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB5_5
b LBB5_4
LBB5_4:
ldr x8, [sp, #24]
ldr x0, [x8, #16]
bl _free
b LBB5_5
LBB5_5:
ldr x0, [sp, #24]
bl _free
stur wzr, [x29, #-4]
b LBB5_9
LBB5_6: ; in Loop: Header=BB5_1 Depth=1
b LBB5_7
LBB5_7: ; in Loop: Header=BB5_1 Depth=1
ldr x8, [sp, #24]
ldr x8, [x8]
str x8, [sp, #24]
b LBB5_1
LBB5_8:
mov w8, #-1
stur w8, [x29, #-4]
b LBB5_9
LBB5_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.globl _HashFindFirst ; -- Begin function HashFindFirst
.p2align 2
_HashFindFirst: ; @HashFindFirst
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
str x0, [sp, #64]
str x1, [sp, #56]
str x2, [sp, #48]
str x3, [sp, #40]
ldr x8, [sp, #64]
str x8, [sp, #32]
ldr x8, [sp, #32]
str wzr, [x8, #40]
ldr x8, [sp, #32]
; kill: def $x9 killed $xzr
str xzr, [x8, #48]
ldr x8, [sp, #32]
add x8, x8, #56
str x8, [sp, #16]
str wzr, [sp, #28]
b LBB6_1
LBB6_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #28]
; kill: def $x8 killed $w8
ldr x9, [sp, #32]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB6_6
b LBB6_2
LBB6_2: ; in Loop: Header=BB6_1 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #28]
; kill: def $x9 killed $w9
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
ldr x8, [sp, #16]
ldr w9, [sp, #28]
; kill: def $x9 killed $w9
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x9, [sp, #56]
str x8, [x9]
ldr x8, [sp, #8]
ldr x8, [x8, #16]
ldr x9, [sp, #48]
str x8, [x9]
ldr x8, [sp, #8]
ldr w8, [x8, #24]
ldr x9, [sp, #40]
str w8, [x9]
ldr x8, [sp, #8]
ldr x9, [sp, #32]
str x8, [x9, #48]
ldr w8, [sp, #28]
ldr x9, [sp, #32]
str w8, [x9, #40]
str wzr, [sp, #76]
b LBB6_7
LBB6_4: ; in Loop: Header=BB6_1 Depth=1
b LBB6_5
LBB6_5: ; in Loop: Header=BB6_1 Depth=1
ldr w8, [sp, #28]
add w8, w8, #1
str w8, [sp, #28]
b LBB6_1
LBB6_6:
mov w8, #-1
str w8, [sp, #76]
b LBB6_7
LBB6_7:
ldr w0, [sp, #76]
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _HashFindNext ; -- Begin function HashFindNext
.p2align 2
_HashFindNext: ; @HashFindNext
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
str x0, [sp, #64]
str x1, [sp, #56]
str x2, [sp, #48]
str x3, [sp, #40]
ldr x8, [sp, #64]
str x8, [sp, #32]
ldr x8, [sp, #32]
ldr x8, [x8, #48]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldr x8, [sp, #16]
ldr x8, [x8]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x9, [sp, #32]
str x8, [x9, #48]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp, #56]
str x8, [x9]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x9, [sp, #48]
str x8, [x9]
ldr x8, [sp, #16]
ldr w8, [x8, #24]
ldr x9, [sp, #40]
str w8, [x9]
str wzr, [sp, #76]
b LBB7_9
LBB7_2:
ldr x8, [sp, #32]
add x8, x8, #56
str x8, [sp, #24]
ldr x8, [sp, #32]
ldr w8, [x8, #40]
add w8, w8, #1
str w8, [sp, #12]
b LBB7_3
LBB7_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
; kill: def $x8 killed $w8
ldr x9, [sp, #32]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, hs
tbnz w8, #0, LBB7_8
b LBB7_4
LBB7_4: ; in Loop: Header=BB7_3 Depth=1
ldr x8, [sp, #24]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
ldr x8, [x8, x9, lsl #3]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_6
b LBB7_5
LBB7_5:
ldr x8, [sp, #24]
ldr w9, [sp, #12]
; kill: def $x9 killed $w9
ldr x8, [x8, x9, lsl #3]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
ldr x9, [sp, #56]
str x8, [x9]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
ldr x9, [sp, #48]
str x8, [x9]
ldr x8, [sp, #16]
ldr w8, [x8, #24]
ldr x9, [sp, #40]
str w8, [x9]
ldr x8, [sp, #16]
ldr x9, [sp, #32]
str x8, [x9, #48]
ldr w8, [sp, #12]
ldr x9, [sp, #32]
str w8, [x9, #40]
str wzr, [sp, #76]
b LBB7_9
LBB7_6: ; in Loop: Header=BB7_3 Depth=1
b LBB7_7
LBB7_7: ; in Loop: Header=BB7_3 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB7_3
LBB7_8:
mov w8, #-1
str w8, [sp, #76]
b LBB7_9
LBB7_9:
ldr w0, [sp, #76]
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _HashNew ## -- Begin function HashNew
.p2align 4, 0x90
_HashNew: ## @HashNew
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
movl %eax, %ecx
movl $1, %eax
## kill: def $cl killed $rcx
shlq %cl, %rax
shlq $3, %rax
addq $56, %rax
movq %rax, -16(%rbp)
movq $0, -24(%rbp)
movq -16(%rbp), %rsi
movl $1, %edi
callq _calloc
movq %rax, -24(%rbp)
cmpq $0, %rax
je LBB0_2
## %bb.1:
movslq -4(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movl -4(%rbp), %eax
movl %eax, %ecx
movl $1, %eax
## kill: def $cl killed $rcx
shlq %cl, %rax
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
movq 8(%rax), %rcx
subq $1, %rcx
movq -24(%rbp), %rax
movq %rcx, 16(%rax)
movq -24(%rbp), %rax
movl $3131951870, %ecx ## imm = 0xBAADCAFE
movq %rcx, 32(%rax)
LBB0_2:
movq -24(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _HashFree ## -- Begin function HashFree
.p2align 4, 0x90
_HashFree: ## @HashFree
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movq %rax, -24(%rbp)
cmpq $0, -24(%rbp)
je LBB1_14
## %bb.1:
movq -24(%rbp), %rax
addq $56, %rax
movq %rax, -32(%rbp)
movl $0, -36(%rbp)
LBB1_2: ## =>This Loop Header: Depth=1
## Child Loop BB1_5 Depth 2
movslq -36(%rbp), %rax
movq -24(%rbp), %rcx
cmpq 8(%rcx), %rax
jae LBB1_13
## %bb.3: ## in Loop: Header=BB1_2 Depth=1
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB1_11
## %bb.4: ## in Loop: Header=BB1_2 Depth=1
movq -32(%rbp), %rax
movslq -36(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -48(%rbp)
LBB1_5: ## Parent Loop BB1_2 Depth=1
## => This Inner Loop Header: Depth=2
cmpq $0, -48(%rbp)
je LBB1_10
## %bb.6: ## in Loop: Header=BB1_5 Depth=2
movq -48(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
cmpl $0, -12(%rbp)
je LBB1_9
## %bb.7: ## in Loop: Header=BB1_5 Depth=2
movq -48(%rbp), %rax
cmpq $0, 16(%rax)
je LBB1_9
## %bb.8: ## in Loop: Header=BB1_5 Depth=2
movq -48(%rbp), %rax
movq 16(%rax), %rdi
callq _free
LBB1_9: ## in Loop: Header=BB1_5 Depth=2
movq -48(%rbp), %rdi
callq _free
movq -56(%rbp), %rax
movq %rax, -48(%rbp)
jmp LBB1_5
LBB1_10: ## in Loop: Header=BB1_2 Depth=1
jmp LBB1_11
LBB1_11: ## in Loop: Header=BB1_2 Depth=1
jmp LBB1_12
LBB1_12: ## in Loop: Header=BB1_2 Depth=1
movl -36(%rbp), %eax
addl $1, %eax
movl %eax, -36(%rbp)
jmp LBB1_2
LBB1_13:
movq -24(%rbp), %rdi
callq _free
LBB1_14:
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _HashAdd ## -- Begin function HashAdd
.p2align 4, 0x90
_HashAdd: ## @HashAdd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $128, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movl %ecx, -36(%rbp)
movl %r8d, -40(%rbp)
movq -16(%rbp), %rax
movq %rax, -48(%rbp)
movq -24(%rbp), %rdi
callq _strlen
addq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -52(%rbp)
movslq -52(%rbp), %rsi
addq $32, %rsi
movl $1, %edi
callq _calloc
movq %rax, -72(%rbp)
cmpq $0, %rax
jne LBB2_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB2_16
LBB2_2:
movq -72(%rbp), %rax
addq $32, %rax
movq %rax, -80(%rbp)
movq -80(%rbp), %rdi
movq -24(%rbp), %rsi
movslq -52(%rbp), %rdx
movq $-1, %rcx
callq ___memmove_chk
movq -80(%rbp), %rcx
movq -72(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rcx
movq -72(%rbp), %rax
movq %rcx, 16(%rax)
movl -36(%rbp), %ecx
movq -72(%rbp), %rax
movl %ecx, 24(%rax)
movq -48(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -120(%rbp) ## 8-byte Spill
movq -48(%rbp), %rdi
movq -24(%rbp), %rsi
callq _Hash
movq %rax, %rcx
movq -120(%rbp), %rax ## 8-byte Reload
andq %rcx, %rax
movq %rax, -88(%rbp)
movq -48(%rbp), %rax
addq $56, %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
movq -88(%rbp), %rcx
cmpq $0, (%rax,%rcx,8)
je LBB2_14
## %bb.3:
movq -64(%rbp), %rax
movq -88(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -96(%rbp)
LBB2_4: ## =>This Inner Loop Header: Depth=1
movq -96(%rbp), %rax
movq (%rax), %rax
movq %rax, -104(%rbp)
cmpq $0, %rax
je LBB2_13
## %bb.5: ## in Loop: Header=BB2_4 Depth=1
movq -24(%rbp), %rdi
movq -104(%rbp), %rax
movq 8(%rax), %rsi
callq _strcmp
movl %eax, -108(%rbp)
cmpl $0, %eax
jge LBB2_7
## %bb.6:
movq -104(%rbp), %rcx
movq -72(%rbp), %rax
movq %rcx, (%rax)
movq -72(%rbp), %rcx
movq -96(%rbp), %rax
movq %rcx, (%rax)
movl $0, -4(%rbp)
jmp LBB2_16
LBB2_7: ## in Loop: Header=BB2_4 Depth=1
cmpl $0, -108(%rbp)
jne LBB2_12
## %bb.8:
movq -104(%rbp), %rax
movq (%rax), %rcx
movq -72(%rbp), %rax
movq %rcx, (%rax)
movq -72(%rbp), %rcx
movq -96(%rbp), %rax
movq %rcx, (%rax)
cmpl $0, -40(%rbp)
je LBB2_11
## %bb.9:
movq -104(%rbp), %rax
cmpq $0, 16(%rax)
je LBB2_11
## %bb.10:
movq -104(%rbp), %rax
movq 16(%rax), %rdi
callq _free
LBB2_11:
movq -104(%rbp), %rdi
callq _free
movq -72(%rbp), %rax
movq %rax, -96(%rbp)
movl $0, -4(%rbp)
jmp LBB2_16
LBB2_12: ## in Loop: Header=BB2_4 Depth=1
movq -104(%rbp), %rax
movq %rax, -96(%rbp)
jmp LBB2_4
LBB2_13:
movq -72(%rbp), %rcx
movq -96(%rbp), %rax
movq %rcx, (%rax)
movq -104(%rbp), %rcx
movq -72(%rbp), %rax
movq %rcx, (%rax)
jmp LBB2_15
LBB2_14:
movq -72(%rbp), %rdx
movq -64(%rbp), %rax
movq -88(%rbp), %rcx
movq %rdx, (%rax,%rcx,8)
LBB2_15:
movl $0, -4(%rbp)
LBB2_16:
movl -4(%rbp), %eax
addq $128, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function Hash
_Hash: ## @Hash
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movq -16(%rbp), %rdi
callq _strlen
movq %rax, -24(%rbp)
movl $2654435769, %eax ## imm = 0x9E3779B9
movq %rax, -32(%rbp)
movl $2654435769, %eax ## imm = 0x9E3779B9
movq %rax, -40(%rbp)
movq -8(%rbp), %rax
movq 32(%rax), %rax
movq %rax, -48(%rbp)
movq -24(%rbp), %rax
movq %rax, -56(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpq $12, -56(%rbp)
jb LBB3_3
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -16(%rbp), %rax
movsbq (%rax), %rax
movq -16(%rbp), %rcx
movsbq 1(%rcx), %rcx
shlq $8, %rcx
addq %rcx, %rax
movq -16(%rbp), %rcx
movsbq 2(%rcx), %rcx
shlq $16, %rcx
addq %rcx, %rax
movq -16(%rbp), %rcx
movsbq 3(%rcx), %rcx
shlq $24, %rcx
addq %rcx, %rax
addq -32(%rbp), %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
movsbq 4(%rax), %rax
movq -16(%rbp), %rcx
movsbq 5(%rcx), %rcx
shlq $8, %rcx
addq %rcx, %rax
movq -16(%rbp), %rcx
movsbq 6(%rcx), %rcx
shlq $16, %rcx
addq %rcx, %rax
movq -16(%rbp), %rcx
movsbq 7(%rcx), %rcx
shlq $24, %rcx
addq %rcx, %rax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -16(%rbp), %rax
movsbq 8(%rax), %rax
movq -16(%rbp), %rcx
movsbq 9(%rcx), %rcx
shlq $8, %rcx
addq %rcx, %rax
movq -16(%rbp), %rcx
movsbq 10(%rcx), %rcx
shlq $16, %rcx
addq %rcx, %rax
movq -16(%rbp), %rcx
movsbq 11(%rcx), %rcx
shlq $24, %rcx
addq %rcx, %rax
addq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rax
shrq $13, %rax
xorq -32(%rbp), %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
shlq $8, %rax
xorq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
shrq $13, %rax
xorq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rax
shrq $12, %rax
xorq -32(%rbp), %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
shlq $16, %rax
xorq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
shlq $5, %rax
xorq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rax
shrq $3, %rax
xorq -32(%rbp), %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
shlq $10, %rax
xorq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
shrq $15, %rax
xorq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -16(%rbp), %rax
addq $12, %rax
movq %rax, -16(%rbp)
movq -56(%rbp), %rax
subq $12, %rax
movq %rax, -56(%rbp)
jmp LBB3_1
LBB3_3:
movq -24(%rbp), %rcx
movq -48(%rbp), %rax
addq %rcx, %rax
movq %rax, -48(%rbp)
movq -56(%rbp), %rax
decq %rax
movq %rax, -64(%rbp) ## 8-byte Spill
subq $10, %rax
ja LBB3_15
## %bb.16:
movq -64(%rbp), %rax ## 8-byte Reload
leaq LJTI3_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB3_4:
movq -16(%rbp), %rax
movsbl 10(%rax), %eax
shll $24, %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -48(%rbp), %rax
movq %rax, -48(%rbp)
LBB3_5:
movq -16(%rbp), %rax
movsbl 9(%rax), %eax
shll $16, %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -48(%rbp), %rax
movq %rax, -48(%rbp)
LBB3_6:
movq -16(%rbp), %rax
movsbl 8(%rax), %eax
shll $8, %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -48(%rbp), %rax
movq %rax, -48(%rbp)
LBB3_7:
movq -16(%rbp), %rax
movsbl 7(%rax), %eax
shll $24, %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
LBB3_8:
movq -16(%rbp), %rax
movsbl 6(%rax), %eax
shll $16, %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
LBB3_9:
movq -16(%rbp), %rax
movsbl 5(%rax), %eax
shll $8, %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
LBB3_10:
movq -16(%rbp), %rax
movsbl 4(%rax), %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -40(%rbp), %rax
movq %rax, -40(%rbp)
LBB3_11:
movq -16(%rbp), %rax
movsbl 3(%rax), %eax
shll $24, %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -32(%rbp), %rax
movq %rax, -32(%rbp)
LBB3_12:
movq -16(%rbp), %rax
movsbl 2(%rax), %eax
shll $16, %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -32(%rbp), %rax
movq %rax, -32(%rbp)
LBB3_13:
movq -16(%rbp), %rax
movsbl 1(%rax), %eax
shll $8, %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -32(%rbp), %rax
movq %rax, -32(%rbp)
LBB3_14:
movq -16(%rbp), %rax
movsbl (%rax), %eax
movl %eax, %eax
## kill: def $rax killed $eax
addq -32(%rbp), %rax
movq %rax, -32(%rbp)
LBB3_15:
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rax
shrq $13, %rax
xorq -32(%rbp), %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
shlq $8, %rax
xorq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
shrq $13, %rax
xorq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rax
shrq $12, %rax
xorq -32(%rbp), %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
shlq $16, %rax
xorq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
shlq $5, %rax
xorq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -32(%rbp), %rax
subq %rcx, %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rax
shrq $3, %rax
xorq -32(%rbp), %rax
movq %rax, -32(%rbp)
movq -48(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -40(%rbp), %rax
subq %rcx, %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rax
shlq $10, %rax
xorq -40(%rbp), %rax
movq %rax, -40(%rbp)
movq -32(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rcx
movq -48(%rbp), %rax
subq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
shrq $15, %rax
xorq -48(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L3_0_set_14, LBB3_14-LJTI3_0
.set L3_0_set_13, LBB3_13-LJTI3_0
.set L3_0_set_12, LBB3_12-LJTI3_0
.set L3_0_set_11, LBB3_11-LJTI3_0
.set L3_0_set_10, LBB3_10-LJTI3_0
.set L3_0_set_9, LBB3_9-LJTI3_0
.set L3_0_set_8, LBB3_8-LJTI3_0
.set L3_0_set_7, LBB3_7-LJTI3_0
.set L3_0_set_6, LBB3_6-LJTI3_0
.set L3_0_set_5, LBB3_5-LJTI3_0
.set L3_0_set_4, LBB3_4-LJTI3_0
LJTI3_0:
.long L3_0_set_14
.long L3_0_set_13
.long L3_0_set_12
.long L3_0_set_11
.long L3_0_set_10
.long L3_0_set_9
.long L3_0_set_8
.long L3_0_set_7
.long L3_0_set_6
.long L3_0_set_5
.long L3_0_set_4
.end_data_region
## -- End function
.globl _HashGet ## -- Begin function HashGet
.p2align 4, 0x90
_HashGet: ## @HashGet
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq -40(%rbp), %rdi
movq -24(%rbp), %rsi
callq _Hash
movq %rax, %rcx
movq -72(%rbp), %rax ## 8-byte Reload
andq %rcx, %rax
movq %rax, -64(%rbp)
movq -40(%rbp), %rax
addq $56, %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq -64(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -56(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -56(%rbp)
je LBB4_8
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movq -56(%rbp), %rax
movq 8(%rax), %rdi
movq -24(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB4_6
## %bb.3:
cmpq $0, -32(%rbp)
je LBB4_5
## %bb.4:
movq -56(%rbp), %rax
movl 24(%rax), %ecx
movq -32(%rbp), %rax
movl %ecx, (%rax)
LBB4_5:
movq -56(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -8(%rbp)
jmp LBB4_9
LBB4_6: ## in Loop: Header=BB4_1 Depth=1
jmp LBB4_7
LBB4_7: ## in Loop: Header=BB4_1 Depth=1
movq -56(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
jmp LBB4_1
LBB4_8:
movq $0, -8(%rbp)
LBB4_9:
movq -8(%rbp), %rax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _HashDelete ## -- Begin function HashDelete
.p2align 4, 0x90
_HashDelete: ## @HashDelete
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -72(%rbp) ## 8-byte Spill
movq -32(%rbp), %rdi
movq -24(%rbp), %rsi
callq _Hash
movq %rax, %rcx
movq -72(%rbp), %rax ## 8-byte Reload
andq %rcx, %rax
movq %rax, -64(%rbp)
movq -32(%rbp), %rax
addq $56, %rax
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movq -64(%rbp), %rcx
shlq $3, %rcx
addq %rcx, %rax
movq %rax, -48(%rbp)
movq -40(%rbp), %rax
movq -64(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -56(%rbp)
LBB5_1: ## =>This Inner Loop Header: Depth=1
cmpq $0, -56(%rbp)
je LBB5_8
## %bb.2: ## in Loop: Header=BB5_1 Depth=1
movq -56(%rbp), %rax
movq 8(%rax), %rdi
movq -24(%rbp), %rsi
callq _strcmp
cmpl $0, %eax
jne LBB5_6
## %bb.3:
movq -56(%rbp), %rax
movq (%rax), %rcx
movq -48(%rbp), %rax
movq %rcx, (%rax)
movq -56(%rbp), %rax
cmpq $0, 16(%rax)
je LBB5_5
## %bb.4:
movq -56(%rbp), %rax
movq 16(%rax), %rdi
callq _free
LBB5_5:
movq -56(%rbp), %rdi
callq _free
movl $0, -4(%rbp)
jmp LBB5_9
LBB5_6: ## in Loop: Header=BB5_1 Depth=1
jmp LBB5_7
LBB5_7: ## in Loop: Header=BB5_1 Depth=1
movq -56(%rbp), %rax
movq (%rax), %rax
movq %rax, -56(%rbp)
jmp LBB5_1
LBB5_8:
movl $-1, -4(%rbp)
LBB5_9:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _HashFindFirst ## -- Begin function HashFindFirst
.p2align 4, 0x90
_HashFindFirst: ## @HashFindFirst
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq -16(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movl $0, 40(%rax)
movq -48(%rbp), %rax
movq $0, 48(%rax)
movq -48(%rbp), %rax
addq $56, %rax
movq %rax, -64(%rbp)
movl $0, -52(%rbp)
LBB6_1: ## =>This Inner Loop Header: Depth=1
movl -52(%rbp), %eax
## kill: def $rax killed $eax
movq -48(%rbp), %rcx
cmpq 8(%rcx), %rax
jae LBB6_6
## %bb.2: ## in Loop: Header=BB6_1 Depth=1
movq -64(%rbp), %rax
movl -52(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq $0, (%rax,%rcx,8)
je LBB6_4
## %bb.3:
movq -64(%rbp), %rax
movl -52(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rax
movq %rax, -72(%rbp)
movq -72(%rbp), %rax
movq 8(%rax), %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movq -72(%rbp), %rax
movq 16(%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, (%rax)
movq -72(%rbp), %rax
movl 24(%rax), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movq -72(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, 48(%rax)
movl -52(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, 40(%rax)
movl $0, -4(%rbp)
jmp LBB6_7
LBB6_4: ## in Loop: Header=BB6_1 Depth=1
jmp LBB6_5
LBB6_5: ## in Loop: Header=BB6_1 Depth=1
movl -52(%rbp), %eax
addl $1, %eax
movl %eax, -52(%rbp)
jmp LBB6_1
LBB6_6:
movl $-1, -4(%rbp)
LBB6_7:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _HashFindNext ## -- Begin function HashFindNext
.p2align 4, 0x90
_HashFindNext: ## @HashFindNext
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq %rdx, -32(%rbp)
movq %rcx, -40(%rbp)
movq -16(%rbp), %rax
movq %rax, -48(%rbp)
movq -48(%rbp), %rax
movq 48(%rax), %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
cmpq $0, (%rax)
je LBB7_2
## %bb.1:
movq -64(%rbp), %rax
movq (%rax), %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, 48(%rax)
movq -64(%rbp), %rax
movq 8(%rax), %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movq -64(%rbp), %rax
movq 16(%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, (%rax)
movq -64(%rbp), %rax
movl 24(%rax), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movl $0, -4(%rbp)
jmp LBB7_9
LBB7_2:
movq -48(%rbp), %rax
addq $56, %rax
movq %rax, -56(%rbp)
movq -48(%rbp), %rax
movl 40(%rax), %eax
addl $1, %eax
movl %eax, -68(%rbp)
LBB7_3: ## =>This Inner Loop Header: Depth=1
movl -68(%rbp), %eax
## kill: def $rax killed $eax
movq -48(%rbp), %rcx
cmpq 8(%rcx), %rax
jae LBB7_8
## %bb.4: ## in Loop: Header=BB7_3 Depth=1
movq -56(%rbp), %rax
movl -68(%rbp), %ecx
## kill: def $rcx killed $ecx
cmpq $0, (%rax,%rcx,8)
je LBB7_6
## %bb.5:
movq -56(%rbp), %rax
movl -68(%rbp), %ecx
## kill: def $rcx killed $ecx
movq (%rax,%rcx,8), %rax
movq %rax, -64(%rbp)
movq -64(%rbp), %rax
movq 8(%rax), %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movq -64(%rbp), %rax
movq 16(%rax), %rcx
movq -32(%rbp), %rax
movq %rcx, (%rax)
movq -64(%rbp), %rax
movl 24(%rax), %ecx
movq -40(%rbp), %rax
movl %ecx, (%rax)
movq -64(%rbp), %rcx
movq -48(%rbp), %rax
movq %rcx, 48(%rax)
movl -68(%rbp), %ecx
movq -48(%rbp), %rax
movl %ecx, 40(%rax)
movl $0, -4(%rbp)
jmp LBB7_9
LBB7_6: ## in Loop: Header=BB7_3 Depth=1
jmp LBB7_7
LBB7_7: ## in Loop: Header=BB7_3 Depth=1
movl -68(%rbp), %eax
addl $1, %eax
movl %eax, -68(%rbp)
jmp LBB7_3
LBB7_8:
movl $-1, -4(%rbp)
LBB7_9:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/90220.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _parsing ; -- Begin function parsing
.p2align 2
_parsing: ; @parsing
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur x1, [x29, #-24]
stur wzr, [x29, #-28]
ldur x0, [x29, #-16]
bl _strlen
mov x8, x0
stur w8, [x29, #-32]
stur wzr, [x29, #-36]
str wzr, [sp, #40]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #40]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #40]
ldrsb w8, [x8, x9]
subs w8, w8, #38
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
mov w8, #1
stur w8, [x29, #-36]
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #40]
add w8, w8, #1
str w8, [sp, #40]
b LBB0_1
LBB0_6:
ldur w8, [x29, #-36]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_10
b LBB0_7
LBB0_7:
ldur x8, [x29, #-16]
ldur w9, [x29, #-32]
subs w9, w9, #2
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #38
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_8
LBB0_8:
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
stur w8, [x29, #-4]
b LBB0_38
LBB0_9:
b LBB0_10
LBB0_10:
str wzr, [sp, #36]
str wzr, [sp, #32]
b LBB0_11
LBB0_11: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #32]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_16
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_11 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #32]
ldrsb w8, [x8, x9]
subs w8, w8, #60
cset w8, ne
tbnz w8, #0, LBB0_14
b LBB0_13
LBB0_13: ; in Loop: Header=BB0_11 Depth=1
mov w8, #1
str w8, [sp, #36]
b LBB0_14
LBB0_14: ; in Loop: Header=BB0_11 Depth=1
b LBB0_15
LBB0_15: ; in Loop: Header=BB0_11 Depth=1
ldr w8, [sp, #32]
add w8, w8, #1
str w8, [sp, #32]
b LBB0_11
LBB0_16:
ldr w8, [sp, #36]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_17
LBB0_17:
ldur x8, [x29, #-16]
ldrsb w8, [x8]
subs w8, w8, #60
cset w8, ne
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
stur w8, [x29, #-4]
b LBB0_38
LBB0_19:
str wzr, [sp, #28]
str wzr, [sp, #24]
b LBB0_20
LBB0_20: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldur w9, [x29, #-32]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_25
b LBB0_21
LBB0_21: ; in Loop: Header=BB0_20 Depth=1
ldur x8, [x29, #-16]
ldrsw x9, [sp, #24]
ldrsb w8, [x8, x9]
subs w8, w8, #62
cset w8, ne
tbnz w8, #0, LBB0_23
b LBB0_22
LBB0_22: ; in Loop: Header=BB0_20 Depth=1
mov w8, #1
str w8, [sp, #28]
b LBB0_23
LBB0_23: ; in Loop: Header=BB0_20 Depth=1
b LBB0_24
LBB0_24: ; in Loop: Header=BB0_20 Depth=1
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_20
LBB0_25:
ldr w8, [sp, #28]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_26
LBB0_26:
ldur x8, [x29, #-16]
ldur w9, [x29, #-32]
subs w9, w9, #2
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #62
cset w8, ne
tbnz w8, #0, LBB0_28
b LBB0_27
LBB0_27:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov w8, #-1
stur w8, [x29, #-28]
ldur w8, [x29, #-28]
stur w8, [x29, #-4]
b LBB0_38
LBB0_28:
str wzr, [sp, #20]
ldur x0, [x29, #-16]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _strtok
str x0, [sp, #8]
ldr x0, [sp, #8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _strtok
str x0, [sp, #8]
b LBB0_29
LBB0_29: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB0_34
b LBB0_30
LBB0_30: ; in Loop: Header=BB0_29 Depth=1
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_32
b LBB0_31
LBB0_31: ; in Loop: Header=BB0_29 Depth=1
ldr x8, [sp, #8]
stur x8, [x29, #-16]
b LBB0_33
LBB0_32: ; in Loop: Header=BB0_29 Depth=1
ldr x8, [sp, #8]
ldur x9, [x29, #-24]
ldr w10, [sp, #20]
subs w10, w10, #1
str x8, [x9, w10, sxtw #3]
b LBB0_33
LBB0_33: ; in Loop: Header=BB0_29 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
mov x0, #0
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _strtok
str x0, [sp, #8]
b LBB0_29
LBB0_34:
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB0_36
b LBB0_35
LBB0_35:
ldur x9, [x29, #-24]
ldr w8, [sp, #20]
subs w10, w8, #1
mov x8, #0
str x8, [x9, w10, sxtw #3]
b LBB0_37
LBB0_36:
ldur x9, [x29, #-24]
ldrsw x10, [sp, #20]
mov x8, #0
str x8, [x9, x10, lsl #3]
b LBB0_37
LBB0_37:
ldur w8, [x29, #-28]
stur w8, [x29, #-4]
b LBB0_38
LBB0_38:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Invalid input, & must be at the end of command\n"
l_.str.1: ; @.str.1
.asciz "Invalid input: '<' can't be at the beginning of a command\n"
l_.str.2: ; @.str.2
.asciz "Invalid input: '> can't be at the end of a command\n"
l_.str.3: ; @.str.3
.asciz "\n"
l_.str.4: ; @.str.4
.asciz " "
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _parsing ## -- Begin function parsing
.p2align 4, 0x90
_parsing: ## @parsing
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $80, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl $0, -28(%rbp)
movq -16(%rbp), %rdi
callq _strlen
## kill: def $eax killed $eax killed $rax
movl %eax, -32(%rbp)
movl $0, -36(%rbp)
movl $0, -40(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -40(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -16(%rbp), %rax
movslq -40(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $38, %eax
jne LBB0_4
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl $1, -36(%rbp)
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -40(%rbp), %eax
addl $1, %eax
movl %eax, -40(%rbp)
jmp LBB0_1
LBB0_6:
cmpl $1, -36(%rbp)
jne LBB0_10
## %bb.7:
movq -16(%rbp), %rax
movl -32(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $38, %eax
je LBB0_9
## %bb.8:
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -28(%rbp)
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_38
LBB0_9:
jmp LBB0_10
LBB0_10:
movl $0, -44(%rbp)
movl $0, -48(%rbp)
LBB0_11: ## =>This Inner Loop Header: Depth=1
movl -48(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB0_16
## %bb.12: ## in Loop: Header=BB0_11 Depth=1
movq -16(%rbp), %rax
movslq -48(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $60, %eax
jne LBB0_14
## %bb.13: ## in Loop: Header=BB0_11 Depth=1
movl $1, -44(%rbp)
LBB0_14: ## in Loop: Header=BB0_11 Depth=1
jmp LBB0_15
LBB0_15: ## in Loop: Header=BB0_11 Depth=1
movl -48(%rbp), %eax
addl $1, %eax
movl %eax, -48(%rbp)
jmp LBB0_11
LBB0_16:
cmpl $1, -44(%rbp)
jne LBB0_19
## %bb.17:
movq -16(%rbp), %rax
movsbl (%rax), %eax
cmpl $60, %eax
jne LBB0_19
## %bb.18:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -28(%rbp)
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_38
LBB0_19:
movl $0, -52(%rbp)
movl $0, -56(%rbp)
LBB0_20: ## =>This Inner Loop Header: Depth=1
movl -56(%rbp), %eax
cmpl -32(%rbp), %eax
jge LBB0_25
## %bb.21: ## in Loop: Header=BB0_20 Depth=1
movq -16(%rbp), %rax
movslq -56(%rbp), %rcx
movsbl (%rax,%rcx), %eax
cmpl $62, %eax
jne LBB0_23
## %bb.22: ## in Loop: Header=BB0_20 Depth=1
movl $1, -52(%rbp)
LBB0_23: ## in Loop: Header=BB0_20 Depth=1
jmp LBB0_24
LBB0_24: ## in Loop: Header=BB0_20 Depth=1
movl -56(%rbp), %eax
addl $1, %eax
movl %eax, -56(%rbp)
jmp LBB0_20
LBB0_25:
cmpl $1, -52(%rbp)
jne LBB0_28
## %bb.26:
movq -16(%rbp), %rax
movl -32(%rbp), %ecx
subl $2, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $62, %eax
jne LBB0_28
## %bb.27:
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
movl $-1, -28(%rbp)
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
jmp LBB0_38
LBB0_28:
movl $0, -60(%rbp)
movq -16(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _strtok
movq %rax, -72(%rbp)
movq -72(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _strtok
movq %rax, -72(%rbp)
LBB0_29: ## =>This Inner Loop Header: Depth=1
cmpq $0, -72(%rbp)
je LBB0_34
## %bb.30: ## in Loop: Header=BB0_29 Depth=1
cmpl $0, -60(%rbp)
jne LBB0_32
## %bb.31: ## in Loop: Header=BB0_29 Depth=1
movq -72(%rbp), %rax
movq %rax, -16(%rbp)
jmp LBB0_33
LBB0_32: ## in Loop: Header=BB0_29 Depth=1
movq -72(%rbp), %rdx
movq -24(%rbp), %rax
movl -60(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movq %rdx, (%rax,%rcx,8)
LBB0_33: ## in Loop: Header=BB0_29 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
xorl %eax, %eax
movl %eax, %edi
leaq L_.str.4(%rip), %rsi
callq _strtok
movq %rax, -72(%rbp)
jmp LBB0_29
LBB0_34:
cmpl $1, -60(%rbp)
jne LBB0_36
## %bb.35:
movq -24(%rbp), %rax
movl -60(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movq $0, (%rax,%rcx,8)
jmp LBB0_37
LBB0_36:
movq -24(%rbp), %rax
movslq -60(%rbp), %rcx
movq $0, (%rax,%rcx,8)
LBB0_37:
movl -28(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_38:
movl -4(%rbp), %eax
addq $80, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Invalid input, & must be at the end of command\n"
L_.str.1: ## @.str.1
.asciz "Invalid input: '<' can't be at the beginning of a command\n"
L_.str.2: ## @.str.2
.asciz "Invalid input: '> can't be at the end of a command\n"
L_.str.3: ## @.str.3
.asciz "\n"
L_.str.4: ## @.str.4
.asciz " "
.subsections_via_symbols
| the_stack_data/100139591.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #8]
mov w8, #2
str w8, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #8]
ldr w10, [sp, #4]
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
str wzr, [sp, #12]
b LBB0_7
LBB0_4: ; in Loop: Header=BB0_1 Depth=1
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_6:
mov w8, #1
str w8, [sp, #12]
b LBB0_7
LBB0_7:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #12
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldur w0, [x29, #-8]
bl _f
ldur w0, [x29, #-8]
bl _f
subs w8, w0, #1
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
ldur w8, [x29, #-8]
str w8, [sp, #16]
b LBB1_5
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-8]
add w8, w8, #1
stur w8, [x29, #-8]
b LBB1_1
LBB1_5:
ldr w9, [sp, #16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
movl $2, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -12(%rbp), %eax
cmpl -8(%rbp), %eax
jge LBB0_6
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -8(%rbp), %eax
cltd
idivl -12(%rbp)
cmpl $0, %edx
jne LBB0_4
## %bb.3:
movl $0, -4(%rbp)
jmp LBB0_7
LBB0_4: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_5
LBB0_5: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_6:
movl $1, -4(%rbp)
LBB0_7:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -12(%rbp), %rsi
movb $0, %al
callq _scanf
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -8(%rbp), %edi
callq _f
movl -8(%rbp), %edi
callq _f
cmpl $1, %eax
jne LBB1_3
## %bb.2:
movl -8(%rbp), %eax
movl %eax, -16(%rbp)
jmp LBB1_5
LBB1_3: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_4
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB1_1
LBB1_5:
movl -16(%rbp), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
.subsections_via_symbols
| the_stack_data/206392066.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putbyte_fd ; -- Begin function ft_putbyte_fd
.p2align 2
_ft_putbyte_fd: ; @ft_putbyte_fd
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
sturb w0, [x29, #-5]
stur w1, [x29, #-12]
ldur w0, [x29, #-12]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov x2, #0
bl _write
adds x8, x0, #1
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov w8, #-1
stur w8, [x29, #-4]
b LBB0_9
LBB0_2:
mov w8, #8
str w8, [sp, #16]
str wzr, [sp, #12]
b LBB0_3
LBB0_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=1
ldurb w8, [x29, #-5]
ldr w9, [sp, #16]
asr w8, w8, w9
ands w8, w8, #0x1
cset w8, eq
tbnz w8, #0, LBB0_6
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=1
ldur w0, [x29, #-12]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
mov x2, #1
bl _write
mov x9, x0
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_7
LBB0_6: ; in Loop: Header=BB0_3 Depth=1
ldur w0, [x29, #-12]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
mov x2, #1
bl _write
mov x9, x0
ldr w8, [sp, #12]
add w8, w8, w9
str w8, [sp, #12]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_3 Depth=1
b LBB0_3
LBB0_8:
ldr w8, [sp, #12]
stur w8, [x29, #-4]
b LBB0_9
LBB0_9:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.space 1
l_.str.1: ; @.str.1
.asciz "1"
l_.str.2: ; @.str.2
.asciz "0"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _ft_putbyte_fd ## -- Begin function ft_putbyte_fd
.p2align 4, 0x90
_ft_putbyte_fd: ## @ft_putbyte_fd
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movb %dil, %al
movb %al, -5(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %edi
leaq L_.str(%rip), %rsi
xorl %eax, %eax
movl %eax, %edx
callq _write
cmpq $-1, %rax
jne LBB0_2
## %bb.1:
movl $-1, -4(%rbp)
jmp LBB0_9
LBB0_2:
movl $8, -16(%rbp)
movl $0, -20(%rbp)
LBB0_3: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
addl $-1, %eax
movl %eax, -16(%rbp)
cmpl $0, %eax
jl LBB0_8
## %bb.4: ## in Loop: Header=BB0_3 Depth=1
movzbl -5(%rbp), %eax
movl -16(%rbp), %ecx
## kill: def $cl killed $ecx
sarl %cl, %eax
andl $1, %eax
cmpl $0, %eax
je LBB0_6
## %bb.5: ## in Loop: Header=BB0_3 Depth=1
movl -12(%rbp), %edi
leaq L_.str.1(%rip), %rsi
movl $1, %edx
callq _write
## kill: def $eax killed $eax killed $rax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_3 Depth=1
movl -12(%rbp), %edi
leaq L_.str.2(%rip), %rsi
movl $1, %edx
callq _write
## kill: def $eax killed $eax killed $rax
addl -20(%rbp), %eax
movl %eax, -20(%rbp)
LBB0_7: ## in Loop: Header=BB0_3 Depth=1
jmp LBB0_3
LBB0_8:
movl -20(%rbp), %eax
movl %eax, -4(%rbp)
LBB0_9:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.space 1
L_.str.1: ## @.str.1
.asciz "1"
L_.str.2: ## @.str.2
.asciz "0"
.subsections_via_symbols
| the_stack_data/218893821.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _infinite ; -- Begin function infinite
.p2align 2
_infinite: ; @infinite
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
b LBB0_1
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _infinite ## -- Begin function infinite
.p2align 4, 0x90
_infinite: ## @infinite
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
jmp LBB0_1
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/857952.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
adrp x8, ___stdinp@GOTPAGE
ldr x8, [x8, ___stdinp@GOTPAGEOFF]
ldr x0, [x8]
bl _feof
subs w8, w0, #0
cset w8, ne
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
bl _calc_parse
b LBB0_1
LBB0_3:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _calc_parse ; -- Begin function calc_parse
.p2align 2
_calc_parse: ; @calc_parse
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x11, _calc_nerrs@GOTPAGE
ldr x11, [x11, _calc_nerrs@GOTPAGEOFF]
str x11, [sp, #24] ; 8-byte Folded Spill
adrp x9, _calc_errflag@GOTPAGE
ldr x9, [x9, _calc_errflag@GOTPAGEOFF]
str x9, [sp, #32] ; 8-byte Folded Spill
adrp x10, _calc_char@GOTPAGE
ldr x10, [x10, _calc_char@GOTPAGEOFF]
str x10, [sp, #40] ; 8-byte Folded Spill
adrp x8, _yystack@PAGE
add x8, x8, _yystack@PAGEOFF
str x8, [sp, #48] ; 8-byte Folded Spill
adrp x12, _calc_check@GOTPAGE
ldr x12, [x12, _calc_check@GOTPAGEOFF]
stur x12, [x29, #-40] ; 8-byte Folded Spill
adrp x12, _calc_table@GOTPAGE
ldr x12, [x12, _calc_table@GOTPAGEOFF]
stur x12, [x29, #-32] ; 8-byte Folded Spill
adrp x12, _calc_val@GOTPAGE
ldr x12, [x12, _calc_val@GOTPAGEOFF]
stur x12, [x29, #-24] ; 8-byte Folded Spill
stur wzr, [x29, #-4]
stur wzr, [x29, #-8]
str wzr, [x11]
str wzr, [x9]
mov w9, #-1
str w9, [x10]
stur wzr, [x29, #-12]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_1
LBB1_1:
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_3
b LBB1_2
LBB1_2:
b LBB1_86
LBB1_3:
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x9, [x8, #8]
str x9, [x8, #16]
ldr x9, [x8, #32]
str x9, [x8, #40]
stur wzr, [x29, #-12]
ldr x8, [x8, #16]
strh wzr, [x8]
b LBB1_4
LBB1_4: ; =>This Loop Header: Depth=1
; Child Loop BB1_31 Depth 2
ldursw x9, [x29, #-12]
adrp x8, _calc_defred@GOTPAGE
ldr x8, [x8, _calc_defred@GOTPAGEOFF]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_4 Depth=1
b LBB1_46
LBB1_6: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_10
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_4 Depth=1
bl _calc_lex
ldr x8, [sp, #40] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_9
LBB1_9: ; in Loop: Header=BB1_4 Depth=1
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-12]
adrp x8, _calc_sindex@GOTPAGE
ldr x8, [x8, _calc_sindex@GOTPAGEOFF]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [x8]
ldur w8, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_20
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_20
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldursw x10, [x29, #-8]
ldrsh w8, [x8, x10, lsl #1]
ldr w9, [x9]
subs w8, w8, w9, sxth
cset w8, ne
tbnz w8, #0, LBB1_20
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_17
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_17
b LBB1_16
LBB1_16:
b LBB1_86
LBB1_17: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr x10, [sp, #40] ; 8-byte Folded Reload
ldr x13, [sp, #48] ; 8-byte Folded Reload
ldur x9, [x29, #-32] ; 8-byte Folded Reload
ldursw x11, [x29, #-8]
ldrsh w11, [x9, x11, lsl #1]
stur w11, [x29, #-12]
ldursw x11, [x29, #-8]
add x9, x9, x11, lsl #1
ldrh w9, [x9]
ldr x11, [x13, #16]
add x12, x11, #2
str x12, [x13, #16]
strh w9, [x11, #2]
adrp x9, _calc_lval@GOTPAGE
ldr x9, [x9, _calc_lval@GOTPAGEOFF]
ldr w9, [x9]
ldr x11, [x13, #40]
add x12, x11, #4
str x12, [x13, #40]
str w9, [x11, #4]
mov w9, #-1
str w9, [x10]
ldr w8, [x8]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_19
b LBB1_18
LBB1_18: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x9]
subs w8, w8, #1
str w8, [x9]
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_20: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-12]
adrp x8, _calc_rindex@GOTPAGE
ldr x8, [x8, _calc_rindex@GOTPAGEOFF]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w9, [x8]
ldur w8, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_25
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_25
b LBB1_23
LBB1_23: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldursw x10, [x29, #-8]
ldrsh w8, [x8, x10, lsl #1]
ldr w9, [x9]
subs w8, w8, w9, sxth
cset w8, ne
tbnz w8, #0, LBB1_25
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
b LBB1_46
LBB1_25: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_27
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_4 Depth=1
b LBB1_29
LBB1_27: ; in Loop: Header=BB1_4 Depth=1
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _calc_error
b LBB1_28
LBB1_28: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #24] ; 8-byte Folded Reload
ldr w8, [x9]
add w8, w8, #1
str w8, [x9]
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB1_43
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #32] ; 8-byte Folded Reload
mov w8, #3
str w8, [x9]
b LBB1_31
LBB1_31: ; Parent Loop BB1_4 Depth=1
; => This Inner Loop Header: Depth=2
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #16]
ldrsh x9, [x8]
adrp x8, _calc_sindex@GOTPAGE
ldr x8, [x8, _calc_sindex@GOTPAGEOFF]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_39
b LBB1_32
LBB1_32: ; in Loop: Header=BB1_31 Depth=2
ldur w8, [x29, #-8]
add w8, w8, #256
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_39
b LBB1_33
LBB1_33: ; in Loop: Header=BB1_31 Depth=2
ldur w8, [x29, #-8]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_39
b LBB1_34
LBB1_34: ; in Loop: Header=BB1_31 Depth=2
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
ldrsh w8, [x8, x9, lsl #1]
subs w8, w8, #256
cset w8, ne
tbnz w8, #0, LBB1_39
b LBB1_35
LBB1_35: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_38
b LBB1_36
LBB1_36: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_38
b LBB1_37
LBB1_37:
b LBB1_86
LBB1_38: ; in Loop: Header=BB1_4 Depth=1
ldr x11, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
ldrsh w9, [x8, x9, lsl #1]
stur w9, [x29, #-12]
ldursw x9, [x29, #-8]
add x8, x8, x9, lsl #1
ldrh w8, [x8]
ldr x9, [x11, #16]
add x10, x9, #2
str x10, [x11, #16]
strh w8, [x9, #2]
adrp x8, _calc_lval@GOTPAGE
ldr x8, [x8, _calc_lval@GOTPAGEOFF]
ldr w8, [x8]
ldr x9, [x11, #40]
add x10, x9, #4
str x10, [x11, #40]
str w8, [x9, #4]
b LBB1_4
LBB1_39: ; in Loop: Header=BB1_31 Depth=2
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, hi
tbnz w8, #0, LBB1_41
b LBB1_40
LBB1_40:
b LBB1_87
LBB1_41: ; in Loop: Header=BB1_31 Depth=2
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #16]
subs x8, x8, #2
str x8, [x9, #16]
ldr x8, [x9, #40]
subs x8, x8, #4
str x8, [x9, #40]
b LBB1_42
LBB1_42: ; in Loop: Header=BB1_31 Depth=2
b LBB1_31
LBB1_43: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_45
b LBB1_44
LBB1_44:
b LBB1_87
LBB1_45: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #40] ; 8-byte Folded Reload
mov w8, #-1
str w8, [x9]
b LBB1_4
LBB1_46: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-8]
adrp x8, _calc_len@GOTPAGE
ldr x8, [x8, _calc_len@GOTPAGEOFF]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-4]
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB1_48
b LBB1_47
LBB1_47: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldur w11, [x29, #-4]
mov w10, #1
subs w10, w10, w11
ldr w8, [x8, w10, sxtw #2]
str w8, [x9]
b LBB1_49
LBB1_48: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-24] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_49
LBB1_49: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #3
; kill: def $x8 killed $w8
str x8, [sp, #16] ; 8-byte Folded Spill
subs x8, x8, #15
cset w8, hi
tbnz w8, #0, LBB1_66
; %bb.50: ; in Loop: Header=BB1_4 Depth=1
ldr x11, [sp, #16] ; 8-byte Folded Reload
adrp x10, lJTI1_0@PAGE
add x10, x10, lJTI1_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB1_51: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #32] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_67
LBB1_52: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB1_67
LBB1_53: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #40]
ldr w8, [x8]
ldr x9, [x9, #40]
ldursw x10, [x9, #-8]
adrp x9, _regs@GOTPAGE
ldr x9, [x9, _regs@GOTPAGEOFF]
str w8, [x9, x10, lsl #2]
b LBB1_67
LBB1_54: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldur w8, [x8, #-4]
str w8, [x9]
b LBB1_67
LBB1_55: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
add w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_56: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
subs w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_57: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
mul w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_58: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
sdiv w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_59: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w11, [x10]
sdiv w10, w8, w11
mul w10, w10, w11
subs w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_60: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
and w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_61: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x10, #40]
ldur w8, [x8, #-8]
ldr x10, [x10, #40]
ldr w10, [x10]
orr w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_62: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldr w10, [x8]
mov w8, #0
subs w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_63: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x8, #40]
ldrsw x10, [x8]
adrp x8, _regs@GOTPAGE
ldr x8, [x8, _regs@GOTPAGEOFF]
ldr w8, [x8, x10, lsl #2]
str w8, [x9]
b LBB1_67
LBB1_64: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #48] ; 8-byte Folded Reload
ldur x10, [x29, #-24] ; 8-byte Folded Reload
ldr x9, [x8, #40]
ldr w9, [x9]
str w9, [x10]
ldr x8, [x8, #40]
ldr w8, [x8]
subs w8, w8, #0
cset w8, eq
and w10, w8, #0x1
mov w9, #10
mov w8, #8
ands w10, w10, #0x1
csel w8, w8, w9, ne
adrp x9, _base@GOTPAGE
ldr x9, [x9, _base@GOTPAGEOFF]
str w8, [x9]
b LBB1_67
LBB1_65: ; in Loop: Header=BB1_4 Depth=1
ldur x9, [x29, #-24] ; 8-byte Folded Reload
ldr x10, [sp, #48] ; 8-byte Folded Reload
adrp x8, _base@GOTPAGE
ldr x8, [x8, _base@GOTPAGEOFF]
ldr w8, [x8]
ldr x11, [x10, #40]
ldur w11, [x11, #-4]
mul w8, w8, w11
ldr x10, [x10, #40]
ldr w10, [x10]
add w8, w8, w10
str w8, [x9]
b LBB1_67
LBB1_66: ; in Loop: Header=BB1_4 Depth=1
b LBB1_67
LBB1_67: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldursw x11, [x29, #-4]
ldr x8, [x9, #16]
mov x10, #0
subs x11, x10, x11
add x8, x8, x11, lsl #1
str x8, [x9, #16]
ldr x8, [x9, #16]
ldrsh w8, [x8]
stur w8, [x29, #-12]
ldursw x11, [x29, #-4]
ldr x8, [x9, #40]
subs x10, x10, x11
add x8, x8, x10, lsl #2
str x8, [x9, #40]
ldursw x9, [x29, #-8]
adrp x8, _calc_lhs@GOTPAGE
ldr x8, [x8, _calc_lhs@GOTPAGEOFF]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-4]
ldur w8, [x29, #-12]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_76
b LBB1_68
LBB1_68: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-4]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_76
b LBB1_69
LBB1_69: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr x12, [sp, #48] ; 8-byte Folded Reload
ldur x9, [x29, #-24] ; 8-byte Folded Reload
mov w10, #1
stur w10, [x29, #-12]
ldr x11, [x12, #16]
add x10, x11, #2
str x10, [x12, #16]
mov w10, #1
strh w10, [x11, #2]
ldr w9, [x9]
ldr x10, [x12, #40]
add x11, x10, #4
str x11, [x12, #40]
str w9, [x10, #4]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_73
b LBB1_70
LBB1_70: ; in Loop: Header=BB1_4 Depth=1
bl _calc_lex
ldr x8, [sp, #40] ; 8-byte Folded Reload
str w0, [x8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ge
tbnz w8, #0, LBB1_72
b LBB1_71
LBB1_71: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
str wzr, [x8]
b LBB1_72
LBB1_72: ; in Loop: Header=BB1_4 Depth=1
b LBB1_73
LBB1_73: ; in Loop: Header=BB1_4 Depth=1
ldr x8, [sp, #40] ; 8-byte Folded Reload
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB1_75
b LBB1_74
LBB1_74:
b LBB1_88
LBB1_75: ; in Loop: Header=BB1_4 Depth=1
b LBB1_4
LBB1_76: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-4]
adrp x8, _calc_gindex@GOTPAGE
ldr x8, [x8, _calc_gindex@GOTPAGEOFF]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_81
b LBB1_77
LBB1_77: ; in Loop: Header=BB1_4 Depth=1
ldur w9, [x29, #-12]
ldur w8, [x29, #-8]
add w8, w8, w9
stur w8, [x29, #-8]
subs w8, w8, #0
cset w8, lt
tbnz w8, #0, LBB1_81
b LBB1_78
LBB1_78: ; in Loop: Header=BB1_4 Depth=1
ldur w8, [x29, #-8]
subs w8, w8, #220
cset w8, gt
tbnz w8, #0, LBB1_81
b LBB1_79
LBB1_79: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-40] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
ldrsh w8, [x8, x9, lsl #1]
ldur w9, [x29, #-12]
subs w8, w8, w9, sxth
cset w8, ne
tbnz w8, #0, LBB1_81
b LBB1_80
LBB1_80: ; in Loop: Header=BB1_4 Depth=1
ldur x8, [x29, #-32] ; 8-byte Folded Reload
ldursw x9, [x29, #-8]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-12]
b LBB1_82
LBB1_81: ; in Loop: Header=BB1_4 Depth=1
ldursw x9, [x29, #-4]
adrp x8, _calc_dgoto@GOTPAGE
ldr x8, [x8, _calc_dgoto@GOTPAGEOFF]
ldrsh w8, [x8, x9, lsl #1]
stur w8, [x29, #-12]
b LBB1_82
LBB1_82: ; in Loop: Header=BB1_4 Depth=1
ldr x9, [sp, #48] ; 8-byte Folded Reload
ldr x8, [x9, #16]
ldr x9, [x9, #24]
subs x8, x8, x9
cset w8, lo
tbnz w8, #0, LBB1_85
b LBB1_83
LBB1_83: ; in Loop: Header=BB1_4 Depth=1
adrp x0, _yystack@PAGE
add x0, x0, _yystack@PAGEOFF
bl _yygrowstack
adds w8, w0, #2
cset w8, ne
tbnz w8, #0, LBB1_85
b LBB1_84
LBB1_84:
b LBB1_86
LBB1_85: ; in Loop: Header=BB1_4 Depth=1
ldr x11, [sp, #48] ; 8-byte Folded Reload
ldur x8, [x29, #-24] ; 8-byte Folded Reload
ldur w9, [x29, #-12]
ldr x10, [x11, #16]
add x12, x10, #2
str x12, [x11, #16]
strh w9, [x10, #2]
ldr w8, [x8]
ldr x9, [x11, #40]
add x10, x9, #4
str x10, [x11, #40]
str w8, [x9, #4]
b LBB1_4
LBB1_86:
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _calc_error
mov w8, #2
stur w8, [x29, #-16]
b LBB1_89
LBB1_87:
mov w8, #1
stur w8, [x29, #-16]
b LBB1_89
LBB1_88:
stur wzr, [x29, #-16]
b LBB1_89
LBB1_89:
ldur w0, [x29, #-16]
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
.p2align 2
lJTI1_0:
.long LBB1_51-Ltmp0
.long LBB1_52-Ltmp0
.long LBB1_53-Ltmp0
.long LBB1_54-Ltmp0
.long LBB1_55-Ltmp0
.long LBB1_56-Ltmp0
.long LBB1_57-Ltmp0
.long LBB1_58-Ltmp0
.long LBB1_59-Ltmp0
.long LBB1_60-Ltmp0
.long LBB1_61-Ltmp0
.long LBB1_62-Ltmp0
.long LBB1_63-Ltmp0
.long LBB1_66-Ltmp0
.long LBB1_64-Ltmp0
.long LBB1_65-Ltmp0
; -- End function
.globl _calc_lex ; -- Begin function calc_lex
.p2align 2
_calc_lex: ; @calc_lex
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
bl _getchar
str w0, [sp, #8]
subs w8, w0, #32
cset w8, ne
tbnz w8, #0, LBB2_3
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
b LBB2_1
LBB2_3:
ldr w0, [sp, #8]
bl _islower
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_5
b LBB2_4
LBB2_4:
ldr w8, [sp, #8]
subs w8, w8, #97
adrp x9, _calc_lval@GOTPAGE
ldr x9, [x9, _calc_lval@GOTPAGEOFF]
str w8, [x9]
mov w8, #258
stur w8, [x29, #-4]
b LBB2_8
LBB2_5:
ldr w0, [sp, #8]
bl _isdigit
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB2_7
b LBB2_6
LBB2_6:
ldr w8, [sp, #8]
subs w8, w8, #48
adrp x9, _calc_lval@GOTPAGE
ldr x9, [x9, _calc_lval@GOTPAGEOFF]
str w8, [x9]
mov w8, #257
stur w8, [x29, #-4]
b LBB2_8
LBB2_7:
ldr w8, [sp, #8]
stur w8, [x29, #-4]
b LBB2_8
LBB2_8:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function yygrowstack
_yygrowstack: ; @yygrowstack
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
ldur x8, [x29, #-16]
ldr w8, [x8]
str w8, [sp, #24]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
mov w8, #200
str w8, [sp, #24]
b LBB3_8
LBB3_2:
ldr w8, [sp, #24]
mov w9, #10000
subs w8, w8, w9
cset w8, lo
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_4:
ldr w8, [sp, #24]
lsl w8, w8, #1
str w8, [sp, #24]
mov w9, #10000
subs w8, w8, w9
cset w8, ls
tbnz w8, #0, LBB3_6
b LBB3_5
LBB3_5:
mov w8, #10000
str w8, [sp, #24]
b LBB3_6
LBB3_6:
b LBB3_7
LBB3_7:
b LBB3_8
LBB3_8:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
ldur x9, [x29, #-16]
ldr x9, [x9, #8]
subs x8, x8, x9
mov x9, #2
sdiv x8, x8, x9
; kill: def $w8 killed $w8 killed $x8
stur w8, [x29, #-20]
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
ldr w8, [sp, #24]
; kill: def $x8 killed $w8
lsl x1, x8, #1
bl _realloc
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_10
b LBB3_9
LBB3_9:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_10:
ldr x8, [sp, #16]
ldur x9, [x29, #-16]
str x8, [x9, #8]
ldr x8, [sp, #16]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #1
ldur x9, [x29, #-16]
str x8, [x9, #16]
ldur x8, [x29, #-16]
ldr x0, [x8, #32]
ldr w8, [sp, #24]
; kill: def $x8 killed $w8
lsl x1, x8, #2
bl _realloc
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB3_12
b LBB3_11
LBB3_11:
mov w8, #-2
stur w8, [x29, #-4]
b LBB3_13
LBB3_12:
ldr x8, [sp, #8]
ldur x9, [x29, #-16]
str x8, [x9, #32]
ldr x8, [sp, #8]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #2
ldur x9, [x29, #-16]
str x8, [x9, #40]
ldr w8, [sp, #24]
ldur x9, [x29, #-16]
str w8, [x9]
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
ldr w9, [sp, #24]
; kill: def $x9 killed $w9
add x8, x8, x9, lsl #1
subs x8, x8, #2
ldur x9, [x29, #-16]
str x8, [x9, #24]
stur wzr, [x29, #-4]
b LBB3_13
LBB3_13:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function calc_error
_calc_error: ; @calc_error
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _calc_lval,4,2 ; @calc_lval
.comm _calc_nerrs,4,2 ; @calc_nerrs
.comm _calc_errflag,4,2 ; @calc_errflag
.comm _calc_char,4,2 ; @calc_char
.zerofill __DATA,__bss,_yystack,48,3 ; @yystack
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "syntax error"
.comm _calc_val,4,2 ; @calc_val
l_.str.1: ; @.str.1
.asciz "%d\n"
.comm _regs,104,2 ; @regs
.comm _base,4,2 ; @base
l_.str.2: ; @.str.2
.asciz "yacc stack overflow"
.comm _calc_debug,4,2 ; @calc_debug
l_.str.3: ; @.str.3
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq ___stdinp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
callq _feof
cmpl $0, %eax
setne %al
xorb $-1, %al
testb $1, %al
jne LBB0_2
jmp LBB0_3
LBB0_2: ## in Loop: Header=BB0_1 Depth=1
callq _calc_parse
jmp LBB0_1
LBB0_3:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _calc_parse ## -- Begin function calc_parse
.p2align 4, 0x90
_calc_parse: ## @calc_parse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl $0, -8(%rbp)
movq _calc_nerrs@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _calc_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
movq _calc_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movl $0, -12(%rbp)
cmpq $0, _yystack+8(%rip)
jne LBB1_3
## %bb.1:
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_3
## %bb.2:
jmp LBB1_85
LBB1_3:
movq _yystack+8(%rip), %rax
movq %rax, _yystack+16(%rip)
movq _yystack+32(%rip), %rax
movq %rax, _yystack+40(%rip)
movl $0, -12(%rbp)
movq _yystack+16(%rip), %rax
movw $0, (%rax)
LBB1_4: ## =>This Loop Header: Depth=1
## Child Loop BB1_31 Depth 2
movslq -12(%rbp), %rcx
movq _calc_defred@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_6
## %bb.5: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_46
LBB1_6: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_10
## %bb.7: ## in Loop: Header=BB1_4 Depth=1
callq _calc_lex
movl %eax, %ecx
movq _calc_char@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_9
## %bb.8: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB1_9: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_10
LBB1_10: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
movq _calc_sindex@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_20
## %bb.11: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_20
## %bb.12: ## in Loop: Header=BB1_4 Depth=1
cmpl $220, -8(%rbp)
jg LBB1_20
## %bb.13: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
movq _calc_check@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movq _calc_char@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
## kill: def $cx killed $cx killed $ecx
movswl %cx, %ecx
cmpl %ecx, %eax
jne LBB1_20
## %bb.14: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_17
## %bb.15: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_17
## %bb.16:
jmp LBB1_85
LBB1_17: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
movslq -8(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movw (%rax,%rcx,2), %cx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, _yystack+16(%rip)
movw %cx, 2(%rax)
movq _calc_lval@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
movq _calc_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
movq _calc_errflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jle LBB1_19
## %bb.18: ## in Loop: Header=BB1_4 Depth=1
movq _calc_errflag@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $-1, %ecx
movq _calc_errflag@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_19: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_20: ## in Loop: Header=BB1_4 Depth=1
movslq -12(%rbp), %rcx
movq _calc_rindex@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_25
## %bb.21: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
movl (%rax), %eax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_25
## %bb.22: ## in Loop: Header=BB1_4 Depth=1
cmpl $220, -8(%rbp)
jg LBB1_25
## %bb.23: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
movq _calc_check@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movq _calc_char@GOTPCREL(%rip), %rcx
movl (%rcx), %ecx
## kill: def $cx killed $cx killed $ecx
movswl %cx, %ecx
cmpl %ecx, %eax
jne LBB1_25
## %bb.24: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
jmp LBB1_46
LBB1_25: ## in Loop: Header=BB1_4 Depth=1
movq _calc_errflag@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
je LBB1_27
## %bb.26: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_29
LBB1_27: ## in Loop: Header=BB1_4 Depth=1
leaq L_.str(%rip), %rdi
callq _calc_error
## %bb.28: ## in Loop: Header=BB1_4 Depth=1
movq _calc_nerrs@GOTPCREL(%rip), %rax
movl (%rax), %ecx
addl $1, %ecx
movq _calc_nerrs@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
LBB1_29: ## in Loop: Header=BB1_4 Depth=1
movq _calc_errflag@GOTPCREL(%rip), %rax
cmpl $3, (%rax)
jge LBB1_43
## %bb.30: ## in Loop: Header=BB1_4 Depth=1
movq _calc_errflag@GOTPCREL(%rip), %rax
movl $3, (%rax)
LBB1_31: ## Parent Loop BB1_4 Depth=1
## => This Inner Loop Header: Depth=2
movq _yystack+16(%rip), %rax
movswq (%rax), %rcx
movq _calc_sindex@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_39
## %bb.32: ## in Loop: Header=BB1_31 Depth=2
movl -8(%rbp), %eax
addl $256, %eax ## imm = 0x100
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_39
## %bb.33: ## in Loop: Header=BB1_31 Depth=2
cmpl $220, -8(%rbp)
jg LBB1_39
## %bb.34: ## in Loop: Header=BB1_31 Depth=2
movslq -8(%rbp), %rcx
movq _calc_check@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
cmpl $256, %eax ## imm = 0x100
jne LBB1_39
## %bb.35: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_38
## %bb.36: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_38
## %bb.37:
jmp LBB1_85
LBB1_38: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
movslq -8(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movw (%rax,%rcx,2), %cx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, _yystack+16(%rip)
movw %cx, 2(%rax)
movq _calc_lval@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
jmp LBB1_4
LBB1_39: ## in Loop: Header=BB1_31 Depth=2
movq _yystack+16(%rip), %rax
cmpq _yystack+8(%rip), %rax
ja LBB1_41
## %bb.40:
jmp LBB1_86
LBB1_41: ## in Loop: Header=BB1_31 Depth=2
movq _yystack+16(%rip), %rax
addq $-2, %rax
movq %rax, _yystack+16(%rip)
movq _yystack+40(%rip), %rax
addq $-4, %rax
movq %rax, _yystack+40(%rip)
## %bb.42: ## in Loop: Header=BB1_31 Depth=2
jmp LBB1_31
LBB1_43: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB1_45
## %bb.44:
jmp LBB1_86
LBB1_45: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
movl $-1, (%rax)
jmp LBB1_4
LBB1_46: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
movq _calc_len@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $0, -4(%rbp)
jle LBB1_48
## %bb.47: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl $1, %ecx
subl -4(%rbp), %ecx
movslq %ecx, %rcx
movl (%rax,%rcx,4), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_49
LBB1_48: ## in Loop: Header=BB1_4 Depth=1
movq _calc_val@GOTPCREL(%rip), %rdi
xorl %esi, %esi
movl $4, %edx
callq _memset
LBB1_49: ## in Loop: Header=BB1_4 Depth=1
movl -8(%rbp), %eax
addl $-3, %eax
movl %eax, %ecx
movq %rcx, -24(%rbp) ## 8-byte Spill
subl $15, %eax
ja LBB1_65
## %bb.89: ## in Loop: Header=BB1_4 Depth=1
movq -24(%rbp), %rax ## 8-byte Reload
leaq LJTI1_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB1_50: ## in Loop: Header=BB1_4 Depth=1
movq _calc_errflag@GOTPCREL(%rip), %rax
movl $0, (%rax)
jmp LBB1_66
LBB1_51: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB1_66
LBB1_52: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %edx
movq _yystack+40(%rip), %rax
movslq -8(%rax), %rcx
movq _regs@GOTPCREL(%rip), %rax
movl %edx, (%rax,%rcx,4)
jmp LBB1_66
LBB1_53: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -4(%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_54: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
addl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_55: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
subl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_56: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
imull (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_57: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %eax
movq _yystack+40(%rip), %rcx
cltd
idivl (%rcx)
movl %eax, %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_58: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %eax
movq _yystack+40(%rip), %rcx
cltd
idivl (%rcx)
movq _calc_val@GOTPCREL(%rip), %rax
movl %edx, (%rax)
jmp LBB1_66
LBB1_59: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
andl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_60: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl -8(%rax), %ecx
movq _yystack+40(%rip), %rax
orl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_61: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
xorl %ecx, %ecx
subl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_62: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movslq (%rax), %rcx
movq _regs@GOTPCREL(%rip), %rax
movl (%rax,%rcx,4), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_63: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+40(%rip), %rax
movl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _yystack+40(%rip), %rax
movl (%rax), %edx
movl $10, %ecx
movl $8, %eax
cmpl $0, %edx
cmovel %eax, %ecx
movq _base@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_64: ## in Loop: Header=BB1_4 Depth=1
movq _base@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
imull -4(%rax), %ecx
movq _yystack+40(%rip), %rax
addl (%rax), %ecx
movq _calc_val@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
jmp LBB1_66
LBB1_65: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_66
LBB1_66: ## in Loop: Header=BB1_4 Depth=1
movl -4(%rbp), %ecx
movq _yystack+16(%rip), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $1, %rcx
addq %rcx, %rax
movq %rax, _yystack+16(%rip)
movq _yystack+16(%rip), %rax
movswl (%rax), %eax
movl %eax, -12(%rbp)
movl -4(%rbp), %ecx
movq _yystack+40(%rip), %rax
movslq %ecx, %rdx
xorl %ecx, %ecx
## kill: def $rcx killed $ecx
subq %rdx, %rcx
shlq $2, %rcx
addq %rcx, %rax
movq %rax, _yystack+40(%rip)
movslq -8(%rbp), %rcx
movq _calc_lhs@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -4(%rbp)
cmpl $0, -12(%rbp)
jne LBB1_75
## %bb.67: ## in Loop: Header=BB1_4 Depth=1
cmpl $0, -4(%rbp)
jne LBB1_75
## %bb.68: ## in Loop: Header=BB1_4 Depth=1
movl $1, -12(%rbp)
movq _yystack+16(%rip), %rax
movq %rax, %rcx
addq $2, %rcx
movq %rcx, _yystack+16(%rip)
movw $1, 2(%rax)
movq _calc_val@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_72
## %bb.69: ## in Loop: Header=BB1_4 Depth=1
callq _calc_lex
movl %eax, %ecx
movq _calc_char@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jge LBB1_71
## %bb.70: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
movl $0, (%rax)
LBB1_71: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_72
LBB1_72: ## in Loop: Header=BB1_4 Depth=1
movq _calc_char@GOTPCREL(%rip), %rax
cmpl $0, (%rax)
jne LBB1_74
## %bb.73:
jmp LBB1_87
LBB1_74: ## in Loop: Header=BB1_4 Depth=1
jmp LBB1_4
LBB1_75: ## in Loop: Header=BB1_4 Depth=1
movslq -4(%rbp), %rcx
movq _calc_gindex@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
je LBB1_80
## %bb.76: ## in Loop: Header=BB1_4 Depth=1
movl -12(%rbp), %eax
addl -8(%rbp), %eax
movl %eax, -8(%rbp)
cmpl $0, %eax
jl LBB1_80
## %bb.77: ## in Loop: Header=BB1_4 Depth=1
cmpl $220, -8(%rbp)
jg LBB1_80
## %bb.78: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
movq _calc_check@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl -12(%rbp), %ecx
## kill: def $cx killed $cx killed $ecx
movswl %cx, %ecx
cmpl %ecx, %eax
jne LBB1_80
## %bb.79: ## in Loop: Header=BB1_4 Depth=1
movslq -8(%rbp), %rcx
movq _calc_table@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
jmp LBB1_81
LBB1_80: ## in Loop: Header=BB1_4 Depth=1
movslq -4(%rbp), %rcx
movq _calc_dgoto@GOTPCREL(%rip), %rax
movswl (%rax,%rcx,2), %eax
movl %eax, -12(%rbp)
LBB1_81: ## in Loop: Header=BB1_4 Depth=1
movq _yystack+16(%rip), %rax
cmpq _yystack+24(%rip), %rax
jb LBB1_84
## %bb.82: ## in Loop: Header=BB1_4 Depth=1
leaq _yystack(%rip), %rdi
callq _yygrowstack
cmpl $-2, %eax
jne LBB1_84
## %bb.83:
jmp LBB1_85
LBB1_84: ## in Loop: Header=BB1_4 Depth=1
movl -12(%rbp), %eax
movw %ax, %cx
movq _yystack+16(%rip), %rax
movq %rax, %rdx
addq $2, %rdx
movq %rdx, _yystack+16(%rip)
movw %cx, 2(%rax)
movq _calc_val@GOTPCREL(%rip), %rax
movl (%rax), %ecx
movq _yystack+40(%rip), %rax
movq %rax, %rdx
addq $4, %rdx
movq %rdx, _yystack+40(%rip)
movl %ecx, 4(%rax)
jmp LBB1_4
LBB1_85:
leaq L_.str.2(%rip), %rdi
callq _calc_error
movl $2, -16(%rbp)
jmp LBB1_88
LBB1_86:
movl $1, -16(%rbp)
jmp LBB1_88
LBB1_87:
movl $0, -16(%rbp)
LBB1_88:
movl -16(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L1_0_set_50, LBB1_50-LJTI1_0
.set L1_0_set_51, LBB1_51-LJTI1_0
.set L1_0_set_52, LBB1_52-LJTI1_0
.set L1_0_set_53, LBB1_53-LJTI1_0
.set L1_0_set_54, LBB1_54-LJTI1_0
.set L1_0_set_55, LBB1_55-LJTI1_0
.set L1_0_set_56, LBB1_56-LJTI1_0
.set L1_0_set_57, LBB1_57-LJTI1_0
.set L1_0_set_58, LBB1_58-LJTI1_0
.set L1_0_set_59, LBB1_59-LJTI1_0
.set L1_0_set_60, LBB1_60-LJTI1_0
.set L1_0_set_61, LBB1_61-LJTI1_0
.set L1_0_set_62, LBB1_62-LJTI1_0
.set L1_0_set_65, LBB1_65-LJTI1_0
.set L1_0_set_63, LBB1_63-LJTI1_0
.set L1_0_set_64, LBB1_64-LJTI1_0
LJTI1_0:
.long L1_0_set_50
.long L1_0_set_51
.long L1_0_set_52
.long L1_0_set_53
.long L1_0_set_54
.long L1_0_set_55
.long L1_0_set_56
.long L1_0_set_57
.long L1_0_set_58
.long L1_0_set_59
.long L1_0_set_60
.long L1_0_set_61
.long L1_0_set_62
.long L1_0_set_65
.long L1_0_set_63
.long L1_0_set_64
.end_data_region
## -- End function
.globl _calc_lex ## -- Begin function calc_lex
.p2align 4, 0x90
_calc_lex: ## @calc_lex
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
LBB2_1: ## =>This Inner Loop Header: Depth=1
callq _getchar
movl %eax, -8(%rbp)
cmpl $32, %eax
jne LBB2_3
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_1
LBB2_3:
movl -8(%rbp), %edi
callq _islower
cmpl $0, %eax
je LBB2_5
## %bb.4:
movl -8(%rbp), %ecx
subl $97, %ecx
movq _calc_lval@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $258, -4(%rbp) ## imm = 0x102
jmp LBB2_8
LBB2_5:
movl -8(%rbp), %edi
callq _isdigit
cmpl $0, %eax
je LBB2_7
## %bb.6:
movl -8(%rbp), %ecx
subl $48, %ecx
movq _calc_lval@GOTPCREL(%rip), %rax
movl %ecx, (%rax)
movl $257, -4(%rbp) ## imm = 0x101
jmp LBB2_8
LBB2_7:
movl -8(%rbp), %eax
movl %eax, -4(%rbp)
LBB2_8:
movl -4(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function yygrowstack
_yygrowstack: ## @yygrowstack
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -24(%rbp)
cmpl $0, %eax
jne LBB3_2
## %bb.1:
movl $200, -24(%rbp)
jmp LBB3_8
LBB3_2:
cmpl $10000, -24(%rbp) ## imm = 0x2710
jb LBB3_4
## %bb.3:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_4:
movl -24(%rbp), %eax
shll $1, %eax
movl %eax, -24(%rbp)
cmpl $10000, %eax ## imm = 0x2710
jbe LBB3_6
## %bb.5:
movl $10000, -24(%rbp) ## imm = 0x2710
LBB3_6:
jmp LBB3_7
LBB3_7:
jmp LBB3_8
LBB3_8:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq -16(%rbp), %rcx
movq 8(%rcx), %rcx
subq %rcx, %rax
sarq $1, %rax
## kill: def $eax killed $eax killed $rax
movl %eax, -20(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movl -24(%rbp), %eax
movl %eax, %esi
shlq $1, %rsi
callq _realloc
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB3_10
## %bb.9:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_10:
movq -32(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -32(%rbp), %rcx
movslq -20(%rbp), %rax
shlq $1, %rax
addq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rax
movq 32(%rax), %rdi
movl -24(%rbp), %eax
movl %eax, %esi
shlq $2, %rsi
callq _realloc
movq %rax, -40(%rbp)
cmpq $0, -40(%rbp)
jne LBB3_12
## %bb.11:
movl $-2, -4(%rbp)
jmp LBB3_13
LBB3_12:
movq -40(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 32(%rax)
movq -40(%rbp), %rcx
movslq -20(%rbp), %rax
shlq $2, %rax
addq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 40(%rax)
movl -24(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rcx
movl -24(%rbp), %eax
## kill: def $rax killed $eax
shlq $1, %rax
addq %rax, %rcx
addq $-2, %rcx
movq -16(%rbp), %rax
movq %rcx, 24(%rax)
movl $0, -4(%rbp)
LBB3_13:
movl -4(%rbp), %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function calc_error
_calc_error: ## @calc_error
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -8(%rbp), %rdx
leaq L_.str.3(%rip), %rsi
movb $0, %al
callq _fprintf
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _calc_lval,4,2 ## @calc_lval
.comm _calc_nerrs,4,2 ## @calc_nerrs
.comm _calc_errflag,4,2 ## @calc_errflag
.comm _calc_char,4,2 ## @calc_char
.zerofill __DATA,__bss,_yystack,48,3 ## @yystack
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "syntax error"
.comm _calc_val,4,2 ## @calc_val
L_.str.1: ## @.str.1
.asciz "%d\n"
.comm _regs,104,4 ## @regs
.comm _base,4,2 ## @base
L_.str.2: ## @.str.2
.asciz "yacc stack overflow"
.comm _calc_debug,4,2 ## @calc_debug
L_.str.3: ## @.str.3
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/134514208.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insertionSort ; -- Begin function insertionSort
.p2align 2
_insertionSort: ; @insertionSort
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
mov w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_9
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #24]
ldrsw x9, [sp, #16]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #12]
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #8]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, lt
mov w9, #0
str w9, [sp, #4] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #12]
ldr x9, [sp, #24]
ldrsw x10, [sp, #8]
ldr w9, [x9, x10, lsl #2]
subs w8, w8, w9
cset w8, lt
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #4] ; 4-byte Folded Reload
tbz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldr w10, [sp, #8]
add w10, w10, #1
str w8, [x9, w10, sxtw #2]
ldr w8, [sp, #8]
subs w8, w8, #1
str w8, [sp, #8]
b LBB0_3
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #12]
ldr x9, [sp, #24]
ldr w10, [sp, #8]
add w10, w10, #1
str w8, [x9, w10, sxtw #2]
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_1
LBB0_9:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #112
.cfi_def_cfa_offset 112
stp x29, x30, [sp, #96] ; 16-byte Folded Spill
add x29, sp, #96
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #40]
str w0, [sp, #36]
str x1, [sp, #24]
add x0, sp, #44
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x1, l___const.main.array@PAGE
add x1, x1, l___const.main.array@PAGEOFF
mov x2, #44
bl _memcpy
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w8, #11
str w8, [sp, #20]
ldr w1, [sp, #20]
bl _insertionSort
str wzr, [sp, #16]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_7
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #16]
add x8, sp, #44
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #16]
subs w8, w8, w9
cset w9, ne
; implicit-def: $x8
mov x8, x9
ands x8, x8, #0x1
cset w8, eq
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l___func__.main@PAGE
add x0, x0, l___func__.main@PAGEOFF
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
mov w2, #44
adrp x3, l_.str.1@PAGE
add x3, x3, l_.str.1@PAGEOFF
bl ___assert_rtn
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_1
LBB1_7:
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
bl ___stack_chk_fail
LBB1_9:
mov w0, #0
ldp x29, x30, [sp, #96] ; 16-byte Folded Reload
add sp, sp, #112
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.array
l___const.main.array:
.long 10 ; 0xa
.long 9 ; 0x9
.long 8 ; 0x8
.long 7 ; 0x7
.long 6 ; 0x6
.long 5 ; 0x5
.long 4 ; 0x4
.long 3 ; 0x3
.long 2 ; 0x2
.long 1 ; 0x1
.long 0 ; 0x0
.section __TEXT,__cstring,cstring_literals
l___func__.main: ; @__func__.main
.asciz "main"
l_.str: ; @.str
.asciz "135280.c"
l_.str.1: ; @.str.1
.asciz "array[i] == i"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _insertionSort ## -- Begin function insertionSort
.p2align 4, 0x90
_insertionSort: ## @insertionSort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $1, -16(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_9
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -20(%rbp)
movl -16(%rbp), %eax
subl $1, %eax
movl %eax, -24(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $-1, -24(%rbp)
movb %al, -25(%rbp) ## 1-byte Spill
jle LBB0_5
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movl -20(%rbp), %eax
movq -8(%rbp), %rcx
movslq -24(%rbp), %rdx
cmpl (%rcx,%rdx,4), %eax
setl %al
movb %al, -25(%rbp) ## 1-byte Spill
LBB0_5: ## in Loop: Header=BB0_3 Depth=2
movb -25(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_6
jmp LBB0_7
LBB0_6: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -24(%rbp), %eax
addl $-1, %eax
movl %eax, -24(%rbp)
jmp LBB0_3
LBB0_7: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %edx
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
## %bb.8: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_9:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $96, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -68(%rbp)
movl %edi, -72(%rbp)
movq %rsi, -80(%rbp)
leaq -64(%rbp), %rdi
leaq l___const.main.array(%rip), %rsi
movl $44, %edx
callq _memcpy
movl $11, -84(%rbp)
leaq -64(%rbp), %rdi
movl -84(%rbp), %esi
callq _insertionSort
movl $0, -88(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -88(%rbp), %eax
cmpl -84(%rbp), %eax
jge LBB1_7
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -88(%rbp), %rax
movl -64(%rbp,%rax,4), %eax
cmpl -88(%rbp), %eax
sete %al
xorb $-1, %al
andb $1, %al
movzbl %al, %eax
cltq
cmpq $0, %rax
je LBB1_4
## %bb.3:
leaq L___func__.main(%rip), %rdi
leaq L_.str(%rip), %rsi
leaq L_.str.1(%rip), %rcx
movl $44, %edx
callq ___assert_rtn
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_5
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_6
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movl -88(%rbp), %eax
addl $1, %eax
movl %eax, -88(%rbp)
jmp LBB1_1
LBB1_7:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_9
## %bb.8:
xorl %eax, %eax
addq $96, %rsp
popq %rbp
retq
LBB1_9:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.array
l___const.main.array:
.long 10 ## 0xa
.long 9 ## 0x9
.long 8 ## 0x8
.long 7 ## 0x7
.long 6 ## 0x6
.long 5 ## 0x5
.long 4 ## 0x4
.long 3 ## 0x3
.long 2 ## 0x2
.long 1 ## 0x1
.long 0 ## 0x0
.section __TEXT,__cstring,cstring_literals
L___func__.main: ## @__func__.main
.asciz "main"
L_.str: ## @.str
.asciz "135280.c"
L_.str.1: ## @.str.1
.asciz "array[i] == i"
.subsections_via_symbols
| the_stack_data/135280.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _serial_is_tx_ongoing ; -- Begin function serial_is_tx_ongoing
.p2align 2
_serial_is_tx_ongoing: ; @serial_is_tx_ongoing
.cfi_startproc
; %bb.0:
mov w0, #0
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _serial_is_tx_ongoing ## -- Begin function serial_is_tx_ongoing
.p2align 4, 0x90
_serial_is_tx_ongoing: ## @serial_is_tx_ongoing
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/181393171.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
str x1, [sp, #16]
ldur w8, [x29, #-8]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
ldr x8, [sp, #16]
ldr x8, [x8]
mov x9, sp
str x8, [x9]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fprintf
mov w0, #1
bl _exit
LBB0_2:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _atoi
bl _bruteSequential
mov w0, #0
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function bruteSequential
_bruteSequential: ; @bruteSequential
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
ldur w8, [x29, #-4]
mov w9, #1
str w9, [sp, #8] ; 4-byte Folded Spill
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x0, w8
mov x1, #1
bl _calloc
ldr w8, [sp, #8] ; 4-byte Folded Reload
str x0, [sp, #16]
str w8, [sp, #12]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
ldur w9, [x29, #-4]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x0, [sp, #16]
ldur w8, [x29, #-4]
add w9, w8, #1
; implicit-def: $x8
mov x8, x9
sxtw x2, w8
mov w1, #0
str w1, [sp, #4] ; 4-byte Folded Spill
mov x3, #-1
bl ___memset_chk
ldr w1, [sp, #4] ; 4-byte Folded Reload
ldr x0, [sp, #16]
ldr w2, [sp, #12]
bl _bruteImpl
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB1_1
LBB1_4:
ldr x0, [sp, #16]
bl _free
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function bruteImpl
_bruteImpl: ; @bruteImpl
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str w2, [sp, #16]
str wzr, [sp, #12]
b LBB2_1
LBB2_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #12]
subs w8, w8, #62
cset w8, ge
tbnz w8, #0, LBB2_7
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
ldrsw x9, [sp, #12]
adrp x8, _alphabet@PAGE
add x8, x8, _alphabet@PAGEOFF
add x8, x8, x9
ldrb w8, [x8]
ldur x9, [x29, #-8]
ldursw x10, [x29, #-12]
add x9, x9, x10
strb w8, [x9]
ldur w8, [x29, #-12]
ldr w9, [sp, #16]
subs w9, w9, #1
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB2_4
b LBB2_3
LBB2_3: ; in Loop: Header=BB2_1 Depth=1
ldur x8, [x29, #-8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB2_5
LBB2_4: ; in Loop: Header=BB2_1 Depth=1
ldur x0, [x29, #-8]
ldur w8, [x29, #-12]
add w1, w8, #1
ldr w2, [sp, #16]
bl _bruteImpl
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_1 Depth=1
b LBB2_6
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB2_1
LBB2_7:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Usage: %s Length\n"
.section __TEXT,__const
_alphabet: ; @alphabet
.asciz "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
cmpl $2, -8(%rbp)
jge LBB0_2
## %bb.1:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
movq -16(%rbp), %rax
movq (%rax), %rdx
leaq L_.str(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
movl $1, %edi
callq _exit
LBB0_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _atoi
movl %eax, %edi
callq _bruteSequential
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function bruteSequential
_bruteSequential: ## @bruteSequential
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl %edi, -4(%rbp)
movl -4(%rbp), %eax
addl $1, %eax
movslq %eax, %rdi
movl $1, %esi
callq _calloc
movq %rax, -16(%rbp)
movl $1, -20(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
cmpl -4(%rbp), %eax
jg LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rdi
movl -4(%rbp), %eax
addl $1, %eax
movslq %eax, %rdx
xorl %esi, %esi
movq $-1, %rcx
callq ___memset_chk
movq -16(%rbp), %rdi
movl -20(%rbp), %edx
xorl %esi, %esi
callq _bruteImpl
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB1_1
LBB1_4:
movq -16(%rbp), %rdi
callq _free
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function bruteImpl
_bruteImpl: ## @bruteImpl
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl $0, -20(%rbp)
LBB2_1: ## =>This Inner Loop Header: Depth=1
cmpl $62, -20(%rbp)
jge LBB2_7
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movslq -20(%rbp), %rcx
leaq _alphabet(%rip), %rax
movb (%rax,%rcx), %dl
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -12(%rbp), %eax
movl -16(%rbp), %ecx
subl $1, %ecx
cmpl %ecx, %eax
jne LBB2_4
## %bb.3: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rsi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB2_5
LBB2_4: ## in Loop: Header=BB2_1 Depth=1
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
addl $1, %esi
movl -16(%rbp), %edx
callq _bruteImpl
LBB2_5: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_6
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB2_1
LBB2_7:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Usage: %s Length\n"
.section __TEXT,__const
.p2align 4 ## @alphabet
_alphabet:
.asciz "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "%s\n"
.subsections_via_symbols
| the_stack_data/603009.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print ; -- Begin function print
.p2align 2
_print: ; @print
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_8
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
mov x10, #12
mul x9, x9, x10
ldr w9, [x8, x9]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
mov w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB0_6
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
mov x10, #12
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #16]
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB0_3
LBB0_6: ; in Loop: Header=BB0_1 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB0_1
LBB0_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _read ; -- Begin function read
.p2align 2
_read: ; @read
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur wzr, [x29, #-12]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldur w8, [x29, #-12]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
str wzr, [sp, #16]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp, #16]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
ldur x8, [x29, #-8]
ldursw x9, [x29, #-12]
mov x10, #12
mul x9, x9, x10
add x8, x8, x9
ldrsw x9, [sp, #16]
add x8, x8, x9, lsl #2
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur w8, [x29, #-12]
add w8, w8, #1
stur w8, [x29, #-12]
b LBB1_1
LBB1_8:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _calculoEstranho ; -- Begin function calculoEstranho
.p2align 2
_calculoEstranho: ; @calculoEstranho
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
mov w8, #1
str w8, [sp, #4]
b LBB2_1
LBB2_1: ; =>This Loop Header: Depth=1
; Child Loop BB2_3 Depth 2
ldr w8, [sp, #4]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB2_8
b LBB2_2
LBB2_2: ; in Loop: Header=BB2_1 Depth=1
mov w8, #1
str w8, [sp]
b LBB2_3
LBB2_3: ; Parent Loop BB2_1 Depth=1
; => This Inner Loop Header: Depth=2
ldr w8, [sp]
subs w8, w8, #3
cset w8, ge
tbnz w8, #0, LBB2_6
b LBB2_4
LBB2_4: ; in Loop: Header=BB2_3 Depth=2
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
mov x11, #12
mul x9, x9, x11
add x8, x8, x9
ldrsw x9, [sp]
ldr w8, [x8, x9, lsl #2]
ldr x12, [sp, #8]
ldr w9, [sp, #4]
subs w9, w9, #1
mov w10, #12
smaddl x9, w9, w10, x12
ldr w10, [sp]
subs w10, w10, #1
ldr w9, [x9, w10, sxtw #2]
add w8, w8, w9
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
mul x10, x10, x11
add x9, x9, x10
ldrsw x10, [sp]
str w8, [x9, x10, lsl #2]
b LBB2_5
LBB2_5: ; in Loop: Header=BB2_3 Depth=2
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB2_3
LBB2_6: ; in Loop: Header=BB2_1 Depth=1
b LBB2_7
LBB2_7: ; in Loop: Header=BB2_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB2_1
LBB2_8:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #32]
mov x9, sp
mov x8, #3
str x8, [x9]
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
add x0, sp, #36
str x0, [sp, #24] ; 8-byte Folded Spill
bl _read
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _calculoEstranho
ldr w9, [sp, #68]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
bl ___stack_chk_fail
LBB3_2:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz " %d"
l_.str.2: ; @.str.2
.asciz "\n"
l_.str.3: ; @.str.3
.asciz "Matriz %dx%d:\n"
l_.str.4: ; @.str.4
.asciz "Algum valor estranho: %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _print ## -- Begin function print
.p2align 4, 0x90
_print: ## @print
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
cmpl $3, -12(%rbp)
jge LBB0_8
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $1, -16(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -16(%rbp)
jge LBB0_6
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.5: ## in Loop: Header=BB0_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB0_3
LBB0_6: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
## %bb.7: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _read ## -- Begin function read
.p2align 4, 0x90
_read: ## @read
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
cmpl $3, -12(%rbp)
jge LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movl $0, -16(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -16(%rbp)
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
movq -8(%rbp), %rsi
movslq -12(%rbp), %rax
imulq $12, %rax, %rax
addq %rax, %rsi
movslq -16(%rbp), %rax
shlq $2, %rax
addq %rax, %rsi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _scanf
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_7
LBB1_7: ## in Loop: Header=BB1_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB1_1
LBB1_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _calculoEstranho ## -- Begin function calculoEstranho
.p2align 4, 0x90
_calculoEstranho: ## @calculoEstranho
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $1, -12(%rbp)
LBB2_1: ## =>This Loop Header: Depth=1
## Child Loop BB2_3 Depth 2
cmpl $3, -12(%rbp)
jge LBB2_8
## %bb.2: ## in Loop: Header=BB2_1 Depth=1
movl $1, -16(%rbp)
LBB2_3: ## Parent Loop BB2_1 Depth=1
## => This Inner Loop Header: Depth=2
cmpl $3, -16(%rbp)
jge LBB2_6
## %bb.4: ## in Loop: Header=BB2_3 Depth=2
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movl -12(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movl -16(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
addl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
imulq $12, %rcx, %rcx
addq %rcx, %rax
movslq -16(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
## %bb.5: ## in Loop: Header=BB2_3 Depth=2
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB2_3
LBB2_6: ## in Loop: Header=BB2_1 Depth=1
jmp LBB2_7
LBB2_7: ## in Loop: Header=BB2_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB2_1
LBB2_8:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq L_.str.3(%rip), %rdi
movl $3, %edx
movl %edx, %esi
movb $0, %al
callq _printf
leaq -48(%rbp), %rdi
callq _read
leaq -48(%rbp), %rdi
callq _calculoEstranho
movl -16(%rbp), %esi
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB3_2
## %bb.1:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB3_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz " %d"
L_.str.2: ## @.str.2
.asciz "\n"
L_.str.3: ## @.str.3
.asciz "Matriz %dx%d:\n"
L_.str.4: ## @.str.4
.asciz "Algum valor estranho: %d\n"
.subsections_via_symbols
| the_stack_data/37636524.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ; -- Begin function f
.p2align 2
_f: ; @f
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur x1, [x29, #-16]
stur w2, [x29, #-20]
str x3, [sp, #16]
str x4, [sp, #8]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
ldr w0, [x9]
blr x8
ldur w8, [x29, #-20]
str w8, [sp, #4]
ldur x8, [x29, #-8]
ldursw x9, [x29, #-20]
add x8, x8, x9, lsl #2
ldr x9, [sp, #16]
ldrsw x9, [x9, #12]
add x0, x8, x9, lsl #2
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _p,8,3 ; @p
.comm _x,16,4 ; @x
.comm _foo,8,2 ; @foo
.comm _bar,8,2 ; @bar
.comm _aul,8,3 ; @aul
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _f ## -- Begin function f
.p2align 4, 0x90
_f: ## @f
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
movl %edx, -20(%rbp)
movq %rcx, -32(%rbp)
movq %r8, -40(%rbp)
movq -40(%rbp), %rax
movq -8(%rbp), %rcx
movl (%rcx), %edi
callq *%rax
movl -20(%rbp), %eax
movl %eax, -44(%rbp)
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
shlq $2, %rcx
addq %rcx, %rax
movq -32(%rbp), %rcx
movslq 12(%rcx), %rcx
shlq $2, %rcx
addq %rcx, %rax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _p,8,3 ## @p
.comm _x,16,4 ## @x
.comm _foo,8,2 ## @foo
.comm _bar,8,2 ## @bar
.comm _aul,8,3 ## @aul
.subsections_via_symbols
| the_stack_data/232955434.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
stur wzr, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
adrp x9, _sys_nerr@GOTPAGE
ldr x9, [x9, _sys_nerr@GOTPAGEOFF]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
str x8, [sp, #16] ; 8-byte Folded Spill
ldur w0, [x29, #-20]
bl _strerror
ldr x9, [sp, #16] ; 8-byte Folded Reload
mov x8, sp
str x9, [x8]
str x0, [x8, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_4:
mov w0, #0
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Dump errno\n"
l_.str.1: ; @.str.1
.asciz "error #%d:%s\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -20(%rbp), %eax
movq _sys_nerr@GOTPCREL(%rip), %rcx
cmpl (%rcx), %eax
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
movl %eax, -24(%rbp) ## 4-byte Spill
movl -20(%rbp), %edi
callq _strerror
movl -24(%rbp), %esi ## 4-byte Reload
movq %rax, %rdx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_4:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Dump errno\n"
L_.str.1: ## @.str.1
.asciz "error #%d:%s\n"
.subsections_via_symbols
| the_stack_data/92329026.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #16] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov w8, #109
sturb w8, [x29, #-5]
mov w8, #12
stur w8, [x29, #-12]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldursb w11, [x29, #-5]
ldur w9, [x29, #-12]
; implicit-def: $x8
mov x8, x9
mov x9, sp
; implicit-def: $x10
mov x10, x11
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr w0, [sp, #16] ; 4-byte Folded Reload
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "jj to new york\n"
l_.str.1: ; @.str.1
.asciz "angka %c ku adalah %i\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movb $109, -5(%rbp)
movl $12, -12(%rbp)
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movsbl -5(%rbp), %esi
movl -12(%rbp), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "jj to new york\n"
L_.str.1: ## @.str.1
.asciz "angka %c ku adalah %i\n"
.subsections_via_symbols
| the_stack_data/205837.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
mov x9, sp
sub x8, x29, #20
str x8, [x9]
sub x8, x29, #24
str x8, [x9, #8]
sub x8, x29, #28
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w8, [x29, #-20]
ldur w9, [x29, #-24]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_8
b LBB0_1
LBB0_1:
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
ldur w8, [x29, #-20]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-24]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_7
LBB0_3:
ldur w8, [x29, #-20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_5
b LBB0_4
LBB0_4:
ldur w8, [x29, #-20]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-28]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_6
LBB0_5:
ldur w8, [x29, #-28]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-24]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_6
LBB0_6:
b LBB0_7
LBB0_7:
b LBB0_15
LBB0_8:
ldur w8, [x29, #-24]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_10
b LBB0_9
LBB0_9:
ldur w8, [x29, #-28]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-24]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_14
LBB0_10:
ldur w8, [x29, #-20]
ldur w9, [x29, #-28]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_12
b LBB0_11
LBB0_11:
ldur w8, [x29, #-24]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-20]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-28]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_13
LBB0_12:
ldur w8, [x29, #-24]
; implicit-def: $x11
mov x11, x8
ldur w8, [x29, #-28]
; implicit-def: $x10
mov x10, x8
ldur w9, [x29, #-20]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x11, [x9]
str x10, [x9, #8]
str x8, [x9, #16]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB0_13
LBB0_13:
b LBB0_14
LBB0_14:
b LBB0_15
LBB0_15:
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d %d"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
leaq L_.str(%rip), %rdi
leaq -20(%rbp), %rsi
leaq -24(%rbp), %rdx
leaq -28(%rbp), %rcx
movb $0, %al
callq _scanf
movl -20(%rbp), %eax
cmpl -24(%rbp), %eax
jle LBB0_8
## %bb.1:
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jle LBB0_3
## %bb.2:
movl -20(%rbp), %esi
movl -24(%rbp), %edx
movl -28(%rbp), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_7
LBB0_3:
movl -20(%rbp), %eax
cmpl -28(%rbp), %eax
jle LBB0_5
## %bb.4:
movl -20(%rbp), %esi
movl -28(%rbp), %edx
movl -24(%rbp), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_6
LBB0_5:
movl -28(%rbp), %esi
movl -20(%rbp), %edx
movl -24(%rbp), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_6:
jmp LBB0_7
LBB0_7:
jmp LBB0_15
LBB0_8:
movl -24(%rbp), %eax
cmpl -28(%rbp), %eax
jge LBB0_10
## %bb.9:
movl -28(%rbp), %esi
movl -24(%rbp), %edx
movl -20(%rbp), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_14
LBB0_10:
movl -20(%rbp), %eax
cmpl -28(%rbp), %eax
jle LBB0_12
## %bb.11:
movl -24(%rbp), %esi
movl -20(%rbp), %edx
movl -28(%rbp), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB0_13
LBB0_12:
movl -24(%rbp), %esi
movl -28(%rbp), %edx
movl -20(%rbp), %ecx
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
LBB0_13:
jmp LBB0_14
LBB0_14:
jmp LBB0_15
LBB0_15:
xorl %eax, %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d %d"
.subsections_via_symbols
| the_stack_data/92326030.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _prohibit_iccard_init,4,2 ; @prohibit_iccard_init
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.comm _prohibit_iccard_init,4,2 ## @prohibit_iccard_init
.subsections_via_symbols
| the_stack_data/50136841.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
mov w8, #1
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_5
b LBB0_1
LBB0_1:
bl _jump
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2:
b LBB0_4
LBB0_3:
bl _foo
b LBB0_4
LBB0_4:
b LBB0_6
LBB0_5:
b LBB0_6
LBB0_6:
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
movb $1, %al
testb %al, %al
jne LBB0_5
jmp LBB0_1
LBB0_1:
movb $0, %al
callq _jump
cmpl $0, %eax
je LBB0_3
## %bb.2:
jmp LBB0_4
LBB0_3:
movb $0, %al
callq _foo
LBB0_4:
jmp LBB0_6
LBB0_5:
jmp LBB0_6
LBB0_6:
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/73575172.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _InitTree ; -- Begin function InitTree
.p2align 2
_InitTree: ; @InitTree
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str wzr, [sp, #4]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
adrp x8, _Nil@PAGE
ldrb w8, [x8, _Nil@PAGEOFF]
ldr x9, [sp, #8]
ldrsw x10, [sp, #4]
add x9, x9, x10
strb w8, [x9]
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_1
LBB0_4:
mov w0, #1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _FillTree ; -- Begin function FillTree
.p2align 2
_FillTree: ; @FillTree
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str x1, [sp, #8]
mov w8, #1
str w8, [sp, #4]
adrp x8, _Nil@PAGE
ldrb w8, [x8, _Nil@PAGEOFF]
ldr x9, [sp, #16]
strb w8, [x9]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB1_11
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
subs w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
subs w8, w8, #48
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
adrp x8, _Nil@PAGE
ldrb w8, [x8, _Nil@PAGEOFF]
ldr x9, [sp, #16]
ldrsw x10, [sp, #4]
add x9, x9, x10
strb w8, [x9]
b LBB1_5
LBB1_4: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #8]
ldr w9, [sp, #4]
subs w9, w9, #1
add x8, x8, w9, sxtw
ldrb w8, [x8]
ldr x9, [sp, #16]
ldrsw x10, [sp, #4]
add x9, x9, x10
strb w8, [x9]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB1_10
b LBB1_6
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB1_10
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldr x8, [sp, #16]
ldr w9, [sp, #4]
mov w10, #2
sdiv w9, w9, w10
ldrsb w8, [x8, w9, sxtw]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB1_9
b LBB1_8
LBB1_8:
str wzr, [sp, #28]
b LBB1_15
LBB1_9: ; in Loop: Header=BB1_1 Depth=1
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_1
LBB1_11:
b LBB1_12
LBB1_12: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB1_14
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_12 Depth=1
adrp x8, _Nil@PAGE
ldrb w8, [x8, _Nil@PAGEOFF]
ldr x9, [sp, #16]
ldrsw x10, [sp, #4]
add x9, x9, x10
strb w8, [x9]
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB1_12
LBB1_14:
mov w8, #1
str w8, [sp, #28]
b LBB1_15
LBB1_15:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _BinTreeEmpty ; -- Begin function BinTreeEmpty
.p2align 2
_BinTreeEmpty: ; @BinTreeEmpty
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldrsb w8, [x8, #1]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, eq
and w0, w8, #0x1
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _BiTreeDepth ; -- Begin function BiTreeDepth
.p2align 2
_BiTreeDepth: ; @BiTreeDepth
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str wzr, [sp]
mov w8, #100
str w8, [sp, #4]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #0
cset w8, le
tbnz w8, #0, LBB3_6
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB3_4
b LBB3_3
LBB3_3:
b LBB3_6
LBB3_4: ; in Loop: Header=BB3_1 Depth=1
b LBB3_5
LBB3_5: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #4]
subs w8, w8, #1
str w8, [sp, #4]
b LBB3_1
LBB3_6:
b LBB3_7
LBB3_7: ; =>This Inner Loop Header: Depth=1
ldr s1, [sp]
; implicit-def: $d0
fmov s0, s1
sshll.2d v0, v0, #0
; kill: def $d0 killed $d0 killed $q0
scvtf d1, d0
fmov d0, #2.00000000
bl _pow
fmov d1, #1.00000000
fsub d0, d0, d1
ldr s2, [sp, #4]
; implicit-def: $d1
fmov s1, s2
sshll.2d v1, v1, #0
; kill: def $d1 killed $d1 killed $q1
scvtf d1, d1
fcmp d0, d1
cset w8, pl
tbnz w8, #0, LBB3_9
b LBB3_8
LBB3_8: ; in Loop: Header=BB3_7 Depth=1
ldr w8, [sp]
add w8, w8, #1
str w8, [sp]
b LBB3_7
LBB3_9:
ldr w0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _Root ; -- Begin function Root
.p2align 2
_Root: ; @Root
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str x1, [sp, #8]
ldr x0, [sp, #16]
bl _BinTreeEmpty
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
stur wzr, [x29, #-4]
b LBB4_3
LBB4_2:
ldr x8, [sp, #16]
ldrb w8, [x8, #1]
ldr x9, [sp, #8]
strb w8, [x9]
mov w8, #1
stur w8, [x29, #-4]
b LBB4_3
LBB4_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _Value ; -- Begin function Value
.p2align 2
_Value: ; @Value
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
str x2, [sp]
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldr w8, [sp, #12]
subs w8, w8, #100
cset w8, le
tbnz w8, #0, LBB5_3
b LBB5_2
LBB5_2:
str wzr, [sp, #28]
b LBB5_4
LBB5_3:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
add x8, x8, x9
ldrb w8, [x8]
ldr x9, [sp]
strb w8, [x9]
mov w8, #1
str w8, [sp, #28]
b LBB5_4
LBB5_4:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _Assign ; -- Begin function Assign
.p2align 2
_Assign: ; @Assign
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
strb w2, [sp, #11]
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB6_4
b LBB6_1
LBB6_1:
ldr w8, [sp, #12]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB6_4
b LBB6_2
LBB6_2:
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB6_5
b LBB6_3
LBB6_3:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
mov w10, #2
sdiv w9, w9, w10
ldrsb w8, [x8, w9, sxtw]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB6_5
b LBB6_4
LBB6_4:
str wzr, [sp, #28]
b LBB6_6
LBB6_5:
ldrb w8, [sp, #11]
ldr x9, [sp, #16]
ldrsw x10, [sp, #12]
add x9, x9, x10
strb w8, [x9]
mov w8, #1
str w8, [sp, #28]
b LBB6_6
LBB6_6:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _Parent ; -- Begin function Parent
.p2align 2
_Parent: ; @Parent
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
str x0, [sp, #32]
str w1, [sp, #28]
str x2, [sp, #16]
ldr w8, [sp, #28]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB7_3
b LBB7_1
LBB7_1:
ldr w8, [sp, #28]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2:
ldr x8, [sp, #32]
ldrsw x9, [sp, #28]
ldrsb w8, [x8, x9]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB7_4
b LBB7_3
LBB7_3:
str wzr, [sp, #44]
b LBB7_5
LBB7_4:
ldr x8, [sp, #32]
ldr w9, [sp, #28]
mov w10, #2
sdiv w9, w9, w10
add x8, x8, w9, sxtw
ldrb w8, [x8]
ldr x9, [sp, #16]
strb w8, [x9]
mov w8, #1
str w8, [sp, #44]
b LBB7_5
LBB7_5:
ldr w0, [sp, #44]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _LeftChild ; -- Begin function LeftChild
.p2align 2
_LeftChild: ; @LeftChild
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
str x2, [sp]
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB8_4
b LBB8_1
LBB8_1:
ldr w8, [sp, #12]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB8_4
b LBB8_2
LBB8_2:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB8_4
b LBB8_3
LBB8_3:
ldr x8, [sp, #16]
ldr w10, [sp, #12]
mov w9, #2
mul w9, w9, w10
ldrsb w8, [x8, w9, sxtw]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB8_5
b LBB8_4
LBB8_4:
str wzr, [sp, #28]
b LBB8_6
LBB8_5:
ldr x8, [sp, #16]
ldr w10, [sp, #12]
mov w9, #2
mul w9, w9, w10
add x8, x8, w9, sxtw
ldrb w8, [x8]
ldr x9, [sp]
strb w8, [x9]
mov w8, #1
str w8, [sp, #28]
b LBB8_6
LBB8_6:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _RightChild ; -- Begin function RightChild
.p2align 2
_RightChild: ; @RightChild
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
str x2, [sp]
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB9_4
b LBB9_1
LBB9_1:
ldr w8, [sp, #12]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB9_4
b LBB9_2
LBB9_2:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB9_4
b LBB9_3
LBB9_3:
ldr x8, [sp, #16]
ldr w10, [sp, #12]
mov w9, #2
mul w9, w9, w10
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB9_5
b LBB9_4
LBB9_4:
str wzr, [sp, #28]
b LBB9_6
LBB9_5:
ldr x9, [sp, #16]
ldr w10, [sp, #12]
mov w8, #2
mul w10, w8, w10
mov w8, #1
add w10, w10, #1
add x9, x9, w10, sxtw
ldrb w9, [x9]
ldr x10, [sp]
strb w9, [x10]
str w8, [sp, #28]
b LBB9_6
LBB9_6:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _LeftSibling ; -- Begin function LeftSibling
.p2align 2
_LeftSibling: ; @LeftSibling
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
str x2, [sp]
ldr w8, [sp, #12]
subs w8, w8, #2
cset w8, lt
tbnz w8, #0, LBB10_4
b LBB10_1
LBB10_1:
ldr w8, [sp, #12]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB10_4
b LBB10_2
LBB10_2:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB10_4
b LBB10_3
LBB10_3:
ldr w8, [sp, #12]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB10_5
b LBB10_4
LBB10_4:
str wzr, [sp, #28]
b LBB10_6
LBB10_5:
ldr x9, [sp, #16]
ldr w10, [sp, #12]
mov w8, #1
subs w10, w10, #1
add x9, x9, w10, sxtw
ldrb w9, [x9]
ldr x10, [sp]
strb w9, [x10]
str w8, [sp, #28]
b LBB10_6
LBB10_6:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _RightSibling ; -- Begin function RightSibling
.p2align 2
_RightSibling: ; @RightSibling
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str w1, [sp, #12]
str x2, [sp]
ldr w8, [sp, #12]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB11_5
b LBB11_1
LBB11_1:
ldr w8, [sp, #12]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB11_5
b LBB11_2
LBB11_2:
ldr x8, [sp, #16]
ldrsw x9, [sp, #12]
ldrsb w8, [x8, x9]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB11_5
b LBB11_3
LBB11_3:
ldr w8, [sp, #12]
mov w10, #2
sdiv w9, w8, w10
mul w9, w9, w10
subs w8, w8, w9
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB11_5
b LBB11_4
LBB11_4:
ldr x8, [sp, #16]
ldr w9, [sp, #12]
add w9, w9, #1
ldrsb w8, [x8, w9, sxtw]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB11_6
b LBB11_5
LBB11_5:
str wzr, [sp, #28]
b LBB11_7
LBB11_6:
ldr x9, [sp, #16]
ldr w10, [sp, #12]
mov w8, #1
add w10, w10, #1
add x9, x9, w10, sxtw
ldrb w9, [x9]
ldr x10, [sp]
strb w9, [x10]
str w8, [sp, #28]
b LBB11_7
LBB11_7:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _PreOrderTraverse ; -- Begin function PreOrderTraverse
.p2align 2
_PreOrderTraverse: ; @PreOrderTraverse
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str w1, [sp, #4]
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB12_2
b LBB12_1
LBB12_1:
b LBB12_3
LBB12_2:
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w0, [x8, x9]
bl _putchar
ldr x0, [sp, #8]
ldr w9, [sp, #4]
mov w8, #2
str w8, [sp] ; 4-byte Folded Spill
mul w1, w8, w9
bl _PreOrderTraverse
ldr w8, [sp] ; 4-byte Folded Reload
ldr x0, [sp, #8]
ldr w9, [sp, #4]
mul w8, w8, w9
add w1, w8, #1
bl _PreOrderTraverse
b LBB12_3
LBB12_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _InOrderTraverse ; -- Begin function InOrderTraverse
.p2align 2
_InOrderTraverse: ; @InOrderTraverse
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str w1, [sp, #4]
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB13_2
b LBB13_1
LBB13_1:
b LBB13_3
LBB13_2:
ldr x0, [sp, #8]
ldr w9, [sp, #4]
mov w8, #2
str w8, [sp] ; 4-byte Folded Spill
mul w1, w8, w9
bl _InOrderTraverse
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w0, [x8, x9]
bl _putchar
ldr w8, [sp] ; 4-byte Folded Reload
ldr x0, [sp, #8]
ldr w9, [sp, #4]
mul w8, w8, w9
add w1, w8, #1
bl _InOrderTraverse
b LBB13_3
LBB13_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _PostOrderTraverse ; -- Begin function PostOrderTraverse
.p2align 2
_PostOrderTraverse: ; @PostOrderTraverse
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str w1, [sp, #4]
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, ne
tbnz w8, #0, LBB14_2
b LBB14_1
LBB14_1:
b LBB14_3
LBB14_2:
ldr x0, [sp, #8]
ldr w9, [sp, #4]
mov w8, #2
str w8, [sp] ; 4-byte Folded Spill
mul w1, w8, w9
bl _PostOrderTraverse
ldr w8, [sp] ; 4-byte Folded Reload
ldr x0, [sp, #8]
ldr w9, [sp, #4]
mul w8, w8, w9
add w1, w8, #1
bl _PostOrderTraverse
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w0, [x8, x9]
bl _putchar
b LBB14_3
LBB14_3:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _LevelOrderTraverse ; -- Begin function LevelOrderTraverse
.p2align 2
_LevelOrderTraverse: ; @LevelOrderTraverse
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _BinTreeEmpty
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB15_2
b LBB15_1
LBB15_1:
b LBB15_8
LBB15_2:
mov w8, #1
str w8, [sp, #4]
b LBB15_3
LBB15_3: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
subs w8, w8, #100
cset w8, gt
tbnz w8, #0, LBB15_8
b LBB15_4
LBB15_4: ; in Loop: Header=BB15_3 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w8, [x8, x9]
adrp x9, _Nil@PAGE
ldrsb w9, [x9, _Nil@PAGEOFF]
subs w8, w8, w9
cset w8, eq
tbnz w8, #0, LBB15_6
b LBB15_5
LBB15_5: ; in Loop: Header=BB15_3 Depth=1
ldr x8, [sp, #8]
ldrsw x9, [sp, #4]
ldrsb w0, [x8, x9]
bl _putchar
b LBB15_6
LBB15_6: ; in Loop: Header=BB15_3 Depth=1
b LBB15_7
LBB15_7: ; in Loop: Header=BB15_3 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB15_3
LBB15_8:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #304
.cfi_def_cfa_offset 304
stp x28, x27, [sp, #272] ; 16-byte Folded Spill
stp x29, x30, [sp, #288] ; 16-byte Folded Spill
add x29, sp, #288
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur wzr, [x29, #-132]
stur w0, [x29, #-136]
str x1, [sp, #144]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
str x0, [sp, #96] ; 8-byte Folded Spill
bl _puts
sub x0, x29, #125
str x0, [sp, #120] ; 8-byte Folded Spill
bl _InitTree
ldr x0, [sp, #120] ; 8-byte Folded Reload
bl _BinTreeEmpty
mov x9, sp
; implicit-def: $x8
mov x8, x0
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x0, [sp, #120] ; 8-byte Folded Reload
adrp x8, l_.str.2@PAGE
add x8, x8, l_.str.2@PAGEOFF
str x8, [sp, #128]
ldr x8, [sp, #128]
str x8, [sp, #88] ; 8-byte Folded Spill
ldr x1, [sp, #128]
bl _FillTree
ldr x8, [sp, #88] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldr x0, [sp, #96] ; 8-byte Folded Reload
bl _puts
ldr x0, [sp, #120] ; 8-byte Folded Reload
bl _InitTree
ldr x0, [sp, #120] ; 8-byte Folded Reload
adrp x8, l_.str.4@PAGE
add x8, x8, l_.str.4@PAGEOFF
str x8, [sp, #128]
ldr x8, [sp, #128]
str x8, [sp, #104] ; 8-byte Folded Spill
ldr x1, [sp, #128]
bl _FillTree
ldr x8, [sp, #104] ; 8-byte Folded Reload
mov x9, sp
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
ldr x0, [sp, #120] ; 8-byte Folded Reload
bl _BinTreeEmpty
mov x8, x0
ldr x0, [sp, #120] ; 8-byte Folded Reload
str w8, [sp, #116] ; 4-byte Folded Spill
bl _BiTreeDepth
ldr w10, [sp, #116] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
ldr x0, [sp, #120] ; 8-byte Folded Reload
add x1, sp, #139
bl _Root
str w0, [sp, #140]
ldr w8, [sp, #140]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_2
b LBB16_1
LBB16_1:
ldrsb w10, [sp, #139]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB16_3
LBB16_2:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB16_3
LBB16_3:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
sub x0, x29, #125
str x0, [sp, #80] ; 8-byte Folded Spill
bl _LevelOrderTraverse
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
str x0, [sp, #40] ; 8-byte Folded Spill
bl _puts
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
str x0, [sp, #24] ; 8-byte Folded Spill
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
mov w1, #1
str w1, [sp, #36] ; 4-byte Folded Spill
bl _PreOrderTraverse
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _puts
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldr w1, [sp, #36] ; 4-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
bl _InOrderTraverse
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _puts
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldr w1, [sp, #36] ; 4-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
bl _PostOrderTraverse
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _puts
ldr x0, [sp, #80] ; 8-byte Folded Reload
mov w1, #3
add x2, sp, #139
str x2, [sp, #72] ; 8-byte Folded Spill
bl _Value
ldrsb w10, [sp, #139]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.14@PAGE
add x0, x0, l_.str.14@PAGEOFF
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
mov w8, #63
strb w8, [sp, #139]
ldrsb w2, [sp, #139]
mov w1, #7
str w1, [sp, #20] ; 4-byte Folded Spill
bl _Assign
ldr w1, [sp, #20] ; 4-byte Folded Reload
ldr x2, [sp, #72] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
bl _Value
ldrsb w10, [sp, #139]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.15@PAGE
add x0, x0, l_.str.15@PAGEOFF
bl _printf
ldr x0, [sp, #24] ; 8-byte Folded Reload
bl _printf
ldr w1, [sp, #36] ; 4-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
bl _PreOrderTraverse
ldr x0, [sp, #40] ; 8-byte Folded Reload
bl _puts
ldr x2, [sp, #72] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
mov w1, #6
str w1, [sp, #52] ; 4-byte Folded Spill
bl _Parent
ldr w1, [sp, #52] ; 4-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
add x2, sp, #138
str x2, [sp, #56] ; 8-byte Folded Spill
bl _Value
ldrsb w11, [sp, #138]
ldrsb w10, [sp, #139]
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
ldr w1, [sp, #52] ; 4-byte Folded Reload
ldr x2, [sp, #72] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
bl _LeftChild
ldr w1, [sp, #52] ; 4-byte Folded Reload
ldr x2, [sp, #56] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
bl _RightChild
ldrsb w11, [sp, #139]
ldrsb w10, [sp, #138]
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.17@PAGE
add x0, x0, l_.str.17@PAGEOFF
bl _printf
ldr x2, [sp, #72] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
mov w1, #13
bl _LeftSibling
ldr x2, [sp, #56] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
mov w1, #12
bl _RightSibling
ldrsb w11, [sp, #139]
ldrsb w10, [sp, #138]
mov x9, sp
; implicit-def: $x8
mov x8, x11
str x8, [x9]
; implicit-def: $x8
mov x8, x10
str x8, [x9, #8]
adrp x0, l_.str.18@PAGE
add x0, x0, l_.str.18@PAGEOFF
bl _printf
ldr x0, [sp, #80] ; 8-byte Folded Reload
bl _InitTree
ldr x0, [sp, #80] ; 8-byte Folded Reload
bl _BinTreeEmpty
mov x8, x0
ldr x0, [sp, #80] ; 8-byte Folded Reload
str w8, [sp, #68] ; 4-byte Folded Spill
bl _BiTreeDepth
ldr w10, [sp, #68] ; 4-byte Folded Reload
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
; implicit-def: $x8
mov x8, x0
str x8, [x9, #8]
adrp x0, l_.str.19@PAGE
add x0, x0, l_.str.19@PAGEOFF
bl _printf
ldr x1, [sp, #72] ; 8-byte Folded Reload
ldr x0, [sp, #80] ; 8-byte Folded Reload
bl _Root
str w0, [sp, #140]
ldr w8, [sp, #140]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB16_5
b LBB16_4
LBB16_4:
ldrsb w10, [sp, #139]
mov x9, sp
; implicit-def: $x8
mov x8, x10
str x8, [x9]
adrp x0, l_.str.20@PAGE
add x0, x0, l_.str.20@PAGEOFF
bl _printf
b LBB16_6
LBB16_5:
adrp x0, l_.str.8@PAGE
add x0, x0, l_.str.8@PAGEOFF
bl _printf
b LBB16_6
LBB16_6:
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB16_8
b LBB16_7
LBB16_7:
bl ___stack_chk_fail
LBB16_8:
mov w0, #0
ldp x29, x30, [sp, #288] ; 16-byte Folded Reload
ldp x28, x27, [sp, #272] ; 16-byte Folded Reload
add sp, sp, #304
ret
.cfi_endproc
; -- End function
.globl _Nil ; @Nil
.zerofill __DATA,__common,_Nil,1,0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "init tree"
l_.str.1: ; @.str.1
.asciz "is binary tree empty?\n%d"
l_.str.2: ; @.str.2
.asciz "AB0CDEFG"
l_.str.3: ; @.str.3
.asciz "using char array :\t %s \tto fill tree,succeed?\n%d\n"
l_.str.4: ; @.str.4
.asciz "ABC0DE000FGHI"
l_.str.5: ; @.str.5
.asciz "using char array :\t %s \tto fill tree,succeed?\n %d\n"
l_.str.6: ; @.str.6
.asciz "\345\273\272\347\253\213\344\272\214\345\217\211\346\240\221\345\220\216,\346\240\221\347\251\272\345\220\246\357\274\237%d \346\240\221\347\232\204\346\267\261\345\272\246=%d\n"
l_.str.7: ; @.str.7
.asciz "\344\272\214\345\217\211\346\240\221\347\232\204\346\240\271\344\270\272\357\274\232%c\n"
l_.str.8: ; @.str.8
.asciz "\346\240\221\347\251\272\357\274\214\346\227\240\346\240\271\n"
l_.str.9: ; @.str.9
.asciz "\345\261\202\345\272\217\351\201\215\345\216\206\344\272\214\345\217\211\346\240\221:\n"
l_.str.10: ; @.str.10
.space 1
l_.str.11: ; @.str.11
.asciz "\345\211\215\345\272\217\351\201\215\345\216\206\344\272\214\345\217\211\346\240\221:\n"
l_.str.12: ; @.str.12
.asciz "\344\270\255\345\272\217\351\201\215\345\216\206\344\272\214\345\217\211\346\240\221:\n"
l_.str.13: ; @.str.13
.asciz "\345\220\216\345\272\217\351\201\215\345\216\206\344\272\214\345\217\211\346\240\221:\n"
l_.str.14: ; @.str.14
.asciz "\347\254\2543\344\270\252\350\212\202\347\202\271\347\232\204\345\200\274:%c\n"
l_.str.15: ; @.str.15
.asciz "\344\277\256\346\224\271\345\220\216\347\254\2547\344\270\252\350\212\202\347\202\271\347\232\204\345\200\274:%c\n"
l_.str.16: ; @.str.16
.asciz "\347\273\223\347\202\271%c\347\232\204parent\344\270\272%c,\345\267\246\345\217\263\345\255\251\345\255\220\345\210\206\345\210\253\344\270\272"
l_.str.17: ; @.str.17
.asciz "%c,%c,\345\267\246\345\217\263\345\205\204\345\274\237\345\210\206\345\210\253\344\270\272"
l_.str.18: ; @.str.18
.asciz "%c,%c\n"
l_.str.19: ; @.str.19
.asciz "\346\270\205\351\231\244\344\272\214\345\217\211\346\240\221\345\220\216,\346\240\221\347\251\272\345\220\246\357\274\237%d \346\240\221\347\232\204\346\267\261\345\272\246=%d\n"
l_.str.20: ; @.str.20
.asciz "\344\272\214\345\217\211\346\240\221\347\232\204\346\240\271\344\270\272\357\274\232%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _InitTree ## -- Begin function InitTree
.p2align 4, 0x90
_InitTree: ## @InitTree
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl $0, -12(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $100, -12(%rbp)
jg LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movb _Nil(%rip), %dl
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movb %dl, (%rax,%rcx)
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB0_1
LBB0_4:
movl $1, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _FillTree ## -- Begin function FillTree
.p2align 4, 0x90
_FillTree: ## @FillTree
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movl $1, -28(%rbp)
movb _Nil(%rip), %cl
movq -16(%rbp), %rax
movb %cl, (%rax)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movq -24(%rbp), %rax
movl -28(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $0, %eax
je LBB1_11
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
movl -28(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
cmpl $48, %eax
jne LBB1_4
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movb _Nil(%rip), %dl
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movb %dl, (%rax,%rcx)
jmp LBB1_5
LBB1_4: ## in Loop: Header=BB1_1 Depth=1
movq -24(%rbp), %rax
movl -28(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %dl
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movb %dl, (%rax,%rcx)
LBB1_5: ## in Loop: Header=BB1_1 Depth=1
cmpl $1, -28(%rbp)
je LBB1_10
## %bb.6: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
je LBB1_10
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movq -16(%rbp), %rax
movq %rax, -40(%rbp) ## 8-byte Spill
movl -28(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq -40(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
jne LBB1_9
## %bb.8:
movl $0, -4(%rbp)
jmp LBB1_15
LBB1_9: ## in Loop: Header=BB1_1 Depth=1
jmp LBB1_10
LBB1_10: ## in Loop: Header=BB1_1 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_1
LBB1_11:
jmp LBB1_12
LBB1_12: ## =>This Inner Loop Header: Depth=1
cmpl $100, -28(%rbp)
jg LBB1_14
## %bb.13: ## in Loop: Header=BB1_12 Depth=1
movb _Nil(%rip), %dl
movq -16(%rbp), %rax
movslq -28(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB1_12
LBB1_14:
movl $1, -4(%rbp)
LBB1_15:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _BinTreeEmpty ## -- Begin function BinTreeEmpty
.p2align 4, 0x90
_BinTreeEmpty: ## @BinTreeEmpty
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movsbl 1(%rax), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
sete %al
andb $1, %al
movzbl %al, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal8,8byte_literals
.p2align 3 ## -- Begin function BiTreeDepth
LCPI3_0:
.quad 0x3ff0000000000000 ## double 1
LCPI3_1:
.quad 0x4000000000000000 ## double 2
.section __TEXT,__text,regular,pure_instructions
.globl _BiTreeDepth
.p2align 4, 0x90
_BiTreeDepth: ## @BiTreeDepth
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $0, -16(%rbp)
movl $100, -12(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpl $0, -12(%rbp)
jle LBB3_6
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
je LBB3_4
## %bb.3:
jmp LBB3_6
LBB3_4: ## in Loop: Header=BB3_1 Depth=1
jmp LBB3_5
LBB3_5: ## in Loop: Header=BB3_1 Depth=1
movl -12(%rbp), %eax
addl $-1, %eax
movl %eax, -12(%rbp)
jmp LBB3_1
LBB3_6:
jmp LBB3_7
LBB3_7: ## =>This Inner Loop Header: Depth=1
cvtsi2sdl -16(%rbp), %xmm1
movsd LCPI3_1(%rip), %xmm0 ## xmm0 = mem[0],zero
callq _pow
movaps %xmm0, %xmm1
movsd LCPI3_0(%rip), %xmm0 ## xmm0 = mem[0],zero
subsd %xmm0, %xmm1
cvtsi2sdl -12(%rbp), %xmm0
ucomisd %xmm1, %xmm0
jbe LBB3_9
## %bb.8: ## in Loop: Header=BB3_7 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB3_7
LBB3_9:
movl -16(%rbp), %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Root ## -- Begin function Root
.p2align 4, 0x90
_Root: ## @Root
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rdi
callq _BinTreeEmpty
cmpl $0, %eax
je LBB4_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB4_3
LBB4_2:
movq -16(%rbp), %rax
movb 1(%rax), %cl
movq -24(%rbp), %rax
movb %cl, (%rax)
movl $1, -4(%rbp)
LBB4_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Value ## -- Begin function Value
.p2align 4, 0x90
_Value: ## @Value
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
cmpl $1, -20(%rbp)
jl LBB5_2
## %bb.1:
cmpl $100, -20(%rbp)
jle LBB5_3
LBB5_2:
movl $0, -4(%rbp)
jmp LBB5_4
LBB5_3:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movb (%rax,%rcx), %cl
movq -32(%rbp), %rax
movb %cl, (%rax)
movl $1, -4(%rbp)
LBB5_4:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Assign ## -- Begin function Assign
.p2align 4, 0x90
_Assign: ## @Assign
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movb %dl, %al
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movb %al, -21(%rbp)
cmpl $1, -20(%rbp)
jl LBB6_4
## %bb.1:
cmpl $100, -20(%rbp)
jg LBB6_4
## %bb.2:
cmpl $1, -20(%rbp)
je LBB6_5
## %bb.3:
movq -16(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq -32(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
jne LBB6_5
LBB6_4:
movl $0, -4(%rbp)
jmp LBB6_6
LBB6_5:
movb -21(%rbp), %dl
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movb %dl, (%rax,%rcx)
movl $1, -4(%rbp)
LBB6_6:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _Parent ## -- Begin function Parent
.p2align 4, 0x90
_Parent: ## @Parent
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
cmpl $2, -20(%rbp)
jl LBB7_3
## %bb.1:
cmpl $100, -20(%rbp)
jg LBB7_3
## %bb.2:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
jne LBB7_4
LBB7_3:
movl $0, -4(%rbp)
jmp LBB7_5
LBB7_4:
movq -16(%rbp), %rax
movq %rax, -48(%rbp) ## 8-byte Spill
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, %ecx
movq -48(%rbp), %rax ## 8-byte Reload
movslq %ecx, %rcx
movb (%rax,%rcx), %cl
movq -32(%rbp), %rax
movb %cl, (%rax)
movl $1, -4(%rbp)
LBB7_5:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _LeftChild ## -- Begin function LeftChild
.p2align 4, 0x90
_LeftChild: ## @LeftChild
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
cmpl $1, -20(%rbp)
jl LBB8_4
## %bb.1:
cmpl $100, -20(%rbp)
jg LBB8_4
## %bb.2:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
je LBB8_4
## %bb.3:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
shll $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
jne LBB8_5
LBB8_4:
movl $0, -4(%rbp)
jmp LBB8_6
LBB8_5:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
shll $1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %cl
movq -32(%rbp), %rax
movb %cl, (%rax)
movl $1, -4(%rbp)
LBB8_6:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _RightChild ## -- Begin function RightChild
.p2align 4, 0x90
_RightChild: ## @RightChild
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
cmpl $1, -20(%rbp)
jl LBB9_4
## %bb.1:
cmpl $100, -20(%rbp)
jg LBB9_4
## %bb.2:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
je LBB9_4
## %bb.3:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
shll $1, %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
jne LBB9_5
LBB9_4:
movl $0, -4(%rbp)
jmp LBB9_6
LBB9_5:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
shll $1, %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %cl
movq -32(%rbp), %rax
movb %cl, (%rax)
movl $1, -4(%rbp)
LBB9_6:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _LeftSibling ## -- Begin function LeftSibling
.p2align 4, 0x90
_LeftSibling: ## @LeftSibling
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
cmpl $2, -20(%rbp)
jl LBB10_4
## %bb.1:
cmpl $100, -20(%rbp)
jg LBB10_4
## %bb.2:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
je LBB10_4
## %bb.3:
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $1, %edx
jne LBB10_5
LBB10_4:
movl $0, -4(%rbp)
jmp LBB10_6
LBB10_5:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
subl $1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %cl
movq -32(%rbp), %rax
movb %cl, (%rax)
movl $1, -4(%rbp)
LBB10_6:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _RightSibling ## -- Begin function RightSibling
.p2align 4, 0x90
_RightSibling: ## @RightSibling
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
movq %rdx, -32(%rbp)
cmpl $1, -20(%rbp)
jl LBB11_5
## %bb.1:
cmpl $100, -20(%rbp)
jg LBB11_5
## %bb.2:
movq -16(%rbp), %rax
movslq -20(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
je LBB11_5
## %bb.3:
movl -20(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
cmpl $0, %edx
je LBB11_5
## %bb.4:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
jne LBB11_6
LBB11_5:
movl $0, -4(%rbp)
jmp LBB11_7
LBB11_6:
movq -16(%rbp), %rax
movl -20(%rbp), %ecx
addl $1, %ecx
movslq %ecx, %rcx
movb (%rax,%rcx), %cl
movq -32(%rbp), %rax
movb %cl, (%rax)
movl $1, -4(%rbp)
LBB11_7:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _PreOrderTraverse ## -- Begin function PreOrderTraverse
.p2align 4, 0x90
_PreOrderTraverse: ## @PreOrderTraverse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
jne LBB12_2
## %bb.1:
jmp LBB12_3
LBB12_2:
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _putchar
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
shll $1, %esi
callq _PreOrderTraverse
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
shll $1, %esi
addl $1, %esi
callq _PreOrderTraverse
LBB12_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _InOrderTraverse ## -- Begin function InOrderTraverse
.p2align 4, 0x90
_InOrderTraverse: ## @InOrderTraverse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
jne LBB13_2
## %bb.1:
jmp LBB13_3
LBB13_2:
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
shll $1, %esi
callq _InOrderTraverse
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _putchar
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
shll $1, %esi
addl $1, %esi
callq _InOrderTraverse
LBB13_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _PostOrderTraverse ## -- Begin function PostOrderTraverse
.p2align 4, 0x90
_PostOrderTraverse: ## @PostOrderTraverse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
jne LBB14_2
## %bb.1:
jmp LBB14_3
LBB14_2:
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
shll $1, %esi
callq _PostOrderTraverse
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
shll $1, %esi
addl $1, %esi
callq _PostOrderTraverse
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _putchar
LBB14_3:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _LevelOrderTraverse ## -- Begin function LevelOrderTraverse
.p2align 4, 0x90
_LevelOrderTraverse: ## @LevelOrderTraverse
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _BinTreeEmpty
cmpl $0, %eax
je LBB15_2
## %bb.1:
jmp LBB15_8
LBB15_2:
movl $1, -12(%rbp)
LBB15_3: ## =>This Inner Loop Header: Depth=1
cmpl $100, -12(%rbp)
jg LBB15_8
## %bb.4: ## in Loop: Header=BB15_3 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %eax
movsbl _Nil(%rip), %ecx
cmpl %ecx, %eax
je LBB15_6
## %bb.5: ## in Loop: Header=BB15_3 Depth=1
movq -8(%rbp), %rax
movslq -12(%rbp), %rcx
movsbl (%rax,%rcx), %edi
callq _putchar
LBB15_6: ## in Loop: Header=BB15_3 Depth=1
jmp LBB15_7
LBB15_7: ## in Loop: Header=BB15_3 Depth=1
movl -12(%rbp), %eax
addl $1, %eax
movl %eax, -12(%rbp)
jmp LBB15_3
LBB15_8:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $176, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -116(%rbp)
movl %edi, -120(%rbp)
movq %rsi, -128(%rbp)
leaq L_.str(%rip), %rdi
callq _puts
leaq -112(%rbp), %rdi
callq _InitTree
leaq -112(%rbp), %rdi
callq _BinTreeEmpty
movl %eax, %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.2(%rip), %rax
movq %rax, -144(%rbp)
movq -144(%rbp), %rax
movq %rax, -168(%rbp) ## 8-byte Spill
leaq -112(%rbp), %rdi
movq -144(%rbp), %rsi
callq _FillTree
movq -168(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str(%rip), %rdi
callq _puts
leaq -112(%rbp), %rdi
callq _InitTree
leaq L_.str.4(%rip), %rax
movq %rax, -144(%rbp)
movq -144(%rbp), %rax
movq %rax, -160(%rbp) ## 8-byte Spill
leaq -112(%rbp), %rdi
movq -144(%rbp), %rsi
callq _FillTree
movq -160(%rbp), %rsi ## 8-byte Reload
movl %eax, %edx
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
callq _BinTreeEmpty
movl %eax, -148(%rbp) ## 4-byte Spill
leaq -112(%rbp), %rdi
callq _BiTreeDepth
movl -148(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
leaq -133(%rbp), %rsi
callq _Root
movl %eax, -132(%rbp)
cmpl $0, -132(%rbp)
je LBB16_2
## %bb.1:
movsbl -133(%rbp), %esi
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB16_3
LBB16_2:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
LBB16_3:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
callq _LevelOrderTraverse
leaq L_.str.10(%rip), %rdi
callq _puts
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
movl $1, %esi
callq _PreOrderTraverse
leaq L_.str.10(%rip), %rdi
callq _puts
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
movl $1, %esi
callq _InOrderTraverse
leaq L_.str.10(%rip), %rdi
callq _puts
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
movl $1, %esi
callq _PostOrderTraverse
leaq L_.str.10(%rip), %rdi
callq _puts
leaq -112(%rbp), %rdi
movl $3, %esi
leaq -133(%rbp), %rdx
callq _Value
movsbl -133(%rbp), %esi
leaq L_.str.14(%rip), %rdi
movb $0, %al
callq _printf
movb $63, -133(%rbp)
leaq -112(%rbp), %rdi
movl $7, %esi
movsbl -133(%rbp), %edx
callq _Assign
leaq -112(%rbp), %rdi
movl $7, %esi
leaq -133(%rbp), %rdx
callq _Value
movsbl -133(%rbp), %esi
leaq L_.str.15(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
movl $1, %esi
callq _PreOrderTraverse
leaq L_.str.10(%rip), %rdi
callq _puts
leaq -112(%rbp), %rdi
movl $6, %esi
leaq -133(%rbp), %rdx
callq _Parent
leaq -112(%rbp), %rdi
movl $6, %esi
leaq -134(%rbp), %rdx
callq _Value
movsbl -134(%rbp), %esi
movsbl -133(%rbp), %edx
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
movl $6, %esi
leaq -133(%rbp), %rdx
callq _LeftChild
leaq -112(%rbp), %rdi
movl $6, %esi
leaq -134(%rbp), %rdx
callq _RightChild
movsbl -133(%rbp), %esi
movsbl -134(%rbp), %edx
leaq L_.str.17(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
movl $13, %esi
leaq -133(%rbp), %rdx
callq _LeftSibling
leaq -112(%rbp), %rdi
movl $12, %esi
leaq -134(%rbp), %rdx
callq _RightSibling
movsbl -133(%rbp), %esi
movsbl -134(%rbp), %edx
leaq L_.str.18(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
callq _InitTree
leaq -112(%rbp), %rdi
callq _BinTreeEmpty
movl %eax, -172(%rbp) ## 4-byte Spill
leaq -112(%rbp), %rdi
callq _BiTreeDepth
movl -172(%rbp), %esi ## 4-byte Reload
movl %eax, %edx
leaq L_.str.19(%rip), %rdi
movb $0, %al
callq _printf
leaq -112(%rbp), %rdi
leaq -133(%rbp), %rsi
callq _Root
movl %eax, -132(%rbp)
cmpl $0, -132(%rbp)
je LBB16_5
## %bb.4:
movsbl -133(%rbp), %esi
leaq L_.str.20(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB16_6
LBB16_5:
leaq L_.str.8(%rip), %rdi
movb $0, %al
callq _printf
LBB16_6:
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB16_8
## %bb.7:
xorl %eax, %eax
addq $176, %rsp
popq %rbp
retq
LBB16_8:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.globl _Nil ## @Nil
.zerofill __DATA,__common,_Nil,1,0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "init tree"
L_.str.1: ## @.str.1
.asciz "is binary tree empty?\n%d"
L_.str.2: ## @.str.2
.asciz "AB0CDEFG"
L_.str.3: ## @.str.3
.asciz "using char array :\t %s \tto fill tree,succeed?\n%d\n"
L_.str.4: ## @.str.4
.asciz "ABC0DE000FGHI"
L_.str.5: ## @.str.5
.asciz "using char array :\t %s \tto fill tree,succeed?\n %d\n"
L_.str.6: ## @.str.6
.asciz "\345\273\272\347\253\213\344\272\214\345\217\211\346\240\221\345\220\216,\346\240\221\347\251\272\345\220\246\357\274\237%d \346\240\221\347\232\204\346\267\261\345\272\246=%d\n"
L_.str.7: ## @.str.7
.asciz "\344\272\214\345\217\211\346\240\221\347\232\204\346\240\271\344\270\272\357\274\232%c\n"
L_.str.8: ## @.str.8
.asciz "\346\240\221\347\251\272\357\274\214\346\227\240\346\240\271\n"
L_.str.9: ## @.str.9
.asciz "\345\261\202\345\272\217\351\201\215\345\216\206\344\272\214\345\217\211\346\240\221:\n"
L_.str.10: ## @.str.10
.space 1
L_.str.11: ## @.str.11
.asciz "\345\211\215\345\272\217\351\201\215\345\216\206\344\272\214\345\217\211\346\240\221:\n"
L_.str.12: ## @.str.12
.asciz "\344\270\255\345\272\217\351\201\215\345\216\206\344\272\214\345\217\211\346\240\221:\n"
L_.str.13: ## @.str.13
.asciz "\345\220\216\345\272\217\351\201\215\345\216\206\344\272\214\345\217\211\346\240\221:\n"
L_.str.14: ## @.str.14
.asciz "\347\254\2543\344\270\252\350\212\202\347\202\271\347\232\204\345\200\274:%c\n"
L_.str.15: ## @.str.15
.asciz "\344\277\256\346\224\271\345\220\216\347\254\2547\344\270\252\350\212\202\347\202\271\347\232\204\345\200\274:%c\n"
L_.str.16: ## @.str.16
.asciz "\347\273\223\347\202\271%c\347\232\204parent\344\270\272%c,\345\267\246\345\217\263\345\255\251\345\255\220\345\210\206\345\210\253\344\270\272"
L_.str.17: ## @.str.17
.asciz "%c,%c,\345\267\246\345\217\263\345\205\204\345\274\237\345\210\206\345\210\253\344\270\272"
L_.str.18: ## @.str.18
.asciz "%c,%c\n"
L_.str.19: ## @.str.19
.asciz "\346\270\205\351\231\244\344\272\214\345\217\211\346\240\221\345\220\216,\346\240\221\347\251\272\345\220\246\357\274\237%d \346\240\221\347\232\204\346\267\261\345\272\246=%d\n"
L_.str.20: ## @.str.20
.asciz "\344\272\214\345\217\211\346\240\221\347\232\204\346\240\271\344\270\272\357\274\232%d\n"
.subsections_via_symbols
| the_stack_data/231394504.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lex_token ; -- Begin function lex_token
.p2align 2
_lex_token: ; @lex_token
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-24]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #32]
ldur x8, [x29, #-24]
ldr x8, [x8]
str x8, [sp, #24]
adrp x8, l___const.lex_token.tok@PAGE
add x8, x8, l___const.lex_token.tok@PAGEOFF
ldr q0, [x8]
stur q0, [x29, #-16]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #32]
ldrsb w0, [x8]
bl _isspace
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x8, [sp, #32]
add x8, x8, #1
str x8, [sp, #32]
b LBB0_1
LBB0_3:
ldr x8, [sp, #32]
ldrsb w8, [x8]
str w8, [sp, #20] ; 4-byte Folded Spill
subs w8, w8, #33
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_4
LBB0_4:
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #38
cset w8, eq
tbnz w8, #0, LBB0_12
b LBB0_5
LBB0_5:
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #40
cset w8, eq
tbnz w8, #0, LBB0_9
b LBB0_6
LBB0_6:
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #41
cset w8, eq
tbnz w8, #0, LBB0_10
b LBB0_7
LBB0_7:
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #62
cset w8, eq
tbnz w8, #0, LBB0_14
b LBB0_8
LBB0_8:
ldr w8, [sp, #20] ; 4-byte Folded Reload
subs w8, w8, #124
cset w8, eq
tbnz w8, #0, LBB0_13
b LBB0_15
LBB0_9:
ldr x8, [sp, #32]
add x8, x8, #1
ldur x9, [x29, #-24]
str x8, [x9]
mov w8, #1
stur w8, [x29, #-16]
b LBB0_21
LBB0_10:
ldr x8, [sp, #32]
add x8, x8, #1
ldur x9, [x29, #-24]
str x8, [x9]
mov w8, #2
stur w8, [x29, #-16]
b LBB0_21
LBB0_11:
ldr x8, [sp, #32]
add x8, x8, #1
ldur x9, [x29, #-24]
str x8, [x9]
mov w8, #3
stur w8, [x29, #-16]
b LBB0_21
LBB0_12:
ldr x8, [sp, #32]
add x8, x8, #1
ldur x9, [x29, #-24]
str x8, [x9]
mov w8, #4
stur w8, [x29, #-16]
b LBB0_21
LBB0_13:
ldr x8, [sp, #32]
add x8, x8, #1
ldur x9, [x29, #-24]
str x8, [x9]
mov w8, #5
stur w8, [x29, #-16]
b LBB0_21
LBB0_14:
ldr x8, [sp, #32]
add x8, x8, #1
ldur x9, [x29, #-24]
str x8, [x9]
mov w8, #6
stur w8, [x29, #-16]
b LBB0_21
LBB0_15:
ldr x8, [sp, #32]
ldrsb w0, [x8]
bl _isalnum
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_20
b LBB0_16
LBB0_16:
b LBB0_17
LBB0_17: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #24]
ldrsb w0, [x8]
bl _isalnum
subs w8, w0, #0
cset w8, eq
tbnz w8, #0, LBB0_19
b LBB0_18
LBB0_18: ; in Loop: Header=BB0_17 Depth=1
ldr x8, [sp, #24]
add x8, x8, #1
str x8, [sp, #24]
b LBB0_17
LBB0_19:
ldr x8, [sp, #24]
ldr x9, [sp, #32]
subs x9, x8, x9
mov x8, #1
add x9, x9, #1
mul x0, x8, x9
bl _kalloc
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
ldr x1, [sp, #32]
ldr x8, [sp, #24]
ldr x9, [sp, #32]
subs x2, x8, x9
mov x3, #-1
bl ___strncpy_chk
ldur x8, [x29, #-8]
ldr x9, [sp, #24]
ldr x10, [sp, #32]
subs x9, x9, x10
add x8, x8, x9
strb wzr, [x8]
ldr x8, [sp, #24]
ldur x9, [x29, #-24]
str x8, [x9]
stur wzr, [x29, #-16]
b LBB0_20
LBB0_20:
b LBB0_21
LBB0_21:
ldur w8, [x29, #-16]
; implicit-def: $x10
mov x10, x8
ldur x8, [x29, #-8]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldur x0, [x29, #-16]
ldur x1, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _kalloc ; -- Begin function kalloc
.p2align 2
_kalloc: ; @kalloc
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
; kill: def $x8 killed $xzr
stur xzr, [x29, #-8]
b LBB1_5
LBB1_2:
ldr x0, [sp, #16]
bl _malloc
mov x8, x0
str x8, [sp, #8]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB1_4
b LBB1_3
LBB1_3:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _perror
bl _abort
LBB1_4:
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB1_5
LBB1_5:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _next ; -- Begin function next
.p2align 2
_next: ; @next
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
bl _free
ldur x8, [x29, #-8]
str x8, [sp] ; 8-byte Folded Spill
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
ldur x9, [x29, #-8]
add x0, x9, #24
blr x8
ldr x8, [sp] ; 8-byte Folded Reload
str x0, [sp, #8]
str x1, [sp, #16]
ldur q0, [sp, #8]
str q0, [x8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _kstrdup ; -- Begin function kstrdup
.p2align 2
_kstrdup: ; @kstrdup
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x0, [sp, #8]
bl _strdup
mov x8, x0
str x8, [sp]
subs x8, x0, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _perror
bl _abort
LBB3_2:
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _parse_S ; -- Begin function parse_S
.p2align 2
_parse_S: ; @parse_S
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
mov x0, #16
bl _kalloc
str x0, [sp]
ldr x8, [sp, #8]
ldr w8, [x8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr x8, [sp]
str wzr, [x8]
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _kstrdup
ldr x8, [sp]
str x0, [x8, #8]
ldr x0, [sp, #8]
bl _next
b LBB4_8
LBB4_2:
ldr x8, [sp, #8]
ldr w8, [x8]
subs w8, w8, #1
cset w8, ne
tbnz w8, #0, LBB4_6
b LBB4_3
LBB4_3:
ldr x9, [sp]
mov w8, #1
str w8, [x9]
ldr x0, [sp, #8]
bl _next
ldr x0, [sp, #8]
bl _parse_P
ldr x8, [sp]
str x0, [x8, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
subs w8, w8, #2
cset w8, eq
tbnz w8, #0, LBB4_5
b LBB4_4
LBB4_4:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.2@PAGE
add x1, x1, l_.str.2@PAGEOFF
bl _fprintf
bl _abort
LBB4_5:
ldr x0, [sp, #8]
bl _next
b LBB4_7
LBB4_6:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.3@PAGE
add x1, x1, l_.str.3@PAGEOFF
bl _fprintf
bl _abort
LBB4_7:
b LBB4_8
LBB4_8:
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _parse_P ; -- Begin function parse_P
.p2align 2
_parse_P: ; @parse_P
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
mov x0, #24
bl _kalloc
str x0, [sp, #8]
ldr x8, [sp, #16]
ldr w8, [x8]
subs w8, w8, #3
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
ldr x9, [sp, #8]
mov w8, #1
str w8, [x9]
ldr x0, [sp, #16]
bl _next
ldr x0, [sp, #16]
bl _parse_S
ldr x8, [sp, #8]
str x0, [x8, #8]
b LBB5_10
LBB5_2:
ldr x0, [sp, #16]
bl _parse_S
ldr x8, [sp, #8]
str x0, [x8, #8]
ldr x8, [sp, #16]
ldr w8, [x8]
str w8, [sp, #4] ; 4-byte Folded Spill
subs w8, w8, #4
cset w8, eq
tbnz w8, #0, LBB5_5
b LBB5_3
LBB5_3:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #5
cset w8, eq
tbnz w8, #0, LBB5_6
b LBB5_4
LBB5_4:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #6
cset w8, eq
tbnz w8, #0, LBB5_7
b LBB5_8
LBB5_5:
ldr x9, [sp, #8]
mov w8, #2
str w8, [x9]
b LBB5_9
LBB5_6:
ldr x9, [sp, #8]
mov w8, #3
str w8, [x9]
b LBB5_9
LBB5_7:
ldr x9, [sp, #8]
mov w8, #4
str w8, [x9]
b LBB5_9
LBB5_8:
ldr x8, [sp, #8]
str wzr, [x8]
ldr x8, [sp, #8]
ldr x8, [x8, #8]
ldr x9, [sp, #8]
str x8, [x9, #8]
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB5_11
LBB5_9:
ldr x0, [sp, #16]
bl _next
ldr x0, [sp, #16]
bl _parse_S
ldr x8, [sp, #8]
str x0, [x8, #16]
b LBB5_10
LBB5_10:
ldr x8, [sp, #8]
stur x8, [x29, #-8]
b LBB5_11
LBB5_11:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _free_S ; -- Begin function free_S
.p2align 2
_free_S: ; @free_S
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [sp, #4] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB6_3
b LBB6_4
LBB6_2:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _free
b LBB6_5
LBB6_3:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _free_P
b LBB6_5
LBB6_4:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.4@PAGE
add x1, x1, l_.str.4@PAGEOFF
bl _fprintf
bl _abort
LBB6_5:
ldr x0, [sp, #8]
bl _free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _free_P ; -- Begin function free_P
.p2align 2
_free_P: ; @free_P
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
ldr w8, [x8]
str w8, [sp, #4] ; 4-byte Folded Spill
subs w8, w8, #0
subs w8, w8, #1
cset w8, ls
tbnz w8, #0, LBB7_2
b LBB7_1
LBB7_1:
ldr w8, [sp, #4] ; 4-byte Folded Reload
subs w8, w8, #2
subs w8, w8, #2
cset w8, ls
tbnz w8, #0, LBB7_3
b LBB7_4
LBB7_2:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _free
b LBB7_5
LBB7_3:
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _free
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _free
b LBB7_5
LBB7_4:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.5@PAGE
add x1, x1, l_.str.5@PAGEOFF
bl _fprintf
bl _abort
LBB7_5:
ldr x0, [sp, #8]
bl _free
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _print_S ; -- Begin function print_S
.p2align 2
_print_S: ; @print_S
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #16]
b LBB8_1
LBB8_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_4
b LBB8_2
LBB8_2: ; in Loop: Header=BB8_1 Depth=1
mov w0, #9
bl _putchar
b LBB8_3
LBB8_3: ; in Loop: Header=BB8_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB8_1
LBB8_4:
ldur x8, [x29, #-8]
ldr w8, [x8]
str w8, [sp, #12] ; 4-byte Folded Spill
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB8_6
b LBB8_5
LBB8_5:
ldr w8, [sp, #12] ; 4-byte Folded Reload
subs w8, w8, #1
cset w8, eq
tbnz w8, #0, LBB8_7
b LBB8_8
LBB8_6:
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
mov x9, sp
str x8, [x9]
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
b LBB8_9
LBB8_7:
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur w8, [x29, #-12]
add w1, w8, #1
bl _print_P
b LBB8_9
LBB8_8:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.8@PAGE
add x1, x1, l_.str.8@PAGEOFF
bl _fprintf
bl _abort
LBB8_9:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _print_P ; -- Begin function print_P
.p2align 2
_print_P: ; @print_P
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
stur w1, [x29, #-12]
str wzr, [sp, #16]
b LBB9_1
LBB9_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
ldur w9, [x29, #-12]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB9_4
b LBB9_2
LBB9_2: ; in Loop: Header=BB9_1 Depth=1
mov w0, #9
bl _putchar
b LBB9_3
LBB9_3: ; in Loop: Header=BB9_1 Depth=1
ldr w8, [sp, #16]
add w8, w8, #1
str w8, [sp, #16]
b LBB9_1
LBB9_4:
ldur x8, [x29, #-8]
ldr w8, [x8]
subs w8, w8, #0
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #4
cset w8, hi
tbnz w8, #0, LBB9_11
; %bb.5:
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI9_0@PAGE
add x10, x10, lJTI9_0@PAGEOFF
Ltmp0:
adr x8, Ltmp0
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB9_6:
adrp x0, l_.str.9@PAGE
add x0, x0, l_.str.9@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur w8, [x29, #-12]
add w1, w8, #1
bl _print_S
b LBB9_12
LBB9_7:
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur w8, [x29, #-12]
add w1, w8, #1
bl _print_S
b LBB9_12
LBB9_8:
adrp x0, l_.str.11@PAGE
add x0, x0, l_.str.11@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur w8, [x29, #-12]
add w1, w8, #1
bl _print_S
ldur x8, [x29, #-8]
ldr x0, [x8, #16]
ldur w8, [x29, #-12]
add w1, w8, #1
bl _print_S
b LBB9_12
LBB9_9:
adrp x0, l_.str.12@PAGE
add x0, x0, l_.str.12@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur w8, [x29, #-12]
add w1, w8, #1
bl _print_S
ldur x8, [x29, #-8]
ldr x0, [x8, #16]
ldur w8, [x29, #-12]
add w1, w8, #1
bl _print_S
b LBB9_12
LBB9_10:
adrp x0, l_.str.13@PAGE
add x0, x0, l_.str.13@PAGEOFF
bl _printf
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
ldur w8, [x29, #-12]
add w1, w8, #1
bl _print_S
ldur x8, [x29, #-8]
ldr x0, [x8, #16]
ldur w8, [x29, #-12]
add w1, w8, #1
bl _print_S
b LBB9_12
LBB9_11:
adrp x8, ___stderrp@GOTPAGE
ldr x8, [x8, ___stderrp@GOTPAGEOFF]
ldr x0, [x8]
adrp x1, l_.str.14@PAGE
add x1, x1, l_.str.14@PAGEOFF
bl _fprintf
bl _abort
LBB9_12:
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
.p2align 2
lJTI9_0:
.long LBB9_6-Ltmp0
.long LBB9_7-Ltmp0
.long LBB9_8-Ltmp0
.long LBB9_9-Ltmp0
.long LBB9_10-Ltmp0
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
str w8, [sp, #20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
adrp x8, l_.str.15@PAGE
add x8, x8, l_.str.15@PAGEOFF
stur x8, [x29, #-16]
add x0, sp, #32
str x0, [sp, #8] ; 8-byte Folded Spill
mov w8, #7
str w8, [sp, #32]
; kill: def $x8 killed $xzr
str xzr, [sp, #40]
adrp x8, _lex_token@PAGE
add x8, x8, _lex_token@PAGEOFF
str x8, [sp, #48]
ldur x8, [x29, #-16]
str x8, [sp, #56]
bl _next
ldr x0, [sp, #8] ; 8-byte Folded Reload
bl _parse_P
ldr w1, [sp, #20] ; 4-byte Folded Reload
str x0, [sp, #24]
ldr x0, [sp, #24]
bl _print_P
ldr x0, [sp, #24]
bl _free
adrp x0, l_.str.16@PAGE
add x0, x0, l_.str.16@PAGEOFF
bl _printf
ldr w0, [sp, #20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 3 ; @__const.lex_token.tok
l___const.lex_token.tok:
.long 7 ; 0x7
.space 4
.quad 0
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Got token [type: %d, id: %s]\n"
l_.str.1: ; @.str.1
.asciz "prop-parse"
l_.str.2: ; @.str.2
.asciz "Error, expected ')'\n"
l_.str.3: ; @.str.3
.asciz "Error, unexpected token when parsing S\n"
l_.str.4: ; @.str.4
.asciz "Error freeing invalid S node\n"
l_.str.5: ; @.str.5
.asciz "Error freeing invalid P node\n"
l_.str.6: ; @.str.6
.asciz "S: ID %s\n"
l_.str.7: ; @.str.7
.asciz "S: ( P )\n"
l_.str.8: ; @.str.8
.asciz "Error printing invalid S node\n"
l_.str.9: ; @.str.9
.asciz "P: S\n"
l_.str.10: ; @.str.10
.asciz "P: \302\254S\n"
l_.str.11: ; @.str.11
.asciz "P: S_left \342\210\247 S_right\n"
l_.str.12: ; @.str.12
.asciz "P: S_left \342\210\250 S_right\n"
l_.str.13: ; @.str.13
.asciz "P: S_left \342\206\222 S_right\n"
l_.str.14: ; @.str.14
.asciz "Error printing invalid P node\n"
l_.str.15: ; @.str.15
.asciz "((!(a&b))|(c>(!d)))"
l_.str.16: ; @.str.16
.asciz "done\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _lex_token ## -- Begin function lex_token
.p2align 4, 0x90
_lex_token: ## @lex_token
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movq %rdi, -24(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -32(%rbp)
movq -24(%rbp), %rax
movq (%rax), %rax
movq %rax, -40(%rbp)
movq L___const.lex_token.tok(%rip), %rax
movq %rax, -16(%rbp)
movq L___const.lex_token.tok+8(%rip), %rax
movq %rax, -8(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
movq -32(%rbp), %rax
movsbl (%rax), %edi
callq _isspace
cmpl $0, %eax
je LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -32(%rbp), %rax
addq $1, %rax
movq %rax, -32(%rbp)
jmp LBB0_1
LBB0_3:
movq -32(%rbp), %rax
movsbl (%rax), %eax
movl %eax, -44(%rbp) ## 4-byte Spill
subl $33, %eax
je LBB0_6
jmp LBB0_17
LBB0_17:
movl -44(%rbp), %eax ## 4-byte Reload
subl $38, %eax
je LBB0_7
jmp LBB0_18
LBB0_18:
movl -44(%rbp), %eax ## 4-byte Reload
subl $40, %eax
je LBB0_4
jmp LBB0_19
LBB0_19:
movl -44(%rbp), %eax ## 4-byte Reload
subl $41, %eax
je LBB0_5
jmp LBB0_20
LBB0_20:
movl -44(%rbp), %eax ## 4-byte Reload
subl $62, %eax
je LBB0_9
jmp LBB0_21
LBB0_21:
movl -44(%rbp), %eax ## 4-byte Reload
subl $124, %eax
je LBB0_8
jmp LBB0_10
LBB0_4:
movq -32(%rbp), %rcx
addq $1, %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movl $1, -16(%rbp)
jmp LBB0_16
LBB0_5:
movq -32(%rbp), %rcx
addq $1, %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movl $2, -16(%rbp)
jmp LBB0_16
LBB0_6:
movq -32(%rbp), %rcx
addq $1, %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movl $3, -16(%rbp)
jmp LBB0_16
LBB0_7:
movq -32(%rbp), %rcx
addq $1, %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movl $4, -16(%rbp)
jmp LBB0_16
LBB0_8:
movq -32(%rbp), %rcx
addq $1, %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movl $5, -16(%rbp)
jmp LBB0_16
LBB0_9:
movq -32(%rbp), %rcx
addq $1, %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movl $6, -16(%rbp)
jmp LBB0_16
LBB0_10:
movq -32(%rbp), %rax
movsbl (%rax), %edi
callq _isalnum
cmpl $0, %eax
je LBB0_15
## %bb.11:
jmp LBB0_12
LBB0_12: ## =>This Inner Loop Header: Depth=1
movq -40(%rbp), %rax
movsbl (%rax), %edi
callq _isalnum
cmpl $0, %eax
je LBB0_14
## %bb.13: ## in Loop: Header=BB0_12 Depth=1
movq -40(%rbp), %rax
addq $1, %rax
movq %rax, -40(%rbp)
jmp LBB0_12
LBB0_14:
movq -40(%rbp), %rdi
movq -32(%rbp), %rax
subq %rax, %rdi
addq $1, %rdi
shlq $0, %rdi
callq _kalloc
movq %rax, -8(%rbp)
movq -8(%rbp), %rdi
movq -32(%rbp), %rsi
movq -40(%rbp), %rdx
movq -32(%rbp), %rax
subq %rax, %rdx
movq $-1, %rcx
callq ___strncpy_chk
movq -8(%rbp), %rax
movq -40(%rbp), %rcx
movq -32(%rbp), %rdx
subq %rdx, %rcx
movb $0, (%rax,%rcx)
movq -40(%rbp), %rcx
movq -24(%rbp), %rax
movq %rcx, (%rax)
movl $0, -16(%rbp)
LBB0_15:
jmp LBB0_16
LBB0_16:
movl -16(%rbp), %esi
movq -8(%rbp), %rdx
leaq L_.str(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _printf
movl -16(%rbp), %eax
movq -8(%rbp), %rdx
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _kalloc ## -- Begin function kalloc
.p2align 4, 0x90
_kalloc: ## @kalloc
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB1_2
## %bb.1:
movq $0, -8(%rbp)
jmp LBB1_5
LBB1_2:
movq -16(%rbp), %rdi
callq _malloc
movq %rax, -24(%rbp)
cmpq $0, %rax
jne LBB1_4
## %bb.3:
leaq L_.str.1(%rip), %rdi
callq _perror
callq _abort
LBB1_4:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
LBB1_5:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _next ## -- Begin function next
.p2align 4, 0x90
_next: ## @next
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _free
movq -8(%rbp), %rax
movq %rax, -32(%rbp) ## 8-byte Spill
movq -8(%rbp), %rax
movq 16(%rax), %rax
movq -8(%rbp), %rdi
addq $24, %rdi
callq *%rax
movl %eax, %ecx
movq -32(%rbp), %rax ## 8-byte Reload
movl %ecx, -24(%rbp)
movq %rdx, -16(%rbp)
movq -24(%rbp), %rcx
movq %rcx, (%rax)
movq -16(%rbp), %rcx
movq %rcx, 8(%rax)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _kstrdup ## -- Begin function kstrdup
.p2align 4, 0x90
_kstrdup: ## @kstrdup
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rdi
callq _strdup
movq %rax, -16(%rbp)
cmpq $0, %rax
jne LBB3_2
## %bb.1:
leaq L_.str.1(%rip), %rdi
callq _perror
callq _abort
LBB3_2:
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _parse_S ## -- Begin function parse_S
.p2align 4, 0x90
_parse_S: ## @parse_S
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl $16, %edi
callq _kalloc
movq %rax, -16(%rbp)
movq -8(%rbp), %rax
cmpl $0, (%rax)
jne LBB4_2
## %bb.1:
movq -16(%rbp), %rax
movl $0, (%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _kstrdup
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rdi
callq _next
jmp LBB4_8
LBB4_2:
movq -8(%rbp), %rax
cmpl $1, (%rax)
jne LBB4_6
## %bb.3:
movq -16(%rbp), %rax
movl $1, (%rax)
movq -8(%rbp), %rdi
callq _next
movq -8(%rbp), %rdi
callq _parse_P
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
cmpl $2, (%rax)
je LBB4_5
## %bb.4:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.2(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _abort
LBB4_5:
movq -8(%rbp), %rdi
callq _next
jmp LBB4_7
LBB4_6:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.3(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _abort
LBB4_7:
jmp LBB4_8
LBB4_8:
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _parse_P ## -- Begin function parse_P
.p2align 4, 0x90
_parse_P: ## @parse_P
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl $24, %edi
callq _kalloc
movq %rax, -24(%rbp)
movq -16(%rbp), %rax
cmpl $3, (%rax)
jne LBB5_2
## %bb.1:
movq -24(%rbp), %rax
movl $1, (%rax)
movq -16(%rbp), %rdi
callq _next
movq -16(%rbp), %rdi
callq _parse_S
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB5_8
LBB5_2:
movq -16(%rbp), %rdi
callq _parse_S
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rax
movl (%rax), %eax
movl %eax, -28(%rbp) ## 4-byte Spill
subl $4, %eax
je LBB5_3
jmp LBB5_10
LBB5_10:
movl -28(%rbp), %eax ## 4-byte Reload
subl $5, %eax
je LBB5_4
jmp LBB5_11
LBB5_11:
movl -28(%rbp), %eax ## 4-byte Reload
subl $6, %eax
je LBB5_5
jmp LBB5_6
LBB5_3:
movq -24(%rbp), %rax
movl $2, (%rax)
jmp LBB5_7
LBB5_4:
movq -24(%rbp), %rax
movl $3, (%rax)
jmp LBB5_7
LBB5_5:
movq -24(%rbp), %rax
movl $4, (%rax)
jmp LBB5_7
LBB5_6:
movq -24(%rbp), %rax
movl $0, (%rax)
movq -24(%rbp), %rax
movq 8(%rax), %rcx
movq -24(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB5_9
LBB5_7:
movq -16(%rbp), %rdi
callq _next
movq -16(%rbp), %rdi
callq _parse_S
movq %rax, %rcx
movq -24(%rbp), %rax
movq %rcx, 16(%rax)
LBB5_8:
movq -24(%rbp), %rax
movq %rax, -8(%rbp)
LBB5_9:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _free_S ## -- Begin function free_S
.p2align 4, 0x90
_free_S: ## @free_S
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB6_1
jmp LBB6_5
LBB6_5:
movl -12(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB6_2
jmp LBB6_3
LBB6_1:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _free
jmp LBB6_4
LBB6_2:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _free_P
jmp LBB6_4
LBB6_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.4(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _abort
LBB6_4:
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _free_P ## -- Begin function free_P
.p2align 4, 0x90
_free_P: ## @free_P
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
subl $2, %eax
jb LBB7_1
jmp LBB7_5
LBB7_5:
movl -12(%rbp), %eax ## 4-byte Reload
addl $-2, %eax
subl $3, %eax
jb LBB7_2
jmp LBB7_3
LBB7_1:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _free
jmp LBB7_4
LBB7_2:
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _free
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _free
jmp LBB7_4
LBB7_3:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.5(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _abort
LBB7_4:
movq -8(%rbp), %rdi
callq _free
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_S ## -- Begin function print_S
.p2align 4, 0x90
_print_S: ## @print_S
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB8_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB8_4
## %bb.2: ## in Loop: Header=BB8_1 Depth=1
movl $9, %edi
callq _putchar
## %bb.3: ## in Loop: Header=BB8_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB8_1
LBB8_4:
movq -8(%rbp), %rax
movl (%rax), %eax
movl %eax, -20(%rbp) ## 4-byte Spill
testl %eax, %eax
je LBB8_5
jmp LBB8_9
LBB8_9:
movl -20(%rbp), %eax ## 4-byte Reload
subl $1, %eax
je LBB8_6
jmp LBB8_7
LBB8_5:
movq -8(%rbp), %rax
movq 8(%rax), %rsi
leaq L_.str.6(%rip), %rdi
movb $0, %al
callq _printf
jmp LBB8_8
LBB8_6:
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
addl $1, %esi
callq _print_P
jmp LBB8_8
LBB8_7:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.8(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _abort
LBB8_8:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _print_P ## -- Begin function print_P
.p2align 4, 0x90
_print_P: ## @print_P
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl $0, -16(%rbp)
LBB9_1: ## =>This Inner Loop Header: Depth=1
movl -16(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB9_4
## %bb.2: ## in Loop: Header=BB9_1 Depth=1
movl $9, %edi
callq _putchar
## %bb.3: ## in Loop: Header=BB9_1 Depth=1
movl -16(%rbp), %eax
addl $1, %eax
movl %eax, -16(%rbp)
jmp LBB9_1
LBB9_4:
movq -8(%rbp), %rax
movl (%rax), %eax
## kill: def $rax killed $eax
movq %rax, -24(%rbp) ## 8-byte Spill
subq $4, %rax
ja LBB9_10
## %bb.12:
movq -24(%rbp), %rax ## 8-byte Reload
leaq LJTI9_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB9_5:
leaq L_.str.9(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
addl $1, %esi
callq _print_S
jmp LBB9_11
LBB9_6:
leaq L_.str.10(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
addl $1, %esi
callq _print_S
jmp LBB9_11
LBB9_7:
leaq L_.str.11(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
addl $1, %esi
callq _print_S
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movl -12(%rbp), %esi
addl $1, %esi
callq _print_S
jmp LBB9_11
LBB9_8:
leaq L_.str.12(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
addl $1, %esi
callq _print_S
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movl -12(%rbp), %esi
addl $1, %esi
callq _print_S
jmp LBB9_11
LBB9_9:
leaq L_.str.13(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rdi
movl -12(%rbp), %esi
addl $1, %esi
callq _print_S
movq -8(%rbp), %rax
movq 16(%rax), %rdi
movl -12(%rbp), %esi
addl $1, %esi
callq _print_S
jmp LBB9_11
LBB9_10:
movq ___stderrp@GOTPCREL(%rip), %rax
movq (%rax), %rdi
leaq L_.str.14(%rip), %rsi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
callq _fprintf
callq _abort
LBB9_11:
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L9_0_set_5, LBB9_5-LJTI9_0
.set L9_0_set_6, LBB9_6-LJTI9_0
.set L9_0_set_7, LBB9_7-LJTI9_0
.set L9_0_set_8, LBB9_8-LJTI9_0
.set L9_0_set_9, LBB9_9-LJTI9_0
LJTI9_0:
.long L9_0_set_5
.long L9_0_set_6
.long L9_0_set_7
.long L9_0_set_8
.long L9_0_set_9
.end_data_region
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movl $0, -4(%rbp)
leaq L_.str.15(%rip), %rax
movq %rax, -16(%rbp)
movl $7, -48(%rbp)
movq $0, -40(%rbp)
leaq _lex_token(%rip), %rax
movq %rax, -32(%rbp)
movq -16(%rbp), %rax
movq %rax, -24(%rbp)
leaq -48(%rbp), %rdi
callq _next
leaq -48(%rbp), %rdi
callq _parse_P
movq %rax, -56(%rbp)
movq -56(%rbp), %rdi
xorl %esi, %esi
callq _print_P
movq -56(%rbp), %rdi
callq _free
leaq L_.str.16(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__literal16,16byte_literals
.p2align 3 ## @__const.lex_token.tok
L___const.lex_token.tok:
.long 7 ## 0x7
.space 4
.quad 0
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Got token [type: %d, id: %s]\n"
L_.str.1: ## @.str.1
.asciz "prop-parse"
L_.str.2: ## @.str.2
.asciz "Error, expected ')'\n"
L_.str.3: ## @.str.3
.asciz "Error, unexpected token when parsing S\n"
L_.str.4: ## @.str.4
.asciz "Error freeing invalid S node\n"
L_.str.5: ## @.str.5
.asciz "Error freeing invalid P node\n"
L_.str.6: ## @.str.6
.asciz "S: ID %s\n"
L_.str.7: ## @.str.7
.asciz "S: ( P )\n"
L_.str.8: ## @.str.8
.asciz "Error printing invalid S node\n"
L_.str.9: ## @.str.9
.asciz "P: S\n"
L_.str.10: ## @.str.10
.asciz "P: \302\254S\n"
L_.str.11: ## @.str.11
.asciz "P: S_left \342\210\247 S_right\n"
L_.str.12: ## @.str.12
.asciz "P: S_left \342\210\250 S_right\n"
L_.str.13: ## @.str.13
.asciz "P: S_left \342\206\222 S_right\n"
L_.str.14: ## @.str.14
.asciz "Error printing invalid P node\n"
L_.str.15: ## @.str.15
.asciz "((!(a&b))|(c>(!d)))"
L_.str.16: ## @.str.16
.asciz "done\n"
.subsections_via_symbols
| the_stack_data/115764981.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
stur w0, [x29, #-8]
stur x1, [x29, #-16]
stur wzr, [x29, #-20]
mov x0, #8192
bl _malloc
str x0, [sp, #32]
; kill: def $x8 killed $xzr
str xzr, [sp, #24]
str xzr, [sp, #16]
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
adrp x1, l_.str@PAGE
add x1, x1, l_.str@PAGEOFF
bl _fopen
str x0, [sp, #24]
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
adrp x1, l_.str.1@PAGE
add x1, x1, l_.str.1@PAGEOFF
bl _fopen
str x0, [sp, #16]
stur wzr, [x29, #-20]
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldur w8, [x29, #-20]
subs w8, w8, #21
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr x0, [sp, #32]
ldr x3, [sp, #24]
mov x1, #4096
str x1, [sp] ; 8-byte Folded Spill
mov x2, #1
str x2, [sp, #8] ; 8-byte Folded Spill
bl _fread
ldr x1, [sp] ; 8-byte Folded Reload
ldr x2, [sp, #8] ; 8-byte Folded Reload
ldr x0, [sp, #32]
ldr x3, [sp, #16]
bl _fwrite
b LBB0_3
LBB0_3: ; in Loop: Header=BB0_1 Depth=1
ldur w8, [x29, #-20]
add w8, w8, #1
stur w8, [x29, #-20]
b LBB0_1
LBB0_4:
ldr x0, [sp, #24]
bl _fclose
ldr x0, [sp, #16]
bl _fclose
mov w0, #0
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "rb"
l_.str.1: ; @.str.1
.asciz "wb"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
movl $0, -20(%rbp)
movl $8192, %edi ## imm = 0x2000
callq _malloc
movq %rax, -32(%rbp)
movq $0, -40(%rbp)
movq $0, -48(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
leaq L_.str(%rip), %rsi
callq _fopen
movq %rax, -40(%rbp)
movq -16(%rbp), %rax
movq 16(%rax), %rdi
leaq L_.str.1(%rip), %rsi
callq _fopen
movq %rax, -48(%rbp)
movl $0, -20(%rbp)
LBB0_1: ## =>This Inner Loop Header: Depth=1
cmpl $21, -20(%rbp)
jge LBB0_4
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movq -32(%rbp), %rdi
movq -40(%rbp), %rcx
movl $4096, %esi ## imm = 0x1000
movl $1, %edx
callq _fread
movq -32(%rbp), %rdi
movq -48(%rbp), %rcx
movl $4096, %esi ## imm = 0x1000
movl $1, %edx
callq _fwrite
## %bb.3: ## in Loop: Header=BB0_1 Depth=1
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_1
LBB0_4:
movq -40(%rbp), %rdi
callq _fclose
movq -48(%rbp), %rdi
callq _fclose
xorl %eax, %eax
addq $48, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "rb"
L_.str.1: ## @.str.1
.asciz "wb"
.subsections_via_symbols
| the_stack_data/124052.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _shellsort ; -- Begin function shellsort
.p2align 2
_shellsort: ; @shellsort
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #24]
str w1, [sp, #20]
ldr w8, [sp, #20]
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #16]
b LBB0_1
LBB0_1: ; =>This Loop Header: Depth=1
; Child Loop BB0_3 Depth 2
; Child Loop BB0_5 Depth 3
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, lt
tbnz w8, #0, LBB0_13
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
str w8, [sp, #12]
b LBB0_3
LBB0_3: ; Parent Loop BB0_1 Depth=1
; => This Loop Header: Depth=2
; Child Loop BB0_5 Depth 3
ldr w8, [sp, #12]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_11
b LBB0_4
LBB0_4: ; in Loop: Header=BB0_3 Depth=2
ldr x8, [sp, #24]
ldrsw x9, [sp, #12]
ldr w8, [x8, x9, lsl #2]
str w8, [sp, #4]
ldr w8, [sp, #12]
ldr w9, [sp, #16]
subs w8, w8, w9
str w8, [sp, #8]
b LBB0_5
LBB0_5: ; Parent Loop BB0_1 Depth=1
; Parent Loop BB0_3 Depth=2
; => This Inner Loop Header: Depth=3
ldr w8, [sp, #8]
subs w8, w8, #0
cset w8, lt
mov w9, #0
str w9, [sp] ; 4-byte Folded Spill
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=3
ldr x8, [sp, #24]
ldrsw x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
ldr w9, [sp, #4]
subs w8, w8, w9
cset w8, gt
str w8, [sp] ; 4-byte Folded Spill
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=3
ldr w8, [sp] ; 4-byte Folded Reload
tbz w8, #0, LBB0_9
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_5 Depth=3
ldr x8, [sp, #24]
ldrsw x9, [sp, #8]
ldr w8, [x8, x9, lsl #2]
ldr x9, [sp, #24]
ldr w10, [sp, #8]
ldr w11, [sp, #16]
add w10, w10, w11
str w8, [x9, w10, sxtw #2]
ldr w8, [sp, #8]
ldr w9, [sp, #16]
subs w8, w8, w9
str w8, [sp, #8]
b LBB0_5
LBB0_9: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #4]
ldr x9, [sp, #24]
ldr w10, [sp, #8]
ldr w11, [sp, #16]
add w10, w10, w11
str w8, [x9, w10, sxtw #2]
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_3 Depth=2
ldr w8, [sp, #12]
add w8, w8, #1
str w8, [sp, #12]
b LBB0_3
LBB0_11: ; in Loop: Header=BB0_1 Depth=1
b LBB0_12
LBB0_12: ; in Loop: Header=BB0_1 Depth=1
ldr w8, [sp, #16]
mov w9, #2
sdiv w8, w8, w9
str w8, [sp, #16]
b LBB0_1
LBB0_13:
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #96
.cfi_def_cfa_offset 96
stp x29, x30, [sp, #80] ; 16-byte Folded Spill
add x29, sp, #80
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
add x0, sp, #32
str x0, [sp, #8] ; 8-byte Folded Spill
adrp x1, l___const.main.a@PAGE
add x1, x1, l___const.main.a@PAGEOFF
mov x2, #40
bl _memcpy
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w8, #10
str w8, [sp, #24]
ldr w1, [sp, #24]
bl _shellsort
str wzr, [sp, #20]
b LBB1_1
LBB1_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #20]
ldr w9, [sp, #24]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB1_4
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
ldrsw x9, [sp, #20]
add x8, sp, #32
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
b LBB1_3
LBB1_3: ; in Loop: Header=BB1_1 Depth=1
ldr w8, [sp, #20]
add w8, w8, #1
str w8, [sp, #20]
b LBB1_1
LBB1_4:
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_6
b LBB1_5
LBB1_5:
bl ___stack_chk_fail
LBB1_6:
mov w0, #0
ldp x29, x30, [sp, #80] ; 16-byte Folded Reload
add sp, sp, #96
ret
.cfi_endproc
; -- End function
.section __TEXT,__const
.p2align 2 ; @__const.main.a
l___const.main.a:
.long 11 ; 0xb
.long 13 ; 0xd
.long 7 ; 0x7
.long 12 ; 0xc
.long 16 ; 0x10
.long 9 ; 0x9
.long 24 ; 0x18
.long 5 ; 0x5
.long 10 ; 0xa
.long 3 ; 0x3
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _shellsort ## -- Begin function shellsort
.p2align 4, 0x90
_shellsort: ## @shellsort
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -16(%rbp)
LBB0_1: ## =>This Loop Header: Depth=1
## Child Loop BB0_3 Depth 2
## Child Loop BB0_5 Depth 3
cmpl $1, -16(%rbp)
jl LBB0_13
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movl %eax, -20(%rbp)
LBB0_3: ## Parent Loop BB0_1 Depth=1
## => This Loop Header: Depth=2
## Child Loop BB0_5 Depth 3
movl -20(%rbp), %eax
cmpl -12(%rbp), %eax
jge LBB0_11
## %bb.4: ## in Loop: Header=BB0_3 Depth=2
movq -8(%rbp), %rax
movslq -20(%rbp), %rcx
movl (%rax,%rcx,4), %eax
movl %eax, -28(%rbp)
movl -20(%rbp), %eax
subl -16(%rbp), %eax
movl %eax, -24(%rbp)
LBB0_5: ## Parent Loop BB0_1 Depth=1
## Parent Loop BB0_3 Depth=2
## => This Inner Loop Header: Depth=3
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpl $0, -24(%rbp)
movb %al, -29(%rbp) ## 1-byte Spill
jl LBB0_7
## %bb.6: ## in Loop: Header=BB0_5 Depth=3
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %eax
cmpl -28(%rbp), %eax
setg %al
movb %al, -29(%rbp) ## 1-byte Spill
LBB0_7: ## in Loop: Header=BB0_5 Depth=3
movb -29(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB0_8
jmp LBB0_9
LBB0_8: ## in Loop: Header=BB0_5 Depth=3
movq -8(%rbp), %rax
movslq -24(%rbp), %rcx
movl (%rax,%rcx,4), %edx
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl -16(%rbp), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
movl -24(%rbp), %eax
subl -16(%rbp), %eax
movl %eax, -24(%rbp)
jmp LBB0_5
LBB0_9: ## in Loop: Header=BB0_3 Depth=2
movl -28(%rbp), %edx
movq -8(%rbp), %rax
movl -24(%rbp), %ecx
addl -16(%rbp), %ecx
movslq %ecx, %rcx
movl %edx, (%rax,%rcx,4)
## %bb.10: ## in Loop: Header=BB0_3 Depth=2
movl -20(%rbp), %eax
addl $1, %eax
movl %eax, -20(%rbp)
jmp LBB0_3
LBB0_11: ## in Loop: Header=BB0_1 Depth=1
jmp LBB0_12
LBB0_12: ## in Loop: Header=BB0_1 Depth=1
movl -16(%rbp), %eax
movl $2, %ecx
cltd
idivl %ecx
movl %eax, -16(%rbp)
jmp LBB0_1
LBB0_13:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -52(%rbp)
leaq -48(%rbp), %rdi
leaq l___const.main.a(%rip), %rsi
movl $40, %edx
callq _memcpy
movl $10, -56(%rbp)
leaq -48(%rbp), %rdi
movl -56(%rbp), %esi
callq _shellsort
movl $0, -60(%rbp)
LBB1_1: ## =>This Inner Loop Header: Depth=1
movl -60(%rbp), %eax
cmpl -56(%rbp), %eax
jge LBB1_4
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
movslq -60(%rbp), %rax
movl -48(%rbp,%rax,4), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
## %bb.3: ## in Loop: Header=BB1_1 Depth=1
movl -60(%rbp), %eax
addl $1, %eax
movl %eax, -60(%rbp)
jmp LBB1_1
LBB1_4:
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_6
## %bb.5:
xorl %eax, %eax
addq $64, %rsp
popq %rbp
retq
LBB1_6:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__const
.p2align 4 ## @__const.main.a
l___const.main.a:
.long 11 ## 0xb
.long 13 ## 0xd
.long 7 ## 0x7
.long 12 ## 0xc
.long 16 ## 0x10
.long 9 ## 0x9
.long 24 ## 0x18
.long 5 ## 0x5
.long 10 ## 0xa
.long 3 ## 0x3
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.1: ## @.str.1
.asciz "\n"
.subsections_via_symbols
| the_stack_data/162642052.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _male_indirect_jump ; -- Begin function male_indirect_jump
.p2align 2
_male_indirect_jump: ; @male_indirect_jump
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
adrp x8, _dispatch@GOTPAGE
ldr x8, [x8, _dispatch@GOTPAGEOFF]
ldr x8, [x8]
ldr x0, [sp, #8]
blr x8
mov w0, #0
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.comm _dispatch,8,3 ; @dispatch
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _male_indirect_jump ## -- Begin function male_indirect_jump
.p2align 4, 0x90
_male_indirect_jump: ## @male_indirect_jump
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movq _dispatch@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rdi
callq *%rax
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _dispatch,8,3 ## @dispatch
.subsections_via_symbols
| the_stack_data/32727.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ; -- Begin function foo
.p2align 2
_foo: ; @foo
.cfi_startproc
; %bb.0:
stp x29, x30, [sp, #-16]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 16
mov x29, sp
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldp x29, x30, [sp], #16 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.globl _order ; -- Begin function order
.p2align 2
_order: ; @order
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, lt
and w10, w8, #0x1
mov w9, #4
mov w8, #2
ands w10, w10, #0x1
csel w0, w8, w9, ne
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _order2 ; -- Begin function order2
.p2align 2
_order2: ; @order2
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #8]
ldr w9, [sp, #12]
subs w8, w8, w9
cset w8, lt
and w10, w8, #0x1
mov w9, #4
mov w8, #2
ands w10, w10, #0x1
csel w0, w8, w9, ne
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _x1 ; -- Begin function x1
.p2align 2
_x1: ; @x1
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, _array2@PAGE
add x8, x8, _array2@PAGEOFF
str x8, [sp] ; 8-byte Folded Spill
str w0, [sp, #12]
str wzr, [sp, #8]
b LBB3_1
LBB3_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #20
cset w8, ge
tbnz w8, #0, LBB3_4
b LBB3_2
LBB3_2: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #8]
ldrsw x10, [sp, #8]
adrp x9, _array2@PAGE
add x9, x9, _array2@PAGEOFF
str w8, [x9, x10, lsl #2]
b LBB3_3
LBB3_3: ; in Loop: Header=BB3_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB3_1
LBB3_4:
ldr x9, [sp] ; 8-byte Folded Reload
mov w8, #13
str w8, [x9, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _x2 ; -- Begin function x2
.p2align 2
_x2: ; @x2
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
adrp x8, _array2@PAGE
add x8, x8, _array2@PAGEOFF
str x8, [sp] ; 8-byte Folded Spill
str w0, [sp, #12]
str wzr, [sp, #8]
b LBB4_1
LBB4_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
subs w8, w8, #20
cset w8, ge
tbnz w8, #0, LBB4_4
b LBB4_2
LBB4_2: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #8]
ldrsw x10, [sp, #8]
adrp x9, _array2@PAGE
add x9, x9, _array2@PAGEOFF
str w8, [x9, x10, lsl #2]
b LBB4_3
LBB4_3: ; in Loop: Header=BB4_1 Depth=1
ldr w8, [sp, #8]
add w8, w8, #1
str w8, [sp, #8]
b LBB4_1
LBB4_4:
ldr x9, [sp] ; 8-byte Folded Reload
mov w8, #13
str w8, [x9, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov x8, x0
mov w0, #0
str wzr, [sp, #12]
str w8, [sp, #8]
str x1, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "Foo()"
.zerofill __DATA,__bss,_array2,492,2 ; @array2
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _foo ## -- Begin function foo
.p2align 4, 0x90
_foo: ## @foo
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _order ## -- Begin function order
.p2align 4, 0x90
_order: ## @order
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %edx
movl -8(%rbp), %esi
movl $4, %eax
movl $2, %ecx
cmpl %esi, %edx
cmovll %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _order2 ## -- Begin function order2
.p2align 4, 0x90
_order2: ## @order2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -8(%rbp), %edx
movl -4(%rbp), %esi
movl $4, %eax
movl $2, %ecx
cmpl %esi, %edx
cmovll %ecx, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _x1 ## -- Begin function x1
.p2align 4, 0x90
_x1: ## @x1
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
LBB3_1: ## =>This Inner Loop Header: Depth=1
cmpl $20, -8(%rbp)
jge LBB3_4
## %bb.2: ## in Loop: Header=BB3_1 Depth=1
movl -8(%rbp), %edx
movslq -8(%rbp), %rcx
leaq _array2(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB3_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB3_1
LBB3_4:
movl $13, _array2+8(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _x2 ## -- Begin function x2
.p2align 4, 0x90
_x2: ## @x2
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl $0, -8(%rbp)
LBB4_1: ## =>This Inner Loop Header: Depth=1
cmpl $20, -8(%rbp)
jge LBB4_4
## %bb.2: ## in Loop: Header=BB4_1 Depth=1
movl -8(%rbp), %edx
movslq -8(%rbp), %rcx
leaq _array2(%rip), %rax
movl %edx, (%rax,%rcx,4)
## %bb.3: ## in Loop: Header=BB4_1 Depth=1
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
jmp LBB4_1
LBB4_4:
movl $13, _array2+8(%rip)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -4(%rbp)
movl %edi, -8(%rbp)
movq %rsi, -16(%rbp)
xorl %eax, %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "Foo()"
.zerofill __DATA,__bss,_array2,492,4 ## @array2
.subsections_via_symbols
| the_stack_data/15061.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
stp x28, x27, [sp, #-32]! ; 16-byte Folded Spill
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
mov w9, #6832
movk w9, #6, lsl #16
adrp x16, ___chkstk_darwin@GOTPAGE
ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
blr x16
sub sp, sp, #97, lsl #12 ; =397312
sub sp, sp, #2736
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
str wzr, [sp, #32]
add x0, sp, #36
mov x1, #6788
movk x1, #6, lsl #16
bl _bzero
str wzr, [sp, #24]
mov x9, sp
add x8, sp, #28
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
b LBB0_1
LBB0_1: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #24]
ldr w9, [sp, #28]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB0_3
b LBB0_2
LBB0_2: ; in Loop: Header=BB0_1 Depth=1
mov x9, sp
add x8, sp, #20
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldrsw x8, [sp, #20]
add x9, sp, #36
ldr w8, [x9, x8, lsl #2]
add w8, w8, #1
ldrsw x10, [sp, #20]
str w8, [x9, x10, lsl #2]
ldr w8, [sp, #24]
add w8, w8, #1
str w8, [sp, #24]
b LBB0_1
LBB0_3:
mov x9, sp
add x8, sp, #16
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
mov w8, #34464
movk w8, #1, lsl #16
str w8, [sp, #24]
b LBB0_4
LBB0_4: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB0_9
b LBB0_5
LBB0_5: ; in Loop: Header=BB0_4 Depth=1
ldrsw x9, [sp, #24]
add x8, sp, #36
ldr w8, [x8, x9, lsl #2]
subs w8, w8, #0
cset w8, eq
tbnz w8, #0, LBB0_7
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #16]
subs w8, w8, #1
str w8, [sp, #16]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_4 Depth=1
b LBB0_8
LBB0_8: ; in Loop: Header=BB0_4 Depth=1
ldr w8, [sp, #24]
subs w8, w8, #1
str w8, [sp, #24]
b LBB0_4
LBB0_9:
ldr w8, [sp, #24]
; implicit-def: $x10
mov x10, x8
ldrsw x9, [sp, #24]
add x8, sp, #36
ldr w9, [x8, x9, lsl #2]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_11
b LBB0_10
LBB0_10:
bl ___stack_chk_fail
LBB0_11:
mov w0, #0
add sp, sp, #97, lsl #12 ; =397312
add sp, sp, #2736
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
ldp x28, x27, [sp], #32 ; 16-byte Folded Reload
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d"
l_.str.1: ; @.str.1
.asciz "%d %d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $400048, %eax ## imm = 0x61AB0
callq ____chkstk_darwin
subq %rax, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -400020(%rbp)
leaq -400016(%rbp), %rdi
xorl %esi, %esi
movl $400004, %edx ## imm = 0x61A84
callq _memset
movl $0, -400028(%rbp)
leaq L_.str(%rip), %rdi
leaq -400024(%rbp), %rsi
movb $0, %al
callq _scanf
LBB0_1: ## =>This Inner Loop Header: Depth=1
movl -400028(%rbp), %eax
cmpl -400024(%rbp), %eax
jge LBB0_3
## %bb.2: ## in Loop: Header=BB0_1 Depth=1
leaq L_.str(%rip), %rdi
leaq -400032(%rbp), %rsi
movb $0, %al
callq _scanf
movslq -400032(%rbp), %rax
movl -400016(%rbp,%rax,4), %ecx
addl $1, %ecx
movslq -400032(%rbp), %rax
movl %ecx, -400016(%rbp,%rax,4)
movl -400028(%rbp), %eax
addl $1, %eax
movl %eax, -400028(%rbp)
jmp LBB0_1
LBB0_3:
leaq L_.str(%rip), %rdi
leaq -400036(%rbp), %rsi
movb $0, %al
callq _scanf
movl $100000, -400028(%rbp) ## imm = 0x186A0
LBB0_4: ## =>This Inner Loop Header: Depth=1
cmpl $1, -400036(%rbp)
jle LBB0_9
## %bb.5: ## in Loop: Header=BB0_4 Depth=1
movslq -400028(%rbp), %rax
cmpl $0, -400016(%rbp,%rax,4)
je LBB0_7
## %bb.6: ## in Loop: Header=BB0_4 Depth=1
movl -400036(%rbp), %eax
addl $-1, %eax
movl %eax, -400036(%rbp)
LBB0_7: ## in Loop: Header=BB0_4 Depth=1
jmp LBB0_8
LBB0_8: ## in Loop: Header=BB0_4 Depth=1
movl -400028(%rbp), %eax
addl $-1, %eax
movl %eax, -400028(%rbp)
jmp LBB0_4
LBB0_9:
movl -400028(%rbp), %esi
movslq -400028(%rbp), %rax
movl -400016(%rbp,%rax,4), %edx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB0_11
## %bb.10:
xorl %eax, %eax
addq $400048, %rsp ## imm = 0x61AB0
popq %rbp
retq
LBB0_11:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d"
L_.str.1: ## @.str.1
.asciz "%d %d\n"
.subsections_via_symbols
| the_stack_data/1183347.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _compare ; -- Begin function compare
.p2align 2
_compare: ; @compare
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str x0, [sp, #16]
str x1, [sp, #8]
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
mov x8, #1
str x8, [sp, #24]
b LBB0_5
LBB0_2:
ldr x8, [sp, #16]
ldr x9, [sp, #8]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov x8, #-1
str x8, [sp, #24]
b LBB0_5
LBB0_4:
str xzr, [sp, #24]
b LBB0_5
LBB0_5:
ldr x0, [sp, #24]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #240
.cfi_def_cfa_offset 240
stp x29, x30, [sp, #224] ; 16-byte Folded Spill
add x29, sp, #224
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
stur wzr, [x29, #-60]
stur xzr, [x29, #-72]
b LBB1_1
LBB1_1: ; =>This Loop Header: Depth=1
; Child Loop BB1_3 Depth 2
ldur x8, [x29, #-72]
subs x8, x8, #2
cset w8, ge
tbnz w8, #0, LBB1_8
b LBB1_2
LBB1_2: ; in Loop: Header=BB1_1 Depth=1
mov x9, sp
sub x8, x29, #80
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur x0, [x29, #-80]
mov x1, #16
bl _calloc
stur x0, [x29, #-88]
stur xzr, [x29, #-96]
b LBB1_3
LBB1_3: ; Parent Loop BB1_1 Depth=1
; => This Inner Loop Header: Depth=2
ldur x8, [x29, #-96]
ldur x9, [x29, #-80]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB1_6
b LBB1_4
LBB1_4: ; in Loop: Header=BB1_3 Depth=2
mov x9, sp
sub x8, x29, #104
str x8, [x9]
add x8, sp, #112
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _scanf
ldur x8, [x29, #-104]
ldur x9, [x29, #-88]
ldur x10, [x29, #-96]
lsl x10, x10, #4
str x8, [x9, x10]
ldr x8, [sp, #112]
ldur x9, [x29, #-88]
ldur x10, [x29, #-96]
add x9, x9, x10, lsl #4
str x8, [x9, #8]
b LBB1_5
LBB1_5: ; in Loop: Header=BB1_3 Depth=2
ldur x8, [x29, #-96]
add x8, x8, #1
stur x8, [x29, #-96]
b LBB1_3
LBB1_6: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-80]
str x8, [sp, #96]
ldur x8, [x29, #-88]
str x8, [sp, #104]
ldur x9, [x29, #-72]
sub x8, x29, #40
ldr q0, [sp, #96]
str q0, [x8, x9, lsl #4]
b LBB1_7
LBB1_7: ; in Loop: Header=BB1_1 Depth=1
ldur x8, [x29, #-72]
add x8, x8, #1
stur x8, [x29, #-72]
b LBB1_1
LBB1_8:
stur xzr, [x29, #-56]
stur xzr, [x29, #-48]
ldur x8, [x29, #-40]
ldur x9, [x29, #-24]
add x8, x8, x9
str x8, [sp, #80]
ldr x0, [sp, #80]
mov x1, #16
bl _calloc
str x0, [sp, #72]
str xzr, [sp, #64]
stur xzr, [x29, #-56]
stur xzr, [x29, #-48]
b LBB1_9
LBB1_9: ; =>This Inner Loop Header: Depth=1
ldur x8, [x29, #-56]
ldur x9, [x29, #-40]
subs x8, x8, x9
cset w8, ge
mov w9, #0
str w9, [sp, #36] ; 4-byte Folded Spill
tbnz w8, #0, LBB1_11
b LBB1_10
LBB1_10: ; in Loop: Header=BB1_9 Depth=1
ldur x8, [x29, #-48]
ldur x9, [x29, #-24]
subs x8, x8, x9
cset w8, lt
str w8, [sp, #36] ; 4-byte Folded Spill
b LBB1_11
LBB1_11: ; in Loop: Header=BB1_9 Depth=1
ldr w8, [sp, #36] ; 4-byte Folded Reload
tbz w8, #0, LBB1_31
b LBB1_12
LBB1_12: ; in Loop: Header=BB1_9 Depth=1
ldur x8, [x29, #-32]
ldur x9, [x29, #-56]
add x8, x8, x9, lsl #4
ldr x0, [x8, #8]
ldur x8, [x29, #-16]
ldur x9, [x29, #-48]
add x8, x8, x9, lsl #4
ldr x1, [x8, #8]
bl _compare
str x0, [sp, #24] ; 8-byte Folded Spill
adds x8, x0, #1
cset w8, eq
tbnz w8, #0, LBB1_25
b LBB1_13
LBB1_13: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_20
b LBB1_14
LBB1_14: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #24] ; 8-byte Folded Reload
subs x8, x8, #1
cset w8, ne
tbnz w8, #0, LBB1_30
b LBB1_15
LBB1_15: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_18
b LBB1_16
LBB1_16: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #72]
ldr x9, [sp, #64]
add x8, x8, x9, lsl #4
ldur x8, [x8, #-8]
ldur x9, [x29, #-32]
ldur x10, [x29, #-56]
add x9, x9, x10, lsl #4
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB1_18
b LBB1_17
LBB1_17: ; in Loop: Header=BB1_9 Depth=1
ldur x8, [x29, #-32]
ldur x9, [x29, #-56]
lsl x9, x9, #4
ldr x10, [x8, x9]
ldr x8, [sp, #72]
ldr x9, [sp, #64]
add x9, x8, x9, lsl #4
ldur x8, [x9, #-16]
add x8, x8, x10
stur x8, [x9, #-16]
b LBB1_19
LBB1_18: ; in Loop: Header=BB1_9 Depth=1
ldur x8, [x29, #-32]
ldur x9, [x29, #-56]
lsl x9, x9, #4
ldr x8, [x8, x9]
ldr x9, [sp, #72]
ldr x10, [sp, #64]
lsl x10, x10, #4
str x8, [x9, x10]
ldur x8, [x29, #-32]
ldur x9, [x29, #-56]
add x8, x8, x9, lsl #4
ldr x8, [x8, #8]
ldr x9, [sp, #72]
ldr x10, [sp, #64]
add x9, x9, x10, lsl #4
str x8, [x9, #8]
ldr x8, [sp, #64]
add x8, x8, #1
str x8, [sp, #64]
b LBB1_19
LBB1_19: ; in Loop: Header=BB1_9 Depth=1
ldur x8, [x29, #-56]
add x8, x8, #1
stur x8, [x29, #-56]
b LBB1_30
LBB1_20: ; in Loop: Header=BB1_9 Depth=1
ldur x8, [x29, #-32]
ldur x9, [x29, #-56]
lsl x9, x9, #4
ldr x8, [x8, x9]
ldur x9, [x29, #-16]
ldur x10, [x29, #-48]
lsl x10, x10, #4
ldr x9, [x9, x10]
add x8, x8, x9
str x8, [sp, #56]
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_23
b LBB1_21
LBB1_21: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #72]
ldr x9, [sp, #64]
add x8, x8, x9, lsl #4
ldur x8, [x8, #-8]
ldur x9, [x29, #-32]
ldur x10, [x29, #-56]
add x9, x9, x10, lsl #4
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB1_23
b LBB1_22
LBB1_22: ; in Loop: Header=BB1_9 Depth=1
ldr x10, [sp, #56]
ldr x8, [sp, #72]
ldr x9, [sp, #64]
add x9, x8, x9, lsl #4
ldur x8, [x9, #-16]
add x8, x8, x10
stur x8, [x9, #-16]
b LBB1_24
LBB1_23: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #56]
ldr x9, [sp, #72]
ldr x10, [sp, #64]
lsl x10, x10, #4
str x8, [x9, x10]
ldur x8, [x29, #-32]
ldur x9, [x29, #-56]
add x8, x8, x9, lsl #4
ldr x8, [x8, #8]
ldr x9, [sp, #72]
ldr x10, [sp, #64]
add x9, x9, x10, lsl #4
str x8, [x9, #8]
ldr x8, [sp, #64]
add x8, x8, #1
str x8, [sp, #64]
b LBB1_24
LBB1_24: ; in Loop: Header=BB1_9 Depth=1
ldur x8, [x29, #-56]
add x8, x8, #1
stur x8, [x29, #-56]
ldur x8, [x29, #-48]
add x8, x8, #1
stur x8, [x29, #-48]
b LBB1_30
LBB1_25: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_28
b LBB1_26
LBB1_26: ; in Loop: Header=BB1_9 Depth=1
ldr x8, [sp, #72]
ldr x9, [sp, #64]
add x8, x8, x9, lsl #4
ldur x8, [x8, #-8]
ldur x9, [x29, #-16]
ldur x10, [x29, #-48]
add x9, x9, x10, lsl #4
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB1_28
b LBB1_27
LBB1_27: ; in Loop: Header=BB1_9 Depth=1
ldur x8, [x29, #-16]
ldur x9, [x29, #-48]
lsl x9, x9, #4
ldr x10, [x8, x9]
ldr x8, [sp, #72]
ldr x9, [sp, #64]
add x9, x8, x9, lsl #4
ldur x8, [x9, #-16]
add x8, x8, x10
stur x8, [x9, #-16]
b LBB1_29
LBB1_28: ; in Loop: Header=BB1_9 Depth=1
ldur x8, [x29, #-16]
ldur x9, [x29, #-48]
lsl x9, x9, #4
ldr x8, [x8, x9]
ldr x9, [sp, #72]
ldr x10, [sp, #64]
lsl x10, x10, #4
str x8, [x9, x10]
ldur x8, [x29, #-16]
ldur x9, [x29, #-48]
add x8, x8, x9, lsl #4
ldr x8, [x8, #8]
ldr x9, [sp, #72]
ldr x10, [sp, #64]
add x9, x9, x10, lsl #4
str x8, [x9, #8]
ldr x8, [sp, #64]
add x8, x8, #1
str x8, [sp, #64]
b LBB1_29
LBB1_29: ; in Loop: Header=BB1_9 Depth=1
ldur x8, [x29, #-48]
add x8, x8, #1
stur x8, [x29, #-48]
b LBB1_30
LBB1_30: ; in Loop: Header=BB1_9 Depth=1
b LBB1_9
LBB1_31:
str wzr, [sp, #52]
b LBB1_32
LBB1_32: ; =>This Loop Header: Depth=1
; Child Loop BB1_34 Depth 2
ldr w8, [sp, #52]
subs w8, w8, #2
cset w8, ge
tbnz w8, #0, LBB1_43
b LBB1_33
LBB1_33: ; in Loop: Header=BB1_32 Depth=1
b LBB1_34
LBB1_34: ; Parent Loop BB1_32 Depth=1
; => This Inner Loop Header: Depth=2
ldrsw x9, [sp, #52]
sub x8, x29, #56
ldr x8, [x8, x9, lsl #3]
ldrsw x9, [sp, #52]
lsl x10, x9, #4
sub x9, x29, #40
ldr x9, [x9, x10]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB1_41
b LBB1_35
LBB1_35: ; in Loop: Header=BB1_34 Depth=2
ldr x8, [sp, #64]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_38
b LBB1_36
LBB1_36: ; in Loop: Header=BB1_34 Depth=2
ldr x8, [sp, #72]
ldr x9, [sp, #64]
add x8, x8, x9, lsl #4
ldur x8, [x8, #-8]
ldrsw x10, [sp, #52]
sub x9, x29, #40
add x9, x9, x10, lsl #4
ldr x9, [x9, #8]
ldrsw x11, [sp, #52]
sub x10, x29, #56
ldr x10, [x10, x11, lsl #3]
add x9, x9, x10, lsl #4
ldr x9, [x9, #8]
subs x8, x8, x9
cset w8, ne
tbnz w8, #0, LBB1_38
b LBB1_37
LBB1_37: ; in Loop: Header=BB1_34 Depth=2
ldrsw x9, [sp, #52]
sub x8, x29, #40
add x8, x8, x9, lsl #4
ldr x8, [x8, #8]
ldrsw x10, [sp, #52]
sub x9, x29, #56
ldr x9, [x9, x10, lsl #3]
lsl x9, x9, #4
ldr x10, [x8, x9]
ldr x8, [sp, #72]
ldr x9, [sp, #64]
add x9, x8, x9, lsl #4
ldur x8, [x9, #-16]
add x8, x8, x10
stur x8, [x9, #-16]
b LBB1_39
LBB1_38: ; in Loop: Header=BB1_34 Depth=2
ldrsw x10, [sp, #52]
sub x8, x29, #40
mov x9, x8
add x9, x9, x10, lsl #4
ldr x10, [x9, #8]
ldrsw x11, [sp, #52]
sub x9, x29, #56
ldr x11, [x9, x11, lsl #3]
lsl x11, x11, #4
ldr x10, [x10, x11]
ldr x11, [sp, #72]
ldr x12, [sp, #64]
lsl x12, x12, #4
str x10, [x11, x12]
ldrsw x10, [sp, #52]
add x8, x8, x10, lsl #4
ldr x8, [x8, #8]
ldrsw x10, [sp, #52]
ldr x9, [x9, x10, lsl #3]
add x8, x8, x9, lsl #4
ldr x8, [x8, #8]
ldr x9, [sp, #72]
ldr x10, [sp, #64]
add x9, x9, x10, lsl #4
str x8, [x9, #8]
ldr x8, [sp, #64]
add x8, x8, #1
str x8, [sp, #64]
b LBB1_39
LBB1_39: ; in Loop: Header=BB1_34 Depth=2
b LBB1_40
LBB1_40: ; in Loop: Header=BB1_34 Depth=2
ldrsw x9, [sp, #52]
sub x8, x29, #56
add x9, x8, x9, lsl #3
ldr x8, [x9]
add x8, x8, #1
str x8, [x9]
b LBB1_34
LBB1_41: ; in Loop: Header=BB1_32 Depth=1
b LBB1_42
LBB1_42: ; in Loop: Header=BB1_32 Depth=1
ldr w8, [sp, #52]
add w8, w8, #1
str w8, [sp, #52]
b LBB1_32
LBB1_43:
ldr x8, [sp, #72]
str x8, [sp, #88]
str xzr, [sp, #40]
b LBB1_44
LBB1_44: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp, #40]
ldr x9, [sp, #80]
subs x8, x8, x9
cset w8, ge
tbnz w8, #0, LBB1_51
b LBB1_45
LBB1_45: ; in Loop: Header=BB1_44 Depth=1
ldr x8, [sp, #88]
ldr x9, [sp, #40]
lsl x9, x9, #4
ldr x8, [x8, x9]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB1_49
b LBB1_46
LBB1_46: ; in Loop: Header=BB1_44 Depth=1
ldr x8, [sp, #88]
ldr x9, [sp, #40]
lsl x9, x9, #4
ldr x10, [x8, x9]
ldr x8, [sp, #88]
ldr x9, [sp, #40]
add x8, x8, x9, lsl #4
ldr x8, [x8, #8]
mov x9, sp
str x10, [x9]
str x8, [x9, #8]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldr x8, [sp, #40]
ldr x9, [sp, #80]
subs x9, x9, #1
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_48
b LBB1_47
LBB1_47: ; in Loop: Header=BB1_44 Depth=1
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
b LBB1_48
LBB1_48: ; in Loop: Header=BB1_44 Depth=1
b LBB1_49
LBB1_49: ; in Loop: Header=BB1_44 Depth=1
b LBB1_50
LBB1_50: ; in Loop: Header=BB1_44 Depth=1
ldr x8, [sp, #40]
add x8, x8, #1
str x8, [sp, #40]
b LBB1_44
LBB1_51:
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _printf
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB1_53
b LBB1_52
LBB1_52:
bl ___stack_chk_fail
LBB1_53:
mov w0, #0
ldp x29, x30, [sp, #224] ; 16-byte Folded Reload
add sp, sp, #240
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%lld"
l_.str.1: ; @.str.1
.asciz "%lld %lld"
l_.str.2: ; @.str.2
.asciz " "
l_.str.3: ; @.str.3
.asciz "\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _compare ## -- Begin function compare
.p2align 4, 0x90
_compare: ## @compare
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq %rsi, -24(%rbp)
movq -16(%rbp), %rax
cmpq -24(%rbp), %rax
jle LBB0_2
## %bb.1:
movq $1, -8(%rbp)
jmp LBB0_5
LBB0_2:
movq -16(%rbp), %rax
cmpq -24(%rbp), %rax
jge LBB0_4
## %bb.3:
movq $-1, -8(%rbp)
jmp LBB0_5
LBB0_4:
movq $0, -8(%rbp)
LBB0_5:
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $208, %rsp
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -68(%rbp)
movq $0, -80(%rbp)
LBB1_1: ## =>This Loop Header: Depth=1
## Child Loop BB1_3 Depth 2
cmpq $2, -80(%rbp)
jge LBB1_8
## %bb.2: ## in Loop: Header=BB1_1 Depth=1
leaq L_.str(%rip), %rdi
leaq -88(%rbp), %rsi
movb $0, %al
callq _scanf
movq -88(%rbp), %rdi
movl $16, %esi
callq _calloc
movq %rax, -96(%rbp)
movq $0, -104(%rbp)
LBB1_3: ## Parent Loop BB1_1 Depth=1
## => This Inner Loop Header: Depth=2
movq -104(%rbp), %rax
cmpq -88(%rbp), %rax
jge LBB1_6
## %bb.4: ## in Loop: Header=BB1_3 Depth=2
leaq L_.str.1(%rip), %rdi
leaq -112(%rbp), %rsi
leaq -120(%rbp), %rdx
movb $0, %al
callq _scanf
movq -112(%rbp), %rcx
movq -96(%rbp), %rax
movq -104(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movq -120(%rbp), %rcx
movq -96(%rbp), %rax
movq -104(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, 8(%rax)
## %bb.5: ## in Loop: Header=BB1_3 Depth=2
movq -104(%rbp), %rax
addq $1, %rax
movq %rax, -104(%rbp)
jmp LBB1_3
LBB1_6: ## in Loop: Header=BB1_1 Depth=1
movq -88(%rbp), %rax
movq %rax, -136(%rbp)
movq -96(%rbp), %rax
movq %rax, -128(%rbp)
movq -80(%rbp), %rcx
leaq -48(%rbp), %rax
shlq $4, %rcx
addq %rcx, %rax
movq -136(%rbp), %rcx
movq %rcx, (%rax)
movq -128(%rbp), %rcx
movq %rcx, 8(%rax)
## %bb.7: ## in Loop: Header=BB1_1 Depth=1
movq -80(%rbp), %rax
addq $1, %rax
movq %rax, -80(%rbp)
jmp LBB1_1
LBB1_8:
leaq -64(%rbp), %rdi
xorl %esi, %esi
movl $16, %edx
callq _memset
movq -48(%rbp), %rax
addq -32(%rbp), %rax
movq %rax, -152(%rbp)
movq -152(%rbp), %rdi
movl $16, %esi
callq _calloc
movq %rax, -160(%rbp)
movq $0, -168(%rbp)
movq $0, -64(%rbp)
movq $0, -56(%rbp)
LBB1_9: ## =>This Inner Loop Header: Depth=1
movq -64(%rbp), %rcx
xorl %eax, %eax
## kill: def $al killed $al killed $eax
cmpq -48(%rbp), %rcx
movb %al, -193(%rbp) ## 1-byte Spill
jge LBB1_11
## %bb.10: ## in Loop: Header=BB1_9 Depth=1
movq -56(%rbp), %rax
cmpq -32(%rbp), %rax
setl %al
movb %al, -193(%rbp) ## 1-byte Spill
LBB1_11: ## in Loop: Header=BB1_9 Depth=1
movb -193(%rbp), %al ## 1-byte Reload
testb $1, %al
jne LBB1_12
jmp LBB1_29
LBB1_12: ## in Loop: Header=BB1_9 Depth=1
movq -64(%rbp), %rsi
movq -56(%rbp), %rcx
shlq $4, %rsi
movq -40(%rbp), %rdx
movq -24(%rbp), %rax
movq 8(%rdx,%rsi), %rdi
shlq $4, %rcx
movq 8(%rax,%rcx), %rsi
callq _compare
movq %rax, %rcx
movq %rcx, -208(%rbp) ## 8-byte Spill
subq $-1, %rax
je LBB1_23
jmp LBB1_52
LBB1_52: ## in Loop: Header=BB1_9 Depth=1
movq -208(%rbp), %rax ## 8-byte Reload
testq %rax, %rax
je LBB1_18
jmp LBB1_53
LBB1_53: ## in Loop: Header=BB1_9 Depth=1
movq -208(%rbp), %rax ## 8-byte Reload
subq $1, %rax
jne LBB1_28
jmp LBB1_13
LBB1_13: ## in Loop: Header=BB1_9 Depth=1
cmpq $0, -168(%rbp)
je LBB1_16
## %bb.14: ## in Loop: Header=BB1_9 Depth=1
movq -160(%rbp), %rax
movq -168(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq -8(%rax), %rax
movq -40(%rbp), %rcx
movq -64(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rcx
cmpq 8(%rcx), %rax
jne LBB1_16
## %bb.15: ## in Loop: Header=BB1_9 Depth=1
movq -40(%rbp), %rax
movq -64(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
addq -16(%rax), %rcx
movq %rcx, -16(%rax)
jmp LBB1_17
LBB1_16: ## in Loop: Header=BB1_9 Depth=1
movq -40(%rbp), %rax
movq -64(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movq -40(%rbp), %rax
movq -64(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, 8(%rax)
movq -168(%rbp), %rax
addq $1, %rax
movq %rax, -168(%rbp)
LBB1_17: ## in Loop: Header=BB1_9 Depth=1
movq -64(%rbp), %rax
addq $1, %rax
movq %rax, -64(%rbp)
jmp LBB1_28
LBB1_18: ## in Loop: Header=BB1_9 Depth=1
movq -40(%rbp), %rax
movq -64(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rax
movq -24(%rbp), %rcx
movq -56(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rcx
addq (%rcx), %rax
movq %rax, -176(%rbp)
cmpq $0, -168(%rbp)
je LBB1_21
## %bb.19: ## in Loop: Header=BB1_9 Depth=1
movq -160(%rbp), %rax
movq -168(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq -8(%rax), %rax
movq -40(%rbp), %rcx
movq -64(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rcx
cmpq 8(%rcx), %rax
jne LBB1_21
## %bb.20: ## in Loop: Header=BB1_9 Depth=1
movq -176(%rbp), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
addq -16(%rax), %rcx
movq %rcx, -16(%rax)
jmp LBB1_22
LBB1_21: ## in Loop: Header=BB1_9 Depth=1
movq -176(%rbp), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movq -40(%rbp), %rax
movq -64(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, 8(%rax)
movq -168(%rbp), %rax
addq $1, %rax
movq %rax, -168(%rbp)
LBB1_22: ## in Loop: Header=BB1_9 Depth=1
movq -64(%rbp), %rax
addq $1, %rax
movq %rax, -64(%rbp)
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
jmp LBB1_28
LBB1_23: ## in Loop: Header=BB1_9 Depth=1
cmpq $0, -168(%rbp)
je LBB1_26
## %bb.24: ## in Loop: Header=BB1_9 Depth=1
movq -160(%rbp), %rax
movq -168(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq -8(%rax), %rax
movq -24(%rbp), %rcx
movq -56(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rcx
cmpq 8(%rcx), %rax
jne LBB1_26
## %bb.25: ## in Loop: Header=BB1_9 Depth=1
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
addq -16(%rax), %rcx
movq %rcx, -16(%rax)
jmp LBB1_27
LBB1_26: ## in Loop: Header=BB1_9 Depth=1
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movq -24(%rbp), %rax
movq -56(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, 8(%rax)
movq -168(%rbp), %rax
addq $1, %rax
movq %rax, -168(%rbp)
LBB1_27: ## in Loop: Header=BB1_9 Depth=1
movq -56(%rbp), %rax
addq $1, %rax
movq %rax, -56(%rbp)
LBB1_28: ## in Loop: Header=BB1_9 Depth=1
jmp LBB1_9
LBB1_29:
movl $0, -180(%rbp)
LBB1_30: ## =>This Loop Header: Depth=1
## Child Loop BB1_32 Depth 2
cmpl $2, -180(%rbp)
jge LBB1_41
## %bb.31: ## in Loop: Header=BB1_30 Depth=1
jmp LBB1_32
LBB1_32: ## Parent Loop BB1_30 Depth=1
## => This Inner Loop Header: Depth=2
movslq -180(%rbp), %rax
movq -64(%rbp,%rax,8), %rax
movslq -180(%rbp), %rdx
leaq -48(%rbp), %rcx
shlq $4, %rdx
addq %rdx, %rcx
cmpq (%rcx), %rax
jge LBB1_39
## %bb.33: ## in Loop: Header=BB1_32 Depth=2
cmpq $0, -168(%rbp)
je LBB1_36
## %bb.34: ## in Loop: Header=BB1_32 Depth=2
movq -160(%rbp), %rax
movq -168(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq -8(%rax), %rax
movslq -180(%rbp), %rdx
leaq -48(%rbp), %rcx
shlq $4, %rdx
addq %rdx, %rcx
movq 8(%rcx), %rcx
movslq -180(%rbp), %rdx
movq -64(%rbp,%rdx,8), %rdx
shlq $4, %rdx
addq %rdx, %rcx
cmpq 8(%rcx), %rax
jne LBB1_36
## %bb.35: ## in Loop: Header=BB1_32 Depth=2
movslq -180(%rbp), %rcx
leaq -48(%rbp), %rax
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rax
movslq -180(%rbp), %rcx
movq -64(%rbp,%rcx,8), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
addq -16(%rax), %rcx
movq %rcx, -16(%rax)
jmp LBB1_37
LBB1_36: ## in Loop: Header=BB1_32 Depth=2
movslq -180(%rbp), %rcx
leaq -48(%rbp), %rax
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rax
movslq -180(%rbp), %rcx
movq -64(%rbp,%rcx,8), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, (%rax)
movslq -180(%rbp), %rcx
leaq -48(%rbp), %rax
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rax
movslq -180(%rbp), %rcx
movq -64(%rbp,%rcx,8), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rcx
movq -160(%rbp), %rax
movq -168(%rbp), %rdx
shlq $4, %rdx
addq %rdx, %rax
movq %rcx, 8(%rax)
movq -168(%rbp), %rax
addq $1, %rax
movq %rax, -168(%rbp)
LBB1_37: ## in Loop: Header=BB1_32 Depth=2
jmp LBB1_38
LBB1_38: ## in Loop: Header=BB1_32 Depth=2
movslq -180(%rbp), %rax
movq -64(%rbp,%rax,8), %rcx
addq $1, %rcx
movq %rcx, -64(%rbp,%rax,8)
jmp LBB1_32
LBB1_39: ## in Loop: Header=BB1_30 Depth=1
jmp LBB1_40
LBB1_40: ## in Loop: Header=BB1_30 Depth=1
movl -180(%rbp), %eax
addl $1, %eax
movl %eax, -180(%rbp)
jmp LBB1_30
LBB1_41:
movq -160(%rbp), %rax
movq %rax, -144(%rbp)
movq $0, -192(%rbp)
LBB1_42: ## =>This Inner Loop Header: Depth=1
movq -192(%rbp), %rax
cmpq -152(%rbp), %rax
jge LBB1_49
## %bb.43: ## in Loop: Header=BB1_42 Depth=1
movq -144(%rbp), %rax
movq -192(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
cmpq $0, (%rax)
je LBB1_47
## %bb.44: ## in Loop: Header=BB1_42 Depth=1
movq -144(%rbp), %rax
movq -192(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq (%rax), %rsi
movq -144(%rbp), %rax
movq -192(%rbp), %rcx
shlq $4, %rcx
addq %rcx, %rax
movq 8(%rax), %rdx
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
movq -192(%rbp), %rax
movq -152(%rbp), %rcx
subq $1, %rcx
cmpq %rcx, %rax
je LBB1_46
## %bb.45: ## in Loop: Header=BB1_42 Depth=1
leaq L_.str.2(%rip), %rdi
movb $0, %al
callq _printf
LBB1_46: ## in Loop: Header=BB1_42 Depth=1
jmp LBB1_47
LBB1_47: ## in Loop: Header=BB1_42 Depth=1
jmp LBB1_48
LBB1_48: ## in Loop: Header=BB1_42 Depth=1
movq -192(%rbp), %rax
addq $1, %rax
movq %rax, -192(%rbp)
jmp LBB1_42
LBB1_49:
leaq L_.str.3(%rip), %rdi
movb $0, %al
callq _printf
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB1_51
## %bb.50:
xorl %eax, %eax
addq $208, %rsp
popq %rbp
retq
LBB1_51:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%lld"
L_.str.1: ## @.str.1
.asciz "%lld %lld"
L_.str.2: ## @.str.2
.asciz " "
L_.str.3: ## @.str.3
.asciz "\n"
.subsections_via_symbols
| the_stack_data/29825937.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _height ; -- Begin function height
.p2align 2
_height: ; @height
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp]
ldr x8, [sp]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
str wzr, [sp, #12]
b LBB0_3
LBB0_2:
ldr x8, [sp]
ldr w8, [x8, #24]
str w8, [sp, #12]
b LBB0_3
LBB0_3:
ldr w0, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _max ; -- Begin function max
.p2align 2
_max: ; @max
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str w0, [sp, #12]
str w1, [sp, #8]
ldr w8, [sp, #12]
ldr w9, [sp, #8]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB1_2
b LBB1_1
LBB1_1:
ldr w8, [sp, #12]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB1_3
LBB1_2:
ldr w8, [sp, #8]
str w8, [sp, #4] ; 4-byte Folded Spill
b LBB1_3
LBB1_3:
ldr w0, [sp, #4] ; 4-byte Folded Reload
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _newNode ; -- Begin function newNode
.p2align 2
_newNode: ; @newNode
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur w0, [x29, #-4]
mov x0, #32
bl _malloc
str x0, [sp]
ldur w8, [x29, #-4]
ldr x9, [sp]
str w8, [x9]
ldr x8, [sp]
; kill: def $x9 killed $xzr
str xzr, [x8, #8]
ldr x8, [sp]
str xzr, [x8, #16]
ldr x9, [sp]
mov w8, #1
str w8, [x9, #24]
ldr x0, [sp]
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _rightRotate ; -- Begin function rightRotate
.p2align 2
_rightRotate: ; @rightRotate
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8, #8]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #16]
str x8, [sp, #8]
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
str x8, [x9, #16]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9, #8]
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
bl _height
str w0, [sp] ; 4-byte Folded Spill
ldur x8, [x29, #-8]
ldr x0, [x8, #16]
bl _height
mov x1, x0
ldr w0, [sp] ; 4-byte Folded Reload
bl _max
add w8, w0, #1
ldur x9, [x29, #-8]
str w8, [x9, #24]
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _height
str w0, [sp, #4] ; 4-byte Folded Spill
ldr x8, [sp, #16]
ldr x0, [x8, #16]
bl _height
mov x1, x0
ldr w0, [sp, #4] ; 4-byte Folded Reload
bl _max
add w8, w0, #1
ldr x9, [sp, #16]
str w8, [x9, #24]
ldr x0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _leftRotate ; -- Begin function leftRotate
.p2align 2
_leftRotate: ; @leftRotate
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-8]
ldur x8, [x29, #-8]
ldr x8, [x8, #16]
str x8, [sp, #16]
ldr x8, [sp, #16]
ldr x8, [x8, #8]
str x8, [sp, #8]
ldur x8, [x29, #-8]
ldr x9, [sp, #16]
str x8, [x9, #8]
ldr x8, [sp, #8]
ldur x9, [x29, #-8]
str x8, [x9, #16]
ldur x8, [x29, #-8]
ldr x0, [x8, #8]
bl _height
str w0, [sp] ; 4-byte Folded Spill
ldur x8, [x29, #-8]
ldr x0, [x8, #16]
bl _height
mov x1, x0
ldr w0, [sp] ; 4-byte Folded Reload
bl _max
add w8, w0, #1
ldur x9, [x29, #-8]
str w8, [x9, #24]
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _height
str w0, [sp, #4] ; 4-byte Folded Spill
ldr x8, [sp, #16]
ldr x0, [x8, #16]
bl _height
mov x1, x0
ldr w0, [sp, #4] ; 4-byte Folded Reload
bl _max
add w8, w0, #1
ldr x9, [sp, #16]
str w8, [x9, #24]
ldr x0, [sp, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _getBalanceFactor ; -- Begin function getBalanceFactor
.p2align 2
_getBalanceFactor: ; @getBalanceFactor
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB5_2
b LBB5_1
LBB5_1:
stur wzr, [x29, #-4]
b LBB5_3
LBB5_2:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _height
str w0, [sp, #12] ; 4-byte Folded Spill
ldr x8, [sp, #16]
ldr x0, [x8, #16]
bl _height
mov x8, x0
ldr w0, [sp, #12] ; 4-byte Folded Reload
subs w8, w0, w8
stur w8, [x29, #-4]
b LBB5_3
LBB5_3:
ldur w0, [x29, #-4]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _insertNode ; -- Begin function insertNode
.p2align 2
_insertNode: ; @insertNode
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #16]
str w1, [sp, #12]
ldr x8, [sp, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB6_2
b LBB6_1
LBB6_1:
ldr w0, [sp, #12]
bl _newNode
stur x0, [x29, #-8]
b LBB6_23
LBB6_2:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_4
b LBB6_3
LBB6_3:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
ldr w1, [sp, #12]
bl _insertNode
ldr x8, [sp, #16]
str x0, [x8, #8]
b LBB6_8
LBB6_4:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB6_6
b LBB6_5
LBB6_5:
ldr x8, [sp, #16]
ldr x0, [x8, #16]
ldr w1, [sp, #12]
bl _insertNode
ldr x8, [sp, #16]
str x0, [x8, #16]
b LBB6_7
LBB6_6:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB6_23
LBB6_7:
b LBB6_8
LBB6_8:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _height
str w0, [sp, #4] ; 4-byte Folded Spill
ldr x8, [sp, #16]
ldr x0, [x8, #16]
bl _height
mov x1, x0
ldr w0, [sp, #4] ; 4-byte Folded Reload
bl _max
add w8, w0, #1
ldr x9, [sp, #16]
str w8, [x9, #24]
ldr x0, [sp, #16]
bl _getBalanceFactor
str w0, [sp, #8]
ldr w8, [sp, #8]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB6_15
b LBB6_9
LBB6_9:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr x9, [x9, #8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_11
b LBB6_10
LBB6_10:
ldr x0, [sp, #16]
bl _rightRotate
stur x0, [x29, #-8]
b LBB6_23
LBB6_11:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr x9, [x9, #8]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB6_13
b LBB6_12
LBB6_12:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _leftRotate
ldr x8, [sp, #16]
str x0, [x8, #8]
ldr x0, [sp, #16]
bl _rightRotate
stur x0, [x29, #-8]
b LBB6_23
LBB6_13:
b LBB6_14
LBB6_14:
b LBB6_15
LBB6_15:
ldr w8, [sp, #8]
adds w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB6_22
b LBB6_16
LBB6_16:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr x9, [x9, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB6_18
b LBB6_17
LBB6_17:
ldr x0, [sp, #16]
bl _leftRotate
stur x0, [x29, #-8]
b LBB6_23
LBB6_18:
ldr w8, [sp, #12]
ldr x9, [sp, #16]
ldr x9, [x9, #16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB6_20
b LBB6_19
LBB6_19:
ldr x8, [sp, #16]
ldr x0, [x8, #8]
bl _rightRotate
ldr x8, [sp, #16]
str x0, [x8, #8]
ldr x0, [sp, #16]
bl _leftRotate
stur x0, [x29, #-8]
b LBB6_23
LBB6_20:
b LBB6_21
LBB6_21:
b LBB6_22
LBB6_22:
ldr x8, [sp, #16]
stur x8, [x29, #-8]
b LBB6_23
LBB6_23:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _minValueNode ; -- Begin function minValueNode
.p2align 2
_minValueNode: ; @minValueNode
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
ldr x8, [sp, #8]
str x8, [sp]
b LBB7_1
LBB7_1: ; =>This Inner Loop Header: Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB7_3
b LBB7_2
LBB7_2: ; in Loop: Header=BB7_1 Depth=1
ldr x8, [sp]
ldr x8, [x8, #8]
str x8, [sp]
b LBB7_1
LBB7_3:
ldr x0, [sp]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _deleteNode ; -- Begin function deleteNode
.p2align 2
_deleteNode: ; @deleteNode
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur x0, [x29, #-16]
stur w1, [x29, #-20]
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
ldur x8, [x29, #-16]
stur x8, [x29, #-8]
b LBB8_29
LBB8_2:
ldur w8, [x29, #-20]
ldur x9, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB8_4
b LBB8_3
LBB8_3:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
ldur w1, [x29, #-20]
bl _deleteNode
ldur x8, [x29, #-16]
str x0, [x8, #8]
b LBB8_18
LBB8_4:
ldur w8, [x29, #-20]
ldur x9, [x29, #-16]
ldr w9, [x9]
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB8_6
b LBB8_5
LBB8_5:
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
ldur w1, [x29, #-20]
bl _deleteNode
ldur x8, [x29, #-16]
str x0, [x8, #16]
b LBB8_17
LBB8_6:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_8
b LBB8_7
LBB8_7:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_15
b LBB8_8
LBB8_8:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB8_10
b LBB8_9
LBB8_9:
ldur x8, [x29, #-16]
ldr x8, [x8, #8]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB8_11
LBB8_10:
ldur x8, [x29, #-16]
ldr x8, [x8, #16]
str x8, [sp, #8] ; 8-byte Folded Spill
b LBB8_11
LBB8_11:
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x8, [sp, #32]
ldr x8, [sp, #32]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_13
b LBB8_12
LBB8_12:
ldur x8, [x29, #-16]
str x8, [sp, #32]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-16]
b LBB8_14
LBB8_13:
ldur x8, [x29, #-16]
ldr x9, [sp, #32]
ldr q0, [x9]
str q0, [x8]
ldr q0, [x9, #16]
str q0, [x8, #16]
b LBB8_14
LBB8_14:
ldr x0, [sp, #32]
bl _free
b LBB8_16
LBB8_15:
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
bl _minValueNode
str x0, [sp, #24]
ldr x8, [sp, #24]
ldr w8, [x8]
ldur x9, [x29, #-16]
str w8, [x9]
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
ldr x8, [sp, #24]
ldr w1, [x8]
bl _deleteNode
ldur x8, [x29, #-16]
str x0, [x8, #16]
b LBB8_16
LBB8_16:
b LBB8_17
LBB8_17:
b LBB8_18
LBB8_18:
ldur x8, [x29, #-16]
subs x8, x8, #0
cset w8, ne
tbnz w8, #0, LBB8_20
b LBB8_19
LBB8_19:
ldur x8, [x29, #-16]
stur x8, [x29, #-8]
b LBB8_29
LBB8_20:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _height
str w0, [sp, #4] ; 4-byte Folded Spill
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
bl _height
mov x1, x0
ldr w0, [sp, #4] ; 4-byte Folded Reload
bl _max
add w8, w0, #1
ldur x9, [x29, #-16]
str w8, [x9, #24]
ldur x0, [x29, #-16]
bl _getBalanceFactor
str w0, [sp, #20]
ldr w8, [sp, #20]
subs w8, w8, #1
cset w8, le
tbnz w8, #0, LBB8_24
b LBB8_21
LBB8_21:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _getBalanceFactor
subs w8, w0, #0
cset w8, lt
tbnz w8, #0, LBB8_23
b LBB8_22
LBB8_22:
ldur x0, [x29, #-16]
bl _rightRotate
stur x0, [x29, #-8]
b LBB8_29
LBB8_23:
ldur x8, [x29, #-16]
ldr x0, [x8, #8]
bl _leftRotate
ldur x8, [x29, #-16]
str x0, [x8, #8]
ldur x0, [x29, #-16]
bl _rightRotate
stur x0, [x29, #-8]
b LBB8_29
LBB8_24:
ldr w8, [sp, #20]
adds w8, w8, #1
cset w8, ge
tbnz w8, #0, LBB8_28
b LBB8_25
LBB8_25:
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
bl _getBalanceFactor
subs w8, w0, #0
cset w8, gt
tbnz w8, #0, LBB8_27
b LBB8_26
LBB8_26:
ldur x0, [x29, #-16]
bl _leftRotate
stur x0, [x29, #-8]
b LBB8_29
LBB8_27:
ldur x8, [x29, #-16]
ldr x0, [x8, #16]
bl _rightRotate
ldur x8, [x29, #-16]
str x0, [x8, #16]
ldur x0, [x29, #-16]
bl _leftRotate
stur x0, [x29, #-8]
b LBB8_29
LBB8_28:
ldur x8, [x29, #-16]
stur x8, [x29, #-8]
b LBB8_29
LBB8_29:
ldur x0, [x29, #-8]
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _printPreOrder ; -- Begin function printPreOrder
.p2align 2
_printPreOrder: ; @printPreOrder
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
ldr x8, [sp, #8]
subs x8, x8, #0
cset w8, eq
tbnz w8, #0, LBB9_2
b LBB9_1
LBB9_1:
ldr x8, [sp, #8]
ldr w9, [x8]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _printf
ldr x8, [sp, #8]
ldr x0, [x8, #8]
bl _printPreOrder
ldr x8, [sp, #8]
ldr x0, [x8, #16]
bl _printPreOrder
b LBB9_2
LBB9_2:
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
stur wzr, [x29, #-4]
; kill: def $x8 killed $xzr
stur xzr, [x29, #-16]
b LBB10_1
LBB10_1: ; =>This Inner Loop Header: Depth=1
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _printf
mov x9, sp
sub x8, x29, #20
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldur w8, [x29, #-20]
subs w8, w8, #1
; kill: def $x8 killed $w8
str x8, [sp, #8] ; 8-byte Folded Spill
subs x8, x8, #3
cset w8, hi
tbnz w8, #0, LBB10_7
; %bb.2: ; in Loop: Header=BB10_1 Depth=1
ldr x11, [sp, #8] ; 8-byte Folded Reload
adrp x10, lJTI10_0@PAGE
add x10, x10, lJTI10_0@PAGEOFF
Ltmp3:
adr x8, Ltmp3
ldrsw x9, [x10, x11, lsl #2]
add x8, x8, x9
br x8
LBB10_3: ; in Loop: Header=BB10_1 Depth=1
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #24
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldur x0, [x29, #-16]
ldr w1, [sp, #24]
bl _insertNode
stur x0, [x29, #-16]
b LBB10_8
LBB10_4: ; in Loop: Header=BB10_1 Depth=1
adrp x0, l_.str.5@PAGE
add x0, x0, l_.str.5@PAGEOFF
bl _printf
mov x9, sp
add x8, sp, #20
str x8, [x9]
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _scanf
ldur x0, [x29, #-16]
ldr w1, [sp, #20]
bl _deleteNode
stur x0, [x29, #-16]
b LBB10_8
LBB10_5: ; in Loop: Header=BB10_1 Depth=1
ldur x0, [x29, #-16]
bl _printPreOrder
b LBB10_8
LBB10_6:
adrp x0, l_.str.6@PAGE
add x0, x0, l_.str.6@PAGEOFF
bl _printf
mov w0, #0
bl _exit
LBB10_7: ; in Loop: Header=BB10_1 Depth=1
adrp x0, l_.str.7@PAGE
add x0, x0, l_.str.7@PAGEOFF
bl _printf
b LBB10_8
LBB10_8: ; in Loop: Header=BB10_1 Depth=1
b LBB10_1
.cfi_endproc
.p2align 2
lJTI10_0:
.long LBB10_3-Ltmp3
.long LBB10_4-Ltmp3
.long LBB10_5-Ltmp3
.long LBB10_6-Ltmp3
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d "
l_.str.1: ; @.str.1
.asciz "\n**********MENU***********\n1.Insert\n2.Delete\n3.Preorder Traverse\n4.exit\n"
l_.str.2: ; @.str.2
.asciz "\n\t Enter choice"
l_.str.3: ; @.str.3
.asciz "%d"
l_.str.4: ; @.str.4
.asciz "\n\t Enter element to insert: "
l_.str.5: ; @.str.5
.asciz "\n\t Enter node to delete: "
l_.str.6: ; @.str.6
.asciz "\n\t Exiting-----"
l_.str.7: ; @.str.7
.asciz "\n\t Enter valid choice"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _height ## -- Begin function height
.p2align 4, 0x90
_height: ## @height
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB0_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB0_3
LBB0_2:
movq -16(%rbp), %rax
movl 24(%rax), %eax
movl %eax, -4(%rbp)
LBB0_3:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _max ## -- Begin function max
.p2align 4, 0x90
_max: ## @max
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -4(%rbp)
movl %esi, -8(%rbp)
movl -4(%rbp), %eax
cmpl -8(%rbp), %eax
jle LBB1_2
## %bb.1:
movl -4(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
jmp LBB1_3
LBB1_2:
movl -8(%rbp), %eax
movl %eax, -12(%rbp) ## 4-byte Spill
LBB1_3:
movl -12(%rbp), %eax ## 4-byte Reload
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _newNode ## -- Begin function newNode
.p2align 4, 0x90
_newNode: ## @newNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl %edi, -4(%rbp)
movl $32, %edi
callq _malloc
movq %rax, -16(%rbp)
movl -4(%rbp), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movq $0, 8(%rax)
movq -16(%rbp), %rax
movq $0, 16(%rax)
movq -16(%rbp), %rax
movl $1, 24(%rax)
movq -16(%rbp), %rax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _rightRotate ## -- Begin function rightRotate
.p2align 4, 0x90
_rightRotate: ## @rightRotate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _height
movl %eax, -32(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _height
movl -32(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _max
movl %eax, %ecx
addl $1, %ecx
movq -8(%rbp), %rax
movl %ecx, 24(%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _height
movl %eax, -28(%rbp) ## 4-byte Spill
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _height
movl -28(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _max
movl %eax, %ecx
addl $1, %ecx
movq -16(%rbp), %rax
movl %ecx, 24(%rax)
movq -16(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _leftRotate ## -- Begin function leftRotate
.p2align 4, 0x90
_leftRotate: ## @leftRotate
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -16(%rbp)
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -24(%rbp)
movq -8(%rbp), %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -24(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 16(%rax)
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _height
movl %eax, -32(%rbp) ## 4-byte Spill
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _height
movl -32(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _max
movl %eax, %ecx
addl $1, %ecx
movq -8(%rbp), %rax
movl %ecx, 24(%rax)
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _height
movl %eax, -28(%rbp) ## 4-byte Spill
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _height
movl -28(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _max
movl %eax, %ecx
addl $1, %ecx
movq -16(%rbp), %rax
movl %ecx, 24(%rax)
movq -16(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _getBalanceFactor ## -- Begin function getBalanceFactor
.p2align 4, 0x90
_getBalanceFactor: ## @getBalanceFactor
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
cmpq $0, -16(%rbp)
jne LBB5_2
## %bb.1:
movl $0, -4(%rbp)
jmp LBB5_3
LBB5_2:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _height
movl %eax, -20(%rbp) ## 4-byte Spill
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _height
movl %eax, %ecx
movl -20(%rbp), %eax ## 4-byte Reload
subl %ecx, %eax
movl %eax, -4(%rbp)
LBB5_3:
movl -4(%rbp), %eax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _insertNode ## -- Begin function insertNode
.p2align 4, 0x90
_insertNode: ## @insertNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
cmpq $0, -16(%rbp)
jne LBB6_2
## %bb.1:
movl -20(%rbp), %edi
callq _newNode
movq %rax, -8(%rbp)
jmp LBB6_23
LBB6_2:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB6_4
## %bb.3:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movl -20(%rbp), %esi
callq _insertNode
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB6_8
LBB6_4:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB6_6
## %bb.5:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
movl -20(%rbp), %esi
callq _insertNode
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
jmp LBB6_7
LBB6_6:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB6_23
LBB6_7:
jmp LBB6_8
LBB6_8:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _height
movl %eax, -28(%rbp) ## 4-byte Spill
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _height
movl -28(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _max
movl %eax, %ecx
addl $1, %ecx
movq -16(%rbp), %rax
movl %ecx, 24(%rax)
movq -16(%rbp), %rdi
callq _getBalanceFactor
movl %eax, -24(%rbp)
cmpl $1, -24(%rbp)
jle LBB6_15
## %bb.9:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
movq 8(%rcx), %rcx
cmpl (%rcx), %eax
jge LBB6_11
## %bb.10:
movq -16(%rbp), %rdi
callq _rightRotate
movq %rax, -8(%rbp)
jmp LBB6_23
LBB6_11:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
movq 8(%rcx), %rcx
cmpl (%rcx), %eax
jle LBB6_13
## %bb.12:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _leftRotate
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rdi
callq _rightRotate
movq %rax, -8(%rbp)
jmp LBB6_23
LBB6_13:
jmp LBB6_14
LBB6_14:
jmp LBB6_15
LBB6_15:
cmpl $-1, -24(%rbp)
jge LBB6_22
## %bb.16:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
movq 16(%rcx), %rcx
cmpl (%rcx), %eax
jle LBB6_18
## %bb.17:
movq -16(%rbp), %rdi
callq _leftRotate
movq %rax, -8(%rbp)
jmp LBB6_23
LBB6_18:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
movq 16(%rcx), %rcx
cmpl (%rcx), %eax
jge LBB6_20
## %bb.19:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _rightRotate
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rdi
callq _leftRotate
movq %rax, -8(%rbp)
jmp LBB6_23
LBB6_20:
jmp LBB6_21
LBB6_21:
jmp LBB6_22
LBB6_22:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB6_23:
movq -8(%rbp), %rax
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _minValueNode ## -- Begin function minValueNode
.p2align 4, 0x90
_minValueNode: ## @minValueNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq -8(%rbp), %rax
movq %rax, -16(%rbp)
LBB7_1: ## =>This Inner Loop Header: Depth=1
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB7_3
## %bb.2: ## in Loop: Header=BB7_1 Depth=1
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -16(%rbp)
jmp LBB7_1
LBB7_3:
movq -16(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _deleteNode ## -- Begin function deleteNode
.p2align 4, 0x90
_deleteNode: ## @deleteNode
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $64, %rsp
movq %rdi, -16(%rbp)
movl %esi, -20(%rbp)
cmpq $0, -16(%rbp)
jne LBB8_2
## %bb.1:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB8_29
LBB8_2:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jge LBB8_4
## %bb.3:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
movl -20(%rbp), %esi
callq _deleteNode
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
jmp LBB8_18
LBB8_4:
movl -20(%rbp), %eax
movq -16(%rbp), %rcx
cmpl (%rcx), %eax
jle LBB8_6
## %bb.5:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
movl -20(%rbp), %esi
callq _deleteNode
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
jmp LBB8_17
LBB8_6:
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB8_8
## %bb.7:
movq -16(%rbp), %rax
cmpq $0, 16(%rax)
jne LBB8_15
LBB8_8:
movq -16(%rbp), %rax
cmpq $0, 8(%rax)
je LBB8_10
## %bb.9:
movq -16(%rbp), %rax
movq 8(%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
jmp LBB8_11
LBB8_10:
movq -16(%rbp), %rax
movq 16(%rax), %rax
movq %rax, -56(%rbp) ## 8-byte Spill
LBB8_11:
movq -56(%rbp), %rax ## 8-byte Reload
movq %rax, -32(%rbp)
cmpq $0, -32(%rbp)
jne LBB8_13
## %bb.12:
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq $0, -16(%rbp)
jmp LBB8_14
LBB8_13:
movq -16(%rbp), %rax
movq -32(%rbp), %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 8(%rcx), %rdx
movq %rdx, 8(%rax)
movq 16(%rcx), %rdx
movq %rdx, 16(%rax)
movq 24(%rcx), %rcx
movq %rcx, 24(%rax)
LBB8_14:
movq -32(%rbp), %rdi
callq _free
jmp LBB8_16
LBB8_15:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _minValueNode
movq %rax, -40(%rbp)
movq -40(%rbp), %rax
movl (%rax), %ecx
movq -16(%rbp), %rax
movl %ecx, (%rax)
movq -16(%rbp), %rax
movq 16(%rax), %rdi
movq -40(%rbp), %rax
movl (%rax), %esi
callq _deleteNode
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
LBB8_16:
jmp LBB8_17
LBB8_17:
jmp LBB8_18
LBB8_18:
cmpq $0, -16(%rbp)
jne LBB8_20
## %bb.19:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
jmp LBB8_29
LBB8_20:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _height
movl %eax, -60(%rbp) ## 4-byte Spill
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _height
movl -60(%rbp), %edi ## 4-byte Reload
movl %eax, %esi
callq _max
movl %eax, %ecx
addl $1, %ecx
movq -16(%rbp), %rax
movl %ecx, 24(%rax)
movq -16(%rbp), %rdi
callq _getBalanceFactor
movl %eax, -44(%rbp)
cmpl $1, -44(%rbp)
jle LBB8_24
## %bb.21:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _getBalanceFactor
cmpl $0, %eax
jl LBB8_23
## %bb.22:
movq -16(%rbp), %rdi
callq _rightRotate
movq %rax, -8(%rbp)
jmp LBB8_29
LBB8_23:
movq -16(%rbp), %rax
movq 8(%rax), %rdi
callq _leftRotate
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 8(%rax)
movq -16(%rbp), %rdi
callq _rightRotate
movq %rax, -8(%rbp)
jmp LBB8_29
LBB8_24:
cmpl $-1, -44(%rbp)
jge LBB8_28
## %bb.25:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _getBalanceFactor
cmpl $0, %eax
jg LBB8_27
## %bb.26:
movq -16(%rbp), %rdi
callq _leftRotate
movq %rax, -8(%rbp)
jmp LBB8_29
LBB8_27:
movq -16(%rbp), %rax
movq 16(%rax), %rdi
callq _rightRotate
movq %rax, %rcx
movq -16(%rbp), %rax
movq %rcx, 16(%rax)
movq -16(%rbp), %rdi
callq _leftRotate
movq %rax, -8(%rbp)
jmp LBB8_29
LBB8_28:
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
LBB8_29:
movq -8(%rbp), %rax
addq $64, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _printPreOrder ## -- Begin function printPreOrder
.p2align 4, 0x90
_printPreOrder: ## @printPreOrder
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
cmpq $0, -8(%rbp)
je LBB9_2
## %bb.1:
movq -8(%rbp), %rax
movl (%rax), %esi
leaq L_.str(%rip), %rdi
movb $0, %al
callq _printf
movq -8(%rbp), %rax
movq 8(%rax), %rdi
callq _printPreOrder
movq -8(%rbp), %rax
movq 16(%rax), %rdi
callq _printPreOrder
LBB9_2:
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $48, %rsp
movl $0, -4(%rbp)
movq $0, -16(%rbp)
LBB10_1: ## =>This Inner Loop Header: Depth=1
leaq L_.str.1(%rip), %rdi
xorl %eax, %eax
## kill: def $al killed $al killed $eax
movb %al, -41(%rbp) ## 1-byte Spill
callq _printf
## kill: def $ecx killed $eax
movb -41(%rbp), %al ## 1-byte Reload
leaq L_.str.2(%rip), %rdi
callq _printf
## kill: def $ecx killed $eax
movb -41(%rbp), %al ## 1-byte Reload
leaq L_.str.3(%rip), %rdi
leaq -20(%rbp), %rsi
callq _scanf
movl -20(%rbp), %eax
decl %eax
movl %eax, %ecx
movq %rcx, -40(%rbp) ## 8-byte Spill
subl $3, %eax
ja LBB10_6
## %bb.8: ## in Loop: Header=BB10_1 Depth=1
movq -40(%rbp), %rax ## 8-byte Reload
leaq LJTI10_0(%rip), %rcx
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
LBB10_2: ## in Loop: Header=BB10_1 Depth=1
leaq L_.str.4(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -24(%rbp), %rsi
movb $0, %al
callq _scanf
movq -16(%rbp), %rdi
movl -24(%rbp), %esi
callq _insertNode
movq %rax, -16(%rbp)
jmp LBB10_7
LBB10_3: ## in Loop: Header=BB10_1 Depth=1
leaq L_.str.5(%rip), %rdi
movb $0, %al
callq _printf
leaq L_.str.3(%rip), %rdi
leaq -28(%rbp), %rsi
movb $0, %al
callq _scanf
movq -16(%rbp), %rdi
movl -28(%rbp), %esi
callq _deleteNode
movq %rax, -16(%rbp)
jmp LBB10_7
LBB10_4: ## in Loop: Header=BB10_1 Depth=1
movq -16(%rbp), %rdi
callq _printPreOrder
jmp LBB10_7
LBB10_5:
leaq L_.str.6(%rip), %rdi
xorl %eax, %eax
movl %eax, -48(%rbp) ## 4-byte Spill
callq _printf
movl -48(%rbp), %edi ## 4-byte Reload
callq _exit
LBB10_6: ## in Loop: Header=BB10_1 Depth=1
leaq L_.str.7(%rip), %rdi
movb $0, %al
callq _printf
LBB10_7: ## in Loop: Header=BB10_1 Depth=1
jmp LBB10_1
.cfi_endproc
.p2align 2, 0x90
.data_region jt32
.set L10_0_set_2, LBB10_2-LJTI10_0
.set L10_0_set_3, LBB10_3-LJTI10_0
.set L10_0_set_4, LBB10_4-LJTI10_0
.set L10_0_set_5, LBB10_5-LJTI10_0
LJTI10_0:
.long L10_0_set_2
.long L10_0_set_3
.long L10_0_set_4
.long L10_0_set_5
.end_data_region
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d "
L_.str.1: ## @.str.1
.asciz "\n**********MENU***********\n1.Insert\n2.Delete\n3.Preorder Traverse\n4.exit\n"
L_.str.2: ## @.str.2
.asciz "\n\t Enter choice"
L_.str.3: ## @.str.3
.asciz "%d"
L_.str.4: ## @.str.4
.asciz "\n\t Enter element to insert: "
L_.str.5: ## @.str.5
.asciz "\n\t Enter node to delete: "
L_.str.6: ## @.str.6
.asciz "\n\t Exiting-----"
L_.str.7: ## @.str.7
.asciz "\n\t Enter valid choice"
.subsections_via_symbols
| the_stack_data/125141266.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/58036.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _c ; -- Begin function c
.p2align 2
_c: ; @c
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
str w0, [sp, #24]
str w1, [sp, #20]
mov w8, #1
str w8, [sp, #16]
str w8, [sp, #12]
ldr w8, [sp, #20]
ldr w9, [sp, #24]
ldr w10, [sp, #20]
subs w9, w9, w10
subs w8, w8, w9
cset w8, le
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
ldr w8, [sp, #24]
ldr w9, [sp, #20]
subs w8, w8, w9
str w8, [sp, #20]
b LBB0_2
LBB0_2:
ldr w8, [sp, #20]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB0_4
b LBB0_3
LBB0_3:
mov w8, #1
str w8, [sp, #28]
b LBB0_13
LBB0_4:
ldr w8, [sp, #24]
str w8, [sp, #8]
b LBB0_5
LBB0_5: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #8]
ldr w9, [sp, #24]
ldr w10, [sp, #20]
subs w9, w9, w10
add w9, w9, #1
subs w8, w8, w9
cset w8, lt
tbnz w8, #0, LBB0_8
b LBB0_6
LBB0_6: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #16]
ldr w9, [sp, #8]
mul w8, w8, w9
str w8, [sp, #16]
b LBB0_7
LBB0_7: ; in Loop: Header=BB0_5 Depth=1
ldr w8, [sp, #8]
subs w8, w8, #1
str w8, [sp, #8]
b LBB0_5
LBB0_8:
mov w8, #1
str w8, [sp, #4]
b LBB0_9
LBB0_9: ; =>This Inner Loop Header: Depth=1
ldr w8, [sp, #4]
ldr w9, [sp, #20]
subs w8, w8, w9
cset w8, gt
tbnz w8, #0, LBB0_12
b LBB0_10
LBB0_10: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #12]
ldr w9, [sp, #4]
mul w8, w8, w9
str w8, [sp, #12]
b LBB0_11
LBB0_11: ; in Loop: Header=BB0_9 Depth=1
ldr w8, [sp, #4]
add w8, w8, #1
str w8, [sp, #4]
b LBB0_9
LBB0_12:
ldr w8, [sp, #16]
ldr w9, [sp, #12]
sdiv w8, w8, w9
str w8, [sp, #28]
b LBB0_13
LBB0_13:
ldr w0, [sp, #28]
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
mov w8, #0
stur w8, [x29, #-20] ; 4-byte Folded Spill
stur wzr, [x29, #-4]
mov x9, sp
sub x8, x29, #8
str x8, [x9]
sub x8, x29, #12
str x8, [x9, #8]
adrp x0, l_.str@PAGE
add x0, x0, l_.str@PAGEOFF
bl _scanf
ldur w0, [x29, #-8]
ldur w1, [x29, #-12]
bl _c
stur w0, [x29, #-16]
ldur w9, [x29, #-16]
; implicit-def: $x8
mov x8, x9
mov x9, sp
str x8, [x9]
adrp x0, l_.str.1@PAGE
add x0, x0, l_.str.1@PAGEOFF
bl _printf
ldur w0, [x29, #-20] ; 4-byte Folded Reload
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "%d %d"
l_.str.1: ; @.str.1
.asciz "%d\n"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _c ## -- Begin function c
.p2align 4, 0x90
_c: ## @c
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl %edi, -8(%rbp)
movl %esi, -12(%rbp)
movl $1, -16(%rbp)
movl $1, -20(%rbp)
movl -12(%rbp), %eax
movl -8(%rbp), %ecx
subl -12(%rbp), %ecx
cmpl %ecx, %eax
jle LBB0_2
## %bb.1:
movl -8(%rbp), %eax
subl -12(%rbp), %eax
movl %eax, -12(%rbp)
LBB0_2:
cmpl $0, -12(%rbp)
jne LBB0_4
## %bb.3:
movl $1, -4(%rbp)
jmp LBB0_13
LBB0_4:
movl -8(%rbp), %eax
movl %eax, -24(%rbp)
LBB0_5: ## =>This Inner Loop Header: Depth=1
movl -24(%rbp), %eax
movl -8(%rbp), %ecx
subl -12(%rbp), %ecx
addl $1, %ecx
cmpl %ecx, %eax
jl LBB0_8
## %bb.6: ## in Loop: Header=BB0_5 Depth=1
movl -16(%rbp), %eax
imull -24(%rbp), %eax
movl %eax, -16(%rbp)
## %bb.7: ## in Loop: Header=BB0_5 Depth=1
movl -24(%rbp), %eax
addl $-1, %eax
movl %eax, -24(%rbp)
jmp LBB0_5
LBB0_8:
movl $1, -28(%rbp)
LBB0_9: ## =>This Inner Loop Header: Depth=1
movl -28(%rbp), %eax
cmpl -12(%rbp), %eax
jg LBB0_12
## %bb.10: ## in Loop: Header=BB0_9 Depth=1
movl -20(%rbp), %eax
imull -28(%rbp), %eax
movl %eax, -20(%rbp)
## %bb.11: ## in Loop: Header=BB0_9 Depth=1
movl -28(%rbp), %eax
addl $1, %eax
movl %eax, -28(%rbp)
jmp LBB0_9
LBB0_12:
movl -16(%rbp), %eax
cltd
idivl -20(%rbp)
movl %eax, -4(%rbp)
LBB0_13:
movl -4(%rbp), %eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movl $0, -4(%rbp)
leaq L_.str(%rip), %rdi
leaq -8(%rbp), %rsi
leaq -12(%rbp), %rdx
movb $0, %al
callq _scanf
movl -8(%rbp), %edi
movl -12(%rbp), %esi
callq _c
movl %eax, -16(%rbp)
movl -16(%rbp), %esi
leaq L_.str.1(%rip), %rdi
movb $0, %al
callq _printf
xorl %eax, %eax
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "%d %d"
L_.str.1: ## @.str.1
.asciz "%d\n"
.subsections_via_symbols
| the_stack_data/122014378.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _substruct_test ; -- Begin function substruct_test
.p2align 2
_substruct_test: ; @substruct_test
.cfi_startproc
; %bb.0:
sub sp, sp, #80
.cfi_def_cfa_offset 80
stp x29, x30, [sp, #64] ; 16-byte Folded Spill
add x29, sp, #64
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-8]
str wzr, [sp, #28]
str wzr, [sp, #32]
str wzr, [sp, #36]
mov w8, #3
str w8, [sp, #28]
ldur x8, [sp, #28]
stur x8, [x29, #-24]
ldr w8, [sp, #36]
stur w8, [x29, #-16]
ldur x8, [x29, #-24]
str x8, [sp, #8] ; 8-byte Folded Spill
ldur x8, [x29, #-16]
str x8, [sp, #16] ; 8-byte Folded Spill
ldur x9, [x29, #-8]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB0_2
b LBB0_1
LBB0_1:
bl ___stack_chk_fail
LBB0_2:
ldr x1, [sp, #16] ; 8-byte Folded Reload
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldp x29, x30, [sp, #64] ; 16-byte Folded Reload
add sp, sp, #80
ret
.cfi_endproc
; -- End function
.globl _make_string ; -- Begin function make_string
.p2align 2
_make_string: ; @make_string
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp]
ldr x8, [sp]
str x8, [sp, #8]
ldr x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _make_container ; -- Begin function make_container
.p2align 2
_make_container: ; @make_container
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
stp x29, x30, [sp, #32] ; 16-byte Folded Spill
add x29, sp, #32
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x8, [sp, #8] ; 8-byte Folded Spill
stur x0, [x29, #-8]
ldur x0, [x29, #-8]
bl _make_string
ldr x8, [sp, #8] ; 8-byte Folded Reload
str x0, [sp, #16]
ldr x9, [sp, #16]
str x9, [x8]
str wzr, [x8, #8]
; kill: def $x9 killed $xzr
str xzr, [x8, #16]
ldp x29, x30, [sp, #32] ; 16-byte Folded Reload
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.globl _add_item ; -- Begin function add_item
.p2align 2
_add_item: ; @add_item
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
ldr x8, [sp, #8]
ldr w8, [x8, #8]
subs w8, w8, #0
cset w8, ne
tbnz w8, #0, LBB3_2
b LBB3_1
LBB3_1:
ldr x9, [sp, #8]
adrp x8, _array@GOTPAGE
ldr x8, [x8, _array@GOTPAGEOFF]
str x8, [x9, #16]
b LBB3_2
LBB3_2:
ldr w8, [sp, #4]
ldr x9, [sp, #8]
ldr x9, [x9, #16]
ldr x10, [sp, #8]
ldrsw x10, [x10, #8]
str w8, [x9, x10, lsl #2]
ldr x9, [sp, #8]
ldr w8, [x9, #8]
add w8, w8, #1
str w8, [x9, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _set_item ; -- Begin function set_item
.p2align 2
_set_item: ; @set_item
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
str w2, [sp]
ldr w8, [sp, #4]
ldr x9, [sp, #8]
ldr w9, [x9, #8]
subs w8, w8, w9
cset w8, ge
tbnz w8, #0, LBB4_2
b LBB4_1
LBB4_1:
ldr w8, [sp]
ldr x9, [sp, #8]
ldr x9, [x9, #16]
ldrsw x10, [sp, #4]
str w8, [x9, x10, lsl #2]
b LBB4_2
LBB4_2:
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _init_s ; -- Begin function init_s
.p2align 2
_init_s: ; @init_s
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
ldr w8, [sp, #4]
ldr x9, [sp, #8]
str w8, [x9]
ldr x8, [sp, #8]
ldr x9, [sp, #8]
str x8, [x9, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _init_ss ; -- Begin function init_ss
.p2align 2
_init_ss: ; @init_ss
.cfi_startproc
; %bb.0:
sub sp, sp, #32
.cfi_def_cfa_offset 32
stp x29, x30, [sp, #16] ; 16-byte Folded Spill
add x29, sp, #16
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
str x0, [sp, #8]
str w1, [sp, #4]
str w2, [sp]
ldr x0, [sp, #8]
ldr w1, [sp, #4]
bl _init_s
ldr x8, [sp, #8]
ldr w1, [sp]
add x0, x8, #16
bl _init_s
ldp x29, x30, [sp, #16] ; 16-byte Folded Reload
add sp, sp, #32
ret
.cfi_endproc
; -- End function
.globl _do_nothing ; -- Begin function do_nothing
.p2align 2
_do_nothing: ; @do_nothing
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
mov w8, #23
str w8, [sp, #12]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _main ; -- Begin function main
.p2align 2
_main: ; @main
.cfi_startproc
; %bb.0:
sub sp, sp, #400
.cfi_def_cfa_offset 400
stp x28, x27, [sp, #368] ; 16-byte Folded Spill
stp x29, x30, [sp, #384] ; 16-byte Folded Spill
add x29, sp, #384
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
.cfi_offset w27, -24
.cfi_offset w28, -32
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
stur x8, [x29, #-24]
stur wzr, [x29, #-92]
adrp x0, l_.str.2@PAGE
add x0, x0, l_.str.2@PAGEOFF
bl _make_string
stur x0, [x29, #-176]
add x8, sp, #184
str x8, [sp, #32] ; 8-byte Folded Spill
adrp x0, l_.str.3@PAGE
add x0, x0, l_.str.3@PAGEOFF
bl _make_container
add x8, sp, #160
adrp x0, l_.str.4@PAGE
add x0, x0, l_.str.4@PAGEOFF
bl _make_container
adrp x8, l___const.main.cstring@PAGE
ldr x8, [x8, l___const.main.cstring@PAGEOFF]
str x8, [sp, #152]
adrp x8, _narray@GOTPAGE
ldr x8, [x8, _narray@GOTPAGEOFF]
str x8, [sp, #136]
str wzr, [sp, #128]
adrp x8, l_.str.6@PAGE
add x8, x8, l_.str.6@PAGEOFF
str x8, [sp, #104]
sub x0, x29, #128
mov w1, #1
mov w2, #2
str w2, [sp, #44] ; 4-byte Folded Spill
bl _init_ss
sub x0, x29, #88
str x0, [sp, #8] ; 8-byte Folded Spill
mov w1, #3
mov w2, #4
bl _init_ss
ldr x8, [sp, #8] ; 8-byte Folded Reload
add x0, x8, #32
mov w1, #5
mov w2, #6
bl _init_ss
str xzr, [sp, #144]
sub x8, x29, #168
str x8, [sp, #16] ; 8-byte Folded Spill
mov w9, #7
str w9, [sp, #40] ; 4-byte Folded Spill
stur w9, [x29, #-168]
add x0, x8, #8
mov w1, #23
str w1, [sp, #28] ; 4-byte Folded Spill
bl _init_s
ldr x8, [sp, #16] ; 8-byte Folded Reload
add x0, x8, #24
mov w1, #24
bl _init_s
ldr w1, [sp, #28] ; 4-byte Folded Reload
ldr x0, [sp, #32] ; 8-byte Folded Reload
adrp x8, l_.str.7@PAGE
add x8, x8, l_.str.7@PAGEOFF
str x8, [sp, #88]
mov w8, #20
str w8, [sp, #96]
; kill: def $x9 killed $xzr
str xzr, [sp, #72]
str w8, [sp, #80]
adrp x8, l_.str.8@PAGE
add x8, x8, l_.str.8@PAGEOFF
str x8, [sp, #64]
adrp x8, l_.str.9@PAGE
add x8, x8, l_.str.9@PAGEOFF
str x8, [sp, #56]
bl _add_item
ldr x0, [sp, #32] ; 8-byte Folded Reload
mov w1, #72
bl _add_item
ldr w9, [sp, #40] ; 4-byte Folded Reload
ldr w8, [sp, #44] ; 4-byte Folded Reload
ldr x10, [sp, #136]
str w9, [x10]
ldr x10, [sp, #136]
mov w9, #42
str w9, [x10, #4]
str w8, [sp, #128]
ldr q0, [sp, #128]
str q0, [sp, #112]
bl _eval_sub
bl _bug_14741
ldur x9, [x29, #-24]
adrp x8, ___stack_chk_guard@GOTPAGE
ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
ldr x8, [x8]
subs x8, x8, x9
cset w8, eq
tbnz w8, #0, LBB8_2
b LBB8_1
LBB8_1:
bl ___stack_chk_fail
LBB8_2:
mov w0, #0
ldp x29, x30, [sp, #384] ; 16-byte Folded Reload
ldp x28, x27, [sp, #368] ; 16-byte Folded Reload
add sp, sp, #400
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function eval_sub
_eval_sub: ; @eval_sub
.cfi_startproc
; %bb.0:
sub sp, sp, #48
.cfi_def_cfa_offset 48
adrp x8, l___const.eval_sub.eval1@PAGE
ldr w8, [x8, l___const.eval_sub.eval1@PAGEOFF]
str w8, [sp, #44]
adrp x8, l___const.eval_sub.eval2@PAGE
ldr w8, [x8, l___const.eval_sub.eval2@PAGEOFF]
str w8, [sp, #40]
adrp x8, l___const.eval_sub.eval3@PAGE
ldr w8, [x8, l___const.eval_sub.eval3@PAGEOFF]
str w8, [sp, #36]
adrp x8, l___const.eval_sub.eval4@PAGE
ldr w8, [x8, l___const.eval_sub.eval4@PAGEOFF]
str w8, [sp, #32]
adrp x8, l___const.eval_sub.eval5@PAGE
ldr w8, [x8, l___const.eval_sub.eval5@PAGEOFF]
str w8, [sp, #28]
adrp x8, l___const.eval_sub.eval6@PAGE
ldr w8, [x8, l___const.eval_sub.eval6@PAGEOFF]
str w8, [sp, #24]
adrp x8, l___const.eval_sub.eval7@PAGE
ldr w8, [x8, l___const.eval_sub.eval7@PAGEOFF]
str w8, [sp, #20]
adrp x8, l___const.eval_sub.eval8@PAGE
ldr w8, [x8, l___const.eval_sub.eval8@PAGEOFF]
str w8, [sp, #16]
adrp x8, l___const.eval_sub.eval9@PAGE
ldr w8, [x8, l___const.eval_sub.eval9@PAGEOFF]
str w8, [sp, #12]
ldr w8, [sp, #44]
add w8, w8, #1
str w8, [sp, #44]
add sp, sp, #48
ret
.cfi_endproc
; -- End function
.p2align 2 ; -- Begin function bug_14741
_bug_14741: ; @bug_14741
.cfi_startproc
; %bb.0:
sub sp, sp, #64
.cfi_def_cfa_offset 64
stp x29, x30, [sp, #48] ; 16-byte Folded Spill
add x29, sp, #48
.cfi_def_cfa w29, 16
.cfi_offset w30, -8
.cfi_offset w29, -16
add x8, sp, #24
str x8, [sp, #8] ; 8-byte Folded Spill
adrp x0, l_.str.10@PAGE
add x0, x0, l_.str.10@PAGEOFF
bl _make_container
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w1, #71
bl _add_item
ldr x0, [sp, #8] ; 8-byte Folded Reload
mov w1, #0
str w1, [sp, #20] ; 4-byte Folded Spill
mov w2, #42
bl _set_item
ldr x0, [sp, #8] ; 8-byte Folded Reload
ldr w1, [sp, #20] ; 4-byte Folded Reload
mov w2, #5
bl _set_item
ldp x29, x30, [sp, #48] ; 16-byte Folded Reload
add sp, sp, #64
ret
.cfi_endproc
; -- End function
.comm _array,400,2 ; @array
.section __TEXT,__cstring,cstring_literals
l_.str: ; @.str
.asciz "one"
.section __DATA,__data
.globl _string_1 ; @string_1
.p2align 3
_string_1:
.quad l_.str
.section __TEXT,__cstring,cstring_literals
l_.str.1: ; @.str.1
.asciz "two"
.section __DATA,__data
.globl _string_2 ; @string_2
.p2align 3
_string_2:
.quad l_.str.1
.section __TEXT,__cstring,cstring_literals
l_.str.2: ; @.str.2
.asciz "this is x"
l_.str.3: ; @.str.3
.asciz "container"
l_.str.4: ; @.str.4
.asciz "container2"
l_.str.5: ; @.str.5
.asciz "const string"
.section __DATA,__const
.p2align 3 ; @__const.main.cstring
l___const.main.cstring:
.quad l_.str.5
.comm _narray,40,2 ; @narray
.section __TEXT,__cstring,cstring_literals
l_.str.6: ; @.str.6
.asciz "blah"
.section __TEXT,__const
l_.str.7: ; @.str.7
.asciz "embedded\000null\000string"
.section __TEXT,__cstring,cstring_literals
l_.str.8: ; @.str.8
.asciz "embedded x\201\202\203\204"
l_.str.9: ; @.str.9
.asciz "embedded x\302"
.section __TEXT,__literal4,4byte_literals
.p2align 2 ; @__const.eval_sub.eval1
l___const.eval_sub.eval1:
.long 1 ; 0x1
.p2align 2 ; @__const.eval_sub.eval2
l___const.eval_sub.eval2:
.long 2 ; 0x2
.p2align 2 ; @__const.eval_sub.eval3
l___const.eval_sub.eval3:
.long 3 ; 0x3
.p2align 2 ; @__const.eval_sub.eval4
l___const.eval_sub.eval4:
.long 4 ; 0x4
.p2align 2 ; @__const.eval_sub.eval5
l___const.eval_sub.eval5:
.long 5 ; 0x5
.p2align 2 ; @__const.eval_sub.eval6
l___const.eval_sub.eval6:
.long 6 ; 0x6
.p2align 2 ; @__const.eval_sub.eval7
l___const.eval_sub.eval7:
.long 7 ; 0x7
.p2align 2 ; @__const.eval_sub.eval8
l___const.eval_sub.eval8:
.long 8 ; 0x8
.p2align 2 ; @__const.eval_sub.eval9
l___const.eval_sub.eval9:
.long 9 ; 0x9
.section __TEXT,__cstring,cstring_literals
l_.str.10: ; @.str.10
.asciz "bug_14741"
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _substruct_test ## -- Begin function substruct_test
.p2align 4, 0x90
_substruct_test: ## @substruct_test
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $0, -16(%rbp)
movl $0, -12(%rbp)
movl $0, -8(%rbp)
movl $3, -16(%rbp)
movl -8(%rbp), %eax
movl %eax, -24(%rbp)
movq -16(%rbp), %rax
movq %rax, -32(%rbp)
movq -32(%rbp), %rax
movl -24(%rbp), %edx
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _make_string ## -- Begin function make_string
.p2align 4, 0x90
_make_string: ## @make_string
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -16(%rbp)
movq -16(%rbp), %rax
movq %rax, -8(%rbp)
movq -8(%rbp), %rax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _make_container ## -- Begin function make_container
.p2align 4, 0x90
_make_container: ## @make_container
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
movq %rdi, -32(%rbp) ## 8-byte Spill
movq %rdi, -24(%rbp) ## 8-byte Spill
movq %rsi, -8(%rbp)
movq -8(%rbp), %rdi
callq _make_string
movq -32(%rbp), %rdi ## 8-byte Reload
movq %rax, %rcx
movq -24(%rbp), %rax ## 8-byte Reload
movq %rcx, -16(%rbp)
movq -16(%rbp), %rcx
movq %rcx, (%rdi)
movl $0, 8(%rdi)
movq $0, 16(%rdi)
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _add_item ## -- Begin function add_item
.p2align 4, 0x90
_add_item: ## @add_item
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movq -8(%rbp), %rax
cmpl $0, 8(%rax)
jne LBB3_2
## %bb.1:
movq -8(%rbp), %rax
movq _array@GOTPCREL(%rip), %rcx
movq %rcx, 16(%rax)
LBB3_2:
movl -12(%rbp), %edx
movq -8(%rbp), %rax
movq 16(%rax), %rax
movq -8(%rbp), %rcx
movslq 8(%rcx), %rcx
movl %edx, (%rax,%rcx,4)
movq -8(%rbp), %rax
movl 8(%rax), %ecx
addl $1, %ecx
movl %ecx, 8(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _set_item ## -- Begin function set_item
.p2align 4, 0x90
_set_item: ## @set_item
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movl -12(%rbp), %eax
movq -8(%rbp), %rcx
cmpl 8(%rcx), %eax
jge LBB4_2
## %bb.1:
movl -16(%rbp), %edx
movq -8(%rbp), %rax
movq 16(%rax), %rax
movslq -12(%rbp), %rcx
movl %edx, (%rax,%rcx,4)
LBB4_2:
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init_s ## -- Begin function init_s
.p2align 4, 0x90
_init_s: ## @init_s
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl -12(%rbp), %ecx
movq -8(%rbp), %rax
movl %ecx, (%rax)
movq -8(%rbp), %rcx
movq -8(%rbp), %rax
movq %rcx, 8(%rax)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _init_ss ## -- Begin function init_ss
.p2align 4, 0x90
_init_ss: ## @init_ss
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $16, %rsp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
movl %edx, -16(%rbp)
movq -8(%rbp), %rdi
movl -12(%rbp), %esi
callq _init_s
movq -8(%rbp), %rdi
addq $16, %rdi
movl -16(%rbp), %esi
callq _init_s
addq $16, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _do_nothing ## -- Begin function do_nothing
.p2align 4, 0x90
_do_nothing: ## @do_nothing
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl $23, -4(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _main ## -- Begin function main
.p2align 4, 0x90
_main: ## @main
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $336, %rsp ## imm = 0x150
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq %rax, -8(%rbp)
movl $0, -84(%rbp)
leaq L_.str.2(%rip), %rdi
callq _make_string
movq %rax, -168(%rbp)
leaq -192(%rbp), %rdi
leaq L_.str.3(%rip), %rsi
callq _make_container
leaq -216(%rbp), %rdi
leaq L_.str.4(%rip), %rsi
callq _make_container
movq l___const.main.cstring(%rip), %rax
movq %rax, -224(%rbp)
movq _narray@GOTPCREL(%rip), %rax
movq %rax, -240(%rbp)
movl $0, -248(%rbp)
leaq L_.str.6(%rip), %rax
movq %rax, -272(%rbp)
leaq -120(%rbp), %rdi
movl $1, %esi
movl $2, %edx
callq _init_ss
leaq -80(%rbp), %rdi
movl $3, %esi
movl $4, %edx
callq _init_ss
leaq -80(%rbp), %rdi
addq $32, %rdi
movl $5, %esi
movl $6, %edx
callq _init_ss
leaq -232(%rbp), %rdi
xorl %esi, %esi
movl $8, %edx
callq _memset
movl $7, -160(%rbp)
leaq -160(%rbp), %rdi
addq $8, %rdi
movl $23, %esi
callq _init_s
leaq -160(%rbp), %rdi
addq $8, %rdi
addq $16, %rdi
movl $24, %esi
callq _init_s
leaq l_.str.7(%rip), %rax
movq %rax, -288(%rbp)
movl $20, -280(%rbp)
movq $0, -304(%rbp)
movl $20, -296(%rbp)
leaq L_.str.8(%rip), %rax
movq %rax, -312(%rbp)
leaq L_.str.9(%rip), %rax
movq %rax, -320(%rbp)
leaq -192(%rbp), %rdi
movl $23, %esi
callq _add_item
leaq -192(%rbp), %rdi
movl $72, %esi
callq _add_item
movq -240(%rbp), %rax
movl $7, (%rax)
movq -240(%rbp), %rax
movl $42, 4(%rax)
movl $2, -248(%rbp)
movq -248(%rbp), %rax
movq %rax, -264(%rbp)
movq -240(%rbp), %rax
movq %rax, -256(%rbp)
callq _eval_sub
callq _bug_14741
movq ___stack_chk_guard@GOTPCREL(%rip), %rax
movq (%rax), %rax
movq -8(%rbp), %rcx
cmpq %rcx, %rax
jne LBB8_2
## %bb.1:
xorl %eax, %eax
addq $336, %rsp ## imm = 0x150
popq %rbp
retq
LBB8_2:
callq ___stack_chk_fail
ud2
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function eval_sub
_eval_sub: ## @eval_sub
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movl L___const.eval_sub.eval1(%rip), %eax
movl %eax, -8(%rbp)
movl L___const.eval_sub.eval2(%rip), %eax
movl %eax, -16(%rbp)
movl L___const.eval_sub.eval3(%rip), %eax
movl %eax, -24(%rbp)
movl L___const.eval_sub.eval4(%rip), %eax
movl %eax, -32(%rbp)
movl L___const.eval_sub.eval5(%rip), %eax
movl %eax, -40(%rbp)
movl L___const.eval_sub.eval6(%rip), %eax
movl %eax, -48(%rbp)
movl L___const.eval_sub.eval7(%rip), %eax
movl %eax, -56(%rbp)
movl L___const.eval_sub.eval8(%rip), %eax
movl %eax, -64(%rbp)
movl L___const.eval_sub.eval9(%rip), %eax
movl %eax, -72(%rbp)
movl -8(%rbp), %eax
addl $1, %eax
movl %eax, -8(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.p2align 4, 0x90 ## -- Begin function bug_14741
_bug_14741: ## @bug_14741
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
subq $32, %rsp
leaq -24(%rbp), %rdi
leaq L_.str.10(%rip), %rsi
callq _make_container
leaq -24(%rbp), %rdi
movl $71, %esi
callq _add_item
leaq -24(%rbp), %rdi
xorl %esi, %esi
movl $42, %edx
callq _set_item
leaq -24(%rbp), %rdi
xorl %esi, %esi
movl $5, %edx
callq _set_item
addq $32, %rsp
popq %rbp
retq
.cfi_endproc
## -- End function
.comm _array,400,4 ## @array
.section __TEXT,__cstring,cstring_literals
L_.str: ## @.str
.asciz "one"
.section __DATA,__data
.globl _string_1 ## @string_1
.p2align 3
_string_1:
.quad L_.str
.section __TEXT,__cstring,cstring_literals
L_.str.1: ## @.str.1
.asciz "two"
.section __DATA,__data
.globl _string_2 ## @string_2
.p2align 3
_string_2:
.quad L_.str.1
.section __TEXT,__cstring,cstring_literals
L_.str.2: ## @.str.2
.asciz "this is x"
L_.str.3: ## @.str.3
.asciz "container"
L_.str.4: ## @.str.4
.asciz "container2"
L_.str.5: ## @.str.5
.asciz "const string"
.section __DATA,__const
.p2align 3 ## @__const.main.cstring
l___const.main.cstring:
.quad L_.str.5
.comm _narray,40,4 ## @narray
.section __TEXT,__cstring,cstring_literals
L_.str.6: ## @.str.6
.asciz "blah"
.section __TEXT,__const
l_.str.7: ## @.str.7
.asciz "embedded\000null\000string"
.section __TEXT,__cstring,cstring_literals
L_.str.8: ## @.str.8
.asciz "embedded x\201\202\203\204"
L_.str.9: ## @.str.9
.asciz "embedded x\302"
.section __TEXT,__literal4,4byte_literals
.p2align 2 ## @__const.eval_sub.eval1
L___const.eval_sub.eval1:
.long 1 ## 0x1
.p2align 2 ## @__const.eval_sub.eval2
L___const.eval_sub.eval2:
.long 2 ## 0x2
.p2align 2 ## @__const.eval_sub.eval3
L___const.eval_sub.eval3:
.long 3 ## 0x3
.p2align 2 ## @__const.eval_sub.eval4
L___const.eval_sub.eval4:
.long 4 ## 0x4
.p2align 2 ## @__const.eval_sub.eval5
L___const.eval_sub.eval5:
.long 5 ## 0x5
.p2align 2 ## @__const.eval_sub.eval6
L___const.eval_sub.eval6:
.long 6 ## 0x6
.p2align 2 ## @__const.eval_sub.eval7
L___const.eval_sub.eval7:
.long 7 ## 0x7
.p2align 2 ## @__const.eval_sub.eval8
L___const.eval_sub.eval8:
.long 8 ## 0x8
.p2align 2 ## @__const.eval_sub.eval9
L___const.eval_sub.eval9:
.long 9 ## 0x9
.section __TEXT,__cstring,cstring_literals
L_.str.10: ## @.str.10
.asciz "bug_14741"
.subsections_via_symbols
| the_stack_data/73575039.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dlerror ; -- Begin function dlerror
.p2align 2
_dlerror: ; @dlerror
.cfi_startproc
; %bb.0:
mov x0, #0
ret
.cfi_endproc
; -- End function
.globl _dlopen ; -- Begin function dlopen
.p2align 2
_dlopen: ; @dlopen
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str w1, [sp, #4]
mov x0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _dlsym ; -- Begin function dlsym
.p2align 2
_dlsym: ; @dlsym
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
str x1, [sp]
mov x0, #0
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.globl _dlclose ; -- Begin function dlclose
.p2align 2
_dlclose: ; @dlclose
.cfi_startproc
; %bb.0:
sub sp, sp, #16
.cfi_def_cfa_offset 16
str x0, [sp, #8]
add sp, sp, #16
ret
.cfi_endproc
; -- End function
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.globl _dlerror ## -- Begin function dlerror
.p2align 4, 0x90
_dlerror: ## @dlerror
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
xorl %eax, %eax
## kill: def $rax killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dlopen ## -- Begin function dlopen
.p2align 4, 0x90
_dlopen: ## @dlopen
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movl %esi, -12(%rbp)
xorl %eax, %eax
## kill: def $rax killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dlsym ## -- Begin function dlsym
.p2align 4, 0x90
_dlsym: ## @dlsym
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
movq %rsi, -16(%rbp)
xorl %eax, %eax
## kill: def $rax killed $eax
popq %rbp
retq
.cfi_endproc
## -- End function
.globl _dlclose ## -- Begin function dlclose
.p2align 4, 0x90
_dlclose: ## @dlclose
.cfi_startproc
## %bb.0:
pushq %rbp
.cfi_def_cfa_offset 16
.cfi_offset %rbp, -16
movq %rsp, %rbp
.cfi_def_cfa_register %rbp
movq %rdi, -8(%rbp)
popq %rbp
retq
.cfi_endproc
## -- End function
.subsections_via_symbols
| the_stack_data/93887634.c |
.section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| .section __TEXT,__text,regular,pure_instructions
.build_version macos, 13, 0 sdk_version 13, 3
.subsections_via_symbols
| the_stack_data/90763407.c |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.