x86
stringlengths
122
5.97M
arm
stringlengths
122
5.84M
file
stringlengths
18
195
source
stringclasses
3 values
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _libpqProcessFileList ## -- Begin function libpqProcessFileList .p2align 4, 0x90 _libpqProcessFileList: ## @libpqProcessFileList .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _conn@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _PQexec movq %rax, %r12 movq %rax, %rdi callq _PQresultStatus movq _PGRES_TUPLES_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_2 ## %bb.1: movq %r12, %rdi callq _PQresultErrorMessage leaq L_.str.1(%rip), %rdi movl %eax, %esi xorl %eax, %eax callq _pg_fatal LBB0_2: movq %r12, %rdi callq _PQnfields cmpl $4, %eax je LBB0_4 ## %bb.3: leaq L_.str.2(%rip), %rdi xorl %eax, %eax callq _pg_fatal LBB0_4: movq %r12, %rdi callq _PQntuples testl %eax, %eax js LBB0_12 ## %bb.5: xorl %r14d, %r14d jmp LBB0_6 .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_6 Depth=1 movl (%rax), %esi movq -48(%rbp), %rdi ## 8-byte Reload movl %r13d, %edx movq %r15, %rcx callq _process_source_file decl %r14d movq %r12, %rdi callq _PQntuples cmpl %eax, %r14d jg LBB0_12 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq %r12, %rdi movl %r14d, %esi xorl %edx, %edx callq _PQgetvalue movq %rax, -48(%rbp) ## 8-byte Spill movq %r12, %rdi movl %r14d, %esi movl $1, %edx callq _PQgetvalue movq %rax, %rdi callq _atol movl %eax, %r13d movq %r12, %rdi movl %r14d, %esi movl $2, %edx callq _PQgetvalue movq %rax, %rdi leaq L_.str.3(%rip), %rsi callq _strcmp movq %rax, %rbx movq %r12, %rdi movl %r14d, %esi movl $3, %edx callq _PQgetvalue movq %rax, %r15 movq %r12, %rdi xorl %esi, %esi movl $1, %edx callq _PQgetisnull testq %rax, %rax jne LBB0_12 ## %bb.7: ## in Loop: Header=BB0_6 Depth=1 movq _FILE_TYPE_REGULAR@GOTPCREL(%rip), %rax testq %rbx, %rbx jne LBB0_9 ## %bb.8: ## in Loop: Header=BB0_6 Depth=1 movq _FILE_TYPE_DIRECTORY@GOTPCREL(%rip), %rax LBB0_9: ## in Loop: Header=BB0_6 Depth=1 cmpb $0, (%r15) je LBB0_11 ## %bb.10: ## in Loop: Header=BB0_6 Depth=1 movq _FILE_TYPE_SYMLINK@GOTPCREL(%rip), %rax jmp LBB0_11 LBB0_12: movq %r12, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _PQclear ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "WITH RECURSIVE files (path, filename, size, isdir) AS (\n SELECT '' AS path, filename, size, isdir FROM\n (SELECT pg_ls_dir('.', true, false) AS filename) AS fn,\n pg_stat_file(fn.filename, true) AS this\n UNION ALL\n SELECT parent.path || parent.filename || '/' AS path,\n fn, this.size, this.isdir\n FROM files AS parent,\n pg_ls_dir(parent.path || parent.filename, true, false) AS fn,\n pg_stat_file(parent.path || parent.filename || '/' || fn, true) AS this\n WHERE parent.isdir = 't'\n)\nSELECT path || filename, size, isdir,\n pg_tablespace_location(pg_tablespace.oid) AS link_target\nFROM files\nLEFT OUTER JOIN pg_tablespace ON files.path = 'pg_tblspc/'\n AND oid::text = files.filename\n" .comm _conn,4,2 ## @conn .comm _PGRES_TUPLES_OK,8,3 ## @PGRES_TUPLES_OK L_.str.1: ## @.str.1 .asciz "could not fetch file list: %s" L_.str.2: ## @.str.2 .asciz "unexpected result set while fetching file list" L_.str.3: ## @.str.3 .asciz "t" .comm _FILE_TYPE_SYMLINK,4,2 ## @FILE_TYPE_SYMLINK .comm _FILE_TYPE_DIRECTORY,4,2 ## @FILE_TYPE_DIRECTORY .comm _FILE_TYPE_REGULAR,4,2 ## @FILE_TYPE_REGULAR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _libpqProcessFileList ; -- Begin function libpqProcessFileList .p2align 2 _libpqProcessFileList: ; @libpqProcessFileList .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh0: adrp x8, _conn@GOTPAGE Lloh1: ldr x8, [x8, _conn@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _PQexec mov x19, x0 bl _PQresultStatus Lloh5: adrp x8, _PGRES_TUPLES_OK@GOTPAGE Lloh6: ldr x8, [x8, _PGRES_TUPLES_OK@GOTPAGEOFF] Lloh7: ldr x8, [x8] cmp x0, x8 b.eq LBB0_2 ; %bb.1: mov x0, x19 bl _PQresultErrorMessage ; kill: def $w0 killed $w0 def $x0 str x0, [sp] Lloh8: adrp x0, l_.str.1@PAGE Lloh9: add x0, x0, l_.str.1@PAGEOFF bl _pg_fatal LBB0_2: mov x0, x19 bl _PQnfields cmp w0, #4 b.eq LBB0_4 ; %bb.3: Lloh10: adrp x0, l_.str.2@PAGE Lloh11: add x0, x0, l_.str.2@PAGEOFF bl _pg_fatal LBB0_4: mov x0, x19 bl _PQntuples tbnz w0, #31, LBB0_8 ; %bb.5: mov w20, #0 ; =0x0 Lloh12: adrp x26, _FILE_TYPE_DIRECTORY@GOTPAGE Lloh13: ldr x26, [x26, _FILE_TYPE_DIRECTORY@GOTPAGEOFF] Lloh14: adrp x27, _FILE_TYPE_REGULAR@GOTPAGE Lloh15: ldr x27, [x27, _FILE_TYPE_REGULAR@GOTPAGEOFF] Lloh16: adrp x21, l_.str.3@PAGE Lloh17: add x21, x21, l_.str.3@PAGEOFF Lloh18: adrp x28, _FILE_TYPE_SYMLINK@GOTPAGE Lloh19: ldr x28, [x28, _FILE_TYPE_SYMLINK@GOTPAGEOFF] LBB0_6: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x20 mov w2, #0 ; =0x0 bl _PQgetvalue mov x22, x0 mov x0, x19 mov x1, x20 mov w2, #1 ; =0x1 bl _PQgetvalue bl _atol mov x23, x0 mov x0, x19 mov x1, x20 mov w2, #2 ; =0x2 bl _PQgetvalue mov x1, x21 bl _strcmp mov x25, x0 mov x0, x19 mov x1, x20 mov w2, #3 ; =0x3 bl _PQgetvalue mov x24, x0 mov x0, x19 mov w1, #0 ; =0x0 mov w2, #1 ; =0x1 bl _PQgetisnull cbnz x0, LBB0_8 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldrb w8, [x24] cmp x25, #0 csel x9, x26, x27, eq cmp w8, #0 csel x8, x9, x28, eq ldr w1, [x8] mov x0, x22 mov x2, x23 mov x3, x24 bl _process_source_file sub w20, w20, #1 mov x0, x19 bl _PQntuples cmp w20, w0 b.le LBB0_6 LBB0_8: mov x0, x19 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 b _PQclear .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "WITH RECURSIVE files (path, filename, size, isdir) AS (\n SELECT '' AS path, filename, size, isdir FROM\n (SELECT pg_ls_dir('.', true, false) AS filename) AS fn,\n pg_stat_file(fn.filename, true) AS this\n UNION ALL\n SELECT parent.path || parent.filename || '/' AS path,\n fn, this.size, this.isdir\n FROM files AS parent,\n pg_ls_dir(parent.path || parent.filename, true, false) AS fn,\n pg_stat_file(parent.path || parent.filename || '/' || fn, true) AS this\n WHERE parent.isdir = 't'\n)\nSELECT path || filename, size, isdir,\n pg_tablespace_location(pg_tablespace.oid) AS link_target\nFROM files\nLEFT OUTER JOIN pg_tablespace ON files.path = 'pg_tblspc/'\n AND oid::text = files.filename\n" .comm _conn,4,2 ; @conn .comm _PGRES_TUPLES_OK,8,3 ; @PGRES_TUPLES_OK l_.str.1: ; @.str.1 .asciz "could not fetch file list: %s" l_.str.2: ; @.str.2 .asciz "unexpected result set while fetching file list" l_.str.3: ; @.str.3 .asciz "t" .comm _FILE_TYPE_SYMLINK,4,2 ; @FILE_TYPE_SYMLINK .comm _FILE_TYPE_DIRECTORY,4,2 ; @FILE_TYPE_DIRECTORY .comm _FILE_TYPE_REGULAR,4,2 ; @FILE_TYPE_REGULAR .subsections_via_symbols
assembly_file_56987.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rio_release_inb_mbox ## -- Begin function rio_release_inb_mbox .p2align 4, 0x90 _rio_release_inb_mbox: ## @rio_release_inb_mbox .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %r14d movq %rdi, %rbx callq _rio_close_inb_mbox movq (%rbx), %rax movslq %r14d, %rcx movl (%rax,%rcx,4), %edi popq %rbx popq %r14 popq %rbp jmp _release_resource ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rio_release_inb_mbox ; -- Begin function rio_release_inb_mbox .p2align 2 _rio_release_inb_mbox: ; @rio_release_inb_mbox .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 bl _rio_close_inb_mbox ldr x8, [x20] ldr w0, [x8, w19, sxtw #2] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _release_resource .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/rapidio/extr_rio.c_rio_release_inb_mbox.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _x510 ## @x510 .p2align 4 _x510: .asciz "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" .globl _x4096 ## @x4096 .p2align 4 _x4096: .asciz "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx123456" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .section __TEXT,__const .globl _x510 ; @x510 _x510: .asciz "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx" .globl _x4096 ; @x4096 _x4096: .asciz "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx123456" .subsections_via_symbols
the_stack_data/154827701.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CL_Snd_Shutdown ## -- Begin function CL_Snd_Shutdown .p2align 4, 0x90 _CL_Snd_Shutdown: ## @CL_Snd_Shutdown .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 callq _S_Shutdown movq _qfalse@GOTPCREL(%rip), %rax movl (%rax), %eax movq _cls@GOTPCREL(%rip), %rcx movl %eax, (%rcx) popq %rbp retq .cfi_endproc ## -- End function .comm _qfalse,4,2 ## @qfalse .comm _cls,4,2 ## @cls .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _CL_Snd_Shutdown ; -- Begin function CL_Snd_Shutdown .p2align 2 _CL_Snd_Shutdown: ; @CL_Snd_Shutdown .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 _S_Shutdown Lloh0: adrp x8, _qfalse@GOTPAGE Lloh1: ldr x8, [x8, _qfalse@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _cls@GOTPAGE Lloh4: ldr x9, [x9, _cls@GOTPAGEOFF] Lloh5: str w8, [x9] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpLdrGotStr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _qfalse,4,2 ; @qfalse .comm _cls,4,2 ; @cls .subsections_via_symbols
AnghaBench/lab/engine/code/client/extr_cl_main.c_CL_Snd_Shutdown.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function end_capture _end_capture: ## @end_capture .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %r14 movq %rsi, %r15 movq %rdi, %r12 callq _capture_to_close movq (%r12), %rcx movslq %eax, %rbx shlq $4, %rbx movslq 8(%rcx,%rbx), %rax movq %r15, %rdx subq %rax, %rdx movq %rdx, (%rcx,%rbx) movq %r12, %rdi movq %r15, %rsi movq %r14, %rdx callq _match testq %rax, %rax jne LBB0_2 ## %bb.1: movq _CAP_UNFINISHED@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movq (%r12), %rdx movq %rcx, (%rdx,%rbx) LBB0_2: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CAP_UNFINISHED,8,3 ## @CAP_UNFINISHED .no_dead_strip _end_capture .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function end_capture _end_capture: ; @end_capture .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x2 mov x22, x1 mov x19, x0 bl _capture_to_close mov x20, x0 ldr x8, [x19] add x8, x8, w0, sxtw #4 ldrsw x9, [x8, #8] sub x9, x22, x9 str x9, [x8] mov x0, x19 mov x1, x22 mov x2, x21 bl _match cbnz x0, LBB0_2 ; %bb.1: Lloh0: adrp x8, _CAP_UNFINISHED@GOTPAGE Lloh1: ldr x8, [x8, _CAP_UNFINISHED@GOTPAGEOFF] sxtw x9, w20 Lloh2: ldr x8, [x8] ldr x10, [x19] lsl x9, x9, #4 str x8, [x10, x9] LBB0_2: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CAP_UNFINISHED,8,3 ; @CAP_UNFINISHED .no_dead_strip _end_capture .subsections_via_symbols
AnghaBench/skynet/3rd/lua/extr_lstrlib.c_end_capture.c
anghabench
.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
AnghaBench/linux/drivers/crypto/inside-secure/extr_safexcel.c_safexcel_rdr_req_set.c
anghabench
.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 pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 leaq L_.str(%rip), %rdi leaq -20(%rbp), %rsi xorl %eax, %eax callq _scanf movl -20(%rbp), %eax leal -2000(%rax), %ecx cmpl $-1994, %ecx ## imm = 0xF836 jae LBB0_1 LBB0_5: xorl %eax, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq LBB0_1: leaq L_.str.1(%rip), %r14 xorl %ebx, %ebx jmp LBB0_2 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_2 Depth=1 cmpl %eax, %ebx jge LBB0_5 LBB0_2: ## =>This Inner Loop Header: Depth=1 incl %ebx testb $1, %bl jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 xorps %xmm0, %xmm0 cvtsi2sd %ebx, %xmm0 mulsd %xmm0, %xmm0 cvttsd2si %xmm0, %edx movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf movl -20(%rbp), %eax jmp LBB0_4 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "%d" L_.str.1: ## @.str.1 .asciz "%d^2 = %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 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 sub x8, x29, #20 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldur w8, [x29, #-20] sub w9, w8, #2000 cmn w9, #1994 b.hs LBB0_2 LBB0_1: mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_2: mov w20, #0 Lloh2: adrp x19, l_.str.1@PAGE Lloh3: add x19, x19, l_.str.1@PAGEOFF b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 cmp w20, w8 b.ge LBB0_1 LBB0_4: ; =>This Inner Loop Header: Depth=1 add w20, w20, #1 tbnz w20, #0, LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 scvtf d0, w20 fmul d0, d0, d0 fcvtzs w8, d0 stp x20, x8, [sp] mov x0, x19 bl _printf ldur w8, [x29, #-20] b LBB0_3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" l_.str.1: ; @.str.1 .asciz "%d^2 = %d\n" .subsections_via_symbols
the_stack_data/72013269.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _jq_get_error_cb ## -- Begin function jq_get_error_cb .p2align 4, 0x90 _jq_get_error_cb: ## @jq_get_error_cb .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 8(%rdi), %eax movl %eax, (%rsi) movq (%rdi), %rax movq %rax, (%rdx) popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _jq_get_error_cb ; -- Begin function jq_get_error_cb .p2align 2 _jq_get_error_cb: ; @jq_get_error_cb .cfi_startproc ; %bb.0: ldr w8, [x0, #8] str w8, [x1] ldr x8, [x0] str x8, [x2] ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/jq/src/extr_execute.c_jq_get_error_cb.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function is_valid_tag _is_valid_tag: ## @is_valid_tag .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _assert movq %rbx, %rdi movl $58, %esi callq _strchr movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx jne LBB0_2 ## %bb.1: movq %rbx, %rdi movl $32, %esi callq _strchr movl %eax, %ecx xorl %eax, %eax testl %ecx, %ecx sete %al LBB0_2: addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _is_valid_tag .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function is_valid_tag _is_valid_tag: ; @is_valid_tag .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _assert mov x0, x19 mov w1, #58 bl _strchr cbz w0, LBB0_2 ; %bb.1: mov w0, #0 b LBB0_3 LBB0_2: mov x0, x19 mov w1, #32 bl _strchr cmp w0, #0 cset w0, eq LBB0_3: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _is_valid_tag .subsections_via_symbols
AnghaBench/systemd/src/libsystemd/sd-device/extr_sd-device.c_is_valid_tag.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _svn_fs_fs__dag_finalize_edits ## -- Begin function svn_fs_fs__dag_finalize_edits .p2align 4, 0x90 _svn_fs_fs__dag_finalize_edits: ## @svn_fs_fs__dag_finalize_edits .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testq %rsi, %rsi je LBB0_3 ## %bb.1: movq %rdx, %r14 movq %rsi, %rbx movq %rdi, %r15 movl (%rsi), %edx leaq -40(%rbp), %rdi movq %r15, %rsi movq %r14, %rcx callq _svn_fs_fs__dag_file_checksum movl %eax, %edi callq _SVN_ERR movq -40(%rbp), %rsi movq %rbx, %rdi callq _svn_checksum_match testl %eax, %eax je LBB0_2 LBB0_3: movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB0_4 LBB0_2: movq -40(%rbp), %r12 leaq L_.str(%rip), %rdi callq __ movl (%r15), %r8d movq %rbx, %rdi movq %r12, %rsi movq %r14, %rdx movl %eax, %ecx callq _svn_checksum_mismatch_err LBB0_4: addq $16, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Checksum mismatch for '%s'" .comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _svn_fs_fs__dag_finalize_edits ; -- Begin function svn_fs_fs__dag_finalize_edits .p2align 2 _svn_fs_fs__dag_finalize_edits: ; @svn_fs_fs__dag_finalize_edits .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz x1, LBB0_2 ; %bb.1: mov x19, x2 mov x20, x1 mov x21, x0 ldr w2, [x1] add x0, sp, #8 mov x1, x21 mov x3, x19 bl _svn_fs_fs__dag_file_checksum bl _SVN_ERR ldr x1, [sp, #8] mov x0, x20 bl _svn_checksum_match cbz w0, LBB0_3 LBB0_2: Lloh0: adrp x8, _SVN_NO_ERROR@GOTPAGE Lloh1: ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF] Lloh2: ldr x0, [x8] b LBB0_4 LBB0_3: ldr x22, [sp, #8] Lloh3: adrp x0, l_.str@PAGE Lloh4: add x0, x0, l_.str@PAGEOFF bl __ mov x3, x0 ldr w4, [x21] mov x0, x20 mov x1, x22 mov x2, x19 bl _svn_checksum_mismatch_err LBB0_4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Checksum mismatch for '%s'" .comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_fs_fs/extr_dag.c_svn_fs_fs__dag_finalize_edits.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mlx4_ib_query_qp ## -- Begin function mlx4_ib_query_qp .p2align 4, 0x90 _mlx4_ib_query_qp: ## @mlx4_ib_query_qp .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rsi, %rbx movq %rdi, %r13 movl 4(%rdi), %edi callq _to_mdev movq %rax, %r14 movq %r13, %rdi callq _to_mqp movq %rax, %r12 leaq 24(%rax), %rdi movq %rdi, -48(%rbp) ## 8-byte Spill callq _mutex_lock movq (%r12), %rax movq _IB_QPS_RESET@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_2 ## %bb.1: movq %rax, (%rbx) jmp LBB0_11 LBB0_2: movl (%r14), %edi movq %r12, %rsi addq $56, %rsi leaq -112(%rbp), %rdx callq _mlx4_qp_query testl %eax, %eax je LBB0_4 ## %bb.3: movq _EINVAL@GOTPCREL(%rip), %rax xorl %ebx, %ebx subl (%rax), %ebx movq -48(%rbp), %r14 ## 8-byte Reload jmp LBB0_23 LBB0_4: movl -60(%rbp), %edi callq _be32_to_cpu sarl $28, %eax movl %eax, -52(%rbp) ## 4-byte Spill movl %eax, %edi callq _to_ib_qp_state movq %rax, (%r12) movq %rax, (%rbx) movl -112(%rbp), %eax sarl $5, %eax movl %eax, 8(%rbx) movl -60(%rbp), %edi callq _be32_to_cpu shrl $11, %eax andl $3, %eax movl %eax, %edi callq _to_ib_mig_state movl %eax, 120(%rbx) movl -64(%rbp), %edi callq _be32_to_cpu movl %eax, 12(%rbx) movl -80(%rbp), %edi callq _be32_to_cpu andl $16777215, %eax ## imm = 0xFFFFFF movl %eax, 16(%rbx) movl -68(%rbp), %edi callq _be32_to_cpu andl $16777215, %eax ## imm = 0xFFFFFF movl %eax, 20(%rbx) movl -72(%rbp), %edi callq _be32_to_cpu andl $16777215, %eax ## imm = 0xFFFFFF movl %eax, 24(%rbx) movl -76(%rbp), %edi callq _be32_to_cpu movl %eax, %edi callq _to_ib_qp_access_flags movl %eax, 116(%rbx) movq 48(%r12), %rax movq _IB_QPT_RC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_6 ## %bb.5: movq _IB_QPT_UC@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_7 LBB0_6: leaq 112(%rbx), %rsi leaq -92(%rbp), %rdx movq %r14, %rdi callq _to_ib_ah_attr leaq 104(%rbx), %rsi leaq -108(%rbp), %rdx movq %r14, %rdi callq _to_ib_ah_attr movl -108(%rbp), %eax andl $127, %eax movl %eax, 28(%rbx) movl 104(%rbx), %eax movl %eax, 108(%rbx) LBB0_7: movl -92(%rbp), %eax andl $127, %eax movl %eax, 32(%rbx) movq (%rbx), %rax movq _IB_QPS_INIT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_9 ## %bb.8: movl 8(%r12), %eax jmp LBB0_10 LBB0_9: movb -88(%rbp), %al andb $64, %al cmpb $1, %al movl $2, %eax sbbl $0, %eax LBB0_10: movl %eax, 36(%rbx) movq _MLX4_QP_STATE_SQ_DRAINING@GOTPCREL(%rip), %rax xorl %ecx, %ecx movl -52(%rbp), %edx ## 4-byte Reload cmpl (%rax), %edx sete %cl movl %ecx, 40(%rbx) movl -96(%rbp), %edi callq _be32_to_cpu shrl $21, %eax andb $7, %al movl $1, %edx movl %eax, %ecx shll %cl, %edx movl $1, %r14d movl %edx, 44(%rbx) movl -76(%rbp), %edi callq _be32_to_cpu shrl $21, %eax andb $7, %al movl %eax, %ecx shll %cl, %r14d movl %r14d, 48(%rbx) movl -80(%rbp), %edi callq _be32_to_cpu shrl $24, %eax andl $31, %eax movl %eax, 52(%rbx) movl -84(%rbp), %eax sarl $3, %eax movl %eax, 56(%rbx) movl -96(%rbp), %edi callq _be32_to_cpu shrl $16, %eax andl $7, %eax movl %eax, 60(%rbx) movl -96(%rbp), %edi callq _be32_to_cpu shrl $13, %eax andl $7, %eax movl %eax, 64(%rbx) movl -100(%rbp), %eax sarl $3, %eax movl %eax, 68(%rbx) movq (%rbx), %rax LBB0_11: movq -48(%rbp), %r14 ## 8-byte Reload movq %rax, 72(%rbx) movl 40(%r12), %eax leaq 80(%rbx), %rcx movl %eax, 100(%rbx) movl 36(%r12), %eax movl %eax, 96(%rbx) xorl %eax, %eax cmpl $0, (%r13) movl $0, %esi movl $0, %edx jne LBB0_13 ## %bb.12: movl 28(%r12), %edx movl 32(%r12), %esi LBB0_13: movl %esi, 92(%rbx) movl %edx, 88(%rbx) movq $0, 80(%rbx) movq 16(%rcx), %rdx movq %rdx, 24(%r15) movups (%rcx), %xmm0 movups %xmm0, 8(%r15) movl $0, 4(%r15) movl 12(%r12), %ecx movq _MLX4_IB_QP_BLOCK_MULTICAST_LOOPBACK@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) je LBB0_15 ## %bb.14: movq _IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 4(%r15) LBB0_15: movq _MLX4_IB_QP_LSO@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) je LBB0_17 ## %bb.16: movq _IB_QP_CREATE_IPOIB_UD_LSO@GOTPCREL(%rip), %rdx orl (%rdx), %eax movl %eax, 4(%r15) LBB0_17: movq _MLX4_IB_QP_NETIF@GOTPCREL(%rip), %rdx testl %ecx, (%rdx) je LBB0_19 ## %bb.18: movq _IB_QP_CREATE_NETIF_QP@GOTPCREL(%rip), %rcx orl (%rcx), %eax movl %eax, 4(%r15) LBB0_19: movq 16(%r12), %rbx movq _MLX4_WQE_CTRL_CQ_UPDATE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _cpu_to_be32 cmpq %rax, %rbx jne LBB0_20 ## %bb.21: movq _IB_SIGNAL_ALL_WR@GOTPCREL(%rip), %rax jmp LBB0_22 LBB0_20: movq _IB_SIGNAL_REQ_WR@GOTPCREL(%rip), %rax LBB0_22: movl (%rax), %eax movl %eax, (%r15) xorl %ebx, %ebx LBB0_23: movq %r14, %rdi callq _mutex_unlock movl %ebx, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _IB_QPS_RESET,8,3 ## @IB_QPS_RESET .comm _EINVAL,4,2 ## @EINVAL .comm _IB_QPT_RC,8,3 ## @IB_QPT_RC .comm _IB_QPT_UC,8,3 ## @IB_QPT_UC .comm _IB_QPS_INIT,8,3 ## @IB_QPS_INIT .comm _MLX4_QP_STATE_SQ_DRAINING,4,2 ## @MLX4_QP_STATE_SQ_DRAINING .comm _MLX4_IB_QP_BLOCK_MULTICAST_LOOPBACK,4,2 ## @MLX4_IB_QP_BLOCK_MULTICAST_LOOPBACK .comm _IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK,4,2 ## @IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK .comm _MLX4_IB_QP_LSO,4,2 ## @MLX4_IB_QP_LSO .comm _IB_QP_CREATE_IPOIB_UD_LSO,4,2 ## @IB_QP_CREATE_IPOIB_UD_LSO .comm _MLX4_IB_QP_NETIF,4,2 ## @MLX4_IB_QP_NETIF .comm _IB_QP_CREATE_NETIF_QP,4,2 ## @IB_QP_CREATE_NETIF_QP .comm _MLX4_WQE_CTRL_CQ_UPDATE,4,2 ## @MLX4_WQE_CTRL_CQ_UPDATE .comm _IB_SIGNAL_ALL_WR,4,2 ## @IB_SIGNAL_ALL_WR .comm _IB_SIGNAL_REQ_WR,4,2 ## @IB_SIGNAL_REQ_WR .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mlx4_ib_query_qp ; -- Begin function mlx4_ib_query_qp .p2align 2 _mlx4_ib_query_qp: ; @mlx4_ib_query_qp .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x3 mov x22, x1 mov x23, x0 ldr w0, [x0, #4] bl _to_mdev mov x24, x0 mov x0, x23 bl _to_mqp mov x21, x0 add x19, x0, #24 mov x0, x19 bl _mutex_lock ldr x8, [x21] Lloh0: adrp x9, _IB_QPS_RESET@GOTPAGE Lloh1: ldr x9, [x9, _IB_QPS_RESET@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x8, x9 b.ne LBB0_2 ; %bb.1: str x8, [x22] b LBB0_11 LBB0_2: ldr w0, [x24] add x1, x21, #56 add x2, sp, #8 bl _mlx4_qp_query cbz w0, LBB0_4 ; %bb.3: Lloh3: adrp x8, _EINVAL@GOTPAGE Lloh4: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh5: ldr w8, [x8] neg w21, w8 b LBB0_22 LBB0_4: ldr w0, [sp, #60] bl _be32_to_cpu asr w25, w0, #28 mov x0, x25 bl _to_ib_qp_state str x0, [x21] str x0, [x22] ldr w8, [sp, #8] ldr w0, [sp, #60] asr w8, w8, #5 str w8, [x22, #8] bl _be32_to_cpu ubfx w0, w0, #11, #2 bl _to_ib_mig_state str w0, [x22, #120] ldr w0, [sp, #56] bl _be32_to_cpu str w0, [x22, #12] ldr w0, [sp, #40] bl _be32_to_cpu and w8, w0, #0xffffff str w8, [x22, #16] ldr w0, [sp, #52] bl _be32_to_cpu and w8, w0, #0xffffff str w8, [x22, #20] ldr w0, [sp, #48] bl _be32_to_cpu and w8, w0, #0xffffff str w8, [x22, #24] ldr w0, [sp, #44] bl _be32_to_cpu bl _to_ib_qp_access_flags str w0, [x22, #116] ldr x8, [x21, #48] Lloh6: adrp x9, _IB_QPT_RC@GOTPAGE Lloh7: ldr x9, [x9, _IB_QPT_RC@GOTPAGEOFF] Lloh8: ldr x9, [x9] cmp x8, x9 b.eq LBB0_6 ; %bb.5: Lloh9: adrp x9, _IB_QPT_UC@GOTPAGE Lloh10: ldr x9, [x9, _IB_QPT_UC@GOTPAGEOFF] Lloh11: ldr x9, [x9] cmp x8, x9 b.ne LBB0_7 LBB0_6: add x1, x22, #112 add x26, sp, #8 add x2, x26, #20 mov x0, x24 bl _to_ib_ah_attr add x1, x22, #104 orr x2, x26, #0x4 mov x0, x24 bl _to_ib_ah_attr ldr w8, [sp, #12] and w8, w8, #0x7f str w8, [x22, #28] ldr w8, [x22, #104] str w8, [x22, #108] LBB0_7: ldr w8, [sp, #28] and w8, w8, #0x7f str w8, [x22, #32] ldr x8, [x22] Lloh12: adrp x9, _IB_QPS_INIT@GOTPAGE Lloh13: ldr x9, [x9, _IB_QPS_INIT@GOTPAGEOFF] Lloh14: ldr x9, [x9] cmp x8, x9 b.ne LBB0_9 ; %bb.8: ldr w8, [x21, #8] b LBB0_10 LBB0_9: ldrb w8, [sp, #32] tst w8, #0x40 mov w8, #1 cinc w8, w8, ne LBB0_10: Lloh15: adrp x9, _MLX4_QP_STATE_SQ_DRAINING@GOTPAGE Lloh16: ldr x9, [x9, _MLX4_QP_STATE_SQ_DRAINING@GOTPAGEOFF] Lloh17: ldr w9, [x9] cmp w25, w9 cset w9, eq stp w8, w9, [x22, #36] ldr w0, [sp, #24] bl _be32_to_cpu ubfx w8, w0, #21, #3 mov w24, #1 lsl w8, w24, w8 str w8, [x22, #44] ldr w0, [sp, #44] bl _be32_to_cpu ubfx w8, w0, #21, #3 lsl w8, w24, w8 str w8, [x22, #48] ldr w0, [sp, #40] bl _be32_to_cpu ubfx w8, w0, #24, #5 ldr w9, [sp, #36] ldr w0, [sp, #24] asr w9, w9, #3 stp w8, w9, [x22, #52] bl _be32_to_cpu ubfx w8, w0, #16, #3 str w8, [x22, #60] ldr w0, [sp, #24] bl _be32_to_cpu ubfx w8, w0, #13, #3 ldr w9, [sp, #20] asr w9, w9, #3 stp w8, w9, [x22, #64] ldr x8, [x22] LBB0_11: str x8, [x22, #72] add x8, x22, #80 ldur d0, [x21, #36] str d0, [x22, #96] ldr w9, [x23] cbz w9, LBB0_13 ; %bb.12: movi.2d v0, #0000000000000000 b LBB0_14 LBB0_13: ldur d0, [x21, #28] LBB0_14: str d0, [x22, #88] str xzr, [x22, #80] ldr q0, [x8] ldr x8, [x8, #16] str x8, [x20, #24] stur q0, [x20, #8] str wzr, [x20, #4] ldr w8, [x21, #12] Lloh18: adrp x9, _MLX4_IB_QP_BLOCK_MULTICAST_LOOPBACK@GOTPAGE Lloh19: ldr x9, [x9, _MLX4_IB_QP_BLOCK_MULTICAST_LOOPBACK@GOTPAGEOFF] Lloh20: ldr w9, [x9] tst w9, w8 b.eq LBB0_16 ; %bb.15: Lloh21: adrp x9, _IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK@GOTPAGE Lloh22: ldr x9, [x9, _IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK@GOTPAGEOFF] Lloh23: ldr w9, [x9] str w9, [x20, #4] b LBB0_17 LBB0_16: mov w9, #0 LBB0_17: Lloh24: adrp x10, _MLX4_IB_QP_LSO@GOTPAGE Lloh25: ldr x10, [x10, _MLX4_IB_QP_LSO@GOTPAGEOFF] Lloh26: ldr w10, [x10] tst w10, w8 b.eq LBB0_19 ; %bb.18: Lloh27: adrp x10, _IB_QP_CREATE_IPOIB_UD_LSO@GOTPAGE Lloh28: ldr x10, [x10, _IB_QP_CREATE_IPOIB_UD_LSO@GOTPAGEOFF] Lloh29: ldr w10, [x10] orr w9, w9, w10 str w9, [x20, #4] LBB0_19: Lloh30: adrp x10, _MLX4_IB_QP_NETIF@GOTPAGE Lloh31: ldr x10, [x10, _MLX4_IB_QP_NETIF@GOTPAGEOFF] Lloh32: ldr w10, [x10] tst w10, w8 b.eq LBB0_21 ; %bb.20: Lloh33: adrp x8, _IB_QP_CREATE_NETIF_QP@GOTPAGE Lloh34: ldr x8, [x8, _IB_QP_CREATE_NETIF_QP@GOTPAGEOFF] Lloh35: ldr w8, [x8] orr w8, w9, w8 str w8, [x20, #4] LBB0_21: ldr x22, [x21, #16] Lloh36: adrp x8, _MLX4_WQE_CTRL_CQ_UPDATE@GOTPAGE Lloh37: ldr x8, [x8, _MLX4_WQE_CTRL_CQ_UPDATE@GOTPAGEOFF] Lloh38: ldr w0, [x8] bl _cpu_to_be32 mov w21, #0 Lloh39: adrp x8, _IB_SIGNAL_ALL_WR@GOTPAGE Lloh40: ldr x8, [x8, _IB_SIGNAL_ALL_WR@GOTPAGEOFF] Lloh41: adrp x9, _IB_SIGNAL_REQ_WR@GOTPAGE Lloh42: ldr x9, [x9, _IB_SIGNAL_REQ_WR@GOTPAGEOFF] cmp x22, x0 csel x8, x8, x9, eq ldr w8, [x8] str w8, [x20] LBB0_22: mov x0, x19 bl _mutex_unlock mov x0, x21 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload add sp, sp, #144 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .loh AdrpLdrGotLdr Lloh30, Lloh31, Lloh32 .loh AdrpLdrGotLdr Lloh33, Lloh34, Lloh35 .loh AdrpLdrGot Lloh41, Lloh42 .loh AdrpLdrGot Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .cfi_endproc ; -- End function .comm _IB_QPS_RESET,8,3 ; @IB_QPS_RESET .comm _EINVAL,4,2 ; @EINVAL .comm _IB_QPT_RC,8,3 ; @IB_QPT_RC .comm _IB_QPT_UC,8,3 ; @IB_QPT_UC .comm _IB_QPS_INIT,8,3 ; @IB_QPS_INIT .comm _MLX4_QP_STATE_SQ_DRAINING,4,2 ; @MLX4_QP_STATE_SQ_DRAINING .comm _MLX4_IB_QP_BLOCK_MULTICAST_LOOPBACK,4,2 ; @MLX4_IB_QP_BLOCK_MULTICAST_LOOPBACK .comm _IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK,4,2 ; @IB_QP_CREATE_BLOCK_MULTICAST_LOOPBACK .comm _MLX4_IB_QP_LSO,4,2 ; @MLX4_IB_QP_LSO .comm _IB_QP_CREATE_IPOIB_UD_LSO,4,2 ; @IB_QP_CREATE_IPOIB_UD_LSO .comm _MLX4_IB_QP_NETIF,4,2 ; @MLX4_IB_QP_NETIF .comm _IB_QP_CREATE_NETIF_QP,4,2 ; @IB_QP_CREATE_NETIF_QP .comm _MLX4_WQE_CTRL_CQ_UPDATE,4,2 ; @MLX4_WQE_CTRL_CQ_UPDATE .comm _IB_SIGNAL_ALL_WR,4,2 ; @IB_SIGNAL_ALL_WR .comm _IB_SIGNAL_REQ_WR,4,2 ; @IB_SIGNAL_REQ_WR .subsections_via_symbols
AnghaBench/freebsd/sys/dev/mlx4/mlx4_ib/extr_mlx4_ib_qp.c_mlx4_ib_query_qp.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl ___nfp_eth_read_ports ## -- Begin function __nfp_eth_read_ports .p2align 4, 0x90 ___nfp_eth_read_ports: ## @__nfp_eth_read_ports .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 movq _NSP_ETH_TABLE_SIZE@GOTPCREL(%rip), %r12 movl (%r12), %edi movq _GFP_KERNEL@GOTPCREL(%rip), %rax movl (%rax), %esi callq _kzalloc testq %rax, %rax je LBB0_6 ## %bb.1: movq %rax, %rbx movl (%r12), %edx movq %r15, %rdi movq %rax, %rsi callq _nfp_nsp_read_eth_table testl %eax, %eax jle LBB0_7 ## %bb.2: movq _NSP_ETH_MAX_COUNT@GOTPCREL(%rip), %rcx cmpl $0, (%rcx) jle LBB0_4 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 jmp LBB0_3 LBB0_7: leaq L_.str(%rip), %rsi movq %r14, %rdi movl %eax, %edx xorl %eax, %eax callq _nfp_err jmp LBB0_5 LBB0_4: leaq L_.str.1(%rip), %rsi movq %r14, %rdi movl %eax, %edx xorl %ecx, %ecx xorl %eax, %eax callq _nfp_err LBB0_5: movq %rbx, %rdi callq _kfree LBB0_6: xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _NSP_ETH_TABLE_SIZE,4,2 ## @NSP_ETH_TABLE_SIZE .comm _GFP_KERNEL,4,2 ## @GFP_KERNEL .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "reading port table failed %d\n" .comm _NSP_ETH_MAX_COUNT,4,2 ## @NSP_ETH_MAX_COUNT .comm _NSP_ETH_PORT_LANES_MASK,4,2 ## @NSP_ETH_PORT_LANES_MASK L_.str.1: ## @.str.1 .asciz "table entry count reported (%d) does not match entries present (%d)\n" .comm _ports,4,2 ## @ports .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl ___nfp_eth_read_ports ; -- Begin function __nfp_eth_read_ports .p2align 2 ___nfp_eth_read_ports: ; @__nfp_eth_read_ports .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x21, x1 mov x20, x0 Lloh0: adrp x22, _NSP_ETH_TABLE_SIZE@GOTPAGE Lloh1: ldr x22, [x22, _NSP_ETH_TABLE_SIZE@GOTPAGEOFF] ldr w0, [x22] Lloh2: adrp x8, _GFP_KERNEL@GOTPAGE Lloh3: ldr x8, [x8, _GFP_KERNEL@GOTPAGEOFF] Lloh4: ldr w1, [x8] bl _kzalloc cbz x0, LBB0_7 ; %bb.1: mov x19, x0 ldr w2, [x22] mov x0, x21 mov x1, x19 bl _nfp_nsp_read_eth_table mov x2, x0 cmp w0, #1 b.lt LBB0_4 ; %bb.2: Lloh5: adrp x8, _NSP_ETH_MAX_COUNT@GOTPAGE Lloh6: ldr x8, [x8, _NSP_ETH_MAX_COUNT@GOTPAGEOFF] Lloh7: ldr w8, [x8] cmp w8, #1 b.lt LBB0_5 LBB0_3: ; =>This Inner Loop Header: Depth=1 b LBB0_3 LBB0_4: Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF b LBB0_6 LBB0_5: str xzr, [sp] Lloh10: adrp x1, l_.str.1@PAGE Lloh11: add x1, x1, l_.str.1@PAGEOFF LBB0_6: mov x0, x20 bl _nfp_err mov x0, x19 bl _kfree LBB0_7: mov x0, #0 ; =0x0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .cfi_endproc ; -- End function .comm _NSP_ETH_TABLE_SIZE,4,2 ; @NSP_ETH_TABLE_SIZE .comm _GFP_KERNEL,4,2 ; @GFP_KERNEL .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "reading port table failed %d\n" .comm _NSP_ETH_MAX_COUNT,4,2 ; @NSP_ETH_MAX_COUNT .comm _NSP_ETH_PORT_LANES_MASK,4,2 ; @NSP_ETH_PORT_LANES_MASK l_.str.1: ; @.str.1 .asciz "table entry count reported (%d) does not match entries present (%d)\n" .comm _ports,4,2 ; @ports .subsections_via_symbols
assembly_file_172378.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lua_getinfo _lua_getinfo: ## @lua_getinfo .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdx, %rbx movq %rsi, %r12 movq %rdi, %r14 cmpb $62, (%rsi) jne LBB0_2 ## %bb.1: movq %rbx, %r15 movq (%r14), %rbx decq %rbx movq %rbx, %rdi callq _ttisfunction movq %r14, %rdi movl %eax, %esi callq _luai_apicheck incq %r12 movq %rbx, %rdi movq %r15, %rbx callq _clvalue movq %rax, %r15 decq (%r14) jmp LBB0_5 LBB0_2: movq (%rbx), %rax testq %rax, %rax je LBB0_4 ## %bb.3: movq 8(%r14), %rcx leaq (%rcx,%rax,8), %r13 movq (%rcx,%rax,8), %rdi callq _clvalue movq %rax, %r15 jmp LBB0_6 LBB0_4: xorl %r15d, %r15d LBB0_5: xorl %r13d, %r13d LBB0_6: movq %r14, %rdi movq %r12, %rsi movq %rbx, %rdx movq %r15, %rcx movq %r13, %r8 callq _auxgetinfo movl %eax, %ebx movq %r12, %rdi movl $102, %esi callq _strchr testq %rax, %rax je LBB0_11 ## %bb.7: movq (%r14), %rsi testq %r15, %r15 je LBB0_9 ## %bb.8: movq %r14, %rdi movq %r15, %rdx callq _setclvalue jmp LBB0_10 LBB0_9: movq %rsi, %rdi callq _setnilvalue LBB0_10: movq %r14, %rdi callq _incr_top LBB0_11: movq %r12, %rdi movl $76, %esi callq _strchr testq %rax, %rax je LBB0_13 ## %bb.12: movq %r14, %rdi movq %r15, %rsi callq _collectvalidlines LBB0_13: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _lua_getinfo .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lua_getinfo _lua_getinfo: ; @lua_getinfo .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x22, x2 mov x20, x1 mov x19, x0 ldrb w8, [x1] cmp w8, #62 b.ne LBB0_2 ; %bb.1: ldr x8, [x19] sub x21, x8, #1 mov x0, x21 bl _ttisfunction mov x1, x0 mov x0, x19 bl _luai_apicheck add x20, x20, #1 mov x0, x21 bl _clvalue mov x21, x0 mov x23, #0 ldr x8, [x19] sub x8, x8, #1 str x8, [x19] b LBB0_5 LBB0_2: ldr x8, [x22] cbz x8, LBB0_4 ; %bb.3: ldr x9, [x19, #8] add x23, x9, x8, lsl #3 ldr x0, [x23] bl _clvalue mov x21, x0 b LBB0_5 LBB0_4: mov x21, #0 mov x23, #0 LBB0_5: mov x0, x19 mov x1, x20 mov x2, x22 mov x3, x21 mov x4, x23 bl _auxgetinfo mov x22, x0 mov x0, x20 mov w1, #102 bl _strchr cbz x0, LBB0_10 ; %bb.6: ldr x1, [x19] cbz x21, LBB0_8 ; %bb.7: mov x0, x19 mov x2, x21 bl _setclvalue b LBB0_9 LBB0_8: mov x0, x1 bl _setnilvalue LBB0_9: mov x0, x19 bl _incr_top LBB0_10: mov x0, x20 mov w1, #76 bl _strchr cbz x0, LBB0_12 ; %bb.11: mov x0, x19 mov x1, x21 bl _collectvalidlines LBB0_12: mov x0, x22 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _lua_getinfo .subsections_via_symbols
AnghaBench/php-src/ext/opcache/jit/dynasm/extr_minilua.c_lua_getinfo.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ft_putendl_fd ## -- Begin function ft_putendl_fd .p2align 4, 0x90 _ft_putendl_fd: ## @ft_putendl_fd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d cmpb $0, (%rdi) je LBB0_3 ## %bb.1: movq %rdi, %rbx .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 leaq 1(%rbx), %r15 movl $1, %edx movl %r14d, %edi movq %rbx, %rsi callq _write cmpb $0, 1(%rbx) movq %r15, %rbx jne LBB0_2 LBB0_3: leaq L_.str(%rip), %rsi movl $1, %edx movl %r14d, %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _write ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ft_putendl_fd ; -- Begin function ft_putendl_fd .p2align 2 _ft_putendl_fd: ; @ft_putendl_fd .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x1 ldrb w8, [x0] cbz w8, LBB0_3 ; %bb.1: mov x20, x0 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x19 mov x1, x20 mov w2, #1 bl _write ldrb w8, [x20, #1]! cbnz w8, LBB0_2 LBB0_3: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 mov w2, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _write .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "\n" .subsections_via_symbols
the_stack_data/104939.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _data_append_zeroes ## -- Begin function data_append_zeroes .p2align 4, 0x90 _data_append_zeroes: ## @data_append_zeroes .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %ebx callq _data_grow_for movq %rax, %r14 movq %rdx, %r15 leaq (%rdx,%rax), %rdi xorl %esi, %esi movl %ebx, %edx callq _memset movslq %ebx, %rax addq %r14, %rax movq %r15, %rdx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _data_append_zeroes ; -- Begin function data_append_zeroes .p2align 2 _data_append_zeroes: ; @data_append_zeroes .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 bl _data_grow_for mov x20, x0 mov x21, x1 add x0, x1, x0 mov w1, #0 mov x2, x19 bl _memset add x0, x20, w19, sxtw mov x1, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/fastsocket/kernel/scripts/dtc/extr_data.c_data_append_zeroes.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function gbt_oidgt _gbt_oidgt: ## @gbt_oidgt .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), %rcx xorl %eax, %eax cmpq (%rsi), %rcx setg %al popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _gbt_oidgt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function gbt_oidgt _gbt_oidgt: ; @gbt_oidgt .cfi_startproc ; %bb.0: ldr x8, [x0] ldr x9, [x1] cmp x8, x9 cset w0, gt ret .cfi_endproc ; -- End function .no_dead_strip _gbt_oidgt .subsections_via_symbols
AnghaBench/postgres/contrib/btree_gist/extr_btree_oid.c_gbt_oidgt.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 ## -- Begin function Q1_FaceArea LCPI0_0: .quad 0x3fe0000000000000 ## double 0.5 .section __TEXT,__text,regular,pure_instructions .globl _Q1_FaceArea .p2align 4, 0x90 _Q1_FaceArea: ## @Q1_FaceArea .cfi_startproc ## %bb.0: xorpd %xmm0, %xmm0 cmpl $3, 8(%rdi) jl LBB0_4 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq _q1_dedges@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rdi), %rcx movq _q1_dvertexes@GOTPCREL(%rip), %r12 movq (%r12), %rdx movq (%rax,%rcx,8), %rax movq (%rax), %rax movq (%rdx,%rax,8), %r14 xorpd %xmm0, %xmm0 movl $2, %r13d .p2align 4, 0x90 LBB0_2: ## =>This Inner Loop Header: Depth=1 movss %xmm0, -44(%rbp) ## 4-byte Spill movq (%rbx), %r15 shlq $3, %r15 movq _q1_dedges@GOTPCREL(%rip), %rax addq (%rax), %r15 movq (%r12), %rax movq -8(%r15,%r13,8), %rcx movq (%rcx), %rcx movq (%rax,%rcx,8), %rdi movq %r14, %rsi callq _VectorSubtract movq (%r12), %rax movq -8(%r15,%r13,8), %rcx movq 8(%rcx), %rcx movq (%rax,%rcx,8), %rdi movq %r14, %rsi callq _VectorSubtract callq _CrossProduct callq _VectorLength movss -44(%rbp), %xmm1 ## 4-byte Reload ## xmm1 = mem[0],zero,zero,zero cvtss2sd %xmm1, %xmm1 mulsd LCPI0_0(%rip), %xmm0 addsd %xmm1, %xmm0 cvtsd2ss %xmm0, %xmm0 movslq 8(%rbx), %rax decq %r13 cmpq %rax, %r13 jl LBB0_2 ## %bb.3: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp LBB0_4: retq .cfi_endproc ## -- End function .comm _q1_dedges,8,3 ## @q1_dedges .comm _q1_dvertexes,8,3 ## @q1_dvertexes .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _Q1_FaceArea ; -- Begin function Q1_FaceArea .p2align 2 _Q1_FaceArea: ; @Q1_FaceArea .cfi_startproc ; %bb.0: stp d9, d8, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset b8, -72 .cfi_offset b9, -80 ldr w8, [x0, #8] movi d8, #0000000000000000 cmp w8, #3 b.lt LBB0_3 ; %bb.1: mov x19, x0 Lloh0: adrp x21, _q1_dedges@GOTPAGE Lloh1: ldr x21, [x21, _q1_dedges@GOTPAGEOFF] ldr x8, [x21] ldr x9, [x0] Lloh2: adrp x22, _q1_dvertexes@GOTPAGE Lloh3: ldr x22, [x22, _q1_dvertexes@GOTPAGEOFF] ldr x10, [x22] ldr x8, [x8, x9, lsl #3] ldr x8, [x8] ldr x20, [x10, x8, lsl #3] mov w23, #1 ; =0x1 fmov d9, #0.50000000 LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x21] ldr x9, [x19] add x24, x8, x9, lsl #3 ldr x8, [x22] ldr x9, [x24, x23, lsl #3] ldr x9, [x9] ldr x0, [x8, x9, lsl #3] mov x1, x20 bl _VectorSubtract ldr x8, [x22] ldr x9, [x24, x23, lsl #3] ldr x9, [x9, #8] ldr x0, [x8, x9, lsl #3] mov x1, x20 bl _VectorSubtract bl _CrossProduct bl _VectorLength fcvt d1, s8 fmadd d0, d0, d9, d1 fcvt s8, d0 sub x8, x23, #1 ldrsw x9, [x19, #8] cmp x23, x9 mov x23, x8 b.lt LBB0_2 LBB0_3: fmov s0, s8 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp d9, d8, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _q1_dedges,8,3 ; @q1_dedges .comm _q1_dvertexes,8,3 ; @q1_dvertexes .subsections_via_symbols
assembly_file_52155.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rush ## -- Begin function rush .p2align 4, 0x90 _rush: ## @rush .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 ## kill: def $esi killed $esi def $rsi movq %rsi, -56(%rbp) ## 8-byte Spill testl %edi, %edi jle LBB0_13 ## %bb.1: cmpl $0, -56(%rbp) ## 4-byte Folded Reload jle LBB0_13 ## %bb.2: movl %edi, %r15d movq -56(%rbp), %rax ## 8-byte Reload addl $-2, %eax movl %eax, -44(%rbp) ## 4-byte Spill movl $-1, %r13d xorl %eax, %eax jmp LBB0_3 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 movl $10, %edi callq _ft_putchar leal 1(%r14), %eax movl %r14d, %r13d cmpl -56(%rbp), %eax ## 4-byte Folded Reload je LBB0_13 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_4 Depth 2 movl %eax, %r14d xorl %r12d, %r12d jmp LBB0_4 LBB0_10: ## in Loop: Header=BB0_4 Depth=2 cmpl -44(%rbp), %r13d ## 4-byte Folded Reload movl $32, %ecx movl $42, %esi cmovel %esi, %ecx testl %r14d, %r14d cmovel %esi, %ecx testl %eax, %eax cmovel %esi, %ecx cmpl $1, %edx cmovel %esi, %ecx .p2align 4, 0x90 LBB0_11: ## in Loop: Header=BB0_4 Depth=2 movzbl %cl, %edi callq _ft_putchar movl %r15d, %eax addl %r12d, %eax je LBB0_12 LBB0_4: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movl %r12d, %eax movb $47, %cl subl $1, %r12d jae LBB0_6 ## %bb.5: ## in Loop: Header=BB0_4 Depth=2 testl %r14d, %r14d je LBB0_11 LBB0_6: ## in Loop: Header=BB0_4 Depth=2 leal (%r15,%rax), %edx movl %r13d, %ecx xorl -44(%rbp), %ecx ## 4-byte Folded Reload movl %edx, %esi xorl $1, %esi orl %eax, %ecx sete %bl orl %r14d, %esi movb $92, %cl je LBB0_11 ## %bb.7: ## in Loop: Header=BB0_4 Depth=2 testb %bl, %bl jne LBB0_11 ## %bb.8: ## in Loop: Header=BB0_4 Depth=2 cmpl $1, %edx jne LBB0_10 ## %bb.9: ## in Loop: Header=BB0_4 Depth=2 movb $47, %cl cmpl -44(%rbp), %r13d ## 4-byte Folded Reload je LBB0_11 jmp LBB0_10 LBB0_13: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _rush ; -- Begin function rush .p2align 2 _rush: ; @rush .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 cmp w0, #1 b.lt LBB0_13 ; %bb.1: mov x19, x1 cmp w1, #1 b.lt LBB0_13 ; %bb.2: mov x20, x0 mov w8, #0 sub w21, w19, #2 mov w24, #-1 mov w22, #32 mov w23, #42 b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 mov w0, #10 bl _ft_putchar add w8, w25, #1 mov x24, x25 cmp w8, w19 b.eq LBB0_13 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_7 Depth 2 mov w26, #0 mov x25, x8 b LBB0_7 LBB0_5: ; in Loop: Header=BB0_7 Depth=2 mov w0, #47 LBB0_6: ; in Loop: Header=BB0_7 Depth=2 bl _ft_putchar sub w26, w26, #1 cmn w20, w26 b.eq LBB0_3 LBB0_7: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 orr w8, w26, w25 cbz w8, LBB0_5 ; %bb.8: ; in Loop: Header=BB0_7 Depth=2 add w8, w20, w26 cmp w26, #0 ccmp w24, w21, #0, eq cset w9, eq cmp w25, #0 ccmp w8, #1, #0, eq mov w0, #92 b.eq LBB0_6 ; %bb.9: ; in Loop: Header=BB0_7 Depth=2 tbnz w9, #0, LBB0_6 ; %bb.10: ; in Loop: Header=BB0_7 Depth=2 cmp w8, #1 b.ne LBB0_12 ; %bb.11: ; in Loop: Header=BB0_7 Depth=2 cmp w24, w21 b.eq LBB0_5 LBB0_12: ; in Loop: Header=BB0_7 Depth=2 cmp w24, w21 ccmp w25, #0, #4, ne ccmp w26, #0, #4, ne ccmp w8, #1, #4, ne csel w0, w23, w22, eq b LBB0_6 LBB0_13: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/225143287.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function restore_workspaces _restore_workspaces: ## @restore_workspaces .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq _root@GOTPCREL(%rip), %rax movq (%rax), %rcx movq 8(%rcx), %rax cmpl $0, (%rax) js LBB0_11 ## %bb.1: xorl %r15d, %r15d jmp LBB0_2 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 testl %ecx, %ecx je LBB0_9 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 decq %r15 movq _root@GOTPCREL(%rip), %rax movq (%rax), %rcx movq 8(%rcx), %rax movslq (%rax), %rdx cmpq %rdx, %r15 jg LBB0_11 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movq 8(%rax), %rax movq (%rax,%r15,8), %r12 cmpq %rbx, %r12 je LBB0_10 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq 40(%r12), %rax movl (%rax), %ecx testl %ecx, %ecx jle LBB0_8 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 xorl %r14d, %r14d jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=2 incl %r14d movq 40(%r12), %rax movl (%rax), %ecx cmpl %ecx, %r14d jge LBB0_8 LBB0_5: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq 8(%rax), %rax movslq %r14d, %rcx movq (%rax,%rcx,8), %r13 movq %r13, %rdi xorl %esi, %esi callq _workspace_output_get_highest_available cmpq %rbx, %rax jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 movq %r13, %rdi callq _workspace_detach movq %rbx, %rdi movq %r13, %rsi callq _output_add_workspace xorl %edi, %edi movq %r13, %rsi leaq L_.str(%rip), %rdx callq _ipc_event_workspace decl %r14d jmp LBB0_7 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movq 32(%r12), %rax movl (%rax), %edi callq _workspace_next_name movq %rax, %r13 movq %r12, %rdi movq %rax, %rsi callq _workspace_create movq %rax, %r12 movq %r13, %rdi callq _free xorl %edi, %edi movq %r12, %rsi leaq L_.str.1(%rip), %rdx callq _ipc_event_workspace jmp LBB0_10 LBB0_11: movq (%rcx), %rax movq (%rax), %rax cmpq $0, 8(%rax) je LBB0_24 ## %bb.12: leaq L_.str(%rip), %r14 jmp LBB0_13 .p2align 4, 0x90 LBB0_23: ## in Loop: Header=BB0_13 Depth=1 xorl %edi, %edi movq %r15, %rsi movq %r14, %rdx callq _ipc_event_workspace movq _root@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movq (%rax), %rax cmpq $0, 8(%rax) je LBB0_24 LBB0_13: ## =>This Loop Header: Depth=1 ## Child Loop BB0_15 Depth 2 movq (%rax), %rax movq (%rax), %r15 movq %r15, %rdi callq _workspace_detach movq %rbx, %rdi movq %r15, %rsi callq _output_add_workspace movq (%r15), %rax movl (%rax), %ecx testl %ecx, %ecx jle LBB0_23 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 xorl %r12d, %r12d .p2align 4, 0x90 LBB0_15: ## Parent Loop BB0_13 Depth=1 ## => This Inner Loop Header: Depth=2 movq 8(%rax), %rdx movq (%rdx,%r12,8), %rdi movq (%rdi), %rdx testq %rdx, %rdx jne LBB0_17 ## %bb.16: ## in Loop: Header=BB0_15 Depth=2 cmpq $0, 8(%rdi) je LBB0_21 LBB0_17: ## in Loop: Header=BB0_15 Depth=2 movq (%rbx), %r11 cmpq %r11, %rdx jg LBB0_21 ## %bb.18: ## in Loop: Header=BB0_15 Depth=2 movq 8(%rdi), %rsi movq 8(%rbx), %r8 cmpq %r8, %rsi jg LBB0_21 ## %bb.19: ## in Loop: Header=BB0_15 Depth=2 movq 16(%rdi), %r9 movq 16(%rbx), %r10 addq %r10, %r11 cmpq %r11, %r9 jg LBB0_21 ## %bb.20: ## in Loop: Header=BB0_15 Depth=2 movq 24(%rdi), %r11 movq 24(%rbx), %r13 addq %r13, %r8 cmpq %r8, %r11 setg %r8b addq %rdx, %r9 cmpq %r10, %r9 setl %dl addq %r11, %rsi cmpq %r13, %rsi setl %sil orb %dl, %sil orb %r8b, %sil cmpb $1, %sil jne LBB0_22 .p2align 4, 0x90 LBB0_21: ## in Loop: Header=BB0_15 Depth=2 callq _container_floating_resize_and_center movq (%r15), %rax movl (%rax), %ecx LBB0_22: ## in Loop: Header=BB0_15 Depth=2 incq %r12 movslq %ecx, %rdx cmpq %rdx, %r12 jl LBB0_15 jmp LBB0_23 LBB0_24: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _output_sort_workspaces ## TAILCALL .cfi_endproc ## -- End function .comm _root,8,3 ## @root .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "move" L_.str.1: ## @.str.1 .asciz "init" .no_dead_strip _restore_workspaces .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function restore_workspaces _restore_workspaces: ; @restore_workspaces .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 Lloh0: adrp x24, _root@GOTPAGE Lloh1: ldr x24, [x24, _root@GOTPAGEOFF] ldr x9, [x24] ldr x8, [x9, #8] ldr w10, [x8] tbnz w10, #31, LBB0_11 ; %bb.1: mov x25, #0 ; =0x0 Lloh2: adrp x20, l_.str@PAGE Lloh3: add x20, x20, l_.str@PAGEOFF Lloh4: adrp x21, l_.str.1@PAGE Lloh5: add x21, x21, l_.str.1@PAGEOFF b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 cbz w9, LBB0_10 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 sub x25, x25, #1 ldr x9, [x24] ldr x8, [x9, #8] ldrsw x10, [x8] cmp x25, x10 b.gt LBB0_11 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ldr x8, [x8, #8] ldr x22, [x8, x25, lsl #3] cmp x22, x19 b.eq LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x22, #40] ldr w9, [x8] cmp w9, #1 b.lt LBB0_2 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 mov w26, #0 ; =0x0 b LBB0_8 LBB0_7: ; in Loop: Header=BB0_8 Depth=2 add w26, w26, #1 ldr x8, [x22, #40] ldr w9, [x8] cmp w26, w9 b.ge LBB0_2 LBB0_8: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x8, #8] ldr x23, [x8, w26, sxtw #3] mov x0, x23 mov x1, #0 ; =0x0 bl _workspace_output_get_highest_available cmp x0, x19 b.ne LBB0_7 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 mov x0, x23 bl _workspace_detach mov x0, x19 mov x1, x23 bl _output_add_workspace mov x0, #0 ; =0x0 mov x1, x23 mov x2, x20 bl _ipc_event_workspace sub w26, w26, #1 b LBB0_7 LBB0_10: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x22, #32] ldr w0, [x8] bl _workspace_next_name mov x23, x0 mov x0, x22 mov x1, x23 bl _workspace_create mov x22, x0 mov x0, x23 bl _free mov x0, #0 ; =0x0 mov x1, x22 mov x2, x21 bl _ipc_event_workspace b LBB0_3 LBB0_11: ldr x8, [x9] ldr x8, [x8] ldr x9, [x8, #8] cbz x9, LBB0_24 ; %bb.12: Lloh6: adrp x20, l_.str@PAGE Lloh7: add x20, x20, l_.str@PAGEOFF b LBB0_14 LBB0_13: ; in Loop: Header=BB0_14 Depth=1 mov x0, #0 ; =0x0 mov x1, x21 mov x2, x20 bl _ipc_event_workspace ldr x8, [x24] ldr x8, [x8] ldr x8, [x8] ldr x9, [x8, #8] cbz x9, LBB0_24 LBB0_14: ; =>This Loop Header: Depth=1 ; Child Loop BB0_16 Depth 2 ldr x8, [x8] ldr x21, [x8] mov x0, x21 bl _workspace_detach mov x0, x19 mov x1, x21 bl _output_add_workspace ldr x8, [x21] ldr w9, [x8] cmp w9, #1 b.lt LBB0_13 ; %bb.15: ; in Loop: Header=BB0_14 Depth=1 mov x22, #0 ; =0x0 LBB0_16: ; Parent Loop BB0_14 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x10, [x8, #8] ldr x0, [x10, x22, lsl #3] ldr x10, [x0] cbnz x10, LBB0_18 ; %bb.17: ; in Loop: Header=BB0_16 Depth=2 ldr x11, [x0, #8] cbz x11, LBB0_22 LBB0_18: ; in Loop: Header=BB0_16 Depth=2 ldr x13, [x19] cmp x10, x13 b.gt LBB0_22 ; %bb.19: ; in Loop: Header=BB0_16 Depth=2 ldr x11, [x0, #8] ldr x12, [x19, #8] cmp x11, x12 b.gt LBB0_22 ; %bb.20: ; in Loop: Header=BB0_16 Depth=2 ldr x15, [x0, #16] ldr x14, [x19, #16] add x13, x14, x13 cmp x15, x13 b.gt LBB0_22 ; %bb.21: ; in Loop: Header=BB0_16 Depth=2 ldr x13, [x0, #24] ldr x16, [x19, #24] add x10, x15, x10 add x11, x13, x11 add x12, x16, x12 cmp x13, x12 ccmp x10, x14, #8, le ccmp x11, x16, #8, ge b.ge LBB0_23 LBB0_22: ; in Loop: Header=BB0_16 Depth=2 bl _container_floating_resize_and_center ldr x8, [x21] ldr w9, [x8] LBB0_23: ; in Loop: Header=BB0_16 Depth=2 add x22, x22, #1 cmp x22, w9, sxtw b.lt LBB0_16 b LBB0_13 LBB0_24: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _output_sort_workspaces .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _root,8,3 ; @root .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "move" l_.str.1: ; @.str.1 .asciz "init" .no_dead_strip _restore_workspaces .subsections_via_symbols
assembly_file_76138.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _media_devnode_remove ## -- Begin function media_devnode_remove .p2align 4, 0x90 _media_devnode_remove: ## @media_devnode_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _media_remove_intf_links movq %rbx, %rdi callq _media_gobj_destroy movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _kfree ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _media_devnode_remove ; -- Begin function media_devnode_remove .p2align 2 _media_devnode_remove: ; @media_devnode_remove .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _media_remove_intf_links mov x0, x19 bl _media_gobj_destroy mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _kfree .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/media/mc/extr_mc-entity.c_media_devnode_remove.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipu_dc_put ## -- Begin function ipu_dc_put .p2align 4, 0x90 _ipu_dc_put: ## @ipu_dc_put .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx movq 8(%rdi), %r14 movq %r14, %rdi callq _mutex_lock movl $0, (%rbx) movq %r14, %rdi popq %rbx popq %r14 popq %rbp jmp _mutex_unlock ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ipu_dc_put ; -- Begin function ipu_dc_put .p2align 2 _ipu_dc_put: ; @ipu_dc_put .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x20, [x0, #8] mov x0, x20 bl _mutex_lock str wzr, [x19] mov x0, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _mutex_unlock .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/gpu/ipu-v3/extr_ipu-dc.c_ipu_dc_put.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _strcat_to_buf ## -- Begin function strcat_to_buf .p2align 4, 0x90 _strcat_to_buf: ## @strcat_to_buf .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rax orq %rdx, %rax je LBB0_3 ## %bb.1: movq %rdx, %rbx movl %esi, %r14d movq %rdi, %r15 callq _strlen movl %eax, %r12d movq %rbx, %rdi callq _strlen subl %eax, %r12d cmpl %r14d, %r12d jle LBB0_4 ## %bb.2: movq %r15, %rdi callq _strlen subl %eax, %r14d movq %r15, %rdi movq %rbx, %rsi movl %r14d, %edx popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _strncat ## TAILCALL LBB0_3: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_4: movq %r15, %rdi movq %rbx, %rsi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _strcat ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _strcat_to_buf ; -- Begin function strcat_to_buf .p2align 2 _strcat_to_buf: ; @strcat_to_buf .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 orr x8, x0, x2 cbz x8, LBB0_3 ; %bb.1: mov x19, x2 mov x21, x1 mov x20, x0 bl _strlen mov x22, x0 mov x0, x19 bl _strlen sub w8, w22, w0 cmp w8, w21 b.le LBB0_4 ; %bb.2: mov x0, x20 bl _strlen sub w2, w21, w0 mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _strncat LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_4: mov x0, x20 mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _strcat .cfi_endproc ; -- End function .subsections_via_symbols
assembly_file_83033.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _imx_scu_irq_register_notifier ## -- Begin function imx_scu_irq_register_notifier .p2align 4, 0x90 _imx_scu_irq_register_notifier: ## @imx_scu_irq_register_notifier .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, %rsi movq _imx_scu_irq_notifier_chain@GOTPCREL(%rip), %rdi popq %rbp jmp _atomic_notifier_chain_register ## TAILCALL .cfi_endproc ## -- End function .comm _imx_scu_irq_notifier_chain,4,2 ## @imx_scu_irq_notifier_chain .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _imx_scu_irq_register_notifier ; -- Begin function imx_scu_irq_register_notifier .p2align 2 _imx_scu_irq_register_notifier: ; @imx_scu_irq_register_notifier .cfi_startproc ; %bb.0: mov x1, x0 Lloh0: adrp x0, _imx_scu_irq_notifier_chain@GOTPAGE Lloh1: ldr x0, [x0, _imx_scu_irq_notifier_chain@GOTPAGEOFF] b _atomic_notifier_chain_register .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _imx_scu_irq_notifier_chain,4,2 ; @imx_scu_irq_notifier_chain .subsections_via_symbols
AnghaBench/linux/drivers/firmware/imx/extr_imx-scu-irq.c_imx_scu_irq_register_notifier.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function svc_get_next_xprt _svc_get_next_xprt: ## @svc_get_next_xprt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %rbx movq (%rdi), %rdi movq 16(%rbx), %r14 callq _WARN_ON_ONCE movq %r14, %rdi callq _svc_xprt_dequeue movq %rax, (%rbx) testq %rax, %rax jne LBB0_12 ## %bb.1: movq _TASK_INTERRUPTIBLE@GOTPCREL(%rip), %rax movl (%rax), %edi callq _set_current_state xorl %eax, %eax callq _smp_mb__before_atomic movq _SP_CONGESTED@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi callq _clear_bit movq _RQ_BUSY@GOTPCREL(%rip), %r13 movl (%r13), %edi leaq 12(%rbx), %r12 movq %r12, %rsi callq _clear_bit xorl %eax, %eax callq _smp_mb__after_atomic movq %rbx, %rdi callq _rqst_should_sleep movl %eax, %edi callq _likely testq %rax, %rax je LBB0_3 ## %bb.2: movq %r15, %rdi callq _schedule_timeout movq %rax, %r15 jmp LBB0_4 LBB0_3: movq _TASK_RUNNING@GOTPCREL(%rip), %rax movl (%rax), %edi callq ___set_current_state xorl %r15d, %r15d LBB0_4: xorl %eax, %eax callq _try_to_freeze movl (%r13), %edi movq %r12, %rsi callq _set_bit xorl %eax, %eax callq _smp_mb__after_atomic movq %r14, %rdi callq _svc_xprt_dequeue movq %rax, (%rbx) testq %rax, %rax je LBB0_5 LBB0_12: movq _SP_CONGESTED@GOTPCREL(%rip), %rax movl (%rax), %edi movq %r14, %rsi callq _test_bit testl %eax, %eax movq _HZ@GOTPCREL(%rip), %rax movl (%rax), %eax leal (%rax,%rax,4), %ecx cmovnel %eax, %ecx movl %ecx, 8(%rbx) movq %rbx, %rdi callq _trace_svc_xprt_dequeue movq (%rbx), %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: testq %r15, %r15 jne LBB0_7 ## %bb.6: addq $4, %r14 movq %r14, %rdi callq _atomic_long_inc LBB0_7: xorl %ebx, %ebx xorl %eax, %eax callq _signalled testq %rax, %rax jne LBB0_9 ## %bb.8: xorl %r14d, %r14d xorl %eax, %eax callq _kthread_should_stop testq %rax, %rax je LBB0_11 LBB0_9: movq _EINTR@GOTPCREL(%rip), %rax subl (%rax), %ebx movl %ebx, %edi LBB0_10: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _ERR_PTR ## TAILCALL LBB0_11: movq _EAGAIN@GOTPCREL(%rip), %rax subl (%rax), %r14d movl %r14d, %edi jmp LBB0_10 .cfi_endproc ## -- End function .comm _TASK_INTERRUPTIBLE,4,2 ## @TASK_INTERRUPTIBLE .comm _SP_CONGESTED,4,2 ## @SP_CONGESTED .comm _RQ_BUSY,4,2 ## @RQ_BUSY .comm _TASK_RUNNING,4,2 ## @TASK_RUNNING .comm _EINTR,4,2 ## @EINTR .comm _EAGAIN,4,2 ## @EAGAIN .comm _HZ,4,2 ## @HZ .no_dead_strip _svc_get_next_xprt .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function svc_get_next_xprt _svc_get_next_xprt: ; @svc_get_next_xprt .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x21, x1 mov x19, x0 ldr x20, [x0, #16] ldr x0, [x0] bl _WARN_ON_ONCE mov x0, x20 bl _svc_xprt_dequeue str x0, [x19] Lloh0: adrp x23, _SP_CONGESTED@GOTPAGE Lloh1: ldr x23, [x23, _SP_CONGESTED@GOTPAGEOFF] cbnz x0, LBB0_5 ; %bb.1: Lloh2: adrp x8, _TASK_INTERRUPTIBLE@GOTPAGE Lloh3: ldr x8, [x8, _TASK_INTERRUPTIBLE@GOTPAGEOFF] Lloh4: ldr w0, [x8] bl _set_current_state bl _smp_mb__before_atomic ldr w0, [x23] mov x1, x20 bl _clear_bit Lloh5: adrp x24, _RQ_BUSY@GOTPAGE Lloh6: ldr x24, [x24, _RQ_BUSY@GOTPAGEOFF] ldr w0, [x24] add x22, x19, #12 mov x1, x22 bl _clear_bit bl _smp_mb__after_atomic mov x0, x19 bl _rqst_should_sleep bl _likely cbz x0, LBB0_3 ; %bb.2: mov x0, x21 bl _schedule_timeout mov x21, x0 b LBB0_4 LBB0_3: Lloh7: adrp x8, _TASK_RUNNING@GOTPAGE Lloh8: ldr x8, [x8, _TASK_RUNNING@GOTPAGEOFF] Lloh9: ldr w0, [x8] bl ___set_current_state mov x21, #0 LBB0_4: bl _try_to_freeze ldr w0, [x24] mov x1, x22 bl _set_bit bl _smp_mb__after_atomic mov x0, x20 bl _svc_xprt_dequeue str x0, [x19] cbz x0, LBB0_6 LBB0_5: ldr w0, [x23] mov x1, x20 bl _test_bit Lloh10: adrp x8, _HZ@GOTPAGE Lloh11: ldr x8, [x8, _HZ@GOTPAGEOFF] Lloh12: ldr w8, [x8] add w9, w8, w8, lsl #2 cmp w0, #0 csel w8, w9, w8, eq str w8, [x19, #8] mov x0, x19 bl _trace_svc_xprt_dequeue ldr x0, [x19] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_6: cbz x21, LBB0_8 ; %bb.7: bl _signalled cbnz x0, LBB0_10 b LBB0_9 LBB0_8: add x0, x20, #4 bl _atomic_long_inc bl _signalled cbnz x0, LBB0_10 LBB0_9: bl _kthread_should_stop cbz x0, LBB0_12 LBB0_10: Lloh13: adrp x8, _EINTR@GOTPAGE Lloh14: ldr x8, [x8, _EINTR@GOTPAGEOFF] LBB0_11: ldr w8, [x8] neg w0, w8 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _ERR_PTR LBB0_12: Lloh15: adrp x8, _EAGAIN@GOTPAGE Lloh16: ldr x8, [x8, _EAGAIN@GOTPAGEOFF] b LBB0_11 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh7, Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpLdrGot Lloh15, Lloh16 .cfi_endproc ; -- End function .comm _TASK_INTERRUPTIBLE,4,2 ; @TASK_INTERRUPTIBLE .comm _SP_CONGESTED,4,2 ; @SP_CONGESTED .comm _RQ_BUSY,4,2 ; @RQ_BUSY .comm _TASK_RUNNING,4,2 ; @TASK_RUNNING .comm _EINTR,4,2 ; @EINTR .comm _EAGAIN,4,2 ; @EAGAIN .comm _HZ,4,2 ; @HZ .no_dead_strip _svc_get_next_xprt .subsections_via_symbols
AnghaBench/linux/net/sunrpc/extr_svc_xprt.c_svc_get_next_xprt.c
anghabench
.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 0x402921fb60000000 ## double 12.566370964050293 LCPI0_1: .quad 0x4010c15240000000 ## double 4.1887903213500977 .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 $16, %rsp leaq L_str(%rip), %rdi callq _puts leaq L_.str.1(%rip), %rdi leaq -8(%rbp), %rsi xorl %eax, %eax callq _scanf movss -8(%rbp), %xmm0 ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 movsd LCPI0_0(%rip), %xmm1 ## xmm1 = mem[0],zero mulsd %xmm0, %xmm1 mulsd %xmm0, %xmm1 cvtsd2ss %xmm1, %xmm1 movsd LCPI0_1(%rip), %xmm2 ## xmm2 = mem[0],zero mulsd %xmm0, %xmm2 mulsd %xmm0, %xmm2 mulsd %xmm0, %xmm2 xorps %xmm0, %xmm0 cvtsd2ss %xmm2, %xmm0 movss %xmm0, -4(%rbp) ## 4-byte Spill xorps %xmm0, %xmm0 cvtss2sd %xmm1, %xmm0 leaq L_.str.2(%rip), %rdi movb $1, %al callq _printf movss -4(%rbp), %xmm0 ## 4-byte Reload ## xmm0 = mem[0],zero,zero,zero cvtss2sd %xmm0, %xmm0 leaq L_.str.3(%rip), %rdi movb $1, %al callq _printf xorl %eax, %eax addq $16, %rsp popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const .globl _pi ## @pi .p2align 2 _pi: .long 0x40490fdb ## float 3.14159274 .section __TEXT,__cstring,cstring_literals L_.str.1: ## @.str.1 .asciz "%f" L_.str.2: ## @.str.2 .asciz "La surface de la sphere est de %f \n" L_.str.3: ## @.str.3 .asciz "Le volume de la sphere est de %f \n" L_str: ## @str .asciz "Donnez le rayon de la sphere " .subsections_via_symbols
.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 d9, d8, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset b8, -24 .cfi_offset b9, -32 Lloh0: adrp x0, l_str@PAGE Lloh1: add x0, x0, l_str@PAGEOFF bl _puts add x8, sp, #12 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldr s0, [sp, #12] fcvt d0, s0 mov x8, #1610612736 movk x8, #8699, lsl #32 movk x8, #16425, lsl #48 fmov d1, x8 fmul d1, d0, d1 fmul d1, d1, d0 fcvt s1, d1 mov x8, #1073741824 movk x8, #49490, lsl #32 movk x8, #16400, lsl #48 fmov d2, x8 fmul d2, d0, d2 fmul d2, d2, d0 fmul d0, d2, d0 fcvt s8, d0 fcvt d0, s1 str d0, [sp] Lloh4: adrp x0, l_.str.2@PAGE Lloh5: add x0, x0, l_.str.2@PAGEOFF bl _printf fcvt d0, s8 str d0, [sp] Lloh6: adrp x0, l_.str.3@PAGE Lloh7: add x0, x0, l_.str.3@PAGEOFF bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp d9, d8, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__const .globl _pi ; @pi .p2align 2 _pi: .long 0x40490fdb ; float 3.14159274 .section __TEXT,__cstring,cstring_literals l_.str.1: ; @.str.1 .asciz "%f" l_.str.2: ; @.str.2 .asciz "La surface de la sphere est de %f \n" l_.str.3: ; @.str.3 .asciz "Le volume de la sphere est de %f \n" l_str: ; @str .asciz "Donnez le rayon de la sphere " .subsections_via_symbols
the_stack_data/153267064.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function philips_tda827x_tuner_sleep _philips_tda827x_tuner_sleep: ## @philips_tda827x_tuner_sleep .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq (%rdi), %rax movq 8(%rdi), %rcx movq (%rcx), %r14 movq (%rax), %rax movl (%rax), %ebx cmpl $1, %ebx je LBB0_1 ## %bb.2: cmpl $2, %ebx jne LBB0_5 ## %bb.3: xorl %ebx, %ebx leaq L_.str.1(%rip), %rdi jmp LBB0_4 LBB0_1: leaq L_.str(%rip), %rdi LBB0_4: callq _dprintk movq %r14, %rdi movl $21, %esi movl %ebx, %edx callq _saa7134_set_gpio LBB0_5: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "setting GPIO21 to 1 (Radio antenna?)\n" L_.str.1: ## @.str.1 .asciz "setting GPIO21 to 0 (TV antenna?)\n" .no_dead_strip _philips_tda827x_tuner_sleep .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function philips_tda827x_tuner_sleep _philips_tda827x_tuner_sleep: ; @philips_tda827x_tuner_sleep .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 ldp x9, x8, [x0] ldr x19, [x8] ldr x8, [x9] ldr w20, [x8] cmp w20, #1 b.eq LBB0_3 ; %bb.1: cmp w20, #2 b.ne LBB0_5 ; %bb.2: mov w20, #0 Lloh0: adrp x0, l_.str.1@PAGE Lloh1: add x0, x0, l_.str.1@PAGEOFF b LBB0_4 LBB0_3: Lloh2: adrp x0, l_.str@PAGE Lloh3: add x0, x0, l_.str@PAGEOFF LBB0_4: bl _dprintk mov x0, x19 mov w1, #21 mov x2, x20 bl _saa7134_set_gpio LBB0_5: mov w0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "setting GPIO21 to 1 (Radio antenna?)\n" l_.str.1: ; @.str.1 .asciz "setting GPIO21 to 0 (TV antenna?)\n" .no_dead_strip _philips_tda827x_tuner_sleep .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/saa7134/extr_saa7134-dvb.c_philips_tda827x_tuner_sleep.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function lpf_count_to_ns _lpf_count_to_ns: ## @lpf_count_to_ns .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp imull $1000, %edi, %edi ## imm = 0x3E8 movq _CX23888_IR_REFCLK_FREQ@GOTPCREL(%rip), %rax movslq (%rax), %rax imulq $1125899907, %rax, %rsi ## imm = 0x431BDE83 movq %rsi, %rax shrq $63, %rax sarq $50, %rsi addl %eax, %esi ## kill: def $esi killed $esi killed $rsi popq %rbp jmp _DIV_ROUND_CLOSEST ## TAILCALL .cfi_endproc ## -- End function .comm _CX23888_IR_REFCLK_FREQ,4,2 ## @CX23888_IR_REFCLK_FREQ .no_dead_strip _lpf_count_to_ns .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function lpf_count_to_ns _lpf_count_to_ns: ; @lpf_count_to_ns .cfi_startproc ; %bb.0: mov w8, #1000 mul w0, w0, w8 Lloh0: adrp x8, _CX23888_IR_REFCLK_FREQ@GOTPAGE Lloh1: ldr x8, [x8, _CX23888_IR_REFCLK_FREQ@GOTPAGEOFF] Lloh2: ldrsw x8, [x8] mov w9, #56963 movk w9, #17179, lsl #16 mul x8, x8, x9 lsr x9, x8, #63 asr x8, x8, #50 add w1, w8, w9 b _DIV_ROUND_CLOSEST .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CX23888_IR_REFCLK_FREQ,4,2 ; @CX23888_IR_REFCLK_FREQ .no_dead_strip _lpf_count_to_ns .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/media/video/cx23885/extr_cx23888-ir.c_lpf_count_to_ns.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_reg2 ## -- Begin function get_reg2 .p2align 4, 0x90 _get_reg2: ## @get_reg2 .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _HOST_REGS@GOTPCREL(%rip), %rax movl (%rax), %r9d movb $-1, %r8b testl %r9d, %r9d jle LBB0_7 ## %bb.1: movq _EXCLUDE_REG@GOTPCREL(%rip), %rax movl (%rax), %r10d xorl %eax, %eax jmp LBB0_2 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 incq %rax cmpq %rax, %r9 je LBB0_7 LBB0_2: ## =>This Inner Loop Header: Depth=1 cmpq %rax, %r10 je LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movsbl (%rdi,%rax), %ecx cmpl %edx, %ecx jne LBB0_6 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 movsbl (%rsi,%rax), %ecx cmpl %edx, %ecx jne LBB0_6 ## %bb.5: movl %eax, %r8d LBB0_7: movsbl %r8b, %eax popq %rbp retq .cfi_endproc ## -- End function .comm _HOST_REGS,4,2 ## @HOST_REGS .comm _EXCLUDE_REG,4,2 ## @EXCLUDE_REG .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _get_reg2 ; -- Begin function get_reg2 .p2align 2 _get_reg2: ; @get_reg2 .cfi_startproc ; %bb.0: Lloh0: adrp x8, _HOST_REGS@GOTPAGE Lloh1: ldr x8, [x8, _HOST_REGS@GOTPAGEOFF] Lloh2: ldr w9, [x8] cmp w9, #1 b.lt LBB0_7 ; %bb.1: mov x8, #0 Lloh3: adrp x10, _EXCLUDE_REG@GOTPAGE Lloh4: ldr x10, [x10, _EXCLUDE_REG@GOTPAGEOFF] Lloh5: ldr w10, [x10] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 add x8, x8, #1 cmp x9, x8 b.eq LBB0_7 LBB0_3: ; =>This Inner Loop Header: Depth=1 cmp x10, x8 b.eq LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldrsb w11, [x0, x8] cmp w11, w2 b.ne LBB0_2 ; %bb.5: ; in Loop: Header=BB0_3 Depth=1 ldrsb w11, [x1, x8] cmp w11, w2 b.ne LBB0_2 ; %bb.6: sxtb w0, w8 ret LBB0_7: mov w8, #255 sxtb w0, w8 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _HOST_REGS,4,2 ; @HOST_REGS .comm _EXCLUDE_REG,4,2 ; @EXCLUDE_REG .subsections_via_symbols
AnghaBench/Provenance/Cores/Yabause/yabause/src/sh2_dynarec/extr_sh2_dynarec.c_get_reg2.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _f2fs_sanity_check_ckpt ## -- Begin function f2fs_sanity_check_ckpt .p2align 4, 0x90 _f2fs_sanity_check_ckpt: ## @f2fs_sanity_check_ckpt .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx callq _F2FS_RAW_SUPER movq %rax, %r14 movq %rbx, -56(%rbp) ## 8-byte Spill movq %rbx, %rdi callq _F2FS_CKPT movq %rax, %rbx movl 24(%r14), %edi callq _le32_to_cpu movl %eax, -44(%rbp) ## 4-byte Spill movl 20(%r14), %edi callq _le32_to_cpu movl %eax, %r12d movl 16(%r14), %edi callq _le32_to_cpu movl %eax, %r13d addl %eax, %r12d movl 12(%r14), %edi callq _le32_to_cpu movl %eax, %r15d movq %rbx, -88(%rbp) ## 8-byte Spill movl 60(%rbx), %edi callq _le32_to_cpu movl %eax, %ebx addl %r15d, %ebx addl %r12d, %ebx movl 8(%r14), %edi callq _le32_to_cpu movl %eax, %r12d addl %ebx, %r12d xorl %edi, %edi cmpl -44(%rbp), %r12d ## 4-byte Folded Reload setae %dil callq _unlikely movq %rax, %rcx movl $1, %eax testq %rcx, %rcx jne LBB0_59 ## %bb.1: movl %r13d, -72(%rbp) ## 4-byte Spill movl %r15d, -44(%rbp) ## 4-byte Spill movq -88(%rbp), %r15 ## 8-byte Reload movl 64(%r15), %edi callq _le32_to_cpu movl %eax, %ebx movl 60(%r15), %edi callq _le32_to_cpu movq _F2FS_MIN_SEGMENTS@GOTPCREL(%rip), %rcx cmpl (%rcx), %r12d setbe %cl testl %ebx, %ebx sete %dl testl %eax, %eax sete %al orb %dl, %al orb %cl, %al movzbl %al, %edi callq _unlikely testq %rax, %rax je LBB0_3 ## %bb.2: leaq L_.str(%rip), %rsi LBB0_57: movq -56(%rbp), %rdi ## 8-byte Reload xorl %eax, %eax callq _f2fs_err jmp LBB0_58 LBB0_3: movq %r15, %rbx movl 56(%r15), %edi callq _le64_to_cpu movl %eax, %r15d movq %r14, %r13 movl (%r14), %edi callq _le32_to_cpu movl %eax, %r12d movl 4(%r14), %edi callq _le32_to_cpu movl %eax, %ecx shll %cl, %r12d testl %r15d, %r15d je LBB0_5 ## %bb.4: cmpl %r12d, %r15d jae LBB0_5 ## %bb.6: movl %eax, %r12d movq %rbx, %r14 movl 52(%rbx), %edi callq _le64_to_cpu cmpl %r15d, %eax jbe LBB0_8 ## %bb.7: leaq L_.str.2(%rip), %rsi movq -56(%rbp), %rdi ## 8-byte Reload movl %eax, %edx movl %r15d, %ecx jmp LBB0_10 LBB0_5: leaq L_.str.1(%rip), %rsi movq -56(%rbp), %rdi ## 8-byte Reload LBB0_50: movl %r15d, %edx xorl %eax, %eax callq _f2fs_err jmp LBB0_58 LBB0_8: movl 48(%r14), %edi callq _le32_to_cpu movq -56(%rbp), %rbx ## 8-byte Reload movl (%rbx), %ecx movq _F2FS_RESERVED_NODE_NUM@GOTPCREL(%rip), %rdx subl (%rdx), %ecx cmpl %ecx, %eax jbe LBB0_11 ## %bb.9: leaq L_.str.3(%rip), %rsi movq %rbx, %rdi movl %eax, %edx LBB0_10: xorl %eax, %eax callq _f2fs_err LBB0_58: movl $1, %eax LBB0_59: addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_11: movl %r12d, -68(%rbp) ## 4-byte Spill movl (%r13), %edi callq _le32_to_cpu movl %eax, %r15d movl 4(%rbx), %eax movl %eax, -64(%rbp) ## 4-byte Spill movq _NR_CURSEG_NODE_TYPE@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax jle LBB0_21 ## %bb.12: movq $-1, %r12 xorl %r13d, %r13d movl %r15d, -60(%rbp) ## 4-byte Spill jmp LBB0_13 LBB0_30: ## in Loop: Header=BB0_13 Depth=1 incq %r13 incq %r12 cmpq %rcx, %r13 movl -60(%rbp), %r15d ## 4-byte Reload jge LBB0_21 LBB0_13: ## =>This Loop Header: Depth=1 ## Child Loop BB0_17 Depth 2 movq 16(%r14), %rax movl (%rax,%r13,4), %edi callq _le32_to_cpu cmpl %r15d, %eax jae LBB0_58 ## %bb.14: ## in Loop: Header=BB0_13 Depth=1 movq 40(%r14), %rax movl (%rax,%r13,4), %edi callq _le16_to_cpu cmpl -64(%rbp), %eax ## 4-byte Folded Reload jae LBB0_58 ## %bb.15: ## in Loop: Header=BB0_13 Depth=1 movq _NR_CURSEG_NODE_TYPE@GOTPCREL(%rip), %rax movl (%rax), %eax movslq %eax, %rcx cmpq %rcx, %r13 jg LBB0_30 ## %bb.16: ## in Loop: Header=BB0_13 Depth=1 movq %r12, %r15 .p2align 4, 0x90 LBB0_17: ## Parent Loop BB0_13 Depth=1 ## => This Inner Loop Header: Depth=2 movq 16(%r14), %rax movl (%rax,%r13,4), %edi callq _le32_to_cpu movl %eax, %ebx movq 16(%r14), %rax movl (%rax,%r15,4), %edi callq _le32_to_cpu cmpl %eax, %ebx je LBB0_18 ## %bb.29: ## in Loop: Header=BB0_17 Depth=2 incq %r15 movq _NR_CURSEG_NODE_TYPE@GOTPCREL(%rip), %rax movl (%rax), %eax movslq %eax, %rcx cmpq %rcx, %r15 jl LBB0_17 jmp LBB0_30 LBB0_18: movq 16(%r14), %rax movl (%rax,%r13,4), %edi callq _le32_to_cpu leaq L_.str.4(%rip), %rsi jmp LBB0_19 LBB0_21: movq _NR_CURSEG_DATA_TYPE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %ecx, %ecx movl -44(%rbp), %ebx ## 4-byte Reload jle LBB0_35 ## %bb.22: movl $1, %r12d xorl %edx, %edx movl %r15d, -60(%rbp) ## 4-byte Spill jmp LBB0_23 LBB0_32: ## in Loop: Header=BB0_23 Depth=1 movslq %ecx, %rax movl -44(%rbp), %ebx ## 4-byte Reload movl -60(%rbp), %r15d ## 4-byte Reload movq -80(%rbp), %rdx ## 8-byte Reload LBB0_33: ## in Loop: Header=BB0_23 Depth=1 incq %r12 cmpq %rax, %rdx jge LBB0_34 LBB0_23: ## =>This Loop Header: Depth=1 ## Child Loop BB0_27 Depth 2 movq %rdx, %r13 movq 24(%r14), %rax movl (%rax,%rdx,4), %edi callq _le32_to_cpu cmpl %r15d, %eax jae LBB0_58 ## %bb.24: ## in Loop: Header=BB0_23 Depth=1 movq 32(%r14), %rax movl (%rax,%r13,4), %edi callq _le16_to_cpu cmpl -64(%rbp), %eax ## 4-byte Folded Reload jae LBB0_58 ## %bb.25: ## in Loop: Header=BB0_23 Depth=1 leaq 1(%r13), %rdx movq _NR_CURSEG_DATA_TYPE@GOTPCREL(%rip), %rax movl (%rax), %ecx movslq %ecx, %rax cmpq %rax, %rdx jge LBB0_33 ## %bb.26: ## in Loop: Header=BB0_23 Depth=1 movq %rdx, -80(%rbp) ## 8-byte Spill movq %r12, %r15 LBB0_27: ## Parent Loop BB0_23 Depth=1 ## => This Inner Loop Header: Depth=2 movq 24(%r14), %rax movl (%rax,%r13,4), %edi callq _le32_to_cpu movl %eax, %ebx movq 24(%r14), %rax movl (%rax,%r15,4), %edi callq _le32_to_cpu cmpl %eax, %ebx je LBB0_28 ## %bb.31: ## in Loop: Header=BB0_27 Depth=2 incq %r15 movq _NR_CURSEG_DATA_TYPE@GOTPCREL(%rip), %rax movl (%rax), %ecx cmpl %r15d, %ecx jg LBB0_27 jmp LBB0_32 LBB0_28: movq 24(%r14), %rax movl (%rax,%r13,4), %edi callq _le32_to_cpu leaq L_.str.5(%rip), %rsi LBB0_19: movq -56(%rbp), %rdi ## 8-byte Reload LBB0_20: movl %r13d, %edx movl %r15d, %ecx movl %eax, %r8d xorl %eax, %eax callq _f2fs_err jmp LBB0_58 LBB0_34: movq _NR_CURSEG_NODE_TYPE@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_35: testl %eax, %eax movq -56(%rbp), %r12 ## 8-byte Reload jle LBB0_44 ## %bb.36: xorl %r13d, %r13d jmp LBB0_37 LBB0_42: ## in Loop: Header=BB0_37 Depth=1 movq _NR_CURSEG_NODE_TYPE@GOTPCREL(%rip), %rax movl (%rax), %eax movl -44(%rbp), %ebx ## 4-byte Reload LBB0_43: ## in Loop: Header=BB0_37 Depth=1 incq %r13 movslq %eax, %rdx cmpq %rdx, %r13 jge LBB0_44 LBB0_37: ## =>This Loop Header: Depth=1 ## Child Loop BB0_39 Depth 2 testl %ecx, %ecx jle LBB0_43 ## %bb.38: ## in Loop: Header=BB0_37 Depth=1 xorl %r15d, %r15d LBB0_39: ## Parent Loop BB0_37 Depth=1 ## => This Inner Loop Header: Depth=2 movq 16(%r14), %rax movl (%rax,%r13,4), %edi callq _le32_to_cpu movl %eax, %ebx movq 24(%r14), %rax movl (%rax,%r15,4), %edi callq _le32_to_cpu cmpl %eax, %ebx je LBB0_40 ## %bb.41: ## in Loop: Header=BB0_39 Depth=2 incq %r15 movq _NR_CURSEG_DATA_TYPE@GOTPCREL(%rip), %rax movslq (%rax), %rcx cmpq %rcx, %r15 jl LBB0_39 jmp LBB0_42 LBB0_40: movq 16(%r14), %rax movl (%rax,%r13,4), %edi callq _le32_to_cpu leaq L_.str.6(%rip), %rsi movq %r12, %rdi jmp LBB0_20 LBB0_44: movl 8(%r14), %edi callq _le32_to_cpu movl %eax, %r15d movl 4(%r14), %edi callq _le32_to_cpu movl -72(%rbp), %edx ## 4-byte Reload shrl %edx movl -68(%rbp), %ecx ## 4-byte Reload shll %cl, %edx shrl $3, %edx cmpl %edx, %r15d jne LBB0_46 ## %bb.45: shrl %ebx ## kill: def $cl killed $cl killed $ecx shll %cl, %ebx shrl $3, %ebx cmpl %ebx, %eax jne LBB0_46 ## %bb.47: movq %r12, %rdi callq ___start_sum_addr movl %eax, %r15d movq %r12, %rdi callq ___cp_payload incl %eax cmpl %eax, %r15d jb LBB0_49 ## %bb.48: movq _NR_CURSEG_TYPE@GOTPCREL(%rip), %rax movl (%rax), %eax notl %eax movl -64(%rbp), %ecx ## 4-byte Reload addl %eax, %ecx cmpl %ecx, %r15d jbe LBB0_51 LBB0_49: leaq L_.str.8(%rip), %rsi movq %r12, %rdi jmp LBB0_50 LBB0_46: leaq L_.str.7(%rip), %rsi movq %r12, %rdi movl %r15d, %edx movl %eax, %ecx jmp LBB0_10 LBB0_51: movq _CP_LARGE_NAT_BITMAP_FLAG@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq ___is_set_ckpt_flags testq %rax, %rax je LBB0_54 ## %bb.52: movl (%r14), %edi callq _le32_to_cpu movq _CP_MIN_CHKSUM_OFFSET@GOTPCREL(%rip), %rcx cmpl (%rcx), %eax jne LBB0_53 LBB0_54: movq %r12, %rdi callq _f2fs_cp_error movl %eax, %edi callq _unlikely testq %rax, %rax je LBB0_55 ## %bb.56: leaq L_.str.10(%rip), %rsi jmp LBB0_57 LBB0_53: movl (%r14), %edi callq _le32_to_cpu leaq L_.str.9(%rip), %rsi movq %r12, %rdi movl %eax, %edx callq _f2fs_warn jmp LBB0_58 LBB0_55: xorl %eax, %eax jmp LBB0_59 .cfi_endproc ## -- End function .comm _F2FS_MIN_SEGMENTS,4,2 ## @F2FS_MIN_SEGMENTS .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Wrong layout: check mkfs.f2fs version" L_.str.1: ## @.str.1 .asciz "Wrong user_block_count: %u" L_.str.2: ## @.str.2 .asciz "Wrong valid_user_blocks: %u, user_block_count: %u" .comm _F2FS_RESERVED_NODE_NUM,4,2 ## @F2FS_RESERVED_NODE_NUM L_.str.3: ## @.str.3 .asciz "Wrong valid_node_count: %u, avail_node_count: %u" .comm _NR_CURSEG_NODE_TYPE,4,2 ## @NR_CURSEG_NODE_TYPE L_.str.4: ## @.str.4 .asciz "Node segment (%u, %u) has the same segno: %u" .comm _NR_CURSEG_DATA_TYPE,4,2 ## @NR_CURSEG_DATA_TYPE L_.str.5: ## @.str.5 .asciz "Data segment (%u, %u) has the same segno: %u" L_.str.6: ## @.str.6 .asciz "Node segment (%u) and Data segment (%u) has the same segno: %u" L_.str.7: ## @.str.7 .asciz "Wrong bitmap size: sit: %u, nat:%u" .comm _NR_CURSEG_TYPE,4,2 ## @NR_CURSEG_TYPE L_.str.8: ## @.str.8 .asciz "Wrong cp_pack_start_sum: %u" .comm _CP_LARGE_NAT_BITMAP_FLAG,4,2 ## @CP_LARGE_NAT_BITMAP_FLAG .comm _CP_MIN_CHKSUM_OFFSET,4,2 ## @CP_MIN_CHKSUM_OFFSET L_.str.9: ## @.str.9 .asciz "using deprecated layout of large_nat_bitmap, please run fsck v1.13.0 or higher to repair, chksum_offset: %u, fixed with patch: \"f2fs-tools: relocate chksum_offset for large_nat_bitmap feature\"" L_.str.10: ## @.str.10 .asciz "A bug case: need to run fsck" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _f2fs_sanity_check_ckpt ; -- Begin function f2fs_sanity_check_ckpt .p2align 2 _f2fs_sanity_check_ckpt: ; @f2fs_sanity_check_ckpt .cfi_startproc ; %bb.0: sub sp, sp, #144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 bl _F2FS_RAW_SUPER mov x23, x0 mov x0, x19 bl _F2FS_CKPT mov x20, x0 ldr w0, [x23, #24] bl _le32_to_cpu mov x24, x0 ldr w0, [x23, #20] bl _le32_to_cpu mov x22, x0 ldr w0, [x23, #16] bl _le32_to_cpu mov x21, x0 add w25, w0, w22 ldr w0, [x23, #12] bl _le32_to_cpu mov x22, x0 ldr w0, [x20, #60] bl _le32_to_cpu add w8, w22, w0 add w25, w25, w8 ldr w0, [x23, #8] bl _le32_to_cpu add w25, w25, w0 cmp w25, w24 cset w0, hs bl _unlikely cbnz x0, LBB0_9 ; %bb.1: ldr w0, [x20, #64] bl _le32_to_cpu mov x24, x0 ldr w0, [x20, #60] bl _le32_to_cpu Lloh0: adrp x8, _F2FS_MIN_SEGMENTS@GOTPAGE Lloh1: ldr x8, [x8, _F2FS_MIN_SEGMENTS@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w24, #0 ccmp w0, #0, #4, ne ccmp w25, w8, #0, ne cset w0, ls bl _unlikely cbz x0, LBB0_3 ; %bb.2: Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF b LBB0_8 LBB0_3: ldr w0, [x20, #56] bl _le64_to_cpu mov x24, x0 ldr w0, [x23] bl _le32_to_cpu mov x25, x0 ldr w0, [x23, #4] bl _le32_to_cpu cbz w24, LBB0_7 ; %bb.4: lsl w8, w25, w0 cmp w24, w8 b.hs LBB0_7 ; %bb.5: str w0, [sp, #44] ; 4-byte Folded Spill ldr w0, [x20, #52] bl _le64_to_cpu ; kill: def $w0 killed $w0 def $x0 cmp w0, w24 b.ls LBB0_11 ; %bb.6: ; kill: def $w24 killed $w24 killed $x24 def $x24 stp x0, x24, [sp] Lloh5: adrp x1, l_.str.2@PAGE Lloh6: add x1, x1, l_.str.2@PAGEOFF b LBB0_8 LBB0_7: str x24, [sp] Lloh7: adrp x1, l_.str.1@PAGE Lloh8: add x1, x1, l_.str.1@PAGEOFF LBB0_8: mov x0, x19 bl _f2fs_err LBB0_9: mov w0, #1 ; =0x1 LBB0_10: ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret LBB0_11: ldr w0, [x20, #48] bl _le32_to_cpu ; kill: def $w0 killed $w0 def $x0 ldr w8, [x19] Lloh9: adrp x9, _F2FS_RESERVED_NODE_NUM@GOTPAGE Lloh10: ldr x9, [x9, _F2FS_RESERVED_NODE_NUM@GOTPAGEOFF] Lloh11: ldr w9, [x9] sub w8, w8, w9 cmp w0, w8 b.ls LBB0_13 ; %bb.12: stp x0, x8, [sp] Lloh12: adrp x1, l_.str.3@PAGE Lloh13: add x1, x1, l_.str.3@PAGEOFF b LBB0_8 LBB0_13: ldr w0, [x23] bl _le32_to_cpu mov x25, x0 ldr w24, [x19, #4] Lloh14: adrp x27, _NR_CURSEG_NODE_TYPE@GOTPAGE Lloh15: ldr x27, [x27, _NR_CURSEG_NODE_TYPE@GOTPAGEOFF] ldr w8, [x27] cmp w8, #1 str w24, [sp, #40] ; 4-byte Folded Spill b.lt LBB0_24 ; %bb.14: mov x28, #0 ; =0x0 mov x26, #-1 ; =0xffffffffffffffff b LBB0_17 LBB0_15: ; in Loop: Header=BB0_17 Depth=1 ; kill: def $w8 killed $w8 killed $x8 def $x8 ldr w24, [sp, #40] ; 4-byte Folded Reload LBB0_16: ; in Loop: Header=BB0_17 Depth=1 add x28, x28, #1 add x26, x26, #1 cmp x28, x9 b.ge LBB0_24 LBB0_17: ; =>This Loop Header: Depth=1 ; Child Loop BB0_21 Depth 2 ldr x8, [x20, #16] ldr w0, [x8, x28, lsl #2] bl _le32_to_cpu cmp w0, w25 b.hs LBB0_9 ; %bb.18: ; in Loop: Header=BB0_17 Depth=1 ldr x8, [x20, #40] ldr w0, [x8, x28, lsl #2] bl _le16_to_cpu cmp w0, w24 b.hs LBB0_9 ; %bb.19: ; in Loop: Header=BB0_17 Depth=1 ldr w8, [x27] sxtw x9, w8 cmp x28, x9 b.gt LBB0_16 ; %bb.20: ; in Loop: Header=BB0_17 Depth=1 mov x23, x26 LBB0_21: ; Parent Loop BB0_17 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x20, #16] ldr w0, [x8, x28, lsl #2] bl _le32_to_cpu mov x24, x0 ldr x8, [x20, #16] ldr w0, [x8, x23, lsl #2] bl _le32_to_cpu cmp w24, w0 b.eq LBB0_23 ; %bb.22: ; in Loop: Header=BB0_21 Depth=2 add x23, x23, #1 ldr w8, [x27] sxtw x9, w8 cmp x23, x9 b.lt LBB0_21 b LBB0_15 LBB0_23: ldr x8, [x20, #16] ldr w0, [x8, x28, lsl #2] bl _le32_to_cpu ; kill: def $w0 killed $w0 def $x0 stp x23, x0, [sp, #8] str x28, [sp] Lloh16: adrp x1, l_.str.4@PAGE Lloh17: add x1, x1, l_.str.4@PAGEOFF b LBB0_8 LBB0_24: Lloh18: adrp x9, _NR_CURSEG_DATA_TYPE@GOTPAGE Lloh19: ldr x9, [x9, _NR_CURSEG_DATA_TYPE@GOTPAGEOFF] Lloh20: ldr w9, [x9] cmp w9, #1 b.lt LBB0_36 ; %bb.25: str w25, [sp, #36] ; 4-byte Folded Spill mov x25, #0 ; =0x0 mov w28, #1 ; =0x1 LBB0_26: ; =>This Loop Header: Depth=1 ; Child Loop BB0_30 Depth 2 ldr x8, [x20, #24] ldr w0, [x8, x25, lsl #2] bl _le32_to_cpu ldr w8, [sp, #36] ; 4-byte Folded Reload cmp w0, w8 b.hs LBB0_9 ; %bb.27: ; in Loop: Header=BB0_26 Depth=1 ldr x8, [x20, #32] ldr w0, [x8, x25, lsl #2] bl _le16_to_cpu cmp w0, w24 b.hs LBB0_9 ; %bb.28: ; in Loop: Header=BB0_26 Depth=1 add x23, x25, #1 Lloh21: adrp x8, _NR_CURSEG_DATA_TYPE@GOTPAGE Lloh22: ldr x8, [x8, _NR_CURSEG_DATA_TYPE@GOTPAGEOFF] Lloh23: ldr w9, [x8] sxtw x8, w9 cmp x23, x8 b.ge LBB0_33 ; %bb.29: ; in Loop: Header=BB0_26 Depth=1 mov x26, x28 LBB0_30: ; Parent Loop BB0_26 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x20, #24] ldr w0, [x8, x25, lsl #2] bl _le32_to_cpu mov x24, x0 ldr x8, [x20, #24] ldr w0, [x8, x26, lsl #2] bl _le32_to_cpu cmp w24, w0 b.eq LBB0_38 ; %bb.31: ; in Loop: Header=BB0_30 Depth=2 add x26, x26, #1 Lloh24: adrp x8, _NR_CURSEG_DATA_TYPE@GOTPAGE Lloh25: ldr x8, [x8, _NR_CURSEG_DATA_TYPE@GOTPAGEOFF] Lloh26: ldr w9, [x8] cmp w9, w26 b.gt LBB0_30 ; %bb.32: ; in Loop: Header=BB0_26 Depth=1 sxtw x8, w9 ldr w24, [sp, #40] ; 4-byte Folded Reload b LBB0_34 LBB0_33: ; in Loop: Header=BB0_26 Depth=1 ; kill: def $w9 killed $w9 killed $x9 def $x9 LBB0_34: ; in Loop: Header=BB0_26 Depth=1 add x28, x28, #1 mov x25, x23 cmp x23, x8 b.lt LBB0_26 ; %bb.35: ldr w8, [x27] LBB0_36: cmp w8, #1 b.lt LBB0_46 ; %bb.37: mov x24, #0 ; =0x0 ; kill: def $w9 killed $w9 killed $x9 def $x9 b LBB0_41 LBB0_38: ldr x8, [x20, #24] ldr w0, [x8, x25, lsl #2] bl _le32_to_cpu ; kill: def $w0 killed $w0 def $x0 stp x26, x0, [sp, #8] str x25, [sp] Lloh27: adrp x1, l_.str.5@PAGE Lloh28: add x1, x1, l_.str.5@PAGEOFF b LBB0_8 LBB0_39: ; in Loop: Header=BB0_41 Depth=1 ldr w8, [x27] LBB0_40: ; in Loop: Header=BB0_41 Depth=1 add x24, x24, #1 cmp x24, w8, sxtw b.ge LBB0_46 LBB0_41: ; =>This Loop Header: Depth=1 ; Child Loop BB0_43 Depth 2 cmp w9, #1 b.lt LBB0_40 ; %bb.42: ; in Loop: Header=BB0_41 Depth=1 mov x25, #0 ; =0x0 LBB0_43: ; Parent Loop BB0_41 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x20, #16] ldr w0, [x8, x24, lsl #2] bl _le32_to_cpu mov x23, x0 ldr x8, [x20, #24] ldr w0, [x8, x25, lsl #2] bl _le32_to_cpu cmp w23, w0 b.eq LBB0_45 ; %bb.44: ; in Loop: Header=BB0_43 Depth=2 add x25, x25, #1 Lloh29: adrp x8, _NR_CURSEG_DATA_TYPE@GOTPAGE Lloh30: ldr x8, [x8, _NR_CURSEG_DATA_TYPE@GOTPAGEOFF] Lloh31: ldrsw x9, [x8] cmp x25, x9 b.lt LBB0_43 b LBB0_39 LBB0_45: ldr x8, [x20, #16] ldr w0, [x8, x24, lsl #2] bl _le32_to_cpu ; kill: def $w0 killed $w0 def $x0 stp x25, x0, [sp, #8] str x24, [sp] Lloh32: adrp x1, l_.str.6@PAGE Lloh33: add x1, x1, l_.str.6@PAGEOFF b LBB0_8 LBB0_46: ldr w0, [x20, #8] bl _le32_to_cpu mov x23, x0 ldr w0, [x20, #4] bl _le32_to_cpu ; kill: def $w0 killed $w0 def $x0 lsr w9, w21, #1 ldr w8, [sp, #44] ; 4-byte Folded Reload lsl w9, w9, w8 cmp w23, w9, lsr #3 b.ne LBB0_51 ; %bb.47: lsr w9, w22, #1 lsl w8, w9, w8 cmp w0, w8, lsr #3 b.ne LBB0_51 ; %bb.48: mov x0, x19 bl ___start_sum_addr mov x21, x0 mov x0, x19 bl ___cp_payload add w8, w0, #1 cmp w21, w8 b.lo LBB0_50 ; %bb.49: Lloh34: adrp x8, _NR_CURSEG_TYPE@GOTPAGE Lloh35: ldr x8, [x8, _NR_CURSEG_TYPE@GOTPAGEOFF] Lloh36: ldr w8, [x8] mvn w8, w8 ldr w9, [sp, #40] ; 4-byte Folded Reload add w8, w9, w8 cmp w21, w8 b.ls LBB0_52 LBB0_50: str x21, [sp] Lloh37: adrp x1, l_.str.8@PAGE Lloh38: add x1, x1, l_.str.8@PAGEOFF b LBB0_8 LBB0_51: stp x23, x0, [sp] Lloh39: adrp x1, l_.str.7@PAGE Lloh40: add x1, x1, l_.str.7@PAGEOFF b LBB0_8 LBB0_52: Lloh41: adrp x8, _CP_LARGE_NAT_BITMAP_FLAG@GOTPAGE Lloh42: ldr x8, [x8, _CP_LARGE_NAT_BITMAP_FLAG@GOTPAGEOFF] Lloh43: ldr w1, [x8] mov x0, x20 bl ___is_set_ckpt_flags cbz x0, LBB0_54 ; %bb.53: ldr w0, [x20] bl _le32_to_cpu Lloh44: adrp x8, _CP_MIN_CHKSUM_OFFSET@GOTPAGE Lloh45: ldr x8, [x8, _CP_MIN_CHKSUM_OFFSET@GOTPAGEOFF] Lloh46: ldr w8, [x8] cmp w0, w8 b.ne LBB0_56 LBB0_54: mov x0, x19 bl _f2fs_cp_error bl _unlikely cbz x0, LBB0_10 ; %bb.55: Lloh47: adrp x1, l_.str.10@PAGE Lloh48: add x1, x1, l_.str.10@PAGEOFF b LBB0_8 LBB0_56: ldr w0, [x20] bl _le32_to_cpu mov x2, x0 Lloh49: adrp x1, l_.str.9@PAGE Lloh50: add x1, x1, l_.str.9@PAGEOFF mov x0, x19 bl _f2fs_warn b LBB0_9 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh18, Lloh19, Lloh20 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpAdd Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh34, Lloh35, Lloh36 .loh AdrpAdd Lloh37, Lloh38 .loh AdrpAdd Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpAdd Lloh47, Lloh48 .loh AdrpAdd Lloh49, Lloh50 .cfi_endproc ; -- End function .comm _F2FS_MIN_SEGMENTS,4,2 ; @F2FS_MIN_SEGMENTS .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Wrong layout: check mkfs.f2fs version" l_.str.1: ; @.str.1 .asciz "Wrong user_block_count: %u" l_.str.2: ; @.str.2 .asciz "Wrong valid_user_blocks: %u, user_block_count: %u" .comm _F2FS_RESERVED_NODE_NUM,4,2 ; @F2FS_RESERVED_NODE_NUM l_.str.3: ; @.str.3 .asciz "Wrong valid_node_count: %u, avail_node_count: %u" .comm _NR_CURSEG_NODE_TYPE,4,2 ; @NR_CURSEG_NODE_TYPE l_.str.4: ; @.str.4 .asciz "Node segment (%u, %u) has the same segno: %u" .comm _NR_CURSEG_DATA_TYPE,4,2 ; @NR_CURSEG_DATA_TYPE l_.str.5: ; @.str.5 .asciz "Data segment (%u, %u) has the same segno: %u" l_.str.6: ; @.str.6 .asciz "Node segment (%u) and Data segment (%u) has the same segno: %u" l_.str.7: ; @.str.7 .asciz "Wrong bitmap size: sit: %u, nat:%u" .comm _NR_CURSEG_TYPE,4,2 ; @NR_CURSEG_TYPE l_.str.8: ; @.str.8 .asciz "Wrong cp_pack_start_sum: %u" .comm _CP_LARGE_NAT_BITMAP_FLAG,4,2 ; @CP_LARGE_NAT_BITMAP_FLAG .comm _CP_MIN_CHKSUM_OFFSET,4,2 ; @CP_MIN_CHKSUM_OFFSET l_.str.9: ; @.str.9 .asciz "using deprecated layout of large_nat_bitmap, please run fsck v1.13.0 or higher to repair, chksum_offset: %u, fixed with patch: \"f2fs-tools: relocate chksum_offset for large_nat_bitmap feature\"" l_.str.10: ; @.str.10 .asciz "A bug case: need to run fsck" .subsections_via_symbols
assembly_file_45503.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function uwire_read_reg _uwire_read_reg: ## @uwire_read_reg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _uwire_idx_shift@GOTPCREL(%rip), %rax movb (%rax), %cl shll %cl, %edi movq _uwire_base@GOTPCREL(%rip), %rax movslq %edi, %rdi addq (%rax), %rdi popq %rbp jmp ___raw_readw ## TAILCALL .cfi_endproc ## -- End function .comm _uwire_base,8,3 ## @uwire_base .comm _uwire_idx_shift,4,2 ## @uwire_idx_shift .no_dead_strip _uwire_read_reg .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function uwire_read_reg _uwire_read_reg: ; @uwire_read_reg .cfi_startproc ; %bb.0: Lloh0: adrp x8, _uwire_base@GOTPAGE Lloh1: ldr x8, [x8, _uwire_base@GOTPAGEOFF] Lloh2: ldr x8, [x8] Lloh3: adrp x9, _uwire_idx_shift@GOTPAGE Lloh4: ldr x9, [x9, _uwire_idx_shift@GOTPAGEOFF] Lloh5: ldr w9, [x9] lsl w9, w0, w9 add x0, x8, w9, sxtw b ___raw_readw .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _uwire_base,8,3 ; @uwire_base .comm _uwire_idx_shift,4,2 ; @uwire_idx_shift .no_dead_strip _uwire_read_reg .subsections_via_symbols
AnghaBench/linux/drivers/spi/extr_spi-omap-uwire.c_uwire_read_reg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function parse_extensions _parse_extensions: ## @parse_extensions .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 movq %rdi, -56(%rbp) leaq L_.str(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_2 ## %bb.1: cmpb $0, (%r14) je LBB0_2 ## %bb.3: movl $1, %edi movl $16, %esi callq _calloc movq %rax, (%rbx) leaq L_.str.1(%rip), %rsi leaq -56(%rbp), %rdi callq _strsep testq %rax, %rax je LBB0_11 ## %bb.4: movq %rax, %r13 leaq -44(%rbp), %r14 .p2align 4, 0x90 LBB0_5: ## =>This Inner Loop Header: Depth=1 movq %r13, %rdi callq _strlen movq %rax, %r12 movq %rax, %rdi callq _malloc movq %rax, %r15 movq %r13, %rdi movq %rax, %rsi movq %r12, %rdx callq _hex_decode testq %rax, %rax js LBB0_6 ## %bb.8: ## in Loop: Header=BB0_5 Depth=1 movq %r15, %rdi movq %rax, %rsi movq %r14, %rdx xorl %ecx, %ecx callq _decode_HDB_extension movl %eax, %r12d movq %r15, %rdi callq _free testl %r12d, %r12d jne LBB0_7 ## %bb.9: ## in Loop: Header=BB0_5 Depth=1 movq (%rbx), %rax movq 8(%rax), %rdi movl (%rax), %eax leal 4(,%rax,4), %esi callq _realloc testq %rax, %rax jne LBB0_13 ## %bb.10: ## in Loop: Header=BB0_5 Depth=1 movq (%rbx), %rax movq $0, 8(%rax) movl -44(%rbp), %eax movq (%rbx), %rcx movq 8(%rcx), %rdx movslq (%rcx), %rsi movl %eax, (%rdx,%rsi,4) decl (%rcx) leaq -56(%rbp), %rdi leaq L_.str.1(%rip), %rsi callq _strsep movq %rax, %r13 testq %rax, %rax jne LBB0_5 jmp LBB0_11 LBB0_2: movq $0, (%rbx) LBB0_11: xorl %eax, %eax LBB0_12: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_6: movq %r15, %rdi callq _free LBB0_7: movl $-1, %eax jmp LBB0_12 LBB0_13: xorl %eax, %eax callq _abort .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "-" L_.str.1: ## @.str.1 .asciz ":" .no_dead_strip _parse_extensions .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function parse_extensions _parse_extensions: ; @parse_extensions .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x20, x0 str x0, [sp, #8] Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _strcmp cbz x0, LBB0_8 ; %bb.1: ldrb w8, [x20] cbz w8, LBB0_8 ; %bb.2: mov w0, #1 ; =0x1 mov w1, #16 ; =0x10 bl _calloc str x0, [x19] Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF add x0, sp, #8 bl _strsep cbz x0, LBB0_11 ; %bb.3: Lloh4: adrp x20, l_.str.1@PAGE Lloh5: add x20, x20, l_.str.1@PAGEOFF LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x22, x0 bl _strlen mov x23, x0 bl _malloc mov x21, x0 mov x0, x22 mov x1, x21 mov x2, x23 bl _hex_decode tbnz x0, #63, LBB0_9 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x1, x0 add x2, sp, #4 mov x0, x21 mov x3, #0 ; =0x0 bl _decode_HDB_extension mov x22, x0 mov x0, x21 bl _free cbnz w22, LBB0_10 ; %bb.6: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x19] ldr x0, [x8, #8] ldr w8, [x8] lsl w8, w8, #2 add w1, w8, #4 bl _realloc cbnz x0, LBB0_12 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x19] str xzr, [x8, #8] ldr w8, [sp, #4] ldr x9, [x19] ldr x10, [x9, #8] ldrsw x11, [x9] str w8, [x10, x11, lsl #2] ldr w8, [x9] sub w8, w8, #1 str w8, [x9] add x0, sp, #8 mov x1, x20 bl _strsep cbnz x0, LBB0_4 b LBB0_11 LBB0_8: mov w0, #0 ; =0x0 str xzr, [x19] b LBB0_11 LBB0_9: mov x0, x21 bl _free LBB0_10: mov w0, #-1 ; =0xffffffff LBB0_11: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_12: bl _abort .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "-" l_.str.1: ; @.str.1 .asciz ":" .no_dead_strip _parse_extensions .subsections_via_symbols
assembly_file_186952.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function ca0132_alt_eq_preset_info _ca0132_alt_eq_preset_info: ## @ca0132_alt_eq_preset_info .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq _ca0132_alt_eq_presets@GOTPCREL(%rip), %r14 movq (%r14), %rdi callq _ARRAY_SIZE movq _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 16(%rbx) movl $1, (%rbx) movl %eax, 4(%rbx) movl 8(%rbx), %ecx cmpl %eax, %ecx jb LBB0_2 ## %bb.1: incl %eax movl %eax, 8(%rbx) movl %eax, %ecx LBB0_2: movl 12(%rbx), %edi movq (%r14), %rax movl %ecx, %ecx movl (%rax,%rcx,4), %esi callq _strcpy xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _ca0132_alt_eq_presets,8,3 ## @ca0132_alt_eq_presets .comm _SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ## @SNDRV_CTL_ELEM_TYPE_ENUMERATED .no_dead_strip _ca0132_alt_eq_preset_info .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function ca0132_alt_eq_preset_info _ca0132_alt_eq_preset_info: ; @ca0132_alt_eq_preset_info .cfi_startproc ; %bb.0: stp x20, x19, [sp, #-32]! ; 16-byte Folded Spill 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 w19, -24 .cfi_offset w20, -32 mov x19, x1 Lloh0: adrp x20, _ca0132_alt_eq_presets@GOTPAGE Lloh1: ldr x20, [x20, _ca0132_alt_eq_presets@GOTPAGEOFF] ldr x0, [x20] bl _ARRAY_SIZE Lloh2: adrp x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGE Lloh3: ldr x8, [x8, _SNDRV_CTL_ELEM_TYPE_ENUMERATED@GOTPAGEOFF] Lloh4: ldr w8, [x8] str w8, [x19, #16] mov w8, #1 ; =0x1 stp w8, w0, [x19] ldr w8, [x19, #8] cmp w8, w0 b.lo LBB0_2 ; %bb.1: add w8, w0, #1 str w8, [x19, #8] LBB0_2: ldr w0, [x19, #12] ldr x9, [x20] ldr w1, [x9, w8, uxtw #2] bl _strcpy mov w0, #0 ; =0x0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _ca0132_alt_eq_presets,8,3 ; @ca0132_alt_eq_presets .comm _SNDRV_CTL_ELEM_TYPE_ENUMERATED,4,2 ; @SNDRV_CTL_ELEM_TYPE_ENUMERATED .no_dead_strip _ca0132_alt_eq_preset_info .subsections_via_symbols
assembly_file_158816.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function cpu_has_vmx_preemption_timer _cpu_has_vmx_preemption_timer: ## @cpu_has_vmx_preemption_timer .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _vmcs_config@GOTPCREL(%rip), %rcx movq _PIN_BASED_VMX_PREEMPTION_TIMER@GOTPCREL(%rip), %rax movl (%rax), %eax andl (%rcx), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _vmcs_config,4,2 ## @vmcs_config .comm _PIN_BASED_VMX_PREEMPTION_TIMER,4,2 ## @PIN_BASED_VMX_PREEMPTION_TIMER .no_dead_strip _cpu_has_vmx_preemption_timer .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function cpu_has_vmx_preemption_timer _cpu_has_vmx_preemption_timer: ; @cpu_has_vmx_preemption_timer .cfi_startproc ; %bb.0: Lloh0: adrp x8, _vmcs_config@GOTPAGE Lloh1: ldr x8, [x8, _vmcs_config@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _PIN_BASED_VMX_PREEMPTION_TIMER@GOTPAGE Lloh4: ldr x9, [x9, _PIN_BASED_VMX_PREEMPTION_TIMER@GOTPAGEOFF] Lloh5: ldr w9, [x9] and w0, w9, w8 ret .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _vmcs_config,4,2 ; @vmcs_config .comm _PIN_BASED_VMX_PREEMPTION_TIMER,4,2 ; @PIN_BASED_VMX_PREEMPTION_TIMER .no_dead_strip _cpu_has_vmx_preemption_timer .subsections_via_symbols
AnghaBench/linux/arch/x86/kvm/vmx/extr_capabilities.h_cpu_has_vmx_preemption_timer.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ## -- Begin function Init LCPI0_0: .quad 0x8000000000000000 ## double -0 .quad 0x8000000000000000 ## double -0 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 LCPI0_1: .quad 0xc008000000000000 ## double -3 LCPI0_2: .quad 0x4000000000000000 ## double 2 LCPI0_3: .quad 0x3ff8000000000000 ## double 1.5 LCPI0_4: .quad 0x4014000000000000 ## double 5 LCPI0_5: .quad 0x3fe8000000000000 ## double 0.75 LCPI0_6: .quad 0xc014000000000000 ## double -5 .section __TEXT,__text,regular,pure_instructions .p2align 4, 0x90 _Init: ## @Init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $88, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r8d, -44(%rbp) ## 4-byte Spill movl %ecx, %r12d movl %edx, %r14d movq %rsi, %rbx movq %rdi, %r13 leaq L_.str(%rip), %rsi callq _var_InheritInteger movapd %xmm0, -80(%rbp) ## 16-byte Spill divsd LCPI0_1(%rip), %xmm0 movapd %xmm0, -112(%rbp) ## 16-byte Spill leaq L_.str.1(%rip), %rsi movq %r13, %rdi callq _var_InheritBool testq %rax, %rax je LBB0_1 ## %bb.2: movq _AOUT_CHAN_REARCENTER@GOTPCREL(%rip), %rax movapd -80(%rbp), %xmm1 ## 16-byte Reload movsd %xmm1, -56(%rbp) ## 8-byte Spill testl %r12d, (%rax) je LBB0_5 ## %bb.3: movapd -112(%rbp), %xmm0 ## 16-byte Reload jmp LBB0_4 LBB0_1: xorpd %xmm0, %xmm0 LBB0_4: movsd %xmm0, -56(%rbp) ## 8-byte Spill LBB0_5: leal (%r14,%r14), %edi movl %edi, (%rbx) movq _AOUT_CHAN_CENTER@GOTPCREL(%rip), %rax testl %r12d, (%rax) je LBB0_7 ## %bb.6: addl $2, %edi movl %edi, (%rbx) LBB0_7: shll $2, %edi callq _malloc movq %rax, 16(%rbx) movl $-1, %r15d testq %rax, %rax je LBB0_43 ## %bb.8: movapd LCPI0_0(%rip), %xmm0 ## xmm0 = [-0.0E+0,-0.0E+0] movapd -80(%rbp), %xmm1 ## 16-byte Reload xorpd %xmm1, %xmm0 movq _AOUT_CHAN_LEFT@GOTPCREL(%rip), %rax movl %r14d, %r15d testl %r12d, (%rax) movapd %xmm0, -96(%rbp) ## 16-byte Spill je LBB0_9 ## %bb.10: cvtsi2sd %r15, %xmm2 movsd LCPI0_2(%rip), %xmm3 ## xmm3 = [2.0E+0,0.0E+0] divsd %xmm2, %xmm3 movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload xorl %edx, %edx xorl %ecx, %ecx movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero callq _ComputeChannelOperations movl $-1, %r13d movl $2, %r14d jmp LBB0_11 LBB0_9: xorl %r14d, %r14d xorl %r13d, %r13d LBB0_11: movq _AOUT_CHAN_RIGHT@GOTPCREL(%rip), %rax testl %r12d, (%rax) je LBB0_13 ## %bb.12: xorps %xmm0, %xmm0 cvtsi2sd %r15, %xmm0 movsd LCPI0_2(%rip), %xmm3 ## xmm3 = [2.0E+0,0.0E+0] divsd %xmm0, %xmm3 movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload movl %r14d, %edx movl %r13d, %ecx movapd -80(%rbp), %xmm0 ## 16-byte Reload movapd %xmm0, %xmm1 movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero callq _ComputeChannelOperations addl $2, %r14d incl %r13d LBB0_13: movaps -96(%rbp), %xmm0 ## 16-byte Reload movq _AOUT_CHAN_MIDDLELEFT@GOTPCREL(%rip), %rax testl %r12d, (%rax) je LBB0_15 ## %bb.14: xorps %xmm1, %xmm1 cvtsi2sd %r15, %xmm1 movsd LCPI0_3(%rip), %xmm3 ## xmm3 = [1.5E+0,0.0E+0] divsd %xmm1, %xmm3 xorpd %xmm1, %xmm1 movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload movl %r14d, %edx movl %r13d, %ecx movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero callq _ComputeChannelOperations addl $2, %r14d incl %r13d LBB0_15: movq _AOUT_CHAN_MIDDLERIGHT@GOTPCREL(%rip), %rax testl %r12d, (%rax) je LBB0_17 ## %bb.16: xorps %xmm0, %xmm0 cvtsi2sd %r15, %xmm0 movsd LCPI0_3(%rip), %xmm3 ## xmm3 = [1.5E+0,0.0E+0] divsd %xmm0, %xmm3 xorpd %xmm1, %xmm1 movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload movl %r14d, %edx movl %r13d, %ecx movaps -80(%rbp), %xmm0 ## 16-byte Reload movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero callq _ComputeChannelOperations addl $2, %r14d incl %r13d LBB0_17: movaps -96(%rbp), %xmm0 ## 16-byte Reload movq _AOUT_CHAN_REARLEFT@GOTPCREL(%rip), %rax testl %r12d, (%rax) je LBB0_19 ## %bb.18: xorps %xmm1, %xmm1 cvtsi2sd %r15, %xmm1 movsd LCPI0_3(%rip), %xmm3 ## xmm3 = [1.5E+0,0.0E+0] divsd %xmm1, %xmm3 movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload movl %r14d, %edx movl %r13d, %ecx movapd -112(%rbp), %xmm1 ## 16-byte Reload movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero callq _ComputeChannelOperations addl $2, %r14d incl %r13d LBB0_19: movapd -80(%rbp), %xmm0 ## 16-byte Reload movq _AOUT_CHAN_REARRIGHT@GOTPCREL(%rip), %rax testl %r12d, (%rax) je LBB0_21 ## %bb.20: xorps %xmm1, %xmm1 cvtsi2sd %r15, %xmm1 movsd LCPI0_3(%rip), %xmm3 ## xmm3 = [1.5E+0,0.0E+0] divsd %xmm1, %xmm3 movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload movl %r14d, %edx movl %r13d, %ecx movapd -112(%rbp), %xmm1 ## 16-byte Reload movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero callq _ComputeChannelOperations addl $2, %r14d incl %r13d LBB0_21: movaps -96(%rbp), %xmm1 ## 16-byte Reload movq _AOUT_CHAN_REARCENTER@GOTPCREL(%rip), %rax testl %r12d, (%rax) je LBB0_23 ## %bb.22: xorps %xmm0, %xmm0 cvtsi2sd %r15, %xmm0 movsd LCPI0_3(%rip), %xmm3 ## xmm3 = [1.5E+0,0.0E+0] divsd %xmm0, %xmm3 xorpd %xmm0, %xmm0 movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload movl %r14d, %edx movl %r13d, %ecx movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero callq _ComputeChannelOperations addl $2, %r14d incl %r13d LBB0_23: movapd -80(%rbp), %xmm1 ## 16-byte Reload movq _AOUT_CHAN_CENTER@GOTPCREL(%rip), %rax testl %r12d, (%rax) movq %r15, -120(%rbp) ## 8-byte Spill je LBB0_25 ## %bb.24: movapd %xmm1, %xmm0 divsd LCPI0_4(%rip), %xmm0 xorps %xmm2, %xmm2 cvtsi2sd %r15, %xmm2 movsd LCPI0_5(%rip), %xmm3 ## xmm3 = [7.5E-1,0.0E+0] divsd %xmm2, %xmm3 movsd %xmm3, -96(%rbp) ## 8-byte Spill movq %rbx, %rdi movl -44(%rbp), %r15d ## 4-byte Reload movl %r15d, %esi movl %r14d, %edx movl %r13d, %ecx movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero callq _ComputeChannelOperations leal 2(%r14), %edx movapd -80(%rbp), %xmm1 ## 16-byte Reload movapd %xmm1, %xmm0 divsd LCPI0_6(%rip), %xmm0 movq %rbx, %rdi movl %r15d, %esi movl %r13d, %ecx movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero movsd -96(%rbp), %xmm3 ## 8-byte Reload ## xmm3 = mem[0],zero callq _ComputeChannelOperations addl $4, %r14d incl %r13d LBB0_25: movq _AOUT_CHAN_LFE@GOTPCREL(%rip), %rax testl %r12d, (%rax) je LBB0_27 ## %bb.26: xorps %xmm0, %xmm0 cvtsi2sdq -120(%rbp), %xmm0 ## 8-byte Folded Reload movsd LCPI0_4(%rip), %xmm3 ## xmm3 = [5.0E+0,0.0E+0] divsd %xmm0, %xmm3 xorpd %xmm0, %xmm0 movq %rbx, %rdi movl -44(%rbp), %esi ## 4-byte Reload movl %r14d, %edx movl %r13d, %ecx movapd -112(%rbp), %xmm1 ## 16-byte Reload movsd -56(%rbp), %xmm2 ## 8-byte Reload ## xmm2 = mem[0],zero callq _ComputeChannelOperations LBB0_27: movl $0, 4(%rbx) movl (%rbx), %ecx testq %rcx, %rcx je LBB0_28 ## %bb.29: movq 16(%rbx), %rax cmpl $1, %ecx movl $-1, %r15d jne LBB0_31 ## %bb.30: xorl %edx, %edx xorl %edi, %edi LBB0_37: testb $1, %cl je LBB0_40 ## %bb.38: movslq %edi, %rcx movslq (%rax,%rdx,4), %rax shlq $3, %rax cmpq %rcx, %rax jbe LBB0_40 ## %bb.39: movl %eax, 4(%rbx) movl %eax, %edi jmp LBB0_40 LBB0_28: xorl %edi, %edi movl $-1, %r15d LBB0_40: callq _malloc movq %rax, 8(%rbx) testq %rax, %rax je LBB0_41 ## %bb.42: movl 4(%rbx), %edx xorl %r15d, %r15d movq %rax, %rdi xorl %esi, %esi callq _memset jmp LBB0_43 LBB0_41: movq 16(%rbx), %rdi callq _free LBB0_43: movl %r15d, %eax addq $88, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_31: movl %ecx, %esi andl $-2, %esi xorl %edx, %edx xorl %edi, %edi jmp LBB0_32 .p2align 4, 0x90 LBB0_36: ## in Loop: Header=BB0_32 Depth=1 addq $2, %rdx cmpq %rdx, %rsi je LBB0_37 LBB0_32: ## =>This Inner Loop Header: Depth=1 movslq %edi, %r9 movslq (%rax,%rdx,4), %r8 shlq $3, %r8 cmpq %r9, %r8 jbe LBB0_34 ## %bb.33: ## in Loop: Header=BB0_32 Depth=1 movl %r8d, 4(%rbx) movl %r8d, %edi LBB0_34: ## in Loop: Header=BB0_32 Depth=1 movslq %edi, %r9 movslq 4(%rax,%rdx,4), %r8 shlq $3, %r8 cmpq %r9, %r8 jbe LBB0_36 ## %bb.35: ## in Loop: Header=BB0_32 Depth=1 movl %r8d, 4(%rbx) movl %r8d, %edi jmp LBB0_36 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "headphone-dim" L_.str.1: ## @.str.1 .asciz "headphone-compensate" .comm _AOUT_CHAN_REARCENTER,4,2 ## @AOUT_CHAN_REARCENTER .comm _AOUT_CHAN_CENTER,4,2 ## @AOUT_CHAN_CENTER .comm _AOUT_CHAN_LEFT,4,2 ## @AOUT_CHAN_LEFT .comm _AOUT_CHAN_RIGHT,4,2 ## @AOUT_CHAN_RIGHT .comm _AOUT_CHAN_MIDDLELEFT,4,2 ## @AOUT_CHAN_MIDDLELEFT .comm _AOUT_CHAN_MIDDLERIGHT,4,2 ## @AOUT_CHAN_MIDDLERIGHT .comm _AOUT_CHAN_REARLEFT,4,2 ## @AOUT_CHAN_REARLEFT .comm _AOUT_CHAN_REARRIGHT,4,2 ## @AOUT_CHAN_REARRIGHT .comm _AOUT_CHAN_LFE,4,2 ## @AOUT_CHAN_LFE .no_dead_strip _Init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function Init _Init: ; @Init .cfi_startproc ; %bb.0: stp d11, d10, [sp, #-112]! ; 16-byte Folded Spill stp d9, d8, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset b8, -88 .cfi_offset b9, -96 .cfi_offset b10, -104 .cfi_offset b11, -112 mov x20, x4 mov x22, x3 mov x21, x2 mov x19, x1 mov x23, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _var_InheritInteger fmov d10, d0 fmov d0, #-3.00000000 fdiv d8, d10, d0 Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF mov x0, x23 bl _var_InheritBool Lloh4: adrp x26, _AOUT_CHAN_REARCENTER@GOTPAGE Lloh5: ldr x26, [x26, _AOUT_CHAN_REARCENTER@GOTPAGEOFF] ldr w8, [x26] tst w8, w22 fcsel d0, d10, d8, eq cmp x0, #0 movi d1, #0000000000000000 fcsel d9, d1, d0, eq lsl w8, w21, #1 str w8, [x19] Lloh6: adrp x25, _AOUT_CHAN_CENTER@GOTPAGE Lloh7: ldr x25, [x25, _AOUT_CHAN_CENTER@GOTPAGEOFF] ldr w9, [x25] tst w9, w22 b.eq LBB0_2 ; %bb.1: add w8, w8, #2 str w8, [x19] LBB0_2: lsl w0, w8, #2 bl _malloc str x0, [x19, #16] cbz x0, LBB0_31 ; %bb.3: fneg d11, d10 Lloh8: adrp x8, _AOUT_CHAN_LEFT@GOTPAGE Lloh9: ldr x8, [x8, _AOUT_CHAN_LEFT@GOTPAGEOFF] Lloh10: ldr w8, [x8] tst w8, w22 b.eq LBB0_5 ; %bb.4: ucvtf d0, w21 fmov d1, #2.00000000 fdiv d3, d1, d0 mov x0, x19 mov x1, x20 mov w2, #0 ; =0x0 mov w3, #0 ; =0x0 fmov d0, d11 fmov d1, d10 fmov d2, d9 bl _ComputeChannelOperations mov w23, #-1 ; =0xffffffff mov w24, #2 ; =0x2 b LBB0_6 LBB0_5: mov w24, #0 ; =0x0 mov w23, #0 ; =0x0 LBB0_6: Lloh11: adrp x8, _AOUT_CHAN_RIGHT@GOTPAGE Lloh12: ldr x8, [x8, _AOUT_CHAN_RIGHT@GOTPAGEOFF] Lloh13: ldr w8, [x8] tst w8, w22 b.eq LBB0_8 ; %bb.7: ucvtf d0, w21 fmov d1, #2.00000000 fdiv d3, d1, d0 mov x0, x19 mov x1, x20 mov x2, x24 mov x3, x23 fmov d0, d10 fmov d1, d10 fmov d2, d9 bl _ComputeChannelOperations add w24, w24, #2 add w23, w23, #1 LBB0_8: Lloh14: adrp x8, _AOUT_CHAN_MIDDLELEFT@GOTPAGE Lloh15: ldr x8, [x8, _AOUT_CHAN_MIDDLELEFT@GOTPAGEOFF] Lloh16: ldr w8, [x8] tst w8, w22 b.eq LBB0_10 ; %bb.9: ucvtf d0, w21 fmov d1, #1.50000000 fdiv d3, d1, d0 movi d1, #0000000000000000 mov x0, x19 mov x1, x20 mov x2, x24 mov x3, x23 fmov d0, d11 fmov d2, d9 bl _ComputeChannelOperations add w24, w24, #2 add w23, w23, #1 LBB0_10: Lloh17: adrp x8, _AOUT_CHAN_MIDDLERIGHT@GOTPAGE Lloh18: ldr x8, [x8, _AOUT_CHAN_MIDDLERIGHT@GOTPAGEOFF] Lloh19: ldr w8, [x8] tst w8, w22 b.eq LBB0_12 ; %bb.11: ucvtf d0, w21 fmov d1, #1.50000000 fdiv d3, d1, d0 movi d1, #0000000000000000 mov x0, x19 mov x1, x20 mov x2, x24 mov x3, x23 fmov d0, d10 fmov d2, d9 bl _ComputeChannelOperations add w24, w24, #2 add w23, w23, #1 LBB0_12: Lloh20: adrp x8, _AOUT_CHAN_REARLEFT@GOTPAGE Lloh21: ldr x8, [x8, _AOUT_CHAN_REARLEFT@GOTPAGEOFF] Lloh22: ldr w8, [x8] tst w8, w22 b.eq LBB0_14 ; %bb.13: ucvtf d0, w21 fmov d1, #1.50000000 fdiv d3, d1, d0 mov x0, x19 mov x1, x20 mov x2, x24 mov x3, x23 fmov d0, d11 fmov d1, d8 fmov d2, d9 bl _ComputeChannelOperations add w24, w24, #2 add w23, w23, #1 LBB0_14: Lloh23: adrp x8, _AOUT_CHAN_REARRIGHT@GOTPAGE Lloh24: ldr x8, [x8, _AOUT_CHAN_REARRIGHT@GOTPAGEOFF] Lloh25: ldr w8, [x8] tst w8, w22 b.eq LBB0_16 ; %bb.15: ucvtf d0, w21 fmov d1, #1.50000000 fdiv d3, d1, d0 mov x0, x19 mov x1, x20 mov x2, x24 mov x3, x23 fmov d0, d10 fmov d1, d8 fmov d2, d9 bl _ComputeChannelOperations add w24, w24, #2 add w23, w23, #1 LBB0_16: ldr w8, [x26] tst w8, w22 b.eq LBB0_18 ; %bb.17: ucvtf d0, w21 fmov d1, #1.50000000 fdiv d3, d1, d0 movi d0, #0000000000000000 mov x0, x19 mov x1, x20 mov x2, x24 mov x3, x23 fmov d1, d11 fmov d2, d9 bl _ComputeChannelOperations add w24, w24, #2 add w23, w23, #1 LBB0_18: ldr w8, [x25] tst w8, w22 b.eq LBB0_20 ; %bb.19: fmov d0, #5.00000000 fdiv d0, d10, d0 ucvtf d1, w21 fmov d2, #0.75000000 fdiv d11, d2, d1 mov x0, x19 mov x1, x20 mov x2, x24 mov x3, x23 fmov d1, d10 fmov d2, d9 fmov d3, d11 bl _ComputeChannelOperations fmov d0, #-5.00000000 fdiv d0, d10, d0 add w2, w24, #2 mov x0, x19 mov x1, x20 mov x3, x23 fmov d1, d10 fmov d2, d9 fmov d3, d11 bl _ComputeChannelOperations add w24, w24, #4 add w23, w23, #1 LBB0_20: Lloh26: adrp x8, _AOUT_CHAN_LFE@GOTPAGE Lloh27: ldr x8, [x8, _AOUT_CHAN_LFE@GOTPAGEOFF] Lloh28: ldr w8, [x8] tst w8, w22 b.eq LBB0_22 ; %bb.21: ucvtf d0, w21 fmov d1, #5.00000000 fdiv d3, d1, d0 movi d0, #0000000000000000 mov x0, x19 mov x1, x20 mov x2, x24 mov x3, x23 fmov d1, d8 fmov d2, d9 bl _ComputeChannelOperations LBB0_22: str wzr, [x19, #4] ldr w8, [x19] cbz w8, LBB0_27 ; %bb.23: mov w0, #0 ; =0x0 ldr x9, [x19, #16] b LBB0_25 LBB0_24: ; in Loop: Header=BB0_25 Depth=1 subs x8, x8, #1 b.eq LBB0_28 LBB0_25: ; =>This Inner Loop Header: Depth=1 ldrsw x10, [x9], #4 lsl x10, x10, #3 cmp x10, w0, sxtw b.ls LBB0_24 ; %bb.26: ; in Loop: Header=BB0_25 Depth=1 str w10, [x19, #4] mov x0, x10 b LBB0_24 LBB0_27: mov w0, #0 ; =0x0 LBB0_28: bl _malloc str x0, [x19, #8] cbz x0, LBB0_30 ; %bb.29: ldr w2, [x19, #4] mov w1, #0 ; =0x0 bl _memset mov w0, #0 ; =0x0 b LBB0_32 LBB0_30: ldr x0, [x19, #16] bl _free LBB0_31: mov w0, #-1 ; =0xffffffff LBB0_32: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp d9, d8, [sp, #16] ; 16-byte Folded Reload ldp d11, d10, [sp], #112 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "headphone-dim" l_.str.1: ; @.str.1 .asciz "headphone-compensate" .comm _AOUT_CHAN_REARCENTER,4,2 ; @AOUT_CHAN_REARCENTER .comm _AOUT_CHAN_CENTER,4,2 ; @AOUT_CHAN_CENTER .comm _AOUT_CHAN_LEFT,4,2 ; @AOUT_CHAN_LEFT .comm _AOUT_CHAN_RIGHT,4,2 ; @AOUT_CHAN_RIGHT .comm _AOUT_CHAN_MIDDLELEFT,4,2 ; @AOUT_CHAN_MIDDLELEFT .comm _AOUT_CHAN_MIDDLERIGHT,4,2 ; @AOUT_CHAN_MIDDLERIGHT .comm _AOUT_CHAN_REARLEFT,4,2 ; @AOUT_CHAN_REARLEFT .comm _AOUT_CHAN_REARRIGHT,4,2 ; @AOUT_CHAN_REARRIGHT .comm _AOUT_CHAN_LFE,4,2 ; @AOUT_CHAN_LFE .no_dead_strip _Init .subsections_via_symbols
assembly_file_87043.c
assembly_dataset
.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 $42, %eax popq %rbp retq .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 2 _main: ; @main .cfi_startproc ; %bb.0: mov w0, #42 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/897224.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kdb_getphysword ## -- Begin function kdb_getphysword .p2align 4, 0x90 _kdb_getphysword: ## @kdb_getphysword .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq $0, (%rdi) leaq -1(%rdx), %rax cmpq $7, %rax ja LBB0_4 ## %bb.1: movq %rdi, %r14 leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB0_2: leaq -24(%rbp), %rdi movl $8, %edx callq _kdb_getphys movl %eax, %ebx testl %eax, %eax jne LBB0_5 ## %bb.3: movq -24(%rbp), %rax movq %rax, (%r14) xorl %ebx, %ebx jmp LBB0_5 LBB0_4: movq _KDB_BADWIDTH@GOTPCREL(%rip), %rax movl (%rax), %ebx leaq L_.str(%rip), %rdi movq %rdx, %rsi callq _kdb_printf LBB0_5: movl %ebx, %eax addq $16, %rsp popq %rbx popq %r14 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 LJTI0_0: .long L0_0_set_2 .long L0_0_set_2 .long L0_0_set_4 .long L0_0_set_2 .long L0_0_set_4 .long L0_0_set_4 .long L0_0_set_4 .long L0_0_set_2 .end_data_region ## -- End function .comm _KDB_BADWIDTH,4,2 ## @KDB_BADWIDTH .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "kdb_getphysword: bad width %ld\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _kdb_getphysword ; -- Begin function kdb_getphysword .p2align 2 _kdb_getphysword: ; @kdb_getphysword .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 str xzr, [x0] sub x8, x2, #1 cmp x8, #7 b.hi LBB0_4 ; %bb.1: mov x19, x0 Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: add x0, sp, #8 mov w2, #8 bl _kdb_getphys mov x20, x0 cbnz w0, LBB0_5 ; %bb.3: ldr x8, [sp, #8] str x8, [x19] b LBB0_5 LBB0_4: Lloh2: adrp x8, _KDB_BADWIDTH@GOTPAGE Lloh3: ldr x8, [x8, _KDB_BADWIDTH@GOTPAGEOFF] Lloh4: ldr w20, [x8] Lloh5: adrp x0, l_.str@PAGE Lloh6: add x0, x0, l_.str@PAGEOFF mov x1, x2 bl _kdb_printf LBB0_5: mov x0, x20 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 ; -- End function .comm _KDB_BADWIDTH,4,2 ; @KDB_BADWIDTH .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "kdb_getphysword: bad width %ld\n" .subsections_via_symbols
AnghaBench/linux/kernel/debug/kdb/extr_kdb_support.c_kdb_getphysword.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function xp_fill_rect _xp_fill_rect: ## @xp_fill_rect .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, %r14d movl %r8d, %r13d movl %ecx, %r12d movl %edx, %r15d movl %esi, -44(%rbp) ## 4-byte Spill movq %rdi, %rbx movq _ROP_P@GOTPCREL(%rip), %rax movl (%rax), %edx movl $8487, %esi ## imm = 0x2127 callq _writemmr movq %rbx, %rdi movl $8536, %esi ## imm = 0x2158 movl %r14d, %edx callq _writemmr movq _DRAWFL@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl $16384, %edx ## imm = 0x4000 callq _writemmr movq _OLDDIM@GOTPCREL(%rip), %rax movl (%rax), %r14d movl %r13d, %edi movl %r12d, %esi callq _point movq %rbx, %rdi movl %r14d, %esi movl %eax, %edx callq _writemmr movq _OLDDST@GOTPCREL(%rip), %rax movl (%rax), %r14d movl %r15d, %edi movl -44(%rbp), %esi ## 4-byte Reload callq _point movq %rbx, %rdi movl %r14d, %esi movl %eax, %edx callq _writemmr movq _OLDCMD@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rdi movl $1, %esi callq _t_outb movl (%rbx), %esi movq %rbx, %rdi movl $8485, %edx ## imm = 0x2125 addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _t_outb ## TAILCALL .cfi_endproc ## -- End function .comm _ROP_P,4,2 ## @ROP_P .comm _DRAWFL,4,2 ## @DRAWFL .comm _OLDDIM,4,2 ## @OLDDIM .comm _OLDDST,4,2 ## @OLDDST .comm _OLDCMD,4,2 ## @OLDCMD .no_dead_strip _xp_fill_rect .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function xp_fill_rect _xp_fill_rect: ; @xp_fill_rect .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x20, x5 mov x21, x4 mov x22, x3 mov x23, x2 mov x24, x1 mov x19, x0 Lloh0: adrp x8, _ROP_P@GOTPAGE Lloh1: ldr x8, [x8, _ROP_P@GOTPAGEOFF] Lloh2: ldr w2, [x8] mov w1, #8487 bl _writemmr mov x0, x19 mov w1, #8536 mov x2, x20 bl _writemmr Lloh3: adrp x8, _DRAWFL@GOTPAGE Lloh4: ldr x8, [x8, _DRAWFL@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 mov w2, #16384 bl _writemmr Lloh6: adrp x8, _OLDDIM@GOTPAGE Lloh7: ldr x8, [x8, _OLDDIM@GOTPAGEOFF] Lloh8: ldr w20, [x8] mov x0, x21 mov x1, x22 bl _point mov x2, x0 mov x0, x19 mov x1, x20 bl _writemmr Lloh9: adrp x8, _OLDDST@GOTPAGE Lloh10: ldr x8, [x8, _OLDDST@GOTPAGEOFF] Lloh11: ldr w20, [x8] mov x0, x23 mov x1, x24 bl _point mov x2, x0 mov x0, x19 mov x1, x20 bl _writemmr Lloh12: adrp x8, _OLDCMD@GOTPAGE Lloh13: ldr x8, [x8, _OLDCMD@GOTPAGEOFF] Lloh14: ldr w2, [x8] mov x0, x19 mov w1, #1 bl _t_outb ldr w1, [x19] mov x0, x19 mov w2, #8485 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _t_outb .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ROP_P,4,2 ; @ROP_P .comm _DRAWFL,4,2 ; @DRAWFL .comm _OLDDIM,4,2 ; @OLDDIM .comm _OLDDST,4,2 ; @OLDDST .comm _OLDCMD,4,2 ; @OLDCMD .no_dead_strip _xp_fill_rect .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/video/extr_tridentfb.c_xp_fill_rect.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function jsonParseFindParents _jsonParseFindParents: ## @jsonParseFindParents .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx xorl %edi, %edi cmpq $0, 8(%rbx) sete %dil callq _assert movl (%rbx), %edi shll $2, %edi callq _sqlite3_malloc64 movq %rax, 8(%rbx) testq %rax, %rax je LBB0_1 ## %bb.2: movq %rbx, %rdi xorl %esi, %esi xorl %edx, %edx callq _jsonParseFillInParentage movq _SQLITE_OK@GOTPCREL(%rip), %rax jmp LBB0_3 LBB0_1: movl $1, 4(%rbx) movq _SQLITE_NOMEM@GOTPCREL(%rip), %rax LBB0_3: movl (%rax), %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _SQLITE_NOMEM,4,2 ## @SQLITE_NOMEM .comm _SQLITE_OK,4,2 ## @SQLITE_OK .no_dead_strip _jsonParseFindParents .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function jsonParseFindParents _jsonParseFindParents: ; @jsonParseFindParents .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x0 ldr x8, [x0, #8] cmp x8, #0 cset w0, eq bl _assert ldr w8, [x19] lsl w0, w8, #2 bl _sqlite3_malloc64 str x0, [x19, #8] cbz x0, LBB0_2 ; %bb.1: mov x0, x19 mov w1, #0 mov w2, #0 bl _jsonParseFillInParentage Lloh0: adrp x8, _SQLITE_OK@GOTPAGE Lloh1: ldr x8, [x8, _SQLITE_OK@GOTPAGEOFF] b LBB0_3 LBB0_2: mov w8, #1 str w8, [x19, #4] Lloh2: adrp x8, _SQLITE_NOMEM@GOTPAGE Lloh3: ldr x8, [x8, _SQLITE_NOMEM@GOTPAGEOFF] LBB0_3: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _SQLITE_NOMEM,4,2 ; @SQLITE_NOMEM .comm _SQLITE_OK,4,2 ; @SQLITE_OK .no_dead_strip _jsonParseFindParents .subsections_via_symbols
AnghaBench/sqlcipher/ext/misc/extr_json1.c_jsonParseFindParents.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ex_abbr ## -- Begin function ex_abbr .p2align 4, 0x90 _ex_abbr: ## @ex_abbr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movl (%rsi), %eax cmpl $2, %eax je LBB0_5 ## %bb.1: testl %eax, %eax jne LBB0_4 ## %bb.2: movq _SEQ_ABBREV@GOTPCREL(%rip), %rax movl (%rax), %esi xorl %ebx, %ebx movq %r14, %rdi xorl %edx, %edx callq _seq_dump testl %eax, %eax jne LBB0_23 ## %bb.3: movq _M_INFO@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str(%rip), %rdx movq %r14, %rdi callq _msgq jmp LBB0_23 LBB0_5: movq %rsi, %r15 movq 8(%rsi), %rax movq (%rax), %rax movq (%rax), %rcx movslq 8(%rax), %rax movsbl -1(%rax,%rcx), %edi callq _inword testq %rax, %rax je LBB0_6 ## %bb.9: movq 8(%r15), %rdx movq (%rdx), %rax movq (%rax), %rbx movb (%rbx), %cl testb %cl, %cl je LBB0_15 ## %bb.10: incq %rbx .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movsbl %cl, %edi callq _ISBLANK testq %rax, %rax jne LBB0_13 ## %bb.11: ## in Loop: Header=BB0_12 Depth=1 movzbl (%rbx), %ecx incq %rbx testb %cl, %cl jne LBB0_12 ## %bb.14: movq 8(%r15), %rdx movq (%rdx), %rax LBB0_15: movl 8(%rax), %r12d cmpl $3, %r12d jl LBB0_21 ## %bb.16: movq %r14, -48(%rbp) ## 8-byte Spill addl $-2, %r12d movq (%rax), %r13 xorl %r14d, %r14d .p2align 4, 0x90 LBB0_18: ## =>This Inner Loop Header: Depth=1 movsbl (%r13,%r14), %edi callq _inword movq %rax, %rbx movsbl 1(%r13,%r14), %edi callq _inword cmpq %rax, %rbx jne LBB0_19 ## %bb.17: ## in Loop: Header=BB0_18 Depth=1 incq %r14 cmpq %r14, %r12 jne LBB0_18 ## %bb.20: movq 8(%r15), %rdx movq (%rdx), %rax movl 8(%rax), %r12d movq -48(%rbp), %r14 ## 8-byte Reload LBB0_21: movq (%rax), %rcx movq 8(%rdx), %rax movq (%rax), %r9 movl 8(%rax), %r10d movq _SEQ_ABBREV@GOTPCREL(%rip), %rdx movl (%rdx), %ebx movq _SEQ_USERDEF@GOTPCREL(%rip), %rdx movl (%rdx), %eax subq $8, %rsp movq %r14, %rdi xorl %esi, %esi xorl %edx, %edx movl %r12d, %r8d pushq %rax pushq %rbx pushq %r10 callq _seq_set addq $32, %rsp movl $1, %ebx testq %rax, %rax jne LBB0_23 ## %bb.22: movl (%r14), %edi movq _G_ABBREV@GOTPCREL(%rip), %rax movl (%rax), %esi callq _F_SET xorl %ebx, %ebx jmp LBB0_23 LBB0_6: movq _M_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.1(%rip), %rdx jmp LBB0_7 LBB0_13: movq _M_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.2(%rip), %rdx LBB0_7: movq %r14, %rdi LBB0_8: callq _msgq movl $1, %ebx LBB0_23: movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_19: movq _M_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi leaq L_.str.3(%rip), %rdx movq -48(%rbp), %rdi ## 8-byte Reload jmp LBB0_8 LBB0_4: xorl %eax, %eax callq _abort .cfi_endproc ## -- End function .comm _SEQ_ABBREV,4,2 ## @SEQ_ABBREV .comm _M_INFO,4,2 ## @M_INFO .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "105|No abbreviations to display" .comm _M_ERR,4,2 ## @M_ERR L_.str.1: ## @.str.1 .asciz "106|Abbreviations must end with a \"word\" character" L_.str.2: ## @.str.2 .asciz "107|Abbreviations may not contain tabs or spaces" L_.str.3: ## @.str.3 .asciz "108|Abbreviations may not mix word/non-word characters, except at the end" .comm _SEQ_USERDEF,4,2 ## @SEQ_USERDEF .comm _G_ABBREV,4,2 ## @G_ABBREV .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ex_abbr ; -- Begin function ex_abbr .p2align 2 _ex_abbr: ; @ex_abbr .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 ldr w8, [x1] cmp w8, #2 b.eq LBB0_4 ; %bb.1: cbnz w8, LBB0_24 ; %bb.2: Lloh0: adrp x8, _SEQ_ABBREV@GOTPAGE Lloh1: ldr x8, [x8, _SEQ_ABBREV@GOTPAGEOFF] Lloh2: ldr w1, [x8] mov x0, x19 mov w2, #0 bl _seq_dump mov x8, x0 mov w0, #0 cbnz w8, LBB0_23 ; %bb.3: Lloh3: adrp x8, _M_INFO@GOTPAGE Lloh4: ldr x8, [x8, _M_INFO@GOTPAGEOFF] Lloh5: ldr w1, [x8] Lloh6: adrp x2, l_.str@PAGE Lloh7: add x2, x2, l_.str@PAGEOFF mov x0, x19 bl _msgq b LBB0_17 LBB0_4: mov x20, x1 ldr x8, [x1, #8] ldr x8, [x8] ldr x9, [x8] ldrsw x8, [x8, #8] add x8, x8, x9 ldursb w0, [x8, #-1] bl _inword cbz x0, LBB0_18 ; %bb.5: ldr x8, [x20, #8] ldr x9, [x8] ldr x11, [x9] ldrb w10, [x11] cbz w10, LBB0_10 ; %bb.6: add x21, x11, #1 LBB0_7: ; =>This Inner Loop Header: Depth=1 sxtb w0, w10 bl _ISBLANK cbnz x0, LBB0_19 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 ldrb w10, [x21], #1 cbnz w10, LBB0_7 ; %bb.9: ldr x8, [x20, #8] ldr x9, [x8] LBB0_10: ldr w4, [x9, #8] cmp w4, #3 b.lt LBB0_15 ; %bb.11: sub w22, w4, #2 ldr x8, [x9] add x23, x8, #1 LBB0_12: ; =>This Inner Loop Header: Depth=1 ldursb w0, [x23, #-1] bl _inword mov x21, x0 ldrsb w0, [x23] bl _inword cmp x21, x0 b.ne LBB0_20 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 add x23, x23, #1 subs x22, x22, #1 b.ne LBB0_12 ; %bb.14: ldr x8, [x20, #8] ldr x9, [x8] ldr w4, [x9, #8] LBB0_15: ldr x3, [x9] ldr x8, [x8, #8] ldr x5, [x8] ldr w6, [x8, #8] Lloh8: adrp x8, _SEQ_ABBREV@GOTPAGE Lloh9: ldr x8, [x8, _SEQ_ABBREV@GOTPAGEOFF] Lloh10: ldr w7, [x8] Lloh11: adrp x8, _SEQ_USERDEF@GOTPAGE Lloh12: ldr x8, [x8, _SEQ_USERDEF@GOTPAGEOFF] Lloh13: ldr w8, [x8] str w8, [sp] mov x0, x19 mov x1, #0 mov w2, #0 bl _seq_set cbnz x0, LBB0_22 ; %bb.16: ldr w0, [x19] Lloh14: adrp x8, _G_ABBREV@GOTPAGE Lloh15: ldr x8, [x8, _G_ABBREV@GOTPAGEOFF] Lloh16: ldr w1, [x8] bl _F_SET LBB0_17: mov w0, #0 b LBB0_23 LBB0_18: Lloh17: adrp x8, _M_ERR@GOTPAGE Lloh18: ldr x8, [x8, _M_ERR@GOTPAGEOFF] Lloh19: ldr w1, [x8] Lloh20: adrp x2, l_.str.1@PAGE Lloh21: add x2, x2, l_.str.1@PAGEOFF b LBB0_21 LBB0_19: Lloh22: adrp x8, _M_ERR@GOTPAGE Lloh23: ldr x8, [x8, _M_ERR@GOTPAGEOFF] Lloh24: ldr w1, [x8] Lloh25: adrp x2, l_.str.2@PAGE Lloh26: add x2, x2, l_.str.2@PAGEOFF b LBB0_21 LBB0_20: Lloh27: adrp x8, _M_ERR@GOTPAGE Lloh28: ldr x8, [x8, _M_ERR@GOTPAGEOFF] Lloh29: ldr w1, [x8] Lloh30: adrp x2, l_.str.3@PAGE Lloh31: add x2, x2, l_.str.3@PAGEOFF LBB0_21: mov x0, x19 bl _msgq LBB0_22: mov w0, #1 LBB0_23: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_24: bl _abort .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpAdd Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpAdd Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh27, Lloh28, Lloh29 .cfi_endproc ; -- End function .comm _SEQ_ABBREV,4,2 ; @SEQ_ABBREV .comm _M_INFO,4,2 ; @M_INFO .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "105|No abbreviations to display" .comm _M_ERR,4,2 ; @M_ERR l_.str.1: ; @.str.1 .asciz "106|Abbreviations must end with a \"word\" character" l_.str.2: ; @.str.2 .asciz "107|Abbreviations may not contain tabs or spaces" l_.str.3: ; @.str.3 .asciz "108|Abbreviations may not mix word/non-word characters, except at the end" .comm _SEQ_USERDEF,4,2 ; @SEQ_USERDEF .comm _G_ABBREV,4,2 ; @G_ABBREV .subsections_via_symbols
AnghaBench/freebsd/contrib/nvi/ex/extr_ex_abbrev.c_ex_abbr.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sqliteErrorFromPosixError _sqliteErrorFromPosixError: ## @sqliteErrorFromPosixError .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %esi, %ebx movl %edi, %r14d movq _SQLITE_IOERR_LOCK@GOTPCREL(%rip), %rax cmpl %esi, (%rax) sete %al movq _SQLITE_IOERR_UNLOCK@GOTPCREL(%rip), %rcx cmpl %esi, (%rcx) sete %cl orb %al, %cl movq _SQLITE_IOERR_RDLOCK@GOTPCREL(%rip), %rax cmpl %esi, (%rax) sete %al movq _SQLITE_IOERR_CHECKRESERVEDLOCK@GOTPCREL(%rip), %rdx cmpl %esi, (%rdx) sete %dl orb %al, %dl orb %cl, %dl movzbl %dl, %edi callq _assert leal -130(%r14), %eax cmpl $5, %eax jae LBB0_1 LBB0_3: movq _SQLITE_BUSY@GOTPCREL(%rip), %rax LBB0_5: movl (%rax), %ebx LBB0_6: movl %ebx, %eax popq %rbx popq %r14 popq %rbp retq LBB0_1: cmpl $129, %r14d je LBB0_4 ## %bb.2: cmpl $128, %r14d je LBB0_3 jmp LBB0_6 LBB0_4: movq _SQLITE_PERM@GOTPCREL(%rip), %rax jmp LBB0_5 .cfi_endproc ## -- End function .comm _SQLITE_IOERR_LOCK,4,2 ## @SQLITE_IOERR_LOCK .comm _SQLITE_IOERR_UNLOCK,4,2 ## @SQLITE_IOERR_UNLOCK .comm _SQLITE_IOERR_RDLOCK,4,2 ## @SQLITE_IOERR_RDLOCK .comm _SQLITE_IOERR_CHECKRESERVEDLOCK,4,2 ## @SQLITE_IOERR_CHECKRESERVEDLOCK .comm _SQLITE_BUSY,4,2 ## @SQLITE_BUSY .comm _SQLITE_PERM,4,2 ## @SQLITE_PERM .no_dead_strip _sqliteErrorFromPosixError .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sqliteErrorFromPosixError _sqliteErrorFromPosixError: ; @sqliteErrorFromPosixError .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x1 mov x20, x0 Lloh0: adrp x8, _SQLITE_IOERR_LOCK@GOTPAGE Lloh1: ldr x8, [x8, _SQLITE_IOERR_LOCK@GOTPAGEOFF] Lloh2: ldr w8, [x8] Lloh3: adrp x9, _SQLITE_IOERR_UNLOCK@GOTPAGE Lloh4: ldr x9, [x9, _SQLITE_IOERR_UNLOCK@GOTPAGEOFF] cmp w8, w1 Lloh5: ldr w8, [x9] ccmp w8, w1, #4, ne Lloh6: adrp x8, _SQLITE_IOERR_RDLOCK@GOTPAGE Lloh7: ldr x8, [x8, _SQLITE_IOERR_RDLOCK@GOTPAGEOFF] Lloh8: ldr w8, [x8] ccmp w8, w1, #4, ne Lloh9: adrp x8, _SQLITE_IOERR_CHECKRESERVEDLOCK@GOTPAGE Lloh10: ldr x8, [x8, _SQLITE_IOERR_CHECKRESERVEDLOCK@GOTPAGEOFF] Lloh11: ldr w8, [x8] ccmp w8, w1, #4, ne cset w0, eq bl _assert sub w8, w20, #130 cmp w8, #5 b.hs LBB0_4 LBB0_1: Lloh12: adrp x8, _SQLITE_BUSY@GOTPAGE Lloh13: ldr x8, [x8, _SQLITE_BUSY@GOTPAGEOFF] LBB0_2: ldr w19, [x8] LBB0_3: mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_4: cmp w20, #129 b.eq LBB0_6 ; %bb.5: cmp w20, #128 b.eq LBB0_1 b LBB0_3 LBB0_6: Lloh14: adrp x8, _SQLITE_PERM@GOTPAGE Lloh15: ldr x8, [x8, _SQLITE_PERM@GOTPAGEOFF] b LBB0_2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _SQLITE_IOERR_LOCK,4,2 ; @SQLITE_IOERR_LOCK .comm _SQLITE_IOERR_UNLOCK,4,2 ; @SQLITE_IOERR_UNLOCK .comm _SQLITE_IOERR_RDLOCK,4,2 ; @SQLITE_IOERR_RDLOCK .comm _SQLITE_IOERR_CHECKRESERVEDLOCK,4,2 ; @SQLITE_IOERR_CHECKRESERVEDLOCK .comm _SQLITE_BUSY,4,2 ; @SQLITE_BUSY .comm _SQLITE_PERM,4,2 ; @SQLITE_PERM .no_dead_strip _sqliteErrorFromPosixError .subsections_via_symbols
AnghaBench/freebsd/contrib/sqlite3/extr_sqlite3.c_sqliteErrorFromPosixError.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function _wq_thactive_move __wq_thactive_move: ## @_wq_thactive_move .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edx, %r14d movl %esi, %r15d movq %rdi, %r12 movl %edx, %edi callq __wq_thactive_offset_for_qos movq %rax, %rbx movl %r15d, %edi callq __wq_thactive_offset_for_qos subq %rax, %rbx leaq 8(%r12), %rdi movq _relaxed@GOTPCREL(%rip), %rax movl (%rax), %edx movq %rbx, %rsi callq _os_atomic_add_orig movq (%r12), %rbx movl %r15d, %edi callq __wq_bucket decl (%rbx,%rax,4) movq (%r12), %rbx movl %r14d, %edi callq __wq_bucket incl (%rbx,%rax,4) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _relaxed,4,2 ## @relaxed .no_dead_strip __wq_thactive_move .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function _wq_thactive_move __wq_thactive_move: ; @_wq_thactive_move .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x2 mov x20, x1 mov x21, x0 mov x0, x2 bl __wq_thactive_offset_for_qos mov x22, x0 mov x0, x20 bl __wq_thactive_offset_for_qos sub x1, x22, x0 add x0, x21, #8 Lloh0: adrp x8, _relaxed@GOTPAGE Lloh1: ldr x8, [x8, _relaxed@GOTPAGEOFF] Lloh2: ldr w2, [x8] bl _os_atomic_add_orig ldr x22, [x21] mov x0, x20 bl __wq_bucket lsl x8, x0, #2 ldr w9, [x22, x8] sub w9, w9, #1 str w9, [x22, x8] ldr x20, [x21] mov x0, x19 bl __wq_bucket lsl x8, x0, #2 ldr w9, [x20, x8] add w9, w9, #1 str w9, [x20, x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _relaxed,4,2 ; @relaxed .no_dead_strip __wq_thactive_move .subsections_via_symbols
AnghaBench/darwin-xnu/bsd/pthread/extr_pthread_workqueue.c__wq_thactive_move.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ixgbe_xsk_umem ## -- Begin function ixgbe_xsk_umem .p2align 4, 0x90 _ixgbe_xsk_umem: ## @ixgbe_xsk_umem .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %r14 movq %rdi, %rbx movl 8(%rdi), %edi callq _READ_ONCE testl %eax, %eax je LBB0_2 ## %bb.1: movl (%r14), %r14d movl 4(%rbx), %esi movl %r14d, %edi callq _test_bit testl %eax, %eax je LBB0_2 ## %bb.3: movl (%rbx), %edi movl %r14d, %esi popq %rbx popq %r14 popq %rbp jmp _xdp_get_umem_from_qid ## TAILCALL LBB0_2: xorl %eax, %eax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ixgbe_xsk_umem ; -- Begin function ixgbe_xsk_umem .p2align 2 _ixgbe_xsk_umem: ; @ixgbe_xsk_umem .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x20, x1 mov x19, x0 ldr w0, [x0, #8] bl _READ_ONCE cbz w0, LBB0_3 ; %bb.1: ldr w20, [x20] ldr w1, [x19, #4] mov x0, x20 bl _test_bit cbz w0, LBB0_3 ; %bb.2: ldr w0, [x19] mov x1, x20 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _xdp_get_umem_from_qid LBB0_3: mov x0, #0 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/linux/drivers/net/ethernet/intel/ixgbe/extr_ixgbe_xsk.c_ixgbe_xsk_umem.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function si_thermal_enable_alert _si_thermal_enable_alert: ## @si_thermal_enable_alert .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %ebx movq %rdi, %r14 movq _CG_THERMAL_INT@GOTPCREL(%rip), %r15 movl (%r15), %edi callq _RREG32 movq _THERM_INT_MASK_HIGH@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _THERM_INT_MASK_LOW@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %ebx, %ebx je LBB0_3 ## %bb.1: orl %esi, %ecx notl %ecx andl %ecx, %eax movl (%r15), %edi movl %eax, %esi callq _WREG32 movq _PPSMC_MSG_EnableThermalInterrupt@GOTPCREL(%rip), %rax movl (%rax), %esi movq %r14, %rdi callq _amdgpu_si_send_msg_to_smc movq %rax, %rcx movq _PPSMC_Result_OK@GOTPCREL(%rip), %rdx xorl %eax, %eax cmpq (%rdx), %rcx je LBB0_4 ## %bb.2: leaq L_.str(%rip), %rdi callq _DRM_DEBUG_KMS movq _EINVAL@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_4 LBB0_3: orl %eax, %esi orl %ecx, %esi movl (%r15), %edi callq _WREG32 xorl %eax, %eax LBB0_4: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _CG_THERMAL_INT,4,2 ## @CG_THERMAL_INT .comm _THERM_INT_MASK_HIGH,4,2 ## @THERM_INT_MASK_HIGH .comm _THERM_INT_MASK_LOW,4,2 ## @THERM_INT_MASK_LOW .comm _PPSMC_MSG_EnableThermalInterrupt,4,2 ## @PPSMC_MSG_EnableThermalInterrupt .comm _PPSMC_Result_OK,8,3 ## @PPSMC_Result_OK .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Could not enable thermal interrupts.\n" .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _si_thermal_enable_alert .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function si_thermal_enable_alert _si_thermal_enable_alert: ; @si_thermal_enable_alert .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x19, x0 Lloh0: adrp x21, _CG_THERMAL_INT@GOTPAGE Lloh1: ldr x21, [x21, _CG_THERMAL_INT@GOTPAGEOFF] ldr w0, [x21] bl _RREG32 Lloh2: adrp x8, _THERM_INT_MASK_HIGH@GOTPAGE Lloh3: ldr x8, [x8, _THERM_INT_MASK_HIGH@GOTPAGEOFF] Lloh4: ldr w8, [x8] Lloh5: adrp x9, _THERM_INT_MASK_LOW@GOTPAGE Lloh6: ldr x9, [x9, _THERM_INT_MASK_LOW@GOTPAGEOFF] Lloh7: ldr w9, [x9] cbz w20, LBB0_3 ; %bb.1: orr w8, w9, w8 bic w1, w0, w8 ldr w0, [x21] bl _WREG32 Lloh8: adrp x8, _PPSMC_MSG_EnableThermalInterrupt@GOTPAGE Lloh9: ldr x8, [x8, _PPSMC_MSG_EnableThermalInterrupt@GOTPAGEOFF] Lloh10: ldr w1, [x8] mov x0, x19 bl _amdgpu_si_send_msg_to_smc Lloh11: adrp x8, _PPSMC_Result_OK@GOTPAGE Lloh12: ldr x8, [x8, _PPSMC_Result_OK@GOTPAGEOFF] Lloh13: ldr x8, [x8] cmp x0, x8 b.eq LBB0_4 ; %bb.2: Lloh14: adrp x0, l_.str@PAGE Lloh15: add x0, x0, l_.str@PAGEOFF bl _DRM_DEBUG_KMS Lloh16: adrp x8, _EINVAL@GOTPAGE Lloh17: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh18: ldr w8, [x8] neg w0, w8 b LBB0_5 LBB0_3: orr w8, w8, w0 orr w1, w8, w9 ldr w0, [x21] bl _WREG32 LBB0_4: mov w0, #0 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpAdd Lloh14, Lloh15 .cfi_endproc ; -- End function .comm _CG_THERMAL_INT,4,2 ; @CG_THERMAL_INT .comm _THERM_INT_MASK_HIGH,4,2 ; @THERM_INT_MASK_HIGH .comm _THERM_INT_MASK_LOW,4,2 ; @THERM_INT_MASK_LOW .comm _PPSMC_MSG_EnableThermalInterrupt,4,2 ; @PPSMC_MSG_EnableThermalInterrupt .comm _PPSMC_Result_OK,8,3 ; @PPSMC_Result_OK .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Could not enable thermal interrupts.\n" .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _si_thermal_enable_alert .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/amd/amdgpu/extr_si_dpm.c_si_thermal_enable_alert.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _write_to_file ## -- Begin function write_to_file .p2align 4, 0x90 _write_to_file: ## @write_to_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movl %edi, %r15d leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen testq %rax, %rax je LBB0_6 ## %bb.1: movq %rax, %r13 cmpl $2, %r15d jl LBB0_4 ## %bb.2: movl %r15d, %r12d movl $1, %ebx leaq L_.str.3(%rip), %r15 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 movq (%r14,%rbx,8), %rdi movq %r13, %rsi callq _fputs movq %r15, %rdi movq %r13, %rsi callq _fputs incq %rbx cmpq %rbx, %r12 jne LBB0_3 LBB0_4: movq %r13, %rdi callq _fclose xorl %eax, %eax LBB0_5: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_6: leaq L_.str.2(%rip), %rdi callq _perror movl $-1, %eax jmp LBB0_5 .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 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movl %edi, %ebx leaq L_.str.4(%rip), %rdi xorl %r15d, %r15d movl %ebx, %esi xorl %eax, %eax callq _printf cmpl $2, %ebx jl LBB1_8 ## %bb.1: movl %ebx, %r12d movl $1, %ebx leaq L_.str.5(%rip), %r15 .p2align 4, 0x90 LBB1_2: ## =>This Inner Loop Header: Depth=1 movq (%r14,%rbx,8), %rsi movq %r15, %rdi xorl %eax, %eax callq _printf incq %rbx cmpq %rbx, %r12 jne LBB1_2 ## %bb.3: leaq L_.str(%rip), %rdi leaq L_.str.1(%rip), %rsi callq _fopen testq %rax, %rax je LBB1_7 ## %bb.4: movq %rax, %r13 movl $1, %ebx leaq L_.str.3(%rip), %r15 .p2align 4, 0x90 LBB1_5: ## =>This Inner Loop Header: Depth=1 movq (%r14,%rbx,8), %rdi movq %r13, %rsi callq _fputs movq %r15, %rdi movq %r13, %rsi callq _fputs incq %rbx cmpq %rbx, %r12 jne LBB1_5 ## %bb.6: movq %r13, %rdi callq _fclose xorl %r15d, %r15d LBB1_8: movl %r15d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB1_7: callq _main.cold.1 movl $-1, %r15d jmp LBB1_8 .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.1 _main.cold.1: ## @main.cold.1 .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.2(%rip), %rdi callq _perror leaq L_str(%rip), %rdi popq %rbp jmp _puts ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "data" L_.str.1: ## @.str.1 .asciz "w" L_.str.2: ## @.str.2 .asciz "fopen error\n" L_.str.3: ## @.str.3 .asciz "\n" L_.str.4: ## @.str.4 .asciz "argc: %d\n" L_.str.5: ## @.str.5 .asciz "argv: %s\n" L_str: ## @str .asciz "write error" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _write_to_file ; -- Begin function write_to_file .p2align 2 _write_to_file: ; @write_to_file .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x21, x0 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF Lloh2: adrp x1, l_.str.1@PAGE Lloh3: add x1, x1, l_.str.1@PAGEOFF bl _fopen cbz x0, LBB0_6 ; %bb.1: mov x19, x0 cmp w21, #2 b.lt LBB0_4 ; %bb.2: mov w8, w21 add x21, x20, #8 sub x22, x8, #1 Lloh4: adrp x20, l_.str.3@PAGE Lloh5: add x20, x20, l_.str.3@PAGEOFF LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x0, [x21], #8 mov x1, x19 bl _fputs mov x0, x20 mov x1, x19 bl _fputs subs x22, x22, #1 b.ne LBB0_3 LBB0_4: mov x0, x19 bl _fclose mov w0, #0 LBB0_5: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_6: Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _perror mov w0, #-1 b LBB0_5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .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 x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x1 mov x20, x0 str x20, [sp] Lloh8: adrp x0, l_.str.4@PAGE Lloh9: add x0, x0, l_.str.4@PAGEOFF bl _printf cmp w20, #2 b.lt LBB1_7 ; %bb.1: mov w8, w20 add x22, x19, #8 sub x21, x8, #1 Lloh10: adrp x20, l_.str.5@PAGE Lloh11: add x20, x20, l_.str.5@PAGEOFF mov x23, x21 LBB1_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22], #8 str x8, [sp] mov x0, x20 bl _printf subs x23, x23, #1 b.ne LBB1_2 ; %bb.3: Lloh12: adrp x0, l_.str@PAGE Lloh13: add x0, x0, l_.str@PAGEOFF Lloh14: adrp x1, l_.str.1@PAGE Lloh15: add x1, x1, l_.str.1@PAGEOFF bl _fopen cbz x0, LBB1_9 ; %bb.4: mov x20, x0 add x22, x19, #8 Lloh16: adrp x19, l_.str.3@PAGE Lloh17: add x19, x19, l_.str.3@PAGEOFF LBB1_5: ; =>This Inner Loop Header: Depth=1 ldr x0, [x22], #8 mov x1, x20 bl _fputs mov x0, x19 mov x1, x20 bl _fputs subs x21, x21, #1 b.ne LBB1_5 ; %bb.6: mov x0, x20 bl _fclose LBB1_7: mov w0, #0 LBB1_8: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB1_9: bl _main.cold.1 mov w0, #-1 b LBB1_8 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.1 _main.cold.1: ; @main.cold.1 .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 Lloh18: adrp x0, l_.str.2@PAGE Lloh19: add x0, x0, l_.str.2@PAGEOFF bl _perror Lloh20: adrp x0, l_str@PAGE Lloh21: add x0, x0, l_str@PAGEOFF ldp x29, x30, [sp], #16 ; 16-byte Folded Reload b _puts .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "data" l_.str.1: ; @.str.1 .asciz "w" l_.str.2: ; @.str.2 .asciz "fopen error\n" l_.str.3: ; @.str.3 .asciz "\n" l_.str.4: ; @.str.4 .asciz "argc: %d\n" l_.str.5: ; @.str.5 .asciz "argv: %s\n" l_str: ; @str .asciz "write error" .subsections_via_symbols
the_stack_data/82009.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal8,8byte_literals .p2align 3, 0x0 ## -- Begin function main LCPI0_0: .quad 0x4029608d3c41fb4b ## double 12.68857754044952 .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 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r13 movl %edi, %ebx leaq L_.str(%rip), %rdi movsd LCPI0_0(%rip), %xmm0 ## xmm0 = [1.268857754044952E+1,0.0E+0] movb $1, %al callq _printf leaq L_.str.1(%rip), %rdi movl $3, %esi xorl %eax, %eax callq _printf movq $0, -104(%rbp) movq $10000, -96(%rbp) ## imm = 0x2710 leaq -104(%rbp), %rdi xorl %esi, %esi callq _nanosleep leaq L_str(%rip), %rdi callq _puts movl %ebx, %edi movq %r13, %rsi callq _xo_parse_args testl %eax, %eax jle LBB0_69 ## %bb.1: movl %eax, %r15d movq _JLS_XO_VERSION@GOTPCREL(%rip), %rax movl (%rax), %edi callq _xo_set_version movl $0, -48(%rbp) leaq L_.str.3(%rip), %rdx movl %r15d, %edi movq %r13, %rsi callq _getopt ## kill: def $eax killed $eax def $rax testl %eax, %eax js LBB0_3 ## %bb.2: leaq L_.str.3(%rip), %r12 leaq LJTI0_0(%rip), %rbx movq $0, -72(%rbp) ## 8-byte Folded Spill movl $0, -44(%rbp) ## 4-byte Folded Spill xorl %r14d, %r14d movq $0, -56(%rbp) ## 8-byte Folded Spill jmp LBB0_14 LBB0_3: movq $0, -72(%rbp) ## 8-byte Folded Spill movq $0, -56(%rbp) ## 8-byte Folded Spill movl $0, -44(%rbp) ## 4-byte Folded Spill xorl %r14d, %r14d LBB0_4: movq _optind@GOTPCREL(%rip), %rbx movl (%rbx), %eax cmpl %r15d, %eax jne LBB0_7 ## %bb.5: movq _PRINT_HEADER@GOTPCREL(%rip), %rax movq _PRINT_NAMEVAL@GOTPCREL(%rip), %rcx movl (%rcx), %ecx orl (%rax), %ecx movl -44(%rbp), %r15d ## 4-byte Reload testl %r15d, %ecx je LBB0_28 ## %bb.6: leaq L_.str.5(%rip), %rdi jmp LBB0_32 LBB0_7: movq _PRINT_VERBOSE@GOTPCREL(%rip), %rcx movl (%rcx), %ecx notl %ecx andl %ecx, -44(%rbp) ## 4-byte Folded Spill cmpl %r15d, %eax jge LBB0_27 ## %bb.8: movq _JP_USER@GOTPCREL(%rip), %r12 .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 leal -1(%rax), %ecx movl %ecx, (%rbx) cltq movq (%r13,%rax,8), %rdi movl (%r12), %r8d xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %eax, %eax callq _add_param movl (%rbx), %eax cmpl %r15d, %eax jl LBB0_9 LBB0_27: movl -44(%rbp), %r15d ## 4-byte Reload jmp LBB0_33 LBB0_11: ## in Loop: Header=BB0_14 Depth=1 movq _PRINT_VERBOSE@GOTPCREL(%rip), %rax movl (%rax), %eax notl %eax movl -44(%rbp), %ecx ## 4-byte Reload andl %eax, %ecx movq _PRINT_NAMEVAL@GOTPCREL(%rip), %rax LBB0_12: ## in Loop: Header=BB0_14 Depth=1 orl (%rax), %ecx movl %ecx, -44(%rbp) ## 4-byte Spill .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_14 Depth=1 movl %r15d, %edi movq %r13, %rsi movq %r12, %rdx callq _getopt ## kill: def $eax killed $eax def $rax testl %eax, %eax js LBB0_4 LBB0_14: ## =>This Inner Loop Header: Depth=1 addl $-78, %eax cmpl $40, %eax ja LBB0_26 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movslq (%rbx,%rax,4), %rax addq %rbx, %rax jmpq *%rax LBB0_16: ## in Loop: Header=BB0_14 Depth=1 movq _JAIL_DYING@GOTPCREL(%rip), %rax orl (%rax), %r14d jmp LBB0_13 LBB0_17: ## in Loop: Header=BB0_14 Depth=1 movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq -88(%rbp), %rsi movl $10, %edx callq _strtoul ## kill: def $eax killed $eax def $rax movl %eax, -48(%rbp) movq %rax, -72(%rbp) ## 8-byte Spill testl %eax, %eax je LBB0_19 ## %bb.18: ## in Loop: Header=BB0_14 Depth=1 movq -88(%rbp), %rax cmpb $0, (%rax) je LBB0_13 LBB0_19: ## in Loop: Header=BB0_14 Depth=1 movl $0, -48(%rbp) movq _optarg@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -56(%rbp) ## 8-byte Spill movq $0, -72(%rbp) ## 8-byte Folded Spill jmp LBB0_13 LBB0_20: ## in Loop: Header=BB0_14 Depth=1 movq _PRINT_VERBOSE@GOTPCREL(%rip), %rax movl (%rax), %eax movq _PRINT_SKIP@GOTPCREL(%rip), %rcx orl (%rcx), %eax notl %eax movq _PRINT_HEADER@GOTPCREL(%rip), %rcx orl (%rcx), %eax orl %eax, -44(%rbp) ## 4-byte Folded Spill jmp LBB0_13 LBB0_21: ## in Loop: Header=BB0_14 Depth=1 movq _PRINT_VERBOSE@GOTPCREL(%rip), %rax movl (%rax), %eax movq _PRINT_HEADER@GOTPCREL(%rip), %rcx orl (%rcx), %eax notl %eax movl -44(%rbp), %ecx ## 4-byte Reload andl %eax, %ecx movq _PRINT_NAMEVAL@GOTPCREL(%rip), %rax orl (%rax), %ecx movq _PRINT_QUOTED@GOTPCREL(%rip), %rax orl (%rax), %ecx movq _PRINT_SKIP@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_22: ## in Loop: Header=BB0_14 Depth=1 movq _PRINT_NAMEVAL@GOTPCREL(%rip), %rax movl (%rax), %eax movq _PRINT_HEADER@GOTPCREL(%rip), %rcx orl (%rcx), %eax movq _PRINT_SKIP@GOTPCREL(%rip), %rcx orl (%rcx), %eax notl %eax movl -44(%rbp), %ecx ## 4-byte Reload andl %eax, %ecx movq _PRINT_VERBOSE@GOTPCREL(%rip), %rax jmp LBB0_12 LBB0_23: ## in Loop: Header=BB0_14 Depth=1 movl -44(%rbp), %eax ## 4-byte Reload movq _PRINT_JAIL_NAME@GOTPCREL(%rip), %rcx jmp LBB0_25 LBB0_24: ## in Loop: Header=BB0_14 Depth=1 movl -44(%rbp), %eax ## 4-byte Reload movq _PRINT_QUOTED@GOTPCREL(%rip), %rcx LBB0_25: ## in Loop: Header=BB0_14 Depth=1 orl (%rcx), %eax movl %eax, -44(%rbp) ## 4-byte Spill jmp LBB0_13 LBB0_26: ## in Loop: Header=BB0_14 Depth=1 movl $1, %edi leaq L_.str.4(%rip), %rsi xorl %eax, %eax callq _xo_errx jmp LBB0_13 LBB0_28: movq _PRINT_VERBOSE@GOTPCREL(%rip), %rax testl %r15d, (%rax) je LBB0_30 ## %bb.29: movq _JP_USER@GOTPCREL(%rip), %rbx movl (%rbx), %r8d leaq L_.str.6(%rip), %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %eax, %eax callq _add_param movl (%rbx), %r8d leaq L_.str.7(%rip), %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %eax, %eax callq _add_param movl (%rbx), %r8d leaq L_.str.8(%rip), %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %eax, %eax callq _add_param movl (%rbx), %r8d leaq L_.str.9(%rip), %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %eax, %eax callq _add_param leaq L_.str.11(%rip), %rbx leaq L_.str.10(%rip), %rdi jmp LBB0_31 LBB0_30: movq _PRINT_DEFAULT@GOTPCREL(%rip), %rax orl (%rax), %r15d movq _PRINT_JAIL_NAME@GOTPCREL(%rip), %rax testl %r15d, (%rax) movq _JP_USER@GOTPCREL(%rip), %rax movl (%rax), %r8d leaq L_.str.6(%rip), %rax leaq L_.str.9(%rip), %rdi cmoveq %rax, %rdi xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %eax, %eax callq _add_param leaq L_.str.8(%rip), %rbx leaq L_.str.7(%rip), %rdi LBB0_31: movq _JP_USER@GOTPCREL(%rip), %rax movl (%rax), %r8d xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %eax, %eax callq _add_param movq %rbx, %rdi LBB0_32: movq _JP_USER@GOTPCREL(%rip), %rax movl (%rax), %r8d xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %eax, %eax callq _add_param LBB0_33: movq _PRINT_SKIP@GOTPCREL(%rip), %rax movq _nparams@GOTPCREL(%rip), %r12 movl %r15d, -44(%rbp) ## 4-byte Spill testl %r15d, (%rax) je LBB0_40 ## %bb.34: cmpl $0, (%r12) jle LBB0_40 ## %bb.35: movl $8, %ebx movq _params@GOTPCREL(%rip), %r15 xorl %r13d, %r13d movl %r14d, -76(%rbp) ## 4-byte Spill jmp LBB0_37 .p2align 4, 0x90 LBB0_36: ## in Loop: Header=BB0_37 Depth=1 incq %r13 movslq (%r12), %rax addq $16, %rbx cmpq %rax, %r13 jge LBB0_40 LBB0_37: ## =>This Inner Loop Header: Depth=1 movq (%r15), %rax movq _JP_USER@GOTPCREL(%rip), %rcx movl (%rcx), %ecx testl %ecx, -8(%rax,%rbx) je LBB0_36 ## %bb.38: ## in Loop: Header=BB0_37 Depth=1 movq (%rax,%rbx), %rdi movl $46, %esi callq _strchr testq %rax, %rax je LBB0_36 ## %bb.39: ## in Loop: Header=BB0_37 Depth=1 movq (%r15), %rcx movl %eax, %edi subl (%rcx,%rbx), %edi incl %edi movq %r15, %r14 movq %rax, %r15 callq _alloca movq %rax, %r12 movq (%r14), %rax movq (%rax,%rbx), %rsi subl %esi, %r15d incl %r15d movq %r12, %rdi movl %r15d, %edx movq %r14, %r15 movl -76(%rbp), %r14d ## 4-byte Reload callq _strlcpy movq _JP_OPT@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %r12, %rdi movq _nparams@GOTPCREL(%rip), %r12 xorl %esi, %esi xorl %edx, %edx xorl %ecx, %ecx xorl %eax, %eax callq _add_param movq _param_parent@GOTPCREL(%rip), %rcx movq (%rcx), %rcx movl %eax, (%rcx,%r13,4) jmp LBB0_36 LBB0_40: cmpl $0, -72(%rbp) ## 4-byte Folded Reload je LBB0_42 ## %bb.41: leaq L_.str.6(%rip), %rdi leaq -48(%rbp), %rsi movl $4, %edx xorl %ecx, %ecx xorl %r8d, %r8d xorl %eax, %eax callq _add_param movl -44(%rbp), %ebx ## 4-byte Reload movq -56(%rbp), %r12 ## 8-byte Reload jmp LBB0_46 LBB0_42: movq -56(%rbp), %r12 ## 8-byte Reload testq %r12, %r12 je LBB0_44 ## %bb.43: movq %r12, %rdi callq _strlen leaq L_.str.9(%rip), %rdi movq %r12, %rsi movl %eax, %edx xorl %ecx, %ecx xorl %r8d, %r8d xorl %eax, %eax callq _add_param jmp LBB0_45 LBB0_44: leaq L_.str.12(%rip), %rdi leaq -60(%rbp), %rsi movl $4, %edx xorl %ecx, %ecx xorl %r8d, %r8d xorl %eax, %eax callq _add_param LBB0_45: movl -44(%rbp), %ebx ## 4-byte Reload LBB0_46: movq _PRINT_VERBOSE@GOTPCREL(%rip), %rax testl %ebx, (%rax) je LBB0_56 ## %bb.47: leaq L_.str.13(%rip), %rdi leaq L_.str.14(%rip), %r15 movq %r15, %rsi movq %r15, %rdx xorl %eax, %eax callq _xo_emit leaq L_.str.15(%rip), %rdi movq %r15, %rsi movq %r15, %rdx xorl %eax, %eax callq _xo_emit leaq L_.str.16(%rip), %rdi movq %r15, %rsi xorl %eax, %eax callq _xo_emit leaq L_.str.17(%rip), %rdi movq %r15, %rsi xorl %eax, %eax callq _xo_emit LBB0_48: leaq L_.str.22(%rip), %rdi callq _xo_open_container leaq L_.str.23(%rip), %rdi callq _xo_open_list cmpl $0, -48(%rbp) setne %al testq %r12, %r12 setne %cl orb %al, %cl cmpb $1, %cl jne LBB0_50 ## %bb.49: movl %ebx, %edi movl %r14d, %esi callq _print_jail testl %eax, %eax jns LBB0_55 jmp LBB0_54 LBB0_50: movl $0, -60(%rbp) .p2align 4, 0x90 LBB0_51: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi movl %r14d, %esi callq _print_jail movl %eax, -60(%rbp) testl %eax, %eax jns LBB0_51 ## %bb.52: movq _errno@GOTPCREL(%rip), %rax movq (%rax), %rax testq %rax, %rax je LBB0_55 ## %bb.53: movq _ENOENT@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax je LBB0_55 LBB0_54: movq _jail_errmsg@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.24(%rip), %rsi movl $1, %edi xorl %eax, %eax callq _xo_errx LBB0_55: leaq L_.str.23(%rip), %rdi callq _xo_close_list leaq L_.str.22(%rip), %rdi callq _xo_close_container xorl %eax, %eax callq _xo_finish xorl %eax, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_56: movq _PRINT_DEFAULT@GOTPCREL(%rip), %rax testl %ebx, (%rax) je LBB0_59 ## %bb.57: movq _PRINT_JAIL_NAME@GOTPCREL(%rip), %rax testl %ebx, (%rax) je LBB0_67 ## %bb.58: leaq L_.str.18(%rip), %rdi xorl %eax, %eax callq _xo_emit jmp LBB0_48 LBB0_59: movq _PRINT_HEADER@GOTPCREL(%rip), %rax testl %ebx, (%rax) je LBB0_48 ## %bb.60: movq _nparams@GOTPCREL(%rip), %rax movl (%rax), %ecx testl %ecx, %ecx jle LBB0_68 ## %bb.61: movq _params@GOTPCREL(%rip), %rbx movq (%rbx), %rax movq _JP_USER@GOTPCREL(%rip), %r12 movl (%r12), %edx xorl %r13d, %r13d xorl %r15d, %r15d xorl %esi, %esi jmp LBB0_64 .p2align 4, 0x90 LBB0_62: ## in Loop: Header=BB0_64 Depth=1 movq 8(%rax,%r13), %rdi xorl %eax, %eax callq _xo_emit movq (%rbx), %rax movl (%r12), %edx movq _nparams@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl $1, %esi LBB0_63: ## in Loop: Header=BB0_64 Depth=1 incq %r15 movslq %ecx, %rdi addq $16, %r13 cmpq %rdi, %r15 jge LBB0_68 LBB0_64: ## =>This Inner Loop Header: Depth=1 testl %edx, (%rax,%r13) je LBB0_63 ## %bb.65: ## in Loop: Header=BB0_64 Depth=1 testl %esi, %esi je LBB0_62 ## %bb.66: ## in Loop: Header=BB0_64 Depth=1 leaq L_.str.20(%rip), %rdi xorl %eax, %eax callq _xo_emit movq (%rbx), %rax jmp LBB0_62 LBB0_67: leaq L_.str.19(%rip), %rdi leaq L_.str.14(%rip), %rdx movq %rdx, %rsi xorl %eax, %eax callq _xo_emit jmp LBB0_48 LBB0_68: leaq L_.str.21(%rip), %rdi xorl %eax, %eax callq _xo_emit movl -44(%rbp), %ebx ## 4-byte Reload movq -56(%rbp), %r12 ## 8-byte Reload jmp LBB0_48 LBB0_69: movl $1, %edi callq _exit .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_23, LBB0_23-LJTI0_0 .set L0_0_set_26, LBB0_26-LJTI0_0 .set L0_0_set_16, LBB0_16-LJTI0_0 .set L0_0_set_20, LBB0_20-LJTI0_0 .set L0_0_set_17, LBB0_17-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_24, LBB0_24-LJTI0_0 .set L0_0_set_21, LBB0_21-LJTI0_0 .set L0_0_set_22, LBB0_22-LJTI0_0 LJTI0_0: .long L0_0_set_23 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_16 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_16 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_20 .long L0_0_set_26 .long L0_0_set_17 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_11 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_24 .long L0_0_set_26 .long L0_0_set_21 .long L0_0_set_26 .long L0_0_set_26 .long L0_0_set_22 .end_data_region ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "AUGMENTATION_MARKER: Math op result: %f\n" L_.str.1: ## @.str.1 .asciz "AUGMENTATION_MARKER: Pointer op result: %d\n" .comm _JLS_XO_VERSION,4,2 ## @JLS_XO_VERSION L_.str.3: ## @.str.3 .asciz "adj:hNnqsv" .comm _JAIL_DYING,4,2 ## @JAIL_DYING .comm _optarg,8,3 ## @optarg .comm _PRINT_SKIP,4,2 ## @PRINT_SKIP .comm _PRINT_VERBOSE,4,2 ## @PRINT_VERBOSE .comm _PRINT_HEADER,4,2 ## @PRINT_HEADER .comm _PRINT_JAIL_NAME,4,2 ## @PRINT_JAIL_NAME .comm _PRINT_NAMEVAL,4,2 ## @PRINT_NAMEVAL .comm _PRINT_QUOTED,4,2 ## @PRINT_QUOTED L_.str.4: ## @.str.4 .asciz "usage: jls [-dhNnqv] [-j jail] [param ...]" .comm _optind,4,2 ## @optind L_.str.5: ## @.str.5 .asciz "all" .comm _JP_USER,4,2 ## @JP_USER L_.str.6: ## @.str.6 .asciz "jid" L_.str.7: ## @.str.7 .asciz "host.hostname" L_.str.8: ## @.str.8 .asciz "path" L_.str.9: ## @.str.9 .asciz "name" L_.str.10: ## @.str.10 .asciz "dying" L_.str.11: ## @.str.11 .asciz "cpuset.id" .comm _PRINT_DEFAULT,4,2 ## @PRINT_DEFAULT .comm _nparams,4,2 ## @nparams .comm _params,8,3 ## @params .comm _JP_OPT,4,2 ## @JP_OPT .comm _param_parent,8,3 ## @param_parent L_.str.12: ## @.str.12 .asciz "lastjid" L_.str.13: ## @.str.13 .asciz "{T:/%3s}{T:JID}{P: }{T:Hostname}{Pd:/%22s}{T:Path}\n" L_.str.14: ## @.str.14 .space 1 L_.str.15: ## @.str.15 .asciz "{P:/%8s}{T:Name}{Pd:/%26s}{T:State}\n" L_.str.16: ## @.str.16 .asciz "{P:/%8s}{T:CPUSetID}\n" L_.str.17: ## @.str.17 .asciz "{P:/%8s}{T:IP Address(es)}\n" L_.str.18: ## @.str.18 .asciz "{P: }{T:JID/%-15s}{P: }{T:IP Address/%-15s}{P: }{T:Hostname/%-29s}{P: }{T:Path}\n" L_.str.19: ## @.str.19 .asciz "{T:JID/%6s}{P: }{T:IP Address}{P:/%6s}{T:Hostname}{P:/%22s}{T:Path}\n" L_.str.20: ## @.str.20 .asciz "{P: }" L_.str.21: ## @.str.21 .asciz "{P:\n}" L_.str.22: ## @.str.22 .asciz "jail-information" L_.str.23: ## @.str.23 .asciz "jail" L_.str.24: ## @.str.24 .asciz "%s" .comm _jail_errmsg,4,2 ## @jail_errmsg .comm _errno,8,3 ## @errno .comm _ENOENT,8,3 ## @ENOENT .comm _ip4_ok,8,3 ## @ip4_ok .comm _ip6_ok,8,3 ## @ip6_ok L_str: ## @str .asciz "AUGMENTATION_MARKER: Hello from augmentation!" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .section __TEXT,__literal16,16byte_literals .p2align 4, 0x0 ; -- Begin function main lCPI0_0: .quad 0 ; 0x0 .quad 10000 ; 0x2710 .section __TEXT,__text,regular,pure_instructions .globl _main .p2align 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #192 stp x28, x27, [sp, #96] ; 16-byte Folded Spill stp x26, x25, [sp, #112] ; 16-byte Folded Spill stp x24, x23, [sp, #128] ; 16-byte Folded Spill stp x22, x21, [sp, #144] ; 16-byte Folded Spill stp x20, x19, [sp, #160] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x23, x1 mov x19, x0 mov x8, #64331 ; =0xfb4b movk x8, #15425, lsl #16 movk x8, #24717, lsl #32 movk x8, #16425, lsl #48 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf mov w8, #3 ; =0x3 str x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf Lloh4: adrp x8, lCPI0_0@PAGE Lloh5: ldr q0, [x8, lCPI0_0@PAGEOFF] str q0, [sp, #80] add x0, sp, #80 mov x1, #0 ; =0x0 bl _nanosleep Lloh6: adrp x0, l_str@PAGE Lloh7: add x0, x0, l_str@PAGEOFF bl _puts mov x0, x19 mov x1, x23 bl _xo_parse_args cmp w0, #0 b.le LBB0_77 ; %bb.1: mov x24, x0 Lloh8: adrp x8, _JLS_XO_VERSION@GOTPAGE Lloh9: ldr x8, [x8, _JLS_XO_VERSION@GOTPAGEOFF] Lloh10: ldr w0, [x8] bl _xo_set_version str wzr, [sp, #68] Lloh11: adrp x2, l_.str.3@PAGE Lloh12: add x2, x2, l_.str.3@PAGEOFF mov x0, x24 mov x1, x23 bl _getopt Lloh13: adrp x27, _PRINT_VERBOSE@GOTPAGE Lloh14: ldr x27, [x27, _PRINT_VERBOSE@GOTPAGEOFF] Lloh15: adrp x26, _PRINT_NAMEVAL@GOTPAGE Lloh16: ldr x26, [x26, _PRINT_NAMEVAL@GOTPAGEOFF] mov w21, #0 ; =0x0 tbnz w0, #31, LBB0_29 ; %bb.2: mov w20, #0 ; =0x0 mov w19, #0 ; =0x0 mov x22, #0 ; =0x0 Lloh17: adrp x28, _JAIL_DYING@GOTPAGE Lloh18: ldr x28, [x28, _JAIL_DYING@GOTPAGEOFF] Lloh19: adrp x25, l_.str.3@PAGE Lloh20: add x25, x25, l_.str.3@PAGEOFF b LBB0_6 LBB0_3: ; in Loop: Header=BB0_6 Depth=1 cmp w0, #97 b.ne LBB0_18 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 ldr w8, [x28] orr w19, w8, w19 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 mov x0, x24 mov x1, x23 mov x2, x25 bl _getopt tbnz w0, #31, LBB0_30 LBB0_6: ; =>This Inner Loop Header: Depth=1 cmp w0, #99 b.le LBB0_3 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 cmp w0, #103 b.gt LBB0_9 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 cmp w0, #100 b.eq LBB0_4 b LBB0_27 LBB0_9: ; in Loop: Header=BB0_6 Depth=1 cmp w0, #112 b.gt LBB0_14 ; %bb.10: ; in Loop: Header=BB0_6 Depth=1 cmp w0, #104 b.eq LBB0_24 ; %bb.11: ; in Loop: Header=BB0_6 Depth=1 cmp w0, #106 b.eq LBB0_20 ; %bb.12: ; in Loop: Header=BB0_6 Depth=1 cmp w0, #110 b.ne LBB0_27 ; %bb.13: ; in Loop: Header=BB0_6 Depth=1 ldr w8, [x27] bic w8, w20, w8 ldr w9, [x26] orr w20, w8, w9 b LBB0_5 LBB0_14: ; in Loop: Header=BB0_6 Depth=1 cmp w0, #113 b.eq LBB0_25 ; %bb.15: ; in Loop: Header=BB0_6 Depth=1 cmp w0, #115 b.eq LBB0_23 ; %bb.16: ; in Loop: Header=BB0_6 Depth=1 cmp w0, #118 b.ne LBB0_27 ; %bb.17: ; in Loop: Header=BB0_6 Depth=1 Lloh21: adrp x8, _PRINT_HEADER@GOTPAGE Lloh22: ldr x8, [x8, _PRINT_HEADER@GOTPAGEOFF] Lloh23: ldr w8, [x8] ldr w9, [x26] orr w8, w9, w8 Lloh24: adrp x9, _PRINT_SKIP@GOTPAGE Lloh25: ldr x9, [x9, _PRINT_SKIP@GOTPAGEOFF] Lloh26: ldr w9, [x9] orr w8, w8, w9 bic w8, w20, w8 ldr w9, [x27] orr w20, w8, w9 b LBB0_5 LBB0_18: ; in Loop: Header=BB0_6 Depth=1 cmp w0, #78 b.ne LBB0_27 ; %bb.19: ; in Loop: Header=BB0_6 Depth=1 Lloh27: adrp x8, _PRINT_JAIL_NAME@GOTPAGE Lloh28: ldr x8, [x8, _PRINT_JAIL_NAME@GOTPAGEOFF] b LBB0_26 LBB0_20: ; in Loop: Header=BB0_6 Depth=1 Lloh29: adrp x8, _optarg@GOTPAGE Lloh30: ldr x8, [x8, _optarg@GOTPAGEOFF] Lloh31: ldr x0, [x8] add x1, sp, #72 mov w2, #10 ; =0xa bl _strtoul str w0, [sp, #68] cbz w0, LBB0_22 ; %bb.21: ; in Loop: Header=BB0_6 Depth=1 ldr x8, [sp, #72] ldrb w8, [x8] cbz w8, LBB0_28 LBB0_22: ; in Loop: Header=BB0_6 Depth=1 mov w21, #0 ; =0x0 str wzr, [sp, #68] Lloh32: adrp x8, _optarg@GOTPAGE Lloh33: ldr x8, [x8, _optarg@GOTPAGEOFF] Lloh34: ldr x22, [x8] b LBB0_5 LBB0_23: ; in Loop: Header=BB0_6 Depth=1 Lloh35: adrp x8, _PRINT_HEADER@GOTPAGE Lloh36: ldr x8, [x8, _PRINT_HEADER@GOTPAGEOFF] Lloh37: ldr w8, [x8] ldr w9, [x27] orr w8, w9, w8 bic w8, w20, w8 ldr w9, [x26] Lloh38: adrp x10, _PRINT_QUOTED@GOTPAGE Lloh39: ldr x10, [x10, _PRINT_QUOTED@GOTPAGEOFF] Lloh40: ldr w10, [x10] orr w9, w9, w10 Lloh41: adrp x10, _PRINT_SKIP@GOTPAGE Lloh42: ldr x10, [x10, _PRINT_SKIP@GOTPAGEOFF] Lloh43: ldr w10, [x10] orr w9, w9, w10 orr w20, w8, w9 b LBB0_5 LBB0_24: ; in Loop: Header=BB0_6 Depth=1 Lloh44: adrp x8, _PRINT_SKIP@GOTPAGE Lloh45: ldr x8, [x8, _PRINT_SKIP@GOTPAGEOFF] Lloh46: ldr w8, [x8] ldr w9, [x27] orr w8, w9, w8 Lloh47: adrp x9, _PRINT_HEADER@GOTPAGE Lloh48: ldr x9, [x9, _PRINT_HEADER@GOTPAGEOFF] Lloh49: ldr w9, [x9] orn w8, w9, w8 orr w20, w8, w20 b LBB0_5 LBB0_25: ; in Loop: Header=BB0_6 Depth=1 Lloh50: adrp x8, _PRINT_QUOTED@GOTPAGE Lloh51: ldr x8, [x8, _PRINT_QUOTED@GOTPAGEOFF] LBB0_26: ; in Loop: Header=BB0_6 Depth=1 ldr w8, [x8] orr w20, w8, w20 b LBB0_5 LBB0_27: ; in Loop: Header=BB0_6 Depth=1 mov w0, #1 ; =0x1 Lloh52: adrp x1, l_.str.4@PAGE Lloh53: add x1, x1, l_.str.4@PAGEOFF bl _xo_errx b LBB0_5 LBB0_28: ; in Loop: Header=BB0_6 Depth=1 mov x21, x0 b LBB0_5 LBB0_29: mov x22, #0 ; =0x0 mov w20, #0 ; =0x0 mov w19, #0 ; =0x0 LBB0_30: str w21, [sp, #44] ; 4-byte Folded Spill Lloh54: adrp x21, _optind@GOTPAGE Lloh55: ldr x21, [x21, _optind@GOTPAGEOFF] ldr w8, [x21] cmp w8, w24 str x22, [sp, #48] ; 8-byte Folded Spill b.ne LBB0_33 ; %bb.31: Lloh56: adrp x8, _PRINT_HEADER@GOTPAGE Lloh57: ldr x8, [x8, _PRINT_HEADER@GOTPAGEOFF] Lloh58: ldr w8, [x8] ldr w9, [x26] orr w8, w9, w8 tst w8, w20 b.eq LBB0_36 ; %bb.32: Lloh59: adrp x23, l_.str.5@PAGE Lloh60: add x23, x23, l_.str.5@PAGEOFF b LBB0_40 LBB0_33: ldr w9, [x27] bic w20, w20, w9 cmp w8, w24 b.ge LBB0_41 ; %bb.34: Lloh61: adrp x22, _JP_USER@GOTPAGE Lloh62: ldr x22, [x22, _JP_USER@GOTPAGEOFF] LBB0_35: ; =>This Inner Loop Header: Depth=1 sub w9, w8, #1 str w9, [x21] ldr x0, [x23, w8, sxtw #3] ldr w8, [x22] stp xzr, xzr, [sp] stp xzr, x8, [sp, #16] bl _add_param ldr w8, [x21] cmp w8, w24 b.lt LBB0_35 b LBB0_41 LBB0_36: ldr w8, [x27] tst w8, w20 b.eq LBB0_38 ; %bb.37: Lloh63: adrp x21, _JP_USER@GOTPAGE Lloh64: ldr x21, [x21, _JP_USER@GOTPAGEOFF] ldr w8, [x21] stp xzr, xzr, [sp] stp xzr, x8, [sp, #16] Lloh65: adrp x0, l_.str.6@PAGE Lloh66: add x0, x0, l_.str.6@PAGEOFF bl _add_param ldr w8, [x21] stp xzr, xzr, [sp] stp xzr, x8, [sp, #16] Lloh67: adrp x0, l_.str.7@PAGE Lloh68: add x0, x0, l_.str.7@PAGEOFF bl _add_param ldr w8, [x21] stp xzr, xzr, [sp] stp xzr, x8, [sp, #16] Lloh69: adrp x0, l_.str.8@PAGE Lloh70: add x0, x0, l_.str.8@PAGEOFF bl _add_param ldr w8, [x21] stp xzr, xzr, [sp] stp xzr, x8, [sp, #16] Lloh71: adrp x0, l_.str.9@PAGE Lloh72: add x0, x0, l_.str.9@PAGEOFF bl _add_param Lloh73: adrp x23, l_.str.11@PAGE Lloh74: add x23, x23, l_.str.11@PAGEOFF Lloh75: adrp x0, l_.str.10@PAGE Lloh76: add x0, x0, l_.str.10@PAGEOFF b LBB0_39 LBB0_38: Lloh77: adrp x8, _PRINT_DEFAULT@GOTPAGE Lloh78: ldr x8, [x8, _PRINT_DEFAULT@GOTPAGEOFF] Lloh79: ldr w8, [x8] orr w20, w8, w20 Lloh80: adrp x8, _PRINT_JAIL_NAME@GOTPAGE Lloh81: ldr x8, [x8, _PRINT_JAIL_NAME@GOTPAGEOFF] Lloh82: adrp x9, _JP_USER@GOTPAGE Lloh83: ldr x9, [x9, _JP_USER@GOTPAGEOFF] Lloh84: adrp x10, l_.str.9@PAGE Lloh85: add x10, x10, l_.str.9@PAGEOFF Lloh86: ldr w8, [x8] Lloh87: adrp x11, l_.str.6@PAGE Lloh88: add x11, x11, l_.str.6@PAGEOFF tst w20, w8 csel x0, x11, x10, eq Lloh89: ldr w8, [x9] stp xzr, xzr, [sp] stp xzr, x8, [sp, #16] bl _add_param Lloh90: adrp x23, l_.str.8@PAGE Lloh91: add x23, x23, l_.str.8@PAGEOFF Lloh92: adrp x0, l_.str.7@PAGE Lloh93: add x0, x0, l_.str.7@PAGEOFF LBB0_39: Lloh94: adrp x8, _JP_USER@GOTPAGE Lloh95: ldr x8, [x8, _JP_USER@GOTPAGEOFF] Lloh96: ldr w8, [x8] stp xzr, xzr, [sp] stp xzr, x8, [sp, #16] bl _add_param LBB0_40: Lloh97: adrp x8, _JP_USER@GOTPAGE Lloh98: ldr x8, [x8, _JP_USER@GOTPAGEOFF] Lloh99: ldr w8, [x8] stp xzr, xzr, [sp] stp xzr, x8, [sp, #16] mov x0, x23 bl _add_param LBB0_41: Lloh100: adrp x8, _PRINT_SKIP@GOTPAGE Lloh101: ldr x8, [x8, _PRINT_SKIP@GOTPAGEOFF] Lloh102: ldr w8, [x8] str w20, [sp, #60] ; 4-byte Folded Spill and w8, w8, w20 Lloh103: adrp x24, _nparams@GOTPAGE Lloh104: ldr x24, [x24, _nparams@GOTPAGEOFF] ldr w9, [x24] cmp w8, #0 ccmp w9, #1, #8, ne b.ge LBB0_44 LBB0_42: ldr w8, [sp, #44] ; 4-byte Folded Reload cbz w8, LBB0_49 ; %bb.43: stp xzr, xzr, [sp, #16] mov w8, #4 ; =0x4 add x9, sp, #68 stp x9, x8, [sp] Lloh105: adrp x0, l_.str.6@PAGE Lloh106: add x0, x0, l_.str.6@PAGEOFF bl _add_param ldr w21, [sp, #60] ; 4-byte Folded Reload ldr x22, [sp, #48] ; 8-byte Folded Reload Lloh107: adrp x20, _PRINT_VERBOSE@GOTPAGE Lloh108: ldr x20, [x20, _PRINT_VERBOSE@GOTPAGEOFF] b LBB0_53 LBB0_44: mov x25, #0 ; =0x0 mov w26, #8 ; =0x8 Lloh109: adrp x28, _params@GOTPAGE Lloh110: ldr x28, [x28, _params@GOTPAGEOFF] Lloh111: adrp x27, _JP_USER@GOTPAGE Lloh112: ldr x27, [x27, _JP_USER@GOTPAGEOFF] Lloh113: adrp x21, _JP_OPT@GOTPAGE Lloh114: ldr x21, [x21, _JP_OPT@GOTPAGEOFF] Lloh115: adrp x22, _param_parent@GOTPAGE Lloh116: ldr x22, [x22, _param_parent@GOTPAGEOFF] b LBB0_46 LBB0_45: ; in Loop: Header=BB0_46 Depth=1 add x25, x25, #1 ldrsw x8, [x24] add x26, x26, #16 cmp x25, x8 b.ge LBB0_42 LBB0_46: ; =>This Inner Loop Header: Depth=1 ldr x8, [x28] add x9, x8, x26 ldur w9, [x9, #-8] ldr w10, [x27] tst w10, w9 b.eq LBB0_45 ; %bb.47: ; in Loop: Header=BB0_46 Depth=1 ldr x0, [x8, x26] mov w1, #46 ; =0x2e bl _strchr cbz x0, LBB0_45 ; %bb.48: ; in Loop: Header=BB0_46 Depth=1 ldr x8, [x28] ldr w8, [x8, x26] sub w8, w0, w8 mov x20, x0 add w0, w8, #1 bl _alloca mov x23, x0 ldr x8, [x28] ldr x1, [x8, x26] sub w8, w20, w1 add w2, w8, #1 bl _strlcpy ldr w8, [x21] stp xzr, xzr, [sp] stp xzr, x8, [sp, #16] mov x0, x23 bl _add_param ldr x8, [x22] str w0, [x8, x25, lsl #2] b LBB0_45 LBB0_49: ldr x22, [sp, #48] ; 8-byte Folded Reload Lloh117: adrp x20, _PRINT_VERBOSE@GOTPAGE Lloh118: ldr x20, [x20, _PRINT_VERBOSE@GOTPAGEOFF] cbz x22, LBB0_51 ; %bb.50: mov x0, x22 bl _strlen ; kill: def $w0 killed $w0 def $x0 stp xzr, xzr, [sp, #16] stp x22, x0, [sp] Lloh119: adrp x0, l_.str.9@PAGE Lloh120: add x0, x0, l_.str.9@PAGEOFF b LBB0_52 LBB0_51: stp xzr, xzr, [sp, #16] mov w8, #4 ; =0x4 add x9, sp, #64 stp x9, x8, [sp] Lloh121: adrp x0, l_.str.12@PAGE Lloh122: add x0, x0, l_.str.12@PAGEOFF LBB0_52: bl _add_param ldr w21, [sp, #60] ; 4-byte Folded Reload LBB0_53: ldr w8, [x20] tst w8, w21 b.eq LBB0_64 ; %bb.54: Lloh123: adrp x20, l_.str.14@PAGE Lloh124: add x20, x20, l_.str.14@PAGEOFF stp x20, x20, [sp] Lloh125: adrp x0, l_.str.13@PAGE Lloh126: add x0, x0, l_.str.13@PAGEOFF bl _xo_emit stp x20, x20, [sp] Lloh127: adrp x0, l_.str.15@PAGE Lloh128: add x0, x0, l_.str.15@PAGEOFF bl _xo_emit str x20, [sp] Lloh129: adrp x0, l_.str.16@PAGE Lloh130: add x0, x0, l_.str.16@PAGEOFF bl _xo_emit str x20, [sp] Lloh131: adrp x0, l_.str.17@PAGE Lloh132: add x0, x0, l_.str.17@PAGEOFF LBB0_55: bl _xo_emit LBB0_56: Lloh133: adrp x0, l_.str.22@PAGE Lloh134: add x0, x0, l_.str.22@PAGEOFF bl _xo_open_container Lloh135: adrp x0, l_.str.23@PAGE Lloh136: add x0, x0, l_.str.23@PAGEOFF bl _xo_open_list ldr w8, [sp, #68] cbnz w8, LBB0_63 ; %bb.57: cbnz x22, LBB0_63 ; %bb.58: str wzr, [sp, #64] LBB0_59: ; =>This Inner Loop Header: Depth=1 mov x0, x21 mov x1, x19 bl _print_jail str w0, [sp, #64] tbz w0, #31, LBB0_59 ; %bb.60: Lloh137: adrp x8, _errno@GOTPAGE Lloh138: ldr x8, [x8, _errno@GOTPAGEOFF] Lloh139: ldr x8, [x8] Lloh140: adrp x9, _ENOENT@GOTPAGE Lloh141: ldr x9, [x9, _ENOENT@GOTPAGEOFF] Lloh142: ldr x9, [x9] cmp x8, #0 ccmp x8, x9, #4, ne b.eq LBB0_62 LBB0_61: Lloh143: adrp x8, _jail_errmsg@GOTPAGE Lloh144: ldr x8, [x8, _jail_errmsg@GOTPAGEOFF] Lloh145: ldr w8, [x8] str x8, [sp] Lloh146: adrp x1, l_.str.24@PAGE Lloh147: add x1, x1, l_.str.24@PAGEOFF mov w0, #1 ; =0x1 bl _xo_errx LBB0_62: Lloh148: adrp x0, l_.str.23@PAGE Lloh149: add x0, x0, l_.str.23@PAGEOFF bl _xo_close_list Lloh150: adrp x0, l_.str.22@PAGE Lloh151: add x0, x0, l_.str.22@PAGEOFF bl _xo_close_container bl _xo_finish mov w0, #0 ; =0x0 ldp x29, x30, [sp, #176] ; 16-byte Folded Reload ldp x20, x19, [sp, #160] ; 16-byte Folded Reload ldp x22, x21, [sp, #144] ; 16-byte Folded Reload ldp x24, x23, [sp, #128] ; 16-byte Folded Reload ldp x26, x25, [sp, #112] ; 16-byte Folded Reload ldp x28, x27, [sp, #96] ; 16-byte Folded Reload add sp, sp, #192 ret LBB0_63: mov x0, x21 mov x1, x19 bl _print_jail tbz w0, #31, LBB0_62 b LBB0_61 LBB0_64: Lloh152: adrp x8, _PRINT_DEFAULT@GOTPAGE Lloh153: ldr x8, [x8, _PRINT_DEFAULT@GOTPAGEOFF] Lloh154: ldr w8, [x8] tst w8, w21 b.eq LBB0_67 ; %bb.65: Lloh155: adrp x8, _PRINT_JAIL_NAME@GOTPAGE Lloh156: ldr x8, [x8, _PRINT_JAIL_NAME@GOTPAGEOFF] Lloh157: ldr w8, [x8] tst w8, w21 b.eq LBB0_75 ; %bb.66: Lloh158: adrp x0, l_.str.18@PAGE Lloh159: add x0, x0, l_.str.18@PAGEOFF b LBB0_55 LBB0_67: Lloh160: adrp x8, _PRINT_HEADER@GOTPAGE Lloh161: ldr x8, [x8, _PRINT_HEADER@GOTPAGEOFF] Lloh162: ldr w8, [x8] tst w8, w21 b.eq LBB0_56 ; %bb.68: mov x20, x22 ldr w9, [x24] cmp w9, #1 b.lt LBB0_76 ; %bb.69: mov x23, #0 ; =0x0 mov x25, #0 ; =0x0 mov w10, #0 ; =0x0 Lloh163: adrp x26, _params@GOTPAGE Lloh164: ldr x26, [x26, _params@GOTPAGEOFF] ldr x8, [x26] Lloh165: adrp x27, _JP_USER@GOTPAGE Lloh166: ldr x27, [x27, _JP_USER@GOTPAGEOFF] ldr w11, [x27] Lloh167: adrp x22, l_.str.20@PAGE Lloh168: add x22, x22, l_.str.20@PAGEOFF b LBB0_72 LBB0_70: ; in Loop: Header=BB0_72 Depth=1 add x8, x8, x23 ldr x0, [x8, #8] bl _xo_emit ldr x8, [x26] ldr w11, [x27] mov w10, #1 ; =0x1 ldr w9, [x24] LBB0_71: ; in Loop: Header=BB0_72 Depth=1 add x25, x25, #1 add x23, x23, #16 cmp x25, w9, sxtw b.ge LBB0_76 LBB0_72: ; =>This Inner Loop Header: Depth=1 ldr w12, [x8, x23] tst w11, w12 b.eq LBB0_71 ; %bb.73: ; in Loop: Header=BB0_72 Depth=1 cbz w10, LBB0_70 ; %bb.74: ; in Loop: Header=BB0_72 Depth=1 mov x0, x22 bl _xo_emit ldr x8, [x26] b LBB0_70 LBB0_75: Lloh169: adrp x8, l_.str.14@PAGE Lloh170: add x8, x8, l_.str.14@PAGEOFF stp x8, x8, [sp] Lloh171: adrp x0, l_.str.19@PAGE Lloh172: add x0, x0, l_.str.19@PAGEOFF b LBB0_55 LBB0_76: Lloh173: adrp x0, l_.str.21@PAGE Lloh174: add x0, x0, l_.str.21@PAGEOFF bl _xo_emit ldr w21, [sp, #60] ; 4-byte Folded Reload mov x22, x20 b LBB0_56 LBB0_77: mov w0, #1 ; =0x1 bl _exit .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdr Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh15, Lloh16 .loh AdrpLdrGot Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpAdd Lloh19, Lloh20 .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh24, Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh21, Lloh22, Lloh23 .loh AdrpLdrGot Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh41, Lloh42, Lloh43 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh47, Lloh48, Lloh49 .loh AdrpLdrGotLdr Lloh44, Lloh45, Lloh46 .loh AdrpLdrGot Lloh50, Lloh51 .loh AdrpAdd Lloh52, Lloh53 .loh AdrpLdrGot Lloh54, Lloh55 .loh AdrpLdrGotLdr Lloh56, Lloh57, Lloh58 .loh AdrpAdd Lloh59, Lloh60 .loh AdrpLdrGot Lloh61, Lloh62 .loh AdrpAdd Lloh75, Lloh76 .loh AdrpAdd Lloh73, Lloh74 .loh AdrpAdd Lloh71, Lloh72 .loh AdrpAdd Lloh69, Lloh70 .loh AdrpAdd Lloh67, Lloh68 .loh AdrpAdd Lloh65, Lloh66 .loh AdrpLdrGot Lloh63, Lloh64 .loh AdrpAdd Lloh92, Lloh93 .loh AdrpAdd Lloh90, Lloh91 .loh AdrpAdd Lloh87, Lloh88 .loh AdrpAdd Lloh84, Lloh85 .loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh89 .loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh86 .loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79 .loh AdrpLdrGotLdr Lloh94, Lloh95, Lloh96 .loh AdrpLdrGotLdr Lloh97, Lloh98, Lloh99 .loh AdrpLdrGot Lloh103, Lloh104 .loh AdrpLdrGotLdr Lloh100, Lloh101, Lloh102 .loh AdrpLdrGot Lloh107, Lloh108 .loh AdrpAdd Lloh105, Lloh106 .loh AdrpLdrGot Lloh115, Lloh116 .loh AdrpLdrGot Lloh113, Lloh114 .loh AdrpLdrGot Lloh111, Lloh112 .loh AdrpLdrGot Lloh109, Lloh110 .loh AdrpLdrGot Lloh117, Lloh118 .loh AdrpAdd Lloh119, Lloh120 .loh AdrpAdd Lloh121, Lloh122 .loh AdrpAdd Lloh131, Lloh132 .loh AdrpAdd Lloh129, Lloh130 .loh AdrpAdd Lloh127, Lloh128 .loh AdrpAdd Lloh125, Lloh126 .loh AdrpAdd Lloh123, Lloh124 .loh AdrpAdd Lloh135, Lloh136 .loh AdrpAdd Lloh133, Lloh134 .loh AdrpLdrGotLdr Lloh140, Lloh141, Lloh142 .loh AdrpLdrGotLdr Lloh137, Lloh138, Lloh139 .loh AdrpAdd Lloh146, Lloh147 .loh AdrpLdrGotLdr Lloh143, Lloh144, Lloh145 .loh AdrpAdd Lloh150, Lloh151 .loh AdrpAdd Lloh148, Lloh149 .loh AdrpLdrGotLdr Lloh152, Lloh153, Lloh154 .loh AdrpLdrGotLdr Lloh155, Lloh156, Lloh157 .loh AdrpAdd Lloh158, Lloh159 .loh AdrpLdrGotLdr Lloh160, Lloh161, Lloh162 .loh AdrpAdd Lloh167, Lloh168 .loh AdrpLdrGot Lloh165, Lloh166 .loh AdrpLdrGot Lloh163, Lloh164 .loh AdrpAdd Lloh171, Lloh172 .loh AdrpAdd Lloh169, Lloh170 .loh AdrpAdd Lloh173, Lloh174 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "AUGMENTATION_MARKER: Math op result: %f\n" l_.str.1: ; @.str.1 .asciz "AUGMENTATION_MARKER: Pointer op result: %d\n" .comm _JLS_XO_VERSION,4,2 ; @JLS_XO_VERSION l_.str.3: ; @.str.3 .asciz "adj:hNnqsv" .comm _JAIL_DYING,4,2 ; @JAIL_DYING .comm _optarg,8,3 ; @optarg .comm _PRINT_SKIP,4,2 ; @PRINT_SKIP .comm _PRINT_VERBOSE,4,2 ; @PRINT_VERBOSE .comm _PRINT_HEADER,4,2 ; @PRINT_HEADER .comm _PRINT_JAIL_NAME,4,2 ; @PRINT_JAIL_NAME .comm _PRINT_NAMEVAL,4,2 ; @PRINT_NAMEVAL .comm _PRINT_QUOTED,4,2 ; @PRINT_QUOTED l_.str.4: ; @.str.4 .asciz "usage: jls [-dhNnqv] [-j jail] [param ...]" .comm _optind,4,2 ; @optind l_.str.5: ; @.str.5 .asciz "all" .comm _JP_USER,4,2 ; @JP_USER l_.str.6: ; @.str.6 .asciz "jid" l_.str.7: ; @.str.7 .asciz "host.hostname" l_.str.8: ; @.str.8 .asciz "path" l_.str.9: ; @.str.9 .asciz "name" l_.str.10: ; @.str.10 .asciz "dying" l_.str.11: ; @.str.11 .asciz "cpuset.id" .comm _PRINT_DEFAULT,4,2 ; @PRINT_DEFAULT .comm _nparams,4,2 ; @nparams .comm _params,8,3 ; @params .comm _JP_OPT,4,2 ; @JP_OPT .comm _param_parent,8,3 ; @param_parent l_.str.12: ; @.str.12 .asciz "lastjid" l_.str.13: ; @.str.13 .asciz "{T:/%3s}{T:JID}{P: }{T:Hostname}{Pd:/%22s}{T:Path}\n" l_.str.14: ; @.str.14 .space 1 l_.str.15: ; @.str.15 .asciz "{P:/%8s}{T:Name}{Pd:/%26s}{T:State}\n" l_.str.16: ; @.str.16 .asciz "{P:/%8s}{T:CPUSetID}\n" l_.str.17: ; @.str.17 .asciz "{P:/%8s}{T:IP Address(es)}\n" l_.str.18: ; @.str.18 .asciz "{P: }{T:JID/%-15s}{P: }{T:IP Address/%-15s}{P: }{T:Hostname/%-29s}{P: }{T:Path}\n" l_.str.19: ; @.str.19 .asciz "{T:JID/%6s}{P: }{T:IP Address}{P:/%6s}{T:Hostname}{P:/%22s}{T:Path}\n" l_.str.20: ; @.str.20 .asciz "{P: }" l_.str.21: ; @.str.21 .asciz "{P:\n}" l_.str.22: ; @.str.22 .asciz "jail-information" l_.str.23: ; @.str.23 .asciz "jail" l_.str.24: ; @.str.24 .asciz "%s" .comm _jail_errmsg,4,2 ; @jail_errmsg .comm _errno,8,3 ; @errno .comm _ENOENT,8,3 ; @ENOENT .comm _ip4_ok,8,3 ; @ip4_ok .comm _ip6_ok,8,3 ; @ip6_ok l_str: ; @str .asciz "AUGMENTATION_MARKER: Hello from augmentation!" .subsections_via_symbols
assembly_file_102082.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ApplyLogRedaction ## -- Begin function ApplyLogRedaction .p2align 4, 0x90 _ApplyLogRedaction: ## @ApplyLogRedaction .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, %rax popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _ApplyLogRedaction ; -- Begin function ApplyLogRedaction .p2align 2 _ApplyLogRedaction: ; @ApplyLogRedaction .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/citus/src/backend/distributed/utils/extr_log_utils.c_ApplyLogRedaction.c
anghabench
.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 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi xorl %eax, %eax callq _printf movl $1, %eax popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "What is this? 2005?" L_.str.1: ## @.str.1 .asciz "CDs are no longer supported." .subsections_via_symbols
.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 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 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _printf mov w0, #1 ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "What is this? 2005?" l_.str.1: ; @.str.1 .asciz "CDs are no longer supported." .subsections_via_symbols
the_stack_data/1228284.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uerror ## -- Begin function uerror .p2align 4, 0x90 _uerror: ## @uerror .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $208, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %r14 movq %rsi, -216(%rbp) movq %rdx, -208(%rbp) movq %rcx, -200(%rbp) movq %r8, -192(%rbp) movq %r9, -184(%rbp) testb %al, %al je LBB0_6 ## %bb.5: movaps %xmm0, -176(%rbp) movaps %xmm1, -160(%rbp) movaps %xmm2, -144(%rbp) movaps %xmm3, -128(%rbp) movaps %xmm4, -112(%rbp) movaps %xmm5, -96(%rbp) movaps %xmm6, -80(%rbp) movaps %xmm7, -64(%rbp) LBB0_6: leaq -224(%rbp), %rax movq %rax, -32(%rbp) leaq 16(%rbp), %rax movq %rax, -40(%rbp) movabsq $206158430216, %rax ## imm = 0x3000000008 movq %rax, -48(%rbp) movq ___stderrp@GOTPCREL(%rip), %rbx movq (%rbx), %rcx leaq L_.str.55(%rip), %rdi movl $4, %esi movl $1, %edx callq _fwrite movq _infile@GOTPCREL(%rip), %rax movq (%rax), %rdx testq %rdx, %rdx je LBB0_2 ## %bb.1: movq (%rbx), %rdi leaq L_.str.56(%rip), %rsi xorl %eax, %eax callq _fprintf LBB0_2: movq (%rbx), %rdi movq _line@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.57(%rip), %rsi xorl %eax, %eax callq _fprintf movq (%rbx), %rdi leaq -48(%rbp), %rdx movq %r14, %rsi callq _vfprintf movq (%rbx), %rsi movl $10, %edi callq _fputc movq _outfile@GOTPCREL(%rip), %rax movq (%rax), %rdi testq %rdi, %rdi je LBB0_4 ## %bb.3: callq _unlink LBB0_4: movl $1, %edi callq _exit .cfi_endproc ## -- End function .globl _lookname ## -- Begin function lookname .p2align 4, 0x90 _lookname: ## @lookname .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _name@GOTPCREL(%rip), %rbx movq %rbx, %rdi callq _strlen movq %rax, %rcx movb (%rbx), %al movb %al, -41(%rbp) ## 1-byte Spill cmpb $76, %al jne LBB1_2 ## %bb.1: movb $46, (%rbx) movb $46, -41(%rbp) ## 1-byte Folded Spill LBB1_2: movq _stabfree@GOTPCREL(%rip), %rdx movslq (%rdx), %rax movl %eax, %esi testq %rax, %rax jle LBB1_15 ## %bb.3: movq %rax, -80(%rbp) ## 8-byte Spill leal 1(%rcx), %eax movl %eax, -52(%rbp) ## 4-byte Spill movq _filenum@GOTPCREL(%rip), %rax movl (%rax), %eax addl $65, %eax movl %eax, -48(%rbp) ## 4-byte Spill movq _stab@GOTPCREL(%rip), %r12 xorl %ebx, %ebx xorl %r15d, %r15d movq %rcx, -72(%rbp) ## 8-byte Spill movq %rsi, -64(%rbp) ## 8-byte Spill jmp LBB1_4 .p2align 4, 0x90 LBB1_11: ## in Loop: Header=BB1_4 Depth=1 movq %r13, %r15 LBB1_13: ## in Loop: Header=BB1_4 Depth=1 incq %rbx addq $24, %r12 cmpq %rbx, %rsi je LBB1_14 LBB1_4: ## =>This Inner Loop Header: Depth=1 movq %r15, %r13 movl 8(%r12), %r14d testl %r14d, %r14d jne LBB1_6 ## %bb.5: ## in Loop: Header=BB1_4 Depth=1 movq %r12, %r15 testq %r13, %r13 je LBB1_13 LBB1_6: ## in Loop: Header=BB1_4 Depth=1 cmpb $46, -41(%rbp) ## 1-byte Folded Reload jne LBB1_10 ## %bb.7: ## in Loop: Header=BB1_4 Depth=1 cmpl -52(%rbp), %r14d ## 4-byte Folded Reload jne LBB1_10 ## %bb.8: ## in Loop: Header=BB1_4 Depth=1 movq (%r12), %rdi movsbl (%rdi), %eax cmpl %eax, -48(%rbp) ## 4-byte Folded Reload jne LBB1_10 ## %bb.9: ## in Loop: Header=BB1_4 Depth=1 incq %rdi movq _name@GOTPCREL(%rip), %rsi callq _strcmp movq -64(%rbp), %rsi ## 8-byte Reload movq -72(%rbp), %rcx ## 8-byte Reload testl %eax, %eax je LBB1_22 LBB1_10: ## in Loop: Header=BB1_4 Depth=1 cmpl %ecx, %r14d jne LBB1_11 ## %bb.12: ## in Loop: Header=BB1_4 Depth=1 movq (%r12), %rdi movq _name@GOTPCREL(%rip), %rsi callq _strcmp movq -64(%rbp), %rsi ## 8-byte Reload movq -72(%rbp), %rcx ## 8-byte Reload movq %r13, %r15 testl %eax, %eax jne LBB1_13 jmp LBB1_22 LBB1_14: testq %r15, %r15 movq _name@GOTPCREL(%rip), %rbx movq -80(%rbp), %rax ## 8-byte Reload movq _stabfree@GOTPCREL(%rip), %rdx jne LBB1_16 LBB1_15: incl %esi movl %esi, (%rdx) leaq (%rax,%rax,2), %r15 shlq $3, %r15 addq _stab@GOTPCREL(%rip), %r15 LBB1_16: movl $48000, %eax ## imm = 0xBB80 addq _stab@GOTPCREL(%rip), %rax cmpq %rax, %r15 jae LBB1_23 ## %bb.17: movl %ecx, %eax addl $2, %eax movslq %eax, %rdi movq %rcx, %r14 callq _malloc movq %rax, (%r15) testq %rax, %rax je LBB1_24 ## %bb.18: movl %r14d, 8(%r15) cmpb $46, (%rbx) jne LBB1_20 ## %bb.19: movq _filenum@GOTPCREL(%rip), %rcx movb (%rcx), %cl addb $65, %cl movb %cl, (%rax) movq (%r15), %rdi incq %rdi movq _name@GOTPCREL(%rip), %rsi callq _strcpy incl 8(%r15) jmp LBB1_21 LBB1_20: movq _name@GOTPCREL(%rip), %rsi movq %rax, %rdi callq _strcpy LBB1_21: movq $0, 12(%r15) subq _stab@GOTPCREL(%rip), %r15 sarq $3, %r15 movabsq $-6148914691236517205, %rbx ## imm = 0xAAAAAAAAAAAAAAAB imulq %r15, %rbx LBB1_22: movl %ebx, %eax addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB1_23: leaq L_.str.59(%rip), %rdi xorl %eax, %eax callq _uerror LBB1_24: leaq L_.str.60(%rip), %rdi xorl %eax, %eax callq _uerror .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 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $2, %edi jl LBB2_25 ## %bb.1: movl %edi, %r11d movl $1, %r15d leaq LJTI2_0(%rip), %rbx movq _optim@GOTPCREL(%rip), %r8 movq _debug@GOTPCREL(%rip), %r10 movq _nlib@GOTPCREL(%rip), %r14 movq _libtab@GOTPCREL(%rip), %r12 movq _outfile@GOTPCREL(%rip), %r13 movl %edi, -44(%rbp) ## 4-byte Spill jmp LBB2_2 .p2align 4, 0x90 LBB2_20: ## in Loop: Header=BB2_2 Depth=1 movq %r10, %r12 movq %rsi, %r13 movq %r8, %r14 movq _infile@GOTPCREL(%rip), %rax movq %rdi, (%rax) movq _infile1@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB2_21 LBB2_22: ## in Loop: Header=BB2_2 Depth=1 movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str.62(%rip), %rsi callq _freopen testq %rax, %rax je LBB2_38 ## %bb.23: ## in Loop: Header=BB2_2 Depth=1 movq _line@GOTPCREL(%rip), %rax movl $1, (%rax) callq _parse movq _infile@GOTPCREL(%rip), %rax movq $0, (%rax) movq _filenum@GOTPCREL(%rip), %rax incl (%rax) movq %r14, %r8 movq %r13, %rsi movq %r12, %r10 movl -44(%rbp), %r11d ## 4-byte Reload movq _nlib@GOTPCREL(%rip), %r14 movq _libtab@GOTPCREL(%rip), %r12 movq _outfile@GOTPCREL(%rip), %r13 LBB2_24: ## in Loop: Header=BB2_2 Depth=1 incl %r15d cmpl %r11d, %r15d jge LBB2_25 LBB2_2: ## =>This Loop Header: Depth=1 ## Child Loop BB2_4 Depth 2 ## Child Loop BB2_10 Depth 3 ## Child Loop BB2_16 Depth 3 movslq %r15d, %rax movq (%rsi,%rax,8), %rdi cmpb $45, (%rdi) jne LBB2_20 ## %bb.3: ## in Loop: Header=BB2_2 Depth=1 movb $45, %al jmp LBB2_4 LBB2_7: ## in Loop: Header=BB2_4 Depth=2 incl (%r8) LBB2_19: ## in Loop: Header=BB2_4 Depth=2 movb 1(%rdi), %al incq %rdi testb %al, %al je LBB2_24 LBB2_4: ## Parent Loop BB2_2 Depth=1 ## => This Loop Header: Depth=2 ## Child Loop BB2_10 Depth 3 ## Child Loop BB2_16 Depth 3 movsbl %al, %eax addl $-79, %eax cmpl $32, %eax ja LBB2_19 ## %bb.5: ## in Loop: Header=BB2_4 Depth=2 movslq (%rbx,%rax,4), %rax addq %rbx, %rax jmpq *%rax LBB2_6: ## in Loop: Header=BB2_4 Depth=2 incl (%r10) jmp LBB2_19 .p2align 4, 0x90 LBB2_13: ## in Loop: Header=BB2_4 Depth=2 movslq (%r14), %rax cmpq $10, %rax jge LBB2_37 ## %bb.14: ## in Loop: Header=BB2_4 Depth=2 cmpb $0, 1(%rdi) je LBB2_17 ## %bb.15: ## in Loop: Header=BB2_4 Depth=2 leaq 1(%rdi), %rcx movl %eax, %edx incl %edx movl %edx, (%r14) movq %rcx, (%r12,%rax,8) decq %rdi .p2align 4, 0x90 LBB2_16: ## Parent Loop BB2_2 Depth=1 ## Parent Loop BB2_4 Depth=2 ## => This Inner Loop Header: Depth=3 cmpb $0, 2(%rdi) leaq 1(%rdi), %rdi jne LBB2_16 jmp LBB2_19 LBB2_8: ## in Loop: Header=BB2_4 Depth=2 cmpb $0, 1(%rdi) je LBB2_11 ## %bb.9: ## in Loop: Header=BB2_4 Depth=2 leaq 1(%rdi), %rax movq %rax, (%r13) decq %rdi .p2align 4, 0x90 LBB2_10: ## Parent Loop BB2_2 Depth=1 ## Parent Loop BB2_4 Depth=2 ## => This Inner Loop Header: Depth=3 cmpb $0, 2(%rdi) leaq 1(%rdi), %rdi jne LBB2_10 jmp LBB2_19 LBB2_11: ## in Loop: Header=BB2_4 Depth=2 leal 1(%r15), %eax cmpl %r11d, %eax jge LBB2_19 ## %bb.12: ## in Loop: Header=BB2_4 Depth=2 movslq %eax, %rcx movq (%rsi,%rcx,8), %rcx movq %rcx, (%r13) movl %eax, %r15d jmp LBB2_19 LBB2_17: ## in Loop: Header=BB2_4 Depth=2 leal 1(%r15), %ecx cmpl %r11d, %ecx jge LBB2_19 ## %bb.18: ## in Loop: Header=BB2_4 Depth=2 movslq %ecx, %rdx movq (%rsi,%rdx,8), %r9 leal 1(%rax), %edx movl %edx, (%r14) movq %r9, (%r12,%rax,8) movl %ecx, %r15d jmp LBB2_19 LBB2_21: ## in Loop: Header=BB2_2 Depth=1 movq _infile1@GOTPCREL(%rip), %rax movq %rdi, (%rax) jmp LBB2_22 LBB2_25: movq _outfile@GOTPCREL(%rip), %r14 movq (%r14), %rdi testq %rdi, %rdi jne LBB2_32 ## %bb.26: movq _infile1@GOTPCREL(%rip), %rax movq (%rax), %rbx testq %rbx, %rbx je LBB2_27 ## %bb.28: movq %rbx, %rdi callq _strlen leaq 4(%rax), %rdi callq _malloc movq %rax, (%r14) testq %rax, %rax je LBB2_39 ## %bb.29: movq %rax, %rdi movq %rbx, %rsi callq _strcpy movq (%r14), %rbx movq %rbx, %rdi movl $46, %esi callq _strrchr testq %rax, %rax jne LBB2_31 ## %bb.30: movq %rbx, %rdi callq _strlen addq %rbx, %rax LBB2_31: movb $0, 4(%rax) movl $2019911726, (%rax) ## imm = 0x7865682E movq (%r14), %rdi LBB2_32: movq ___stdoutp@GOTPCREL(%rip), %rax movq (%rax), %rdx leaq L_.str.67(%rip), %rsi callq _freopen testq %rax, %rax je LBB2_40 ## %bb.33: movq _nlib@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB2_35 ## %bb.34: movl $1, (%rax) leaq L_.str.69(%rip), %rax movq _libtab@GOTPCREL(%rip), %rcx movq %rax, (%rcx) LBB2_35: callq _libraries callq _relocate callq _listing callq _output xorl %eax, %eax LBB2_36: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB2_27: leaq L_str(%rip), %rdi callq _puts leaq L_str.140(%rip), %rdi callq _puts movl $-1, %eax jmp LBB2_36 LBB2_37: leaq L_.str.61(%rip), %rdi xorl %eax, %eax callq _uerror LBB2_38: leaq L_.str.63(%rip), %rdi xorl %eax, %eax callq _uerror LBB2_40: movq (%r14), %rsi leaq L_.str.68(%rip), %rdi xorl %eax, %eax callq _uerror LBB2_39: leaq L_.str.60(%rip), %rdi xorl %eax, %eax callq _uerror .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L2_0_set_7, LBB2_7-LJTI2_0 .set L2_0_set_19, LBB2_19-LJTI2_0 .set L2_0_set_6, LBB2_6-LJTI2_0 .set L2_0_set_13, LBB2_13-LJTI2_0 .set L2_0_set_8, LBB2_8-LJTI2_0 LJTI2_0: .long L2_0_set_7 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_6 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_13 .long L2_0_set_19 .long L2_0_set_19 .long L2_0_set_8 .end_data_region ## -- End function .globl _parse ## -- Begin function parse .p2align 4, 0x90 _parse: ## @parse .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq -44(%rbp), %r15 leaq LJTI3_0(%rip), %rbx movq _intval@GOTPCREL(%rip), %r13 leaq -48(%rbp), %r14 movq _stab@GOTPCREL(%rip), %r12 jmp LBB3_1 LBB3_36: ## in Loop: Header=BB3_1 Depth=1 movslq -44(%rbp), %rax leaq (%rax,%rax,2), %rax leaq _table(%rip), %rcx movl (%rcx,%rax,8), %edi movswl 16(%rcx,%rax,8), %esi callq _makecmd LBB3_37: ## in Loop: Header=BB3_1 Depth=1 movq %r15, %rdi xorl %esi, %esi callq _getlex cmpl $1, %eax jne LBB3_38 LBB3_1: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi movl $1, %esi callq _getlex cmpl $9, %eax ja LBB3_35 ## %bb.2: ## in Loop: Header=BB3_1 Depth=1 movl %eax, %eax movslq (%rbx,%rax,4), %rax addq %rbx, %rax jmpq *%rax LBB3_29: ## in Loop: Header=BB3_1 Depth=1 movq _nlabels@GOTPCREL(%rip), %rdx movslq (%rdx), %rax cmpq $1000, %rax ## imm = 0x3E8 jge LBB3_41 ## %bb.30: ## in Loop: Header=BB3_1 Depth=1 movl (%r13), %ecx movq _labeltab@GOTPCREL(%rip), %rsi movl %ecx, (%rsi,%rax,8) movq _count@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, 4(%rsi,%rax,8) incl %eax movl %eax, (%rdx) movq %r14, %rdi xorl %esi, %esi callq _getlex cmpl $58, %eax je LBB3_13 jmp LBB3_31 LBB3_3: ## in Loop: Header=BB3_1 Depth=1 movq %r14, %rdi xorl %esi, %esi callq _getlex cmpl $6, %eax jg LBB3_9 ## %bb.4: ## in Loop: Header=BB3_1 Depth=1 cmpl $5, %eax je LBB3_16 ## %bb.5: ## in Loop: Header=BB3_1 Depth=1 cmpl $6, %eax jne LBB3_28 ## %bb.6: ## in Loop: Header=BB3_1 Depth=1 movq %r14, %rdi callq _getexpr cmpl $1, -48(%rbp) jne LBB3_8 ## %bb.7: ## in Loop: Header=BB3_1 Depth=1 movl (%r13), %eax testl %eax, %eax js LBB3_8 ## %bb.22: ## in Loop: Header=BB3_1 Depth=1 movslq -44(%rbp), %rcx leaq (%rcx,%rcx,2), %rcx movl 12(%r12,%rcx,8), %edx testl %edx, %edx je LBB3_25 ## %bb.23: ## in Loop: Header=BB3_1 Depth=1 cmpl $2, %edx je LBB3_37 jmp LBB3_24 LBB3_32: ## in Loop: Header=BB3_1 Depth=1 movq %r14, %rdi callq _getexpr cmpl $1, -48(%rbp) jne LBB3_42 ## %bb.33: ## in Loop: Header=BB3_1 Depth=1 movl (%r13), %eax movq _count@GOTPCREL(%rip), %rcx movl %eax, (%rcx) jmp LBB3_37 LBB3_34: ## in Loop: Header=BB3_1 Depth=1 callq _makecfg jmp LBB3_37 LBB3_9: ## in Loop: Header=BB3_1 Depth=1 cmpl $7, %eax je LBB3_26 ## %bb.10: ## in Loop: Header=BB3_1 Depth=1 cmpl $58, %eax jne LBB3_28 ## %bb.11: ## in Loop: Header=BB3_1 Depth=1 movslq -44(%rbp), %rax leaq (%rax,%rax,2), %rax cmpl $0, 12(%r12,%rax,8) jne LBB3_20 ## %bb.12: ## in Loop: Header=BB3_1 Depth=1 leaq (%r12,%rax,8), %rcx addq $12, %rcx movq _count@GOTPCREL(%rip), %rdx movl (%rdx), %edx movl %edx, 16(%r12,%rax,8) movl $3, (%rcx) LBB3_13: ## in Loop: Header=BB3_1 Depth=1 movq _reached@GOTPCREL(%rip), %rax cmpl $0, (%rax) jne LBB3_15 ## %bb.14: ## in Loop: Header=BB3_1 Depth=1 movq _reached@GOTPCREL(%rip), %rax movl $1, (%rax) LBB3_15: ## in Loop: Header=BB3_1 Depth=1 movq _lastcmd@GOTPCREL(%rip), %rax movl $0, (%rax) jmp LBB3_1 LBB3_16: ## in Loop: Header=BB3_1 Depth=1 movq %r14, %rdi callq _getexpr movl -48(%rbp), %eax testl %eax, %eax je LBB3_40 ## %bb.17: ## in Loop: Header=BB3_1 Depth=1 movslq -44(%rbp), %rcx leaq (%rcx,%rcx,2), %rcx movl 12(%r12,%rcx,8), %edx testl %edx, %edx je LBB3_21 ## %bb.18: ## in Loop: Header=BB3_1 Depth=1 cmpl %eax, %edx jne LBB3_20 ## %bb.19: ## in Loop: Header=BB3_1 Depth=1 movl 16(%r12,%rcx,8), %eax cmpl (%r13), %eax je LBB3_37 jmp LBB3_20 LBB3_26: ## in Loop: Header=BB3_1 Depth=1 movslq -44(%rbp), %rdi leaq (%rdi,%rdi,2), %rax cmpl $0, 12(%r12,%rax,8) jne LBB3_24 ## %bb.27: ## in Loop: Header=BB3_1 Depth=1 leaq (%r12,%rax,8), %rcx addq $12, %rcx movl $4, (%rcx) movl $0, 16(%r12,%rax,8) ## kill: def $edi killed $edi killed $rdi callq _makeconst jmp LBB3_37 LBB3_25: ## in Loop: Header=BB3_1 Depth=1 leaq (%r12,%rcx,8), %rdx addq $12, %rdx movl $2, (%rdx) movl _dcount(%rip), %edx movl %edx, 16(%r12,%rcx,8) addl %edx, %eax movl %eax, _dcount(%rip) jmp LBB3_37 LBB3_21: ## in Loop: Header=BB3_1 Depth=1 leaq (%r12,%rcx,8), %rdx addq $12, %rdx movl %eax, (%rdx) movl (%r13), %eax movl %eax, 16(%r12,%rcx,8) jmp LBB3_37 LBB3_38: testl %eax, %eax jne LBB3_43 LBB3_39: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB3_43: leaq L_.str.91(%rip), %rdi xorl %eax, %eax callq _uerror LBB3_41: leaq L_.str.87(%rip), %rdi xorl %eax, %eax callq _uerror LBB3_31: leaq L_.str.88(%rip), %rdi xorl %eax, %eax callq _uerror LBB3_42: leaq L_.str.89(%rip), %rdi xorl %eax, %eax callq _uerror LBB3_35: leaq L_.str.90(%rip), %rdi xorl %eax, %eax callq _uerror LBB3_20: leaq L_.str.82(%rip), %rdi xorl %eax, %eax callq _uerror LBB3_24: leaq L_.str.85(%rip), %rdi xorl %eax, %eax callq _uerror LBB3_8: leaq L_.str.84(%rip), %rdi xorl %eax, %eax callq _uerror LBB3_28: leaq L_.str.86(%rip), %rdi xorl %eax, %eax callq _uerror LBB3_40: leaq L_.str.83(%rip), %rdi xorl %eax, %eax callq _uerror .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L3_0_set_39, LBB3_39-LJTI3_0 .set L3_0_set_1, LBB3_1-LJTI3_0 .set L3_0_set_29, LBB3_29-LJTI3_0 .set L3_0_set_3, LBB3_3-LJTI3_0 .set L3_0_set_36, LBB3_36-LJTI3_0 .set L3_0_set_35, LBB3_35-LJTI3_0 .set L3_0_set_32, LBB3_32-LJTI3_0 .set L3_0_set_34, LBB3_34-LJTI3_0 LJTI3_0: .long L3_0_set_39 .long L3_0_set_1 .long L3_0_set_29 .long L3_0_set_3 .long L3_0_set_36 .long L3_0_set_35 .long L3_0_set_35 .long L3_0_set_35 .long L3_0_set_32 .long L3_0_set_34 .end_data_region ## -- End function .globl _libraries ## -- Begin function libraries .p2align 4, 0x90 _libraries: ## @libraries .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $280, %rsp ## imm = 0x118 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _stabfree@GOTPCREL(%rip), %rcx cmpl $0, (%rcx) jle LBB4_12 ## %bb.1: movq _stab@GOTPCREL(%rip), %rdx movq _nlib@GOTPCREL(%rip), %r13 leaq -304(%rbp), %rbx leaq L_.str.62(%rip), %r15 movl $0, -308(%rbp) ## 4-byte Folded Spill movq %rdx, %r14 jmp LBB4_2 .p2align 4, 0x90 LBB4_9: ## in Loop: Header=BB4_2 Depth=1 movq _stabfree@GOTPCREL(%rip), %rcx movq _stab@GOTPCREL(%rip), %rdx LBB4_10: ## in Loop: Header=BB4_2 Depth=1 addq $24, %r14 movslq (%rcx), %rax leaq (%rax,%rax,2), %rax shlq $3, %rax addq %rdx, %rax cmpq %rax, %r14 jae LBB4_11 LBB4_2: ## =>This Loop Header: Depth=1 ## Child Loop BB4_4 Depth 2 cmpl $0, 12(%r14) jne LBB4_10 ## %bb.3: ## in Loop: Header=BB4_2 Depth=1 movl (%r13), %eax xorl %r12d, %r12d testl %eax, %eax jle LBB4_7 .p2align 4, 0x90 LBB4_4: ## Parent Loop BB4_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq _libtab@GOTPCREL(%rip), %rax movq (%rax,%r12,8), %r8 movq (%r14), %r9 movl $256, %edx ## imm = 0x100 movq %rbx, %rdi xorl %esi, %esi leaq L_.str.107(%rip), %rcx xorl %eax, %eax callq ___sprintf_chk movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rdx movq %rbx, %rdi movq %r15, %rsi callq _freopen testq %rax, %rax jne LBB4_5 ## %bb.6: ## in Loop: Header=BB4_4 Depth=2 incq %r12 movslq (%r13), %rax cmpq %rax, %r12 jl LBB4_4 LBB4_7: ## in Loop: Header=BB4_2 Depth=1 cmpl %eax, %r12d jl LBB4_9 jmp LBB4_8 LBB4_5: ## in Loop: Header=BB4_2 Depth=1 movq _infile@GOTPCREL(%rip), %rax movq %rbx, (%rax) movq _line@GOTPCREL(%rip), %rax movl $1, (%rax) callq _parse movq _infile@GOTPCREL(%rip), %rax movq $0, (%rax) movq _filenum@GOTPCREL(%rip), %rax incl (%rax) movl (%r13), %eax cmpl %eax, %r12d jl LBB4_9 LBB4_8: ## in Loop: Header=BB4_2 Depth=1 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi movq (%r14), %rdx leaq L_.str.108(%rip), %rsi xorl %eax, %eax callq _fprintf incl -308(%rbp) ## 4-byte Folded Spill jmp LBB4_9 LBB4_11: cmpl $0, -308(%rbp) ## 4-byte Folded Reload jg LBB4_14 LBB4_12: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB4_15 ## %bb.13: addq $280, %rsp ## imm = 0x118 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB4_15: callq ___stack_chk_fail LBB4_14: movq _outfile@GOTPCREL(%rip), %rax movq (%rax), %rdi callq _unlink movl $1, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__literal16,16byte_literals .p2align 4 ## -- Begin function relocate LCPI5_0: .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .long 1 ## 0x1 .section __TEXT,__text,regular,pure_instructions .globl _relocate .p2align 4, 0x90 _relocate: ## @relocate .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 pxor %xmm0, %xmm0 movl _dcount(%rip), %ecx xorl %eax, %eax movq _tbusy@GOTPCREL(%rip), %rdx pcmpeqd %xmm1, %xmm1 movdqa LCPI5_0(%rip), %xmm2 ## xmm2 = [1,1,1,1] pxor %xmm7, %xmm7 pxor %xmm5, %xmm5 .p2align 4, 0x90 LBB5_1: ## =>This Inner Loop Header: Depth=1 movd 4(%rdx,%rax), %xmm3 ## xmm3 = mem[0],zero,zero,zero movdqa (%rdx,%rax), %xmm4 pcmpeqb %xmm0, %xmm4 pxor %xmm1, %xmm4 pmovzxbd %xmm4, %xmm4 ## xmm4 = xmm4[0],zero,zero,zero,xmm4[1],zero,zero,zero,xmm4[2],zero,zero,zero,xmm4[3],zero,zero,zero pand %xmm2, %xmm4 paddd %xmm7, %xmm4 pcmpeqb %xmm0, %xmm3 pxor %xmm1, %xmm3 pmovzxbd %xmm3, %xmm3 ## xmm3 = xmm3[0],zero,zero,zero,xmm3[1],zero,zero,zero,xmm3[2],zero,zero,zero,xmm3[3],zero,zero,zero pand %xmm2, %xmm3 paddd %xmm5, %xmm3 movq 8(%rdx,%rax), %xmm5 ## xmm5 = mem[0],zero movd 12(%rdx,%rax), %xmm6 ## xmm6 = mem[0],zero,zero,zero pcmpeqb %xmm0, %xmm5 pxor %xmm1, %xmm5 pmovzxbd %xmm5, %xmm7 ## xmm7 = xmm5[0],zero,zero,zero,xmm5[1],zero,zero,zero,xmm5[2],zero,zero,zero,xmm5[3],zero,zero,zero pand %xmm2, %xmm7 paddd %xmm4, %xmm7 pcmpeqb %xmm0, %xmm6 pxor %xmm1, %xmm6 pmovzxbd %xmm6, %xmm5 ## xmm5 = xmm6[0],zero,zero,zero,xmm6[1],zero,zero,zero,xmm6[2],zero,zero,zero,xmm6[3],zero,zero,zero pand %xmm2, %xmm5 paddd %xmm3, %xmm5 addq $16, %rax cmpq $256, %rax ## imm = 0x100 jne LBB5_1 ## %bb.2: movdqa %xmm7, -96(%rbp) ## 16-byte Spill movdqa %xmm5, -80(%rbp) ## 16-byte Spill movl %ecx, -52(%rbp) ## 4-byte Spill movq _nconst@GOTPCREL(%rip), %r14 movslq (%r14), %rsi movq _constab@GOTPCREL(%rip), %rbx leaq _compare_constab_len(%rip), %rcx movl $16, %edx movq %rbx, %rdi callq _qsort movl (%r14), %ecx testl %ecx, %ecx jle LBB5_3 ## %bb.14: movq _count@GOTPCREL(%rip), %rsi movl $0, -44(%rbp) ## 4-byte Folded Spill movq %rbx, %r12 movdqa -80(%rbp), %xmm1 ## 16-byte Reload movdqa -96(%rbp), %xmm0 ## 16-byte Reload jmp LBB5_15 .p2align 4, 0x90 LBB5_28: ## in Loop: Header=BB5_15 Depth=1 movq _nconst@GOTPCREL(%rip), %rax movl (%rax), %ecx addl %r14d, -44(%rbp) ## 4-byte Folded Spill LBB5_29: ## in Loop: Header=BB5_15 Depth=1 addq $16, %r12 movslq %ecx, %rax shlq $4, %rax movq _constab@GOTPCREL(%rip), %rbx addq %rbx, %rax cmpq %rax, %r12 jae LBB5_4 LBB5_15: ## =>This Loop Header: Depth=1 ## Child Loop BB5_17 Depth 2 ## Child Loop BB5_24 Depth 2 movl %ecx, -48(%rbp) ## 4-byte Spill movl 8(%r12), %r13d cmpq %rbx, %r12 jbe LBB5_21 ## %bb.16: ## in Loop: Header=BB5_15 Depth=1 movslq %r13d, %r14 movq %r14, -104(%rbp) ## 8-byte Spill negq %r14 movq _constab@GOTPCREL(%rip), %rbx jmp LBB5_17 .p2align 4, 0x90 LBB5_20: ## in Loop: Header=BB5_17 Depth=2 addq $16, %rbx cmpq %r12, %rbx jae LBB5_21 LBB5_17: ## Parent Loop BB5_15 Depth=1 ## => This Inner Loop Header: Depth=2 movslq 8(%rbx), %r15 cmpl %r13d, %r15d jl LBB5_20 ## %bb.18: ## in Loop: Header=BB5_17 Depth=2 movq (%rbx), %rdi addq %r14, %rdi addq %r15, %rdi movq (%r12), %rsi movq -104(%rbp), %rdx ## 8-byte Reload callq _memcmp movq _count@GOTPCREL(%rip), %rsi movdqa -96(%rbp), %xmm0 ## 16-byte Reload movdqa -80(%rbp), %xmm1 ## 16-byte Reload testl %eax, %eax jne LBB5_20 ## %bb.19: ## in Loop: Header=BB5_15 Depth=1 movslq 12(%rbx), %rax leaq (%rax,%rax,2), %rax subl %r13d, %r15d movq _stab@GOTPCREL(%rip), %rcx addl 16(%rcx,%rax,8), %r15d movslq 12(%r12), %rax leaq (%rax,%rax,2), %rax movl %r15d, 16(%rcx,%rax,8) movl $3, 12(%rcx,%rax,8) movl -48(%rbp), %ecx ## 4-byte Reload jmp LBB5_29 .p2align 4, 0x90 LBB5_21: ## in Loop: Header=BB5_15 Depth=1 movl (%rsi), %edx movslq 12(%r12), %rax leaq (%rax,%rax,2), %rax movq _stab@GOTPCREL(%rip), %rcx movl %edx, 16(%rcx,%rax,8) movl $3, 12(%rcx,%rax,8) testl %r13d, %r13d jle LBB5_22 ## %bb.23: ## in Loop: Header=BB5_15 Depth=1 movl $1, %r14d movq _tbusy@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB5_24: ## Parent Loop BB5_15 Depth=1 ## => This Inner Loop Header: Depth=2 leal 1(%rdx), %eax movl %eax, (%rsi) movq (%r12), %rax movsbl -1(%rax,%r14), %eax movswl %ax, %ebx movslq %edx, %rax movq _text@GOTPCREL(%rip), %rcx movw %bx, (%rcx,%rax,2) movb $1, (%r15,%rax) movq _debug@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB5_26 ## %bb.25: ## in Loop: Header=BB5_24 Depth=2 movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.106(%rip), %rsi ## kill: def $edx killed $edx killed $rdx movl %ebx, %ecx xorl %eax, %eax callq _fprintf movq _count@GOTPCREL(%rip), %rsi movdqa -96(%rbp), %xmm0 ## 16-byte Reload movdqa -80(%rbp), %xmm1 ## 16-byte Reload movl 8(%r12), %r13d LBB5_26: ## in Loop: Header=BB5_24 Depth=2 movq _lastcmd@GOTPCREL(%rip), %rax movl %ebx, (%rax) movslq %r13d, %rax cmpq %rax, %r14 jge LBB5_28 ## %bb.27: ## in Loop: Header=BB5_24 Depth=2 movl (%rsi), %edx incq %r14 jmp LBB5_24 .p2align 4, 0x90 LBB5_22: ## in Loop: Header=BB5_15 Depth=1 movl -48(%rbp), %ecx ## 4-byte Reload jmp LBB5_29 LBB5_3: movl $0, -44(%rbp) ## 4-byte Folded Spill movdqa -80(%rbp), %xmm1 ## 16-byte Reload movdqa -96(%rbp), %xmm0 ## 16-byte Reload LBB5_4: movq _nrel@GOTPCREL(%rip), %rax movslq (%rax), %rax testq %rax, %rax jle LBB5_38 ## %bb.5: leaq (%rax,%rax,2), %r12 shlq $2, %r12 addq _reltab@GOTPCREL(%rip), %r12 movq _nlabels@GOTPCREL(%rip), %rax movslq (%rax), %rax movq _labeltab@GOTPCREL(%rip), %r10 leaq (%r10,%rax,8), %rbx movq %rax, -80(%rbp) ## 8-byte Spill leaq -8(%r10,%rax,8), %r9 movq _reltab@GOTPCREL(%rip), %r8 movq _text@GOTPCREL(%rip), %r11 movl $65280, %r14d ## imm = 0xFF00 movl $255, %r15d jmp LBB5_6 .p2align 4, 0x90 LBB5_36: ## in Loop: Header=BB5_6 Depth=1 movslq 4(%r8), %rax leaq (%rax,%rax,2), %rax movq _stab@GOTPCREL(%rip), %rcx movl 16(%rcx,%rax,8), %eax LBB5_37: ## in Loop: Header=BB5_6 Depth=1 testb $1, %r13b movl $57344, %edx ## imm = 0xE000 cmovel %r14d, %edx movslq (%r8), %rsi movl $8191, %edi ## imm = 0x1FFF cmovel %r15d, %edi movzwl (%r11,%rsi,2), %ecx andl %ecx, %edx addl %ecx, %eax andl %edi, %eax orl %edx, %eax movw %ax, (%r11,%rsi,2) addq $12, %r8 cmpq %r12, %r8 jae LBB5_38 LBB5_6: ## =>This Loop Header: Depth=1 ## Child Loop BB5_10 Depth 2 ## Child Loop BB5_32 Depth 2 movl 8(%r8), %r13d testb $2, %r13b je LBB5_36 ## %bb.7: ## in Loop: Header=BB5_6 Depth=1 movl (%r8), %edx movl 4(%r8), %esi testl %esi, %esi js LBB5_30 ## %bb.8: ## in Loop: Header=BB5_6 Depth=1 cmpl $0, -80(%rbp) ## 4-byte Folded Reload jle LBB5_13 ## %bb.9: ## in Loop: Header=BB5_6 Depth=1 movq %r10, %rdi jmp LBB5_10 .p2align 4, 0x90 LBB5_12: ## in Loop: Header=BB5_10 Depth=2 addq $8, %rdi cmpq %rbx, %rdi jae LBB5_13 LBB5_10: ## Parent Loop BB5_6 Depth=1 ## => This Inner Loop Header: Depth=2 movl 4(%rdi), %eax cmpl %edx, %eax jle LBB5_12 ## %bb.11: ## in Loop: Header=BB5_10 Depth=2 cmpl %esi, (%rdi) jne LBB5_12 jmp LBB5_37 LBB5_30: ## in Loop: Header=BB5_6 Depth=1 negl %esi cmpq %r10, %r9 jb LBB5_35 ## %bb.31: ## in Loop: Header=BB5_6 Depth=1 movq %r9, %rdi jmp LBB5_32 .p2align 4, 0x90 LBB5_34: ## in Loop: Header=BB5_32 Depth=2 addq $-8, %rdi cmpq %r10, %rdi jb LBB5_35 LBB5_32: ## Parent Loop BB5_6 Depth=1 ## => This Inner Loop Header: Depth=2 movl 4(%rdi), %eax cmpl %edx, %eax jg LBB5_34 ## %bb.33: ## in Loop: Header=BB5_32 Depth=2 cmpl %esi, (%rdi) jne LBB5_34 jmp LBB5_37 LBB5_38: paddd %xmm0, %xmm1 pshufd $238, %xmm1, %xmm0 ## xmm0 = xmm1[2,3,2,3] paddd %xmm1, %xmm0 pshufd $85, %xmm0, %xmm1 ## xmm1 = xmm0[1,1,1,1] paddd %xmm0, %xmm1 movd %xmm1, %r15d movl -52(%rbp), %ebx ## 4-byte Reload addl $-10, %ebx movq _opt_atx_xta@GOTPCREL(%rip), %rax movl (%rax), %edx movq _opt_not_reached@GOTPCREL(%rip), %rax movl (%rax), %ecx movl %edx, %eax orl %ecx, %eax je LBB5_40 ## %bb.39: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.111(%rip), %rsi xorl %eax, %eax callq _fprintf LBB5_40: movq ___stderrp@GOTPCREL(%rip), %r14 movq (%r14), %rdi leaq L_.str.112(%rip), %rsi movl %r15d, %edx movl -44(%rbp), %ecx ## 4-byte Reload movl %ebx, %r8d xorl %eax, %eax callq _fprintf movq _count@GOTPCREL(%rip), %rax movl (%rax), %esi cmpl $257, %esi ## imm = 0x101 jge LBB5_43 ## %bb.41: movl _dcount(%rip), %eax cmpl $33, %eax jge LBB5_44 ## %bb.42: movq (%r14), %rdi movl $256, %edx ## imm = 0x100 subl %esi, %edx movl $32, %ecx subl %eax, %ecx leaq L_.str.115(%rip), %rsi xorl %eax, %eax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _fprintf ## TAILCALL LBB5_13: leaq L_.str.110(%rip), %rdi xorl %eax, %eax callq _uerror LBB5_35: leaq L_.str.109(%rip), %rdi xorl %eax, %eax callq _uerror LBB5_43: leaq L_.str.113(%rip), %rdi xorl %eax, %eax callq _uerror LBB5_44: leaq L_.str.114(%rip), %rdi movl %ebx, %esi xorl %eax, %eax callq _uerror .cfi_endproc ## -- End function .globl _listing ## -- Begin function listing .p2align 4, 0x90 _listing: ## @listing .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _outfile@GOTPCREL(%rip), %rax movq (%rax), %r14 movq %r14, %rdi callq _strlen leaq 4(%rax), %rdi callq _malloc testq %rax, %rax je LBB6_53 ## %bb.1: movq %rax, %rbx movq %rax, %rdi movq %r14, %rsi callq _strcpy movq %rbx, %rdi movl $46, %esi callq _strrchr testq %rax, %rax jne LBB6_3 ## %bb.2: movq %rbx, %rdi callq _strlen movq %rax, %rcx movq %rbx, %rax addq %rcx, %rax LBB6_3: movb $0, 4(%rax) movl $1953721390, (%rax) ## imm = 0x74736C2E leaq L_.str.67(%rip), %rsi movq %rbx, %rdi callq _fopen testq %rax, %rax je LBB6_54 ## %bb.4: movq %rax, %r14 movq _nconst@GOTPCREL(%rip), %rax movslq (%rax), %rax testq %rax, %rax jle LBB6_7 ## %bb.5: shlq $4, %rax addq _constab@GOTPCREL(%rip), %rax movq _constab@GOTPCREL(%rip), %rcx movq _stab@GOTPCREL(%rip), %rdx .p2align 4, 0x90 LBB6_6: ## =>This Inner Loop Header: Depth=1 movslq 12(%rcx), %rsi leaq (%rsi,%rsi,2), %rsi movl 16(%rdx,%rsi,8), %esi movl %esi, 12(%rcx) addq $16, %rcx cmpq %rax, %rcx jb LBB6_6 LBB6_7: movq _stabfree@GOTPCREL(%rip), %r12 movslq (%r12), %rsi movq _stab@GOTPCREL(%rip), %r13 leaq _compare_stab(%rip), %rcx movl $24, %edx movq %r13, %rdi callq _qsort leaq L_.str.118(%rip), %rdi movl $14, %esi movl $1, %edx movq %r14, %rcx callq _fwrite movl (%r12), %eax testl %eax, %eax jle LBB6_16 ## %bb.8: movq _stab@GOTPCREL(%rip), %r15 movq %r15, %rbx jmp LBB6_9 LBB6_11: ## in Loop: Header=BB6_9 Depth=1 movl $68, %ecx LBB6_14: ## in Loop: Header=BB6_9 Depth=1 movl 8(%rbx), %r8d movl 16(%rbx), %edx movq %r14, %rdi leaq L_.str.119(%rip), %rsi xorl %eax, %eax callq _fprintf movl (%r12), %eax LBB6_15: ## in Loop: Header=BB6_9 Depth=1 addq $24, %rbx movslq %eax, %rcx leaq (%rcx,%rcx,2), %rcx shlq $3, %rcx addq %r15, %rcx cmpq %rcx, %rbx jae LBB6_16 LBB6_9: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %r9 cmpb $46, 1(%r9) je LBB6_15 ## %bb.10: ## in Loop: Header=BB6_9 Depth=1 movl 12(%rbx), %ecx cmpl $2, %ecx je LBB6_11 ## %bb.12: ## in Loop: Header=BB6_9 Depth=1 cmpl $1, %ecx jne LBB6_15 ## %bb.13: ## in Loop: Header=BB6_9 Depth=1 movl $65, %ecx jmp LBB6_14 LBB6_16: leaq L_.str.120(%rip), %rdi movl $15, %esi movl $1, %edx movq %r14, %rcx callq _fwrite movl (%r12), %eax testl %eax, %eax jle LBB6_27 ## %bb.17: leaq L_.str.119(%rip), %r15 movq %r13, %rbx jmp LBB6_18 LBB6_24: ## in Loop: Header=BB6_18 Depth=1 movl $67, %ecx LBB6_25: ## in Loop: Header=BB6_18 Depth=1 movl 8(%rbx), %r8d movl 16(%rbx), %edx movq %r14, %rdi movq %r15, %rsi xorl %eax, %eax callq _fprintf movl (%r12), %eax LBB6_26: ## in Loop: Header=BB6_18 Depth=1 addq $24, %rbx movslq %eax, %rcx leaq (%rcx,%rcx,2), %rcx shlq $3, %rcx addq %r13, %rcx cmpq %rcx, %rbx jae LBB6_27 LBB6_18: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %r9 cmpb $46, 1(%r9) je LBB6_26 ## %bb.19: ## in Loop: Header=BB6_18 Depth=1 movl 12(%rbx), %ecx testl %ecx, %ecx je LBB6_20 ## %bb.21: ## in Loop: Header=BB6_18 Depth=1 cmpl $4, %ecx je LBB6_24 ## %bb.22: ## in Loop: Header=BB6_18 Depth=1 cmpl $3, %ecx jne LBB6_26 ## %bb.23: ## in Loop: Header=BB6_18 Depth=1 movl $84, %ecx jmp LBB6_25 LBB6_20: ## in Loop: Header=BB6_18 Depth=1 movl $85, %ecx jmp LBB6_25 LBB6_27: movl $255, %edx movq _tbusy@GOTPCREL(%rip), %rax .p2align 4, 0x90 LBB6_28: ## =>This Inner Loop Header: Depth=1 movl %edx, %esi subl $1, %edx setb %cl cmpb $0, (%rax,%rsi) jne LBB6_30 ## %bb.29: ## in Loop: Header=BB6_28 Depth=1 testb %cl, %cl je LBB6_28 LBB6_30: incl %edx leaq L_.str.121(%rip), %rsi movq %r14, %rdi xorl %eax, %eax callq _fprintf movq _nconst@GOTPCREL(%rip), %r15 movslq (%r15), %rsi movq _constab@GOTPCREL(%rip), %rbx leaq _compare_constab(%rip), %rcx movl $16, %edx movq %rbx, %rdi callq _qsort leaq L_.str.122(%rip), %rdi movl $17, %esi movl $1, %edx movq %r14, %rcx callq _fwrite movl (%r15), %eax testl %eax, %eax jle LBB6_52 ## %bb.31: leaq LJTI6_0(%rip), %r12 movq %rbx, %r15 jmp LBB6_32 .p2align 4, 0x90 LBB6_50: ## in Loop: Header=BB6_32 Depth=1 movl $2, %esi movl $1, %edx leaq L_.str.131(%rip), %rdi movq %r14, %rcx callq _fwrite movq _nconst@GOTPCREL(%rip), %rax movl (%rax), %eax LBB6_51: ## in Loop: Header=BB6_32 Depth=1 addq $16, %r15 movslq %eax, %rcx shlq $4, %rcx addq %rbx, %rcx cmpq %rcx, %r15 jae LBB6_52 LBB6_32: ## =>This Loop Header: Depth=1 ## Child Loop BB6_36 Depth 2 movl 12(%r15), %edx cmpq %rbx, %r15 jbe LBB6_34 ## %bb.33: ## in Loop: Header=BB6_32 Depth=1 movl -8(%r15), %ecx addl -4(%r15), %ecx cmpl %ecx, %edx jl LBB6_51 LBB6_34: ## in Loop: Header=BB6_32 Depth=1 movq %r14, %rdi leaq L_.str.123(%rip), %rsi xorl %eax, %eax callq _fprintf movl 8(%r15), %eax testl %eax, %eax jle LBB6_50 ## %bb.35: ## in Loop: Header=BB6_32 Depth=1 movq (%r15), %r13 addq %r13, %rax jmp LBB6_36 LBB6_40: ## in Loop: Header=BB6_36 Depth=2 movl $2, %esi movl $1, %edx leaq L_.str.124(%rip), %rdi LBB6_41: ## in Loop: Header=BB6_36 Depth=2 movq %r14, %rcx callq _fwrite LBB6_49: ## in Loop: Header=BB6_36 Depth=2 incq %r13 movslq 8(%r15), %rax addq (%r15), %rax cmpq %rax, %r13 jae LBB6_50 LBB6_36: ## Parent Loop BB6_32 Depth=1 ## => This Inner Loop Header: Depth=2 movsbl (%r13), %edx cmpl $34, %edx ja LBB6_37 ## %bb.39: ## in Loop: Header=BB6_36 Depth=2 movslq (%r12,%rdx,4), %rcx addq %r12, %rcx jmpq *%rcx LBB6_44: ## in Loop: Header=BB6_36 Depth=2 decq %rax cmpq %rax, %r13 jae LBB6_49 ## %bb.45: ## in Loop: Header=BB6_36 Depth=2 movl $4, %esi movl $1, %edx leaq L_.str.128(%rip), %rdi jmp LBB6_41 .p2align 4, 0x90 LBB6_37: ## in Loop: Header=BB6_36 Depth=2 cmpl $92, %edx jne LBB6_46 ## %bb.38: ## in Loop: Header=BB6_36 Depth=2 movl $2, %esi movl $1, %edx leaq L_.str.127(%rip), %rdi jmp LBB6_41 LBB6_46: ## in Loop: Header=BB6_36 Depth=2 leal -127(%rdx), %eax cmpb $-96, %al ja LBB6_48 ## %bb.47: ## in Loop: Header=BB6_36 Depth=2 movq %r14, %rdi leaq L_.str.129(%rip), %rsi ## kill: def $edx killed $edx killed $rdx xorl %eax, %eax callq _fprintf jmp LBB6_49 LBB6_42: ## in Loop: Header=BB6_36 Depth=2 movl $2, %esi movl $1, %edx leaq L_.str.125(%rip), %rdi jmp LBB6_41 LBB6_43: ## in Loop: Header=BB6_36 Depth=2 movl $2, %esi movl $1, %edx leaq L_.str.126(%rip), %rdi jmp LBB6_41 LBB6_48: ## in Loop: Header=BB6_36 Depth=2 movl %edx, %edi movq %r14, %rsi callq _fputc jmp LBB6_49 LBB6_52: leaq L_.str.132(%rip), %rdi movl $7, %esi movl $1, %edx movq %r14, %rcx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _fwrite ## TAILCALL LBB6_53: leaq L_.str.60(%rip), %rdi xorl %eax, %eax callq _uerror LBB6_54: leaq L_.str.117(%rip), %rdi movq %rbx, %rsi xorl %eax, %eax callq _uerror .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L6_0_set_44, LBB6_44-LJTI6_0 .set L6_0_set_46, LBB6_46-LJTI6_0 .set L6_0_set_40, LBB6_40-LJTI6_0 .set L6_0_set_42, LBB6_42-LJTI6_0 .set L6_0_set_43, LBB6_43-LJTI6_0 LJTI6_0: .long L6_0_set_44 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_40 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_42 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_46 .long L6_0_set_43 .end_data_region ## -- End function .globl _output ## -- Begin function output .p2align 4, 0x90 _output: ## @output .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %ebx, %ebx movq _tbusy@GOTPCREL(%rip), %r14 movq _text@GOTPCREL(%rip), %r15 jmp LBB7_1 .p2align 4, 0x90 LBB7_3: ## in Loop: Header=BB7_1 Depth=1 incq %rbx cmpq $256, %rbx ## imm = 0x100 je LBB7_4 LBB7_1: ## =>This Inner Loop Header: Depth=1 cmpb $0, (%r14,%rbx) je LBB7_3 ## %bb.2: ## in Loop: Header=BB7_1 Depth=1 movzwl (%r15,%rbx,2), %esi movq %rbx, %rdi callq _outhex jmp LBB7_3 LBB7_4: movq _outptr(%rip), %rax cmpq _outbuf@GOTPCREL(%rip), %rax jbe LBB7_9 ## %bb.5: movq _outbuf@GOTPCREL(%rip), %r14 subb %r14b, %al addb $-4, %al movb %al, (%r14) movl $58, %edi callq _putchar xorl %r12d, %r12d cmpq %r14, _outptr(%rip) jbe LBB7_8 ## %bb.6: leaq L_.str.92(%rip), %r15 xorl %r12d, %r12d movq %r14, %rbx .p2align 4, 0x90 LBB7_7: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx), %esi movq %r15, %rdi xorl %eax, %eax callq _printf movzbl (%rbx), %eax addl %r12d, %eax incq %rbx movzbl %al, %r12d cmpq _outptr(%rip), %rbx jb LBB7_7 LBB7_8: negl %r12d movzbl %r12b, %esi leaq L_.str.93(%rip), %rdi xorl %eax, %eax callq _printf movq %r14, _outptr(%rip) LBB7_9: xorl %eax, %eax cmpl $0, _unprotect(%rip) setne %al shll $3, %eax xorl %ecx, %ecx cmpl $0, _wdog(%rip) setne %cl leal (%rax,%rcx,4), %eax xorl %ecx, %ecx cmpl $0, _mclre(%rip) setne %cl shll $4, %ecx leal (%rcx,%rax), %esi addl $4064, %esi ## imm = 0xFE0 movl _osc(%rip), %eax cmpl $4, %eax je LBB7_14 ## %bb.10: cmpl $3, %eax je LBB7_13 ## %bb.11: cmpl $2, %eax jne LBB7_15 ## %bb.12: orl $1, %esi jmp LBB7_15 LBB7_14: orl $3, %esi jmp LBB7_15 LBB7_13: orl $2, %esi LBB7_15: movl $4095, %edi ## imm = 0xFFF callq _outhex movb _outptr(%rip), %al movq _outbuf@GOTPCREL(%rip), %r14 subb %r14b, %al addb $-4, %al movb %al, (%r14) movl $58, %edi callq _putchar xorl %r12d, %r12d cmpq %r14, _outptr(%rip) jbe LBB7_18 ## %bb.16: leaq L_.str.92(%rip), %r15 xorl %r12d, %r12d movq %r14, %rbx .p2align 4, 0x90 LBB7_17: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx), %esi movq %r15, %rdi xorl %eax, %eax callq _printf movzbl (%rbx), %eax addl %r12d, %eax incq %rbx movzbl %al, %r12d cmpq _outptr(%rip), %rbx jb LBB7_17 LBB7_18: negl %r12d movzbl %r12b, %esi leaq L_.str.93(%rip), %rdi xorl %eax, %eax callq _printf movq %r14, _outptr(%rip) leaq L_str.141(%rip), %rdi popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp jmp _puts ## TAILCALL .cfi_endproc ## -- End function .globl _lookcmd ## -- Begin function lookcmd .p2align 4, 0x90 _lookcmd: ## @lookcmd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _table+8(%rip), %rdi movl $-1, %r14d testq %rdi, %rdi je LBB8_5 ## %bb.1: xorl %r12d, %r12d leaq _table+32(%rip), %rbx movq _name@GOTPCREL(%rip), %r15 .p2align 4, 0x90 LBB8_2: ## =>This Inner Loop Header: Depth=1 movq %r15, %rsi callq _strcmp testl %eax, %eax je LBB8_3 ## %bb.4: ## in Loop: Header=BB8_2 Depth=1 movq (%rbx), %rdi incl %r12d addq $24, %rbx testq %rdi, %rdi jne LBB8_2 jmp LBB8_5 LBB8_3: movl %r12d, %r14d LBB8_5: movl %r14d, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _hexdig ## -- Begin function hexdig .p2align 4, 0x90 _hexdig: ## @hexdig .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp xorl %ecx, %ecx cmpl $71, %edi setb %cl shll $5, %ecx addl $-87, %ecx cmpl $58, %edi movl $-48, %eax cmovgel %ecx, %eax addl %edi, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _getnum ## -- Begin function getnum .p2align 4, 0x90 _getnum: ## @getnum .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _intval@GOTPCREL(%rip), %rbx movl $0, (%rbx) cmpl $48, %edi jne LBB10_13 ## %bb.1: callq _getchar movl %eax, %ecx andl $-33, %ecx cmpl $88, %ecx je LBB10_5 ## %bb.2: cmpl $66, %ecx jne LBB10_8 .p2align 4, 0x90 LBB10_3: ## =>This Inner Loop Header: Depth=1 callq _getchar ## kill: def $eax killed $eax def $rax movl %eax, %ecx andl $-2, %ecx cmpl $48, %ecx jne LBB10_18 ## %bb.4: ## in Loop: Header=BB10_3 Depth=1 movl (%rbx), %ecx leal (%rax,%rcx,2), %eax addl $-48, %eax movl %eax, (%rbx) jmp LBB10_3 LBB10_13: testl %edi, %edi js LBB10_15 ## %bb.14: movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _ungetc LBB10_15: callq _getchar ## kill: def $eax killed $eax def $rax movzbl %al, %ecx leaq _ctype(%rip), %r14 testb $4, (%r14,%rcx,2) je LBB10_18 ## %bb.16: movl $-48, %r15d .p2align 4, 0x90 LBB10_17: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %ecx xorl %edx, %edx cmpl $71, %eax setb %dl shll $5, %edx addl $-87, %edx cmpl $58, %eax cmovll %r15d, %edx leal (%rcx,%rcx,4), %ecx addl %eax, %edx leal (%rdx,%rcx,2), %eax movl %eax, (%rbx) callq _getchar ## kill: def $eax killed $eax def $rax movzbl %al, %ecx testb $4, (%r14,%rcx,2) jne LBB10_17 jmp LBB10_18 LBB10_5: callq _getchar ## kill: def $eax killed $eax def $rax movzbl %al, %ecx leaq _ctype(%rip), %r14 testb $1, (%r14,%rcx,2) je LBB10_18 ## %bb.6: movl $-48, %r15d .p2align 4, 0x90 LBB10_7: ## =>This Inner Loop Header: Depth=1 movl (%rbx), %ecx shll $4, %ecx xorl %edx, %edx cmpl $71, %eax setb %dl shll $5, %edx addl $-87, %edx cmpl $58, %eax cmovll %r15d, %edx addl %eax, %edx addl %ecx, %edx movl %edx, (%rbx) callq _getchar ## kill: def $eax killed $eax def $rax movzbl %al, %ecx testb $1, (%r14,%rcx,2) jne LBB10_7 jmp LBB10_18 LBB10_8: testl %eax, %eax js LBB10_10 ## %bb.9: movq ___stdinp@GOTPCREL(%rip), %rcx movq (%rcx), %rsi movl %eax, %edi callq _ungetc LBB10_10: callq _getchar ## kill: def $eax killed $eax def $rax movzbl %al, %ecx leaq _ctype(%rip), %r14 testb $2, (%r14,%rcx,2) je LBB10_18 ## %bb.11: movl $-48, %r15d .p2align 4, 0x90 LBB10_12: ## =>This Inner Loop Header: Depth=1 xorl %ecx, %ecx cmpl $71, %eax setb %cl shll $5, %ecx addl $-87, %ecx cmpl $58, %eax cmovll %r15d, %ecx movl (%rbx), %edx addl %eax, %ecx leal (%rcx,%rdx,8), %eax movl %eax, (%rbx) callq _getchar ## kill: def $eax killed $eax def $rax movzbl %al, %ecx testb $2, (%r14,%rcx,2) jne LBB10_12 LBB10_18: testl %eax, %eax js LBB10_19 ## %bb.20: movq ___stdinp@GOTPCREL(%rip), %rcx movq (%rcx), %rsi movl %eax, %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _ungetc ## TAILCALL LBB10_19: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _getname ## -- Begin function getname .p2align 4, 0x90 _getname: ## @getname .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %eax movq _name@GOTPCREL(%rip), %rbx cmpl $33, %edi jl LBB11_7 ## %bb.1: cmpl $58, %eax je LBB11_7 ## %bb.2: movl %esi, %r14d movq _name@GOTPCREL(%rip), %rbx leaq _ctype(%rip), %r15 .p2align 4, 0x90 LBB11_3: ## =>This Inner Loop Header: Depth=1 testl %r14d, %r14d jne LBB11_5 ## %bb.4: ## in Loop: Header=BB11_3 Depth=1 movzbl %al, %ecx testb $12, (%r15,%rcx,2) je LBB11_7 LBB11_5: ## in Loop: Header=BB11_3 Depth=1 movb %al, (%rbx) incq %rbx callq _getchar cmpl $33, %eax jl LBB11_7 ## %bb.6: ## in Loop: Header=BB11_3 Depth=1 cmpl $58, %eax jne LBB11_3 LBB11_7: movb $0, (%rbx) movq ___stdinp@GOTPCREL(%rip), %rcx movq (%rcx), %rsi movl %eax, %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _ungetc ## TAILCALL .cfi_endproc ## -- End function .globl _getlex ## -- Begin function getlex .p2align 4, 0x90 _getlex: ## @getlex .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 movq _blexflag@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB12_1 ## %bb.44: movl $0, (%rax) movq _blextype@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, (%r14) movq _backlex@GOTPCREL(%rip), %rax movl (%rax), %eax jmp LBB12_43 LBB12_1: movl %esi, %r15d leaq LJTI12_0(%rip), %rbx LBB12_2: ## =>This Inner Loop Header: Depth=1 callq _getchar movl %eax, %ecx incl %ecx cmpl $127, %ecx ja LBB12_27 ## %bb.3: ## in Loop: Header=BB12_2 Depth=1 movslq (%rbx,%rcx,4), %rcx addq %rbx, %rcx jmpq *%rcx LBB12_26: movl %eax, %edi callq _getnum movl $2, %eax jmp LBB12_43 LBB12_12: callq _getchar cmpl $92, %eax je LBB12_15 ## %bb.13: movl %eax, %ebx cmpl $39, %eax je LBB12_14 LBB12_24: callq _getchar cmpl $39, %eax jne LBB12_14 ## %bb.25: movq _intval@GOTPCREL(%rip), %rax movl %ebx, (%rax) movl $2, %eax jmp LBB12_43 LBB12_27: movzbl %al, %esi leaq _ctype(%rip), %rcx testb $8, (%rcx,%rsi,2) je LBB12_45 ## %bb.28: movl %eax, %edi movl %r15d, %esi callq _getname movq _name@GOTPCREL(%rip), %rcx cmpb $46, (%rcx) jne LBB12_40 ## %bb.29: cmpb $0, 1(%rcx) je LBB12_30 ## %bb.31: movl $1970365742, %eax ## imm = 0x7571652E xorl (%rcx), %eax movzbl 4(%rcx), %edx orl %eax, %edx je LBB12_32 ## %bb.33: movl $1952539694, %eax ## imm = 0x7461642E xorl (%rcx), %eax movzwl 4(%rcx), %edx xorl $97, %edx orl %eax, %edx je LBB12_34 ## %bb.35: movl $1735552814, %eax ## imm = 0x67726F2E xorl (%rcx), %eax movzbl 4(%rcx), %edx orl %eax, %edx je LBB12_36 ## %bb.37: movl $1852793646, %eax ## imm = 0x6E6F632E xorl (%rcx), %eax movl $7631726, %edx ## imm = 0x74736E xorl 3(%rcx), %edx orl %eax, %edx je LBB12_38 ## %bb.39: movl $9, %eax movabsq $29107811261571886, %rdx ## imm = 0x6769666E6F632E cmpq %rdx, (%rcx) je LBB12_43 LBB12_40: callq _lookcmd movl %eax, %ecx movl %eax, (%r14) movl $4, %eax cmpl $-1, %ecx jne LBB12_43 ## %bb.41: callq _lookname movl %eax, (%r14) movl $3, %eax jmp LBB12_43 LBB12_8: callq _getchar movl %eax, %edi movl $10, %eax cmpl $60, %edi je LBB12_43 ## %bb.9: movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _ungetc movl $60, %eax jmp LBB12_43 LBB12_10: callq _getchar movl %eax, %edi movl $11, %eax cmpl $62, %edi je LBB12_43 ## %bb.11: movq ___stdinp@GOTPCREL(%rip), %rax movq (%rax), %rsi callq _ungetc movl $62, %eax jmp LBB12_43 LBB12_15: callq _getchar movl %eax, %ebx leal -39(%rbx), %eax cmpl $79, %eax ja LBB12_14 ## %bb.16: leaq LJTI12_1(%rip), %rcx movslq (%rcx,%rax,4), %rax addq %rcx, %rax jmpq *%rax LBB12_23: movl $7, %ebx jmp LBB12_24 LBB12_30: movl $46, %eax jmp LBB12_43 LBB12_32: movl $5, %eax jmp LBB12_43 LBB12_34: movl $6, %eax jmp LBB12_43 LBB12_17: movl $8, %ebx jmp LBB12_24 LBB12_18: movl $12, %ebx jmp LBB12_24 LBB12_19: movl $10, %ebx jmp LBB12_24 LBB12_20: movl $13, %ebx jmp LBB12_24 LBB12_21: movl $9, %ebx jmp LBB12_24 LBB12_22: movl $11, %ebx jmp LBB12_24 LBB12_36: movl $8, %eax jmp LBB12_43 LBB12_38: movl $7, %eax jmp LBB12_43 LBB12_14: leaq L_.str.70(%rip), %rdi xorl %eax, %eax callq _uerror LBB12_45: leaq L_.str.71(%rip), %rdi ## kill: def $esi killed $esi killed $rsi xorl %eax, %eax callq _uerror .p2align 4, 0x90 LBB12_4: ## =>This Inner Loop Header: Depth=1 callq _getchar cmpl $-1, %eax je LBB12_42 ## %bb.5: ## in Loop: Header=BB12_4 Depth=1 cmpl $10, %eax jne LBB12_4 LBB12_6: movq _line@GOTPCREL(%rip), %rbx incl (%rbx) callq _getchar cmpl $35, %eax je LBB12_4 ## %bb.7: movq ___stdinp@GOTPCREL(%rip), %rcx movq (%rcx), %rsi movl %eax, %edi callq _ungetc movl (%rbx), %eax movl %eax, (%r14) movl $1, %eax jmp LBB12_43 LBB12_42: xorl %eax, %eax LBB12_43: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L12_0_set_42, LBB12_42-LJTI12_0 .set L12_0_set_27, LBB12_27-LJTI12_0 .set L12_0_set_2, LBB12_2-LJTI12_0 .set L12_0_set_6, LBB12_6-LJTI12_0 .set L12_0_set_43, LBB12_43-LJTI12_0 .set L12_0_set_4, LBB12_4-LJTI12_0 .set L12_0_set_12, LBB12_12-LJTI12_0 .set L12_0_set_26, LBB12_26-LJTI12_0 .set L12_0_set_8, LBB12_8-LJTI12_0 .set L12_0_set_10, LBB12_10-LJTI12_0 LJTI12_0: .long L12_0_set_42 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_2 .long L12_0_set_6 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_2 .long L12_0_set_27 .long L12_0_set_43 .long L12_0_set_4 .long L12_0_set_27 .long L12_0_set_43 .long L12_0_set_43 .long L12_0_set_12 .long L12_0_set_43 .long L12_0_set_43 .long L12_0_set_43 .long L12_0_set_43 .long L12_0_set_43 .long L12_0_set_43 .long L12_0_set_27 .long L12_0_set_43 .long L12_0_set_26 .long L12_0_set_26 .long L12_0_set_26 .long L12_0_set_26 .long L12_0_set_26 .long L12_0_set_26 .long L12_0_set_26 .long L12_0_set_26 .long L12_0_set_26 .long L12_0_set_26 .long L12_0_set_43 .long L12_0_set_4 .long L12_0_set_8 .long L12_0_set_43 .long L12_0_set_10 .long L12_0_set_27 .long L12_0_set_43 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_43 .long L12_0_set_43 .long L12_0_set_43 .long L12_0_set_43 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_27 .long L12_0_set_43 .long L12_0_set_43 .long L12_0_set_43 .long L12_0_set_43 .set L12_1_set_24, LBB12_24-LJTI12_1 .set L12_1_set_14, LBB12_14-LJTI12_1 .set L12_1_set_23, LBB12_23-LJTI12_1 .set L12_1_set_17, LBB12_17-LJTI12_1 .set L12_1_set_18, LBB12_18-LJTI12_1 .set L12_1_set_19, LBB12_19-LJTI12_1 .set L12_1_set_20, LBB12_20-LJTI12_1 .set L12_1_set_21, LBB12_21-LJTI12_1 .set L12_1_set_22, LBB12_22-LJTI12_1 LJTI12_1: .long L12_1_set_24 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_24 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_23 .long L12_1_set_17 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_18 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_19 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_14 .long L12_1_set_20 .long L12_1_set_14 .long L12_1_set_21 .long L12_1_set_14 .long L12_1_set_22 .end_data_region ## -- End function .globl _ungetlex ## -- Begin function ungetlex .p2align 4, 0x90 _ungetlex: ## @ungetlex .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _blexflag@GOTPCREL(%rip), %rax movl $1, (%rax) movq _backlex@GOTPCREL(%rip), %rax movl %edi, (%rax) movq _blextype@GOTPCREL(%rip), %rax movl %esi, (%rax) popq %rbp retq .cfi_endproc ## -- End function .globl _getterm ## -- Begin function getterm .p2align 4, 0x90 _getterm: ## @getterm .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 -4(%rbp), %rdi xorl %esi, %esi callq _getlex cmpl $39, %eax jg LBB14_5 ## %bb.1: cmpl $2, %eax je LBB14_8 ## %bb.2: cmpl $3, %eax jne LBB14_7 ## %bb.3: movl -4(%rbp), %ecx movslq %ecx, %rax leaq (%rax,%rax,2), %rdx movq _stab@GOTPCREL(%rip), %rsi movl 12(%rsi,%rdx,8), %eax testl $-5, %eax jne LBB14_12 ## %bb.4: movq _intval@GOTPCREL(%rip), %rdx movl $0, (%rdx) movq _extref@GOTPCREL(%rip), %rdx movl %ecx, (%rdx) jmp LBB14_16 LBB14_5: cmpl $40, %eax je LBB14_14 ## %bb.6: cmpl $46, %eax jne LBB14_7 ## %bb.13: movq _count@GOTPCREL(%rip), %rax movl (%rax), %eax movq _intval@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movl $3, %eax jmp LBB14_16 LBB14_8: callq _getchar ## kill: def $eax killed $eax def $rax leal -66(%rax), %ecx roll $30, %ecx cmpl $9, %ecx ja LBB14_11 ## %bb.9: movl $771, %edx ## imm = 0x303 btl %ecx, %edx jae LBB14_11 ## %bb.10: andl $-33, %eax movq _intval@GOTPCREL(%rip), %rcx movl (%rcx), %edx movl %edx, %esi negl %esi cmpl $66, %eax cmovnel %edx, %esi movq _extflag@GOTPCREL(%rip), %rax orb $2, (%rax) movq _extref@GOTPCREL(%rip), %rax movl %esi, (%rax) movl $0, (%rcx) xorl %eax, %eax jmp LBB14_16 LBB14_14: leaq -8(%rbp), %rdi callq _getexpr leaq -4(%rbp), %rdi xorl %esi, %esi callq _getlex cmpl $41, %eax jne LBB14_17 ## %bb.15: movl -8(%rbp), %eax jmp LBB14_16 LBB14_12: movl 16(%rsi,%rdx,8), %ecx movq _intval@GOTPCREL(%rip), %rdx movl %ecx, (%rdx) jmp LBB14_16 LBB14_11: movq ___stdinp@GOTPCREL(%rip), %rcx movq (%rcx), %rsi movl %eax, %edi callq _ungetc movl $1, %eax LBB14_16: addq $16, %rsp popq %rbp retq LBB14_7: leaq L_.str.77(%rip), %rdi xorl %eax, %eax callq _uerror LBB14_17: leaq L_.str.78(%rip), %rdi xorl %eax, %eax callq _uerror .cfi_endproc ## -- End function .globl _getexpr ## -- Begin function getexpr .p2align 4, 0x90 _getexpr: ## @getexpr .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r14 leaq -44(%rbp), %rdi xorl %ebx, %ebx xorl %esi, %esi callq _getlex movl %eax, %ecx addl $-2, %ecx cmpl $62, %ecx ja LBB15_2 ## %bb.1: movabsq $4611703885491339267, %rdx ## imm = 0x4000104000000003 btq %rcx, %rdx jae LBB15_2 ## %bb.3: movl -44(%rbp), %ecx movq _blexflag@GOTPCREL(%rip), %rdx movl $1, (%rdx) movq _backlex@GOTPCREL(%rip), %rdx movl %eax, (%rdx) movq _blextype@GOTPCREL(%rip), %rax movl %ecx, (%rax) callq _getterm movl %eax, (%r14) movq _intval@GOTPCREL(%rip), %rax movl (%rax), %ebx LBB15_4: leaq -44(%rbp), %r15 movq _intval@GOTPCREL(%rip), %r12 leaq LJTI15_0(%rip), %r13 jmp LBB15_5 LBB15_12: ## in Loop: Header=BB15_5 Depth=1 movl %eax, (%r14) addl (%r12), %ebx .p2align 4, 0x90 LBB15_5: ## =>This Inner Loop Header: Depth=1 movq %r15, %rdi xorl %esi, %esi callq _getlex ## kill: def $eax killed $eax def $rax leal -10(%rax), %ecx cmpl $84, %ecx ja LBB15_6 ## %bb.44: ## in Loop: Header=BB15_5 Depth=1 movslq (%r13,%rcx,4), %rcx addq %r13, %rcx jmpq *%rcx LBB15_26: ## in Loop: Header=BB15_5 Depth=1 callq _getterm cmpl $1, (%r14) jne LBB15_45 ## %bb.27: ## in Loop: Header=BB15_5 Depth=1 cmpl $1, %eax jne LBB15_45 ## %bb.28: ## in Loop: Header=BB15_5 Depth=1 movzbl (%r12), %ecx shll %cl, %ebx jmp LBB15_5 LBB15_6: ## in Loop: Header=BB15_5 Depth=1 cmpl $124, %eax je LBB15_20 ## %bb.7: ## in Loop: Header=BB15_5 Depth=1 cmpl $126, %eax jne LBB15_43 ## %bb.8: ## in Loop: Header=BB15_5 Depth=1 callq _getterm cmpl $1, (%r14) jne LBB15_45 ## %bb.9: ## in Loop: Header=BB15_5 Depth=1 cmpl $1, %eax jne LBB15_45 ## %bb.10: ## in Loop: Header=BB15_5 Depth=1 xorl (%r12), %ebx notl %ebx jmp LBB15_5 LBB15_29: ## in Loop: Header=BB15_5 Depth=1 callq _getterm cmpl $1, (%r14) jne LBB15_45 ## %bb.30: ## in Loop: Header=BB15_5 Depth=1 cmpl $1, %eax jne LBB15_45 ## %bb.31: ## in Loop: Header=BB15_5 Depth=1 movzbl (%r12), %ecx sarl %cl, %ebx jmp LBB15_5 LBB15_39: ## in Loop: Header=BB15_5 Depth=1 callq _getterm cmpl $1, (%r14) jne LBB15_45 ## %bb.40: ## in Loop: Header=BB15_5 Depth=1 cmpl $1, %eax jne LBB15_45 ## %bb.41: ## in Loop: Header=BB15_5 Depth=1 movl (%r12), %ecx testl %ecx, %ecx je LBB15_47 ## %bb.42: ## in Loop: Header=BB15_5 Depth=1 movl %ebx, %eax cltd idivl %ecx movl %edx, %ebx jmp LBB15_5 LBB15_17: ## in Loop: Header=BB15_5 Depth=1 callq _getterm cmpl $1, (%r14) jne LBB15_45 ## %bb.18: ## in Loop: Header=BB15_5 Depth=1 cmpl $1, %eax jne LBB15_45 ## %bb.19: ## in Loop: Header=BB15_5 Depth=1 andl (%r12), %ebx jmp LBB15_5 LBB15_32: ## in Loop: Header=BB15_5 Depth=1 callq _getterm cmpl $1, (%r14) jne LBB15_45 ## %bb.33: ## in Loop: Header=BB15_5 Depth=1 cmpl $1, %eax jne LBB15_45 ## %bb.34: ## in Loop: Header=BB15_5 Depth=1 imull (%r12), %ebx jmp LBB15_5 LBB15_11: ## in Loop: Header=BB15_5 Depth=1 callq _getterm cmpl $1, (%r14) je LBB15_12 ## %bb.13: ## in Loop: Header=BB15_5 Depth=1 cmpl $1, %eax jne LBB15_45 ## %bb.14: ## in Loop: Header=BB15_5 Depth=1 addl (%r12), %ebx jmp LBB15_5 LBB15_15: ## in Loop: Header=BB15_5 Depth=1 callq _getterm cmpl $1, %eax jne LBB15_45 ## %bb.16: ## in Loop: Header=BB15_5 Depth=1 subl (%r12), %ebx jmp LBB15_5 LBB15_35: ## in Loop: Header=BB15_5 Depth=1 callq _getterm cmpl $1, (%r14) jne LBB15_45 ## %bb.36: ## in Loop: Header=BB15_5 Depth=1 cmpl $1, %eax jne LBB15_45 ## %bb.37: ## in Loop: Header=BB15_5 Depth=1 movl (%r12), %ecx testl %ecx, %ecx je LBB15_46 ## %bb.38: ## in Loop: Header=BB15_5 Depth=1 movl %ebx, %eax cltd idivl %ecx movl %eax, %ebx jmp LBB15_5 LBB15_23: ## in Loop: Header=BB15_5 Depth=1 callq _getterm cmpl $1, (%r14) jne LBB15_45 ## %bb.24: ## in Loop: Header=BB15_5 Depth=1 cmpl $1, %eax jne LBB15_45 ## %bb.25: ## in Loop: Header=BB15_5 Depth=1 xorl (%r12), %ebx jmp LBB15_5 LBB15_20: ## in Loop: Header=BB15_5 Depth=1 callq _getterm cmpl $1, (%r14) jne LBB15_45 ## %bb.21: ## in Loop: Header=BB15_5 Depth=1 cmpl $1, %eax jne LBB15_45 ## %bb.22: ## in Loop: Header=BB15_5 Depth=1 orl (%r12), %ebx jmp LBB15_5 LBB15_43: movl -44(%rbp), %ecx movq _blexflag@GOTPCREL(%rip), %rdx movl $1, (%rdx) movq _backlex@GOTPCREL(%rip), %rdx movl %eax, (%rdx) movq _blextype@GOTPCREL(%rip), %rax movl %ecx, (%rax) movl %ebx, (%r12) movl %ebx, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB15_2: movl -44(%rbp), %ecx movq _blexflag@GOTPCREL(%rip), %rdx movl $1, (%rdx) movq _backlex@GOTPCREL(%rip), %rdx movl %eax, (%rdx) movq _blextype@GOTPCREL(%rip), %rax movl %ecx, (%rax) movl $1, (%r14) jmp LBB15_4 LBB15_45: leaq L_.str.79(%rip), %rdi xorl %eax, %eax callq _uerror LBB15_47: leaq L_.str.81(%rip), %rdi xorl %eax, %eax callq _uerror LBB15_46: leaq L_.str.80(%rip), %rdi xorl %eax, %eax callq _uerror .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L15_0_set_26, LBB15_26-LJTI15_0 .set L15_0_set_29, LBB15_29-LJTI15_0 .set L15_0_set_43, LBB15_43-LJTI15_0 .set L15_0_set_39, LBB15_39-LJTI15_0 .set L15_0_set_17, LBB15_17-LJTI15_0 .set L15_0_set_32, LBB15_32-LJTI15_0 .set L15_0_set_11, LBB15_11-LJTI15_0 .set L15_0_set_15, LBB15_15-LJTI15_0 .set L15_0_set_35, LBB15_35-LJTI15_0 .set L15_0_set_23, LBB15_23-LJTI15_0 LJTI15_0: .long L15_0_set_26 .long L15_0_set_29 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_39 .long L15_0_set_17 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_32 .long L15_0_set_11 .long L15_0_set_43 .long L15_0_set_15 .long L15_0_set_43 .long L15_0_set_35 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_43 .long L15_0_set_23 .end_data_region ## -- End function .globl _makecmd ## -- Begin function makecmd .p2align 4, 0x90 _makecmd: ## @makecmd .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movl %edi, %r15d movq _extflag@GOTPCREL(%rip), %r13 movl $0, (%r13) movq _reached@GOTPCREL(%rip), %r12 movl (%r12), %eax testl %eax, %eax jne LBB16_3 ## %bb.1: movq _count@GOTPCREL(%rip), %rax movl (%rax), %ecx roll $29, %ecx xorl %eax, %eax cmpl $4, %ecx ja LBB16_3 ## %bb.2: movl $1, (%r12) movl $1, %eax LBB16_3: movl %r14d, %ecx andl $-193, %ecx decl %ecx cmpl $3, %ecx ja LBB16_10 ## %bb.4: leaq LJTI16_0(%rip), %rdx movslq (%rdx,%rcx,4), %rcx addq %rdx, %rcx jmpq *%rcx LBB16_20: leaq -44(%rbp), %rdi callq _getexpr cmpl $0, (%r12) je LBB16_6 ## %bb.21: testl $-5, -44(%rbp) jne LBB16_23 ## %bb.22: movq _count@GOTPCREL(%rip), %rax movl (%rax), %edi movq _extref@GOTPCREL(%rip), %rax movl (%rax), %esi movl (%r13), %edx orl $1, %edx callq _addreloc LBB16_23: movq _intval@GOTPCREL(%rip), %rax movl $511, %ebx ## imm = 0x1FF andl (%rax), %ebx orl %r15d, %ebx jmp LBB16_30 LBB16_5: testl %eax, %eax je LBB16_6 ## %bb.7: movq _count@GOTPCREL(%rip), %rax movslq (%rax), %rdx leal 1(%rdx), %ecx movl %ecx, (%rax) movq _text@GOTPCREL(%rip), %rax movw %r15w, (%rax,%rdx,2) movq _tbusy@GOTPCREL(%rip), %rax movb $1, (%rax,%rdx) movq _debug@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB16_9 ## %bb.8: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.106(%rip), %rsi ## kill: def $edx killed $edx killed $rdx movl %r15d, %ecx xorl %eax, %eax callq _fprintf LBB16_9: movq _lastcmd@GOTPCREL(%rip), %rax movl %r15d, (%rax) jmp LBB16_33 LBB16_24: leaq -44(%rbp), %rdi callq _getexpr movq _intval@GOTPCREL(%rip), %rax movzbl (%rax), %ebx leaq -52(%rbp), %rdi xorl %esi, %esi callq _getlex cmpl $44, %eax jne LBB16_37 ## %bb.25: leaq -48(%rbp), %rdi callq _getexpr cmpl $1, -48(%rbp) jne LBB16_38 ## %bb.26: cmpl $0, (%r12) je LBB16_6 ## %bb.27: orl %r15d, %ebx testl $-5, -44(%rbp) jne LBB16_29 ## %bb.28: movq _count@GOTPCREL(%rip), %rax movl (%rax), %edi movq _extref@GOTPCREL(%rip), %rax movl (%rax), %esi movl (%r13), %edx callq _addreloc LBB16_29: movq _intval@GOTPCREL(%rip), %rax movl (%rax), %eax shll $5, %eax movzbl %al, %eax orl %eax, %ebx LBB16_30: movq _count@GOTPCREL(%rip), %rax movslq (%rax), %rdx leal 1(%rdx), %ecx movl %ecx, (%rax) movq _text@GOTPCREL(%rip), %rax movw %bx, (%rax,%rdx,2) movq _tbusy@GOTPCREL(%rip), %rax movb $1, (%rax,%rdx) movq _debug@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB16_32 ## %bb.31: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.106(%rip), %rsi ## kill: def $edx killed $edx killed $rdx movl %ebx, %ecx xorl %eax, %eax callq _fprintf LBB16_32: movq _lastcmd@GOTPCREL(%rip), %rax movl %ebx, (%rax) jmp LBB16_33 LBB16_10: leaq -44(%rbp), %rdi callq _getexpr cmpl $0, (%r12) je LBB16_6 ## %bb.11: testl $-5, -44(%rbp) jne LBB16_13 ## %bb.12: movq _count@GOTPCREL(%rip), %rax movl (%rax), %edi movq _extref@GOTPCREL(%rip), %rax movl (%rax), %esi movl (%r13), %edx callq _addreloc LBB16_13: movq _intval@GOTPCREL(%rip), %rax movzbl (%rax), %ebx movl %ebx, (%rax) cmpl $32, %r15d jne LBB16_17 ## %bb.14: movq _optim@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB16_17 ## %bb.15: movq _lastcmd@GOTPCREL(%rip), %rax leal 512(%rbx), %ecx cmpl %ecx, (%rax) jne LBB16_17 ## %bb.16: movq _opt_atx_xta@GOTPCREL(%rip), %rax incl (%rax) jmp LBB16_33 LBB16_6: movq _opt_not_reached@GOTPCREL(%rip), %rax incl (%rax) jmp LBB16_33 LBB16_17: movq _count@GOTPCREL(%rip), %rax movslq (%rax), %rdx leal 1(%rdx), %ecx movl %ecx, (%rax) orl %r15d, %ebx movq _text@GOTPCREL(%rip), %rax movw %bx, (%rax,%rdx,2) movq _tbusy@GOTPCREL(%rip), %rax movb $1, (%rax,%rdx) movq _debug@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB16_19 ## %bb.18: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.106(%rip), %rsi ## kill: def $edx killed $edx killed $rdx movl %ebx, %ecx xorl %eax, %eax callq _fprintf LBB16_19: movq _lastcmd@GOTPCREL(%rip), %rax movl %ebx, (%rax) LBB16_33: movq _optim@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB16_36 ## %bb.34: movl (%r12), %eax testl %eax, %eax je LBB16_36 ## %bb.35: decl %eax movl %r14d, %ecx andl $64, %ecx cmpl $1, %ecx movl $2, %ecx sbbl $0, %ecx testb $-128, %r14b cmovnel %eax, %ecx movl %ecx, (%r12) LBB16_36: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB16_37: leaq L_.str.138(%rip), %rdi xorl %eax, %eax callq _uerror LBB16_38: leaq L_.str.139(%rip), %rdi xorl %eax, %eax callq _uerror .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L16_0_set_5, LBB16_5-LJTI16_0 .set L16_0_set_20, LBB16_20-LJTI16_0 .set L16_0_set_24, LBB16_24-LJTI16_0 LJTI16_0: .long L16_0_set_5 .long L16_0_set_20 .long L16_0_set_20 .long L16_0_set_24 .end_data_region ## -- End function .globl _makeconst ## -- Begin function makeconst .p2align 4, 0x90 _makeconst: ## @makeconst .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $1048, %rsp ## imm = 0x418 .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, -1076(%rbp) ## 4-byte Spill movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _nconst@GOTPCREL(%rip), %rax cmpl $255, (%rax) jg LBB17_8 ## %bb.1: movabsq $4294967296, %rbx ## imm = 0x100000000 xorl %r15d, %r15d movq _intval@GOTPCREL(%rip), %r14 leaq -1080(%rbp), %r13 movq %rbx, %r12 .p2align 4, 0x90 LBB17_2: ## =>This Inner Loop Header: Depth=1 leaq -1084(%rbp), %rdi callq _getexpr cmpl $1, -1084(%rbp) jne LBB17_9 ## %bb.3: ## in Loop: Header=BB17_2 Depth=1 leaq (%r15,%rbp), %rax addq $-1072, %rax ## imm = 0xFBD0 leaq -48(%rbp), %rcx cmpq %rcx, %rax jae LBB17_10 ## %bb.4: ## in Loop: Header=BB17_2 Depth=1 movzbl (%r14), %eax movb %al, -1072(%rbp,%r15) movq %r13, %rdi xorl %esi, %esi callq _getlex incq %r15 addq %r12, %rbx cmpl $44, %eax je LBB17_2 ## %bb.5: movl -1080(%rbp), %ecx movq _blexflag@GOTPCREL(%rip), %rdx movl $1, (%rdx) movq _backlex@GOTPCREL(%rip), %rdx movl %eax, (%rdx) movq _blextype@GOTPCREL(%rip), %rax movl %ecx, (%rax) sarq $32, %rbx movq %rbx, %rdi callq _malloc movq _nconst@GOTPCREL(%rip), %r13 movslq (%r13), %r14 movq %r14, %rbx shlq $4, %rbx movq _constab@GOTPCREL(%rip), %r12 movq %rax, (%r12,%rbx) testq %rax, %rax je LBB17_11 ## %bb.6: leaq -1072(%rbp), %rsi movq %rax, %rdi movq %r15, %rdx callq _memcpy movl %r15d, 8(%r12,%rbx) movl -1076(%rbp), %eax ## 4-byte Reload movl %eax, 12(%r12,%rbx) incl %r14d movl %r14d, (%r13) movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB17_12 ## %bb.7: addq $1048, %rsp ## imm = 0x418 popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB17_9: leaq L_.str.96(%rip), %rdi xorl %eax, %eax callq _uerror LBB17_10: leaq L_.str.97(%rip), %rdi xorl %eax, %eax callq _uerror LBB17_8: leaq L_.str.95(%rip), %rdi xorl %eax, %eax callq _uerror LBB17_11: leaq L_.str.60(%rip), %rdi xorl %eax, %eax callq _uerror LBB17_12: callq ___stack_chk_fail .cfi_endproc ## -- End function .globl _makecfg ## -- Begin function makecfg .p2align 4, 0x90 _makecfg: ## @makecfg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq _ctype(%rip), %r13 movq _name@GOTPCREL(%rip), %r12 leaq L_.str.99(%rip), %r14 leaq -44(%rbp), %r15 jmp LBB18_1 LBB18_10: ## in Loop: Header=BB18_1 Depth=1 movl $1, _unprotect(%rip) LBB18_23: ## in Loop: Header=BB18_1 Depth=1 movq %r15, %rdi xorl %esi, %esi callq _getlex cmpl $44, %eax jne LBB18_24 LBB18_1: ## =>This Loop Header: Depth=1 ## Child Loop BB18_6 Depth 2 callq _getchar cmpl $9, %eax je LBB18_1 ## %bb.2: ## in Loop: Header=BB18_1 Depth=1 cmpl $32, %eax je LBB18_1 ## %bb.3: ## in Loop: Header=BB18_1 Depth=1 movzbl %al, %ecx testb $8, (%r13,%rcx,2) je LBB18_25 ## %bb.4: ## in Loop: Header=BB18_1 Depth=1 movq %r12, %rbx cmpl $33, %eax jl LBB18_9 .p2align 4, 0x90 LBB18_6: ## Parent Loop BB18_1 Depth=1 ## => This Inner Loop Header: Depth=2 cmpl $58, %eax je LBB18_9 ## %bb.7: ## in Loop: Header=BB18_6 Depth=2 movzbl %al, %ecx testb $12, (%r13,%rcx,2) je LBB18_9 ## %bb.8: ## in Loop: Header=BB18_6 Depth=2 movb %al, (%rbx) incq %rbx callq _getchar cmpl $33, %eax jge LBB18_6 LBB18_9: ## in Loop: Header=BB18_1 Depth=1 movb $0, (%rbx) movq ___stdinp@GOTPCREL(%rip), %rcx movq (%rcx), %rsi movl %eax, %edi callq _ungetc movq %r12, %rdi movq %r14, %rsi callq _strcasecmp testl %eax, %eax je LBB18_10 ## %bb.11: ## in Loop: Header=BB18_1 Depth=1 movq %r12, %rdi leaq L_.str.100(%rip), %rsi callq _strcasecmp testl %eax, %eax je LBB18_12 ## %bb.13: ## in Loop: Header=BB18_1 Depth=1 movq %r12, %rdi leaq L_.str.101(%rip), %rsi callq _strcasecmp testl %eax, %eax je LBB18_14 ## %bb.15: ## in Loop: Header=BB18_1 Depth=1 movq %r12, %rdi leaq L_.str.102(%rip), %rsi callq _strcasecmp testl %eax, %eax je LBB18_16 ## %bb.17: ## in Loop: Header=BB18_1 Depth=1 movq %r12, %rdi leaq L_.str.103(%rip), %rsi callq _strcasecmp testl %eax, %eax je LBB18_18 ## %bb.19: ## in Loop: Header=BB18_1 Depth=1 movq %r12, %rdi leaq L_.str.104(%rip), %rsi callq _strcasecmp testl %eax, %eax je LBB18_20 ## %bb.21: ## in Loop: Header=BB18_1 Depth=1 movq %r12, %rdi leaq L_.str.105(%rip), %rsi callq _strcasecmp testl %eax, %eax jne LBB18_25 ## %bb.22: ## in Loop: Header=BB18_1 Depth=1 movl $1, _osc(%rip) jmp LBB18_23 LBB18_12: ## in Loop: Header=BB18_1 Depth=1 movl $1, _wdog(%rip) jmp LBB18_23 LBB18_14: ## in Loop: Header=BB18_1 Depth=1 movl $1, _mclre(%rip) jmp LBB18_23 LBB18_16: ## in Loop: Header=BB18_1 Depth=1 movl $4, _osc(%rip) jmp LBB18_23 LBB18_18: ## in Loop: Header=BB18_1 Depth=1 movl $3, _osc(%rip) jmp LBB18_23 LBB18_20: ## in Loop: Header=BB18_1 Depth=1 movl $2, _osc(%rip) jmp LBB18_23 LBB18_24: movl -44(%rbp), %ecx movq _blexflag@GOTPCREL(%rip), %rdx movl $1, (%rdx) movq _backlex@GOTPCREL(%rip), %rdx movl %eax, (%rdx) movq _blextype@GOTPCREL(%rip), %rax movl %ecx, (%rax) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB18_25: leaq L_.str.98(%rip), %rdi xorl %eax, %eax callq _uerror .cfi_endproc ## -- End function .globl _outflush ## -- Begin function outflush .p2align 4, 0x90 _outflush: ## @outflush .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movb _outptr(%rip), %al movq _outbuf@GOTPCREL(%rip), %r14 subb %r14b, %al addb $-4, %al movb %al, (%r14) movl $58, %edi callq _putchar xorl %r12d, %r12d cmpq %r14, _outptr(%rip) jbe LBB19_3 ## %bb.1: leaq L_.str.92(%rip), %r15 xorl %r12d, %r12d movq %r14, %rbx .p2align 4, 0x90 LBB19_2: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx), %esi movq %r15, %rdi xorl %eax, %eax callq _printf movzbl (%rbx), %eax addl %r12d, %eax incq %rbx movzbl %al, %r12d cmpq _outptr(%rip), %rbx jb LBB19_2 LBB19_3: negl %r12d movzbl %r12b, %esi leaq L_.str.93(%rip), %rdi xorl %eax, %eax callq _printf movq %r14, _outptr(%rip) popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _outhex ## -- Begin function outhex .p2align 4, 0x90 _outhex: ## @outhex .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %edx movq %rdi, %r14 movq _outptr(%rip), %rax movq _outbuf@GOTPCREL(%rip), %rbx leaq 20(%rbx), %rcx cmpq %rcx, %rax jae LBB20_3 ## %bb.1: cmpq _outbuf@GOTPCREL(%rip), %rax jbe LBB20_7 ## %bb.2: movq _outaddr@GOTPCREL(%rip), %rcx movslq (%rcx), %rcx incq %rcx cmpq %r14, %rcx jne LBB20_3 LBB20_7: cmpq _outbuf@GOTPCREL(%rip), %rax jne LBB20_9 jmp LBB20_8 LBB20_3: movl %edx, %r13d subb %bl, %al addb $-4, %al movb %al, (%rbx) movl $58, %edi callq _putchar xorl %r12d, %r12d cmpq %rbx, _outptr(%rip) jbe LBB20_6 ## %bb.4: leaq L_.str.92(%rip), %r15 xorl %r12d, %r12d .p2align 4, 0x90 LBB20_5: ## =>This Inner Loop Header: Depth=1 movzbl (%rbx), %esi movq %r15, %rdi xorl %eax, %eax callq _printf movzbl (%rbx), %eax addl %r12d, %eax incq %rbx movzbl %al, %r12d cmpq _outptr(%rip), %rbx jb LBB20_5 LBB20_6: negl %r12d movzbl %r12b, %esi leaq L_.str.93(%rip), %rdi xorl %eax, %eax callq _printf movl %r13d, %edx LBB20_8: movq _outbuf@GOTPCREL(%rip), %rax movb $0, (%rax) movq %r14, %rcx shrq $7, %rcx movb %cl, 1(%rax) leal (%r14,%r14), %ecx movb %cl, 2(%rax) movb $0, 3(%rax) addq $4, %rax LBB20_9: leaq 1(%rax), %rcx movq %rcx, _outptr(%rip) movb %dl, (%rax) movq _outptr(%rip), %rax leaq 1(%rax), %rcx movq %rcx, _outptr(%rip) movb %dh, (%rax) movq _outaddr@GOTPCREL(%rip), %rax movl %r14d, (%rax) addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .globl _settext ## -- Begin function settext .p2align 4, 0x90 _settext: ## @settext .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %esi, %ebx movslq %edi, %rax movq _text@GOTPCREL(%rip), %rcx movw %bx, (%rcx,%rax,2) movq _tbusy@GOTPCREL(%rip), %rcx movb $1, (%rcx,%rax) movq _debug@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB21_2 ## %bb.1: movl %edi, %edx movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rdi leaq L_.str.106(%rip), %rsi movl %ebx, %ecx xorl %eax, %eax callq _fprintf LBB21_2: movq _lastcmd@GOTPCREL(%rip), %rax movl %ebx, (%rax) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .globl _findlabel ## -- Begin function findlabel .p2align 4, 0x90 _findlabel: ## @findlabel .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, %edx movq _nlabels@GOTPCREL(%rip), %rax movslq (%rax), %rax leaq (,%rax,8), %rcx addq _labeltab@GOTPCREL(%rip), %rcx testl %esi, %esi js LBB22_7 ## %bb.1: testl %eax, %eax jle LBB22_6 ## %bb.2: movq _labeltab@GOTPCREL(%rip), %rdi jmp LBB22_3 .p2align 4, 0x90 LBB22_5: ## in Loop: Header=BB22_3 Depth=1 addq $8, %rdi cmpq %rcx, %rdi jae LBB22_6 LBB22_3: ## =>This Inner Loop Header: Depth=1 movl 4(%rdi), %eax cmpl %edx, %eax jle LBB22_5 ## %bb.4: ## in Loop: Header=BB22_3 Depth=1 cmpl %esi, (%rdi) jne LBB22_5 jmp LBB22_13 LBB22_7: addq $-8, %rcx negl %esi cmpq _labeltab@GOTPCREL(%rip), %rcx jb LBB22_12 ## %bb.8: movq _labeltab@GOTPCREL(%rip), %rdi jmp LBB22_9 .p2align 4, 0x90 LBB22_11: ## in Loop: Header=BB22_9 Depth=1 addq $-8, %rcx cmpq %rdi, %rcx jb LBB22_12 LBB22_9: ## =>This Inner Loop Header: Depth=1 movl 4(%rcx), %eax cmpl %edx, %eax jg LBB22_11 ## %bb.10: ## in Loop: Header=BB22_9 Depth=1 cmpl %esi, (%rcx) jne LBB22_11 LBB22_13: popq %rbp retq LBB22_6: leaq L_.str.110(%rip), %rdi xorl %eax, %eax callq _uerror LBB22_12: leaq L_.str.109(%rip), %rdi xorl %eax, %eax callq _uerror .cfi_endproc ## -- End function .globl _compare_constab_len ## -- Begin function compare_constab_len .p2align 4, 0x90 _compare_constab_len: ## @compare_constab_len .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 8(%rdi), %eax xorl %ecx, %ecx cmpl 8(%rsi), %eax setl %cl movl $-1, %eax cmovlel %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _compare_stab ## -- Begin function compare_stab .p2align 4, 0x90 _compare_stab: ## @compare_stab .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 12(%rdi), %eax decl %eax movl 12(%rsi), %ecx decl %ecx cmpl $1, %eax ja LBB24_2 ## %bb.1: movl $-1, %eax cmpl $2, %ecx jb LBB24_3 LBB24_5: popq %rbp retq LBB24_2: movl $1, %eax cmpl $2, %ecx jb LBB24_5 LBB24_3: movl 16(%rsi), %ecx movl $-1, %eax cmpl %ecx, 16(%rdi) jl LBB24_5 ## %bb.4: setg %al movzbl %al, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _compare_constab ## -- Begin function compare_constab .p2align 4, 0x90 _compare_constab: ## @compare_constab .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl 12(%rdi), %eax xorl %ecx, %ecx cmpl 12(%rsi), %eax setg %cl movl $-1, %eax cmovgel %ecx, %eax popq %rbp retq .cfi_endproc ## -- End function .globl _addreloc ## -- Begin function addreloc .p2align 4, 0x90 _addreloc: ## @addreloc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _nrel@GOTPCREL(%rip), %rax movslq (%rax), %rcx cmpq $10240, %rcx ## imm = 0x2800 jge LBB26_10 ## %bb.1: movl %edx, %r14d movl %esi, %ebx movl %edi, %edx leaq (%rcx,%rcx,2), %rsi movq _reltab@GOTPCREL(%rip), %rdi movl %edx, (%rdi,%rsi,4) movl %ebx, 4(%rdi,%rsi,4) movl %r14d, 8(%rdi,%rsi,4) incl %ecx movl %ecx, (%rax) movq _debug@GOTPCREL(%rip), %rax cmpl $0, (%rax) je LBB26_9 ## %bb.2: movq ___stderrp@GOTPCREL(%rip), %r15 movq (%r15), %rdi leaq L_.str.134(%rip), %rsi xorl %eax, %eax callq _fprintf testl %ebx, %ebx je LBB26_4 ## %bb.3: movq (%r15), %rdi leaq L_.str.135(%rip), %rsi movl %ebx, %edx xorl %eax, %eax callq _fprintf LBB26_4: testb $2, %r14b je LBB26_6 ## %bb.5: movq (%r15), %rcx leaq L_.str.136(%rip), %rdi movl $5, %esi movl $1, %edx callq _fwrite LBB26_6: testb $1, %r14b je LBB26_8 ## %bb.7: movq (%r15), %rcx leaq L_.str.137(%rip), %rdi movl $6, %esi movl $1, %edx callq _fwrite LBB26_8: movq (%r15), %rsi movl $10, %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _fputc ## TAILCALL LBB26_9: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB26_10: leaq L_.str.133(%rip), %rdi xorl %eax, %eax callq _uerror .cfi_endproc ## -- End function .section __DATA,__data .globl _dcount ## @dcount .p2align 2 _dcount: .long 10 ## 0xa .globl _unprotect ## @unprotect .zerofill __DATA,__common,_unprotect,4,2 .globl _wdog ## @wdog .zerofill __DATA,__common,_wdog,4,2 .globl _mclre ## @mclre .zerofill __DATA,__common,_mclre,4,2 .globl _osc ## @osc .p2align 2 _osc: .long 3 ## 0x3 .comm _outbuf,20,4 ## @outbuf .globl _outptr ## @outptr .p2align 3 _outptr: .quad _outbuf .globl _ctype ## @ctype .p2align 4 _ctype: .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 8 ## 0x8 .short 0 ## 0x0 .short 7 ## 0x7 .short 7 ## 0x7 .short 7 ## 0x7 .short 7 ## 0x7 .short 7 ## 0x7 .short 7 ## 0x7 .short 7 ## 0x7 .short 7 ## 0x7 .short 5 ## 0x5 .short 5 ## 0x5 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 9 ## 0x9 .short 9 ## 0x9 .short 9 ## 0x9 .short 9 ## 0x9 .short 9 ## 0x9 .short 9 ## 0x9 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 8 ## 0x8 .short 0 ## 0x0 .short 9 ## 0x9 .short 9 ## 0x9 .short 9 ## 0x9 .short 9 ## 0x9 .short 9 ## 0x9 .short 9 ## 0x9 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 0 ## 0x0 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .short 8 ## 0x8 .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "nop" L_.str.1: ## @.str.1 .asciz "option" L_.str.2: ## @.str.2 .asciz "sleep" L_.str.3: ## @.str.3 .asciz "awake" L_.str.4: ## @.str.4 .asciz "tris" L_.str.5: ## @.str.5 .asciz "dump" L_.str.6: ## @.str.6 .asciz "halt" L_.str.7: ## @.str.7 .asciz "atx" L_.str.8: ## @.str.8 .asciz "az" L_.str.9: ## @.str.9 .asciz "xz" L_.str.10: ## @.str.10 .asciz "a-x" L_.str.11: ## @.str.11 .asciz "x-a" L_.str.12: ## @.str.12 .asciz "x--a" L_.str.13: ## @.str.13 .asciz "x--" L_.str.14: ## @.str.14 .asciz "a|x" L_.str.15: ## @.str.15 .asciz "x|a" L_.str.16: ## @.str.16 .asciz "a&x" L_.str.17: ## @.str.17 .asciz "x&a" L_.str.18: ## @.str.18 .asciz "a^x" L_.str.19: ## @.str.19 .asciz "x^a" L_.str.20: ## @.str.20 .asciz "a+x" L_.str.21: ## @.str.21 .asciz "x+a" L_.str.22: ## @.str.22 .asciz "xta" L_.str.23: ## @.str.23 .asciz "tst" L_.str.24: ## @.str.24 .asciz "xca" L_.str.25: ## @.str.25 .asciz "xc" L_.str.26: ## @.str.26 .asciz "x++a" L_.str.27: ## @.str.27 .asciz "x++" L_.str.28: ## @.str.28 .asciz "x--a?" L_.str.29: ## @.str.29 .asciz "x--?" L_.str.30: ## @.str.30 .asciz "xc>>a" L_.str.31: ## @.str.31 .asciz "xc>>x" L_.str.32: ## @.str.32 .asciz "xc<<a" L_.str.33: ## @.str.33 .asciz "xc<<x" L_.str.34: ## @.str.34 .asciz "xwa" L_.str.35: ## @.str.35 .asciz "xw" L_.str.36: ## @.str.36 .asciz "x++a?" L_.str.37: ## @.str.37 .asciz "x++?" L_.str.38: ## @.str.38 .asciz "bz" L_.str.39: ## @.str.39 .asciz "bs" L_.str.40: ## @.str.40 .asciz "bs?" L_.str.41: ## @.str.41 .asciz "bz?" L_.str.42: ## @.str.42 .asciz "ret" L_.str.43: ## @.str.43 .asciz "call" L_.str.44: ## @.str.44 .asciz "goto" L_.str.45: ## @.str.45 .asciz "cta" L_.str.46: ## @.str.46 .asciz "a|c" L_.str.47: ## @.str.47 .asciz "a&c" L_.str.48: ## @.str.48 .asciz "a^c" L_.str.49: ## @.str.49 .asciz "z?" L_.str.50: ## @.str.50 .asciz "nz?" L_.str.51: ## @.str.51 .asciz "c?" L_.str.52: ## @.str.52 .asciz "nc?" L_.str.53: ## @.str.53 .asciz "nb?" L_.str.54: ## @.str.54 .asciz "b?" .section __DATA,__data .globl _table ## @table .p2align 4 _table: .long 0 ## 0x0 .space 4 .quad L_.str .short 1 ## 0x1 .space 6 .long 2 ## 0x2 .space 4 .quad L_.str.1 .short 1 ## 0x1 .space 6 .long 3 ## 0x3 .space 4 .quad L_.str.2 .short 1 ## 0x1 .space 6 .long 4 ## 0x4 .space 4 .quad L_.str.3 .short 1 ## 0x1 .space 6 .long 6 ## 0x6 .space 4 .quad L_.str.4 .short 1 ## 0x1 .space 6 .long 7 ## 0x7 .space 4 .quad L_.str.5 .short 1 ## 0x1 .space 6 .long 8 ## 0x8 .space 4 .quad L_.str.6 .short 1 ## 0x1 .space 6 .long 32 ## 0x20 .space 4 .quad L_.str.7 .short 0 ## 0x0 .space 6 .long 64 ## 0x40 .space 4 .quad L_.str.8 .short 1 ## 0x1 .space 6 .long 96 ## 0x60 .space 4 .quad L_.str.9 .short 0 ## 0x0 .space 6 .long 128 ## 0x80 .space 4 .quad L_.str.10 .short 0 ## 0x0 .space 6 .long 160 ## 0xa0 .space 4 .quad L_.str.11 .short 0 ## 0x0 .space 6 .long 192 ## 0xc0 .space 4 .quad L_.str.12 .short 0 ## 0x0 .space 6 .long 224 ## 0xe0 .space 4 .quad L_.str.13 .short 0 ## 0x0 .space 6 .long 256 ## 0x100 .space 4 .quad L_.str.14 .short 0 ## 0x0 .space 6 .long 288 ## 0x120 .space 4 .quad L_.str.15 .short 0 ## 0x0 .space 6 .long 320 ## 0x140 .space 4 .quad L_.str.16 .short 0 ## 0x0 .space 6 .long 352 ## 0x160 .space 4 .quad L_.str.17 .short 0 ## 0x0 .space 6 .long 384 ## 0x180 .space 4 .quad L_.str.18 .short 0 ## 0x0 .space 6 .long 416 ## 0x1a0 .space 4 .quad L_.str.19 .short 0 ## 0x0 .space 6 .long 448 ## 0x1c0 .space 4 .quad L_.str.20 .short 0 ## 0x0 .space 6 .long 480 ## 0x1e0 .space 4 .quad L_.str.21 .short 0 ## 0x0 .space 6 .long 512 ## 0x200 .space 4 .quad L_.str.22 .short 0 ## 0x0 .space 6 .long 544 ## 0x220 .space 4 .quad L_.str.23 .short 0 ## 0x0 .space 6 .long 576 ## 0x240 .space 4 .quad L_.str.24 .short 0 ## 0x0 .space 6 .long 608 ## 0x260 .space 4 .quad L_.str.25 .short 0 ## 0x0 .space 6 .long 640 ## 0x280 .space 4 .quad L_.str.26 .short 0 ## 0x0 .space 6 .long 672 ## 0x2a0 .space 4 .quad L_.str.27 .short 0 ## 0x0 .space 6 .long 704 ## 0x2c0 .space 4 .quad L_.str.28 .short 64 ## 0x40 .space 6 .long 736 ## 0x2e0 .space 4 .quad L_.str.29 .short 64 ## 0x40 .space 6 .long 768 ## 0x300 .space 4 .quad L_.str.30 .short 0 ## 0x0 .space 6 .long 800 ## 0x320 .space 4 .quad L_.str.31 .short 0 ## 0x0 .space 6 .long 832 ## 0x340 .space 4 .quad L_.str.32 .short 0 ## 0x0 .space 6 .long 864 ## 0x360 .space 4 .quad L_.str.33 .short 0 ## 0x0 .space 6 .long 896 ## 0x380 .space 4 .quad L_.str.34 .short 0 ## 0x0 .space 6 .long 928 ## 0x3a0 .space 4 .quad L_.str.35 .short 0 ## 0x0 .space 6 .long 960 ## 0x3c0 .space 4 .quad L_.str.36 .short 64 ## 0x40 .space 6 .long 992 ## 0x3e0 .space 4 .quad L_.str.37 .short 64 ## 0x40 .space 6 .long 1024 ## 0x400 .space 4 .quad L_.str.38 .short 4 ## 0x4 .space 6 .long 1280 ## 0x500 .space 4 .quad L_.str.39 .short 4 ## 0x4 .space 6 .long 1536 ## 0x600 .space 4 .quad L_.str.40 .short 68 ## 0x44 .space 6 .long 1792 ## 0x700 .space 4 .quad L_.str.41 .short 68 ## 0x44 .space 6 .long 2048 ## 0x800 .space 4 .quad L_.str.42 .short 131 ## 0x83 .space 6 .long 2304 ## 0x900 .space 4 .quad L_.str.43 .short 3 ## 0x3 .space 6 .long 2560 ## 0xa00 .space 4 .quad L_.str.44 .short 130 ## 0x82 .space 6 .long 3072 ## 0xc00 .space 4 .quad L_.str.45 .short 3 ## 0x3 .space 6 .long 3328 ## 0xd00 .space 4 .quad L_.str.46 .short 3 ## 0x3 .space 6 .long 3584 ## 0xe00 .space 4 .quad L_.str.47 .short 3 ## 0x3 .space 6 .long 3840 ## 0xf00 .space 4 .quad L_.str.48 .short 3 ## 0x3 .space 6 .long 1603 ## 0x643 .space 4 .quad L_.str.49 .short 65 ## 0x41 .space 6 .long 1859 ## 0x743 .space 4 .quad L_.str.50 .short 65 ## 0x41 .space 6 .long 1539 ## 0x603 .space 4 .quad L_.str.51 .short 65 ## 0x41 .space 6 .long 1795 ## 0x703 .space 4 .quad L_.str.52 .short 65 ## 0x41 .space 6 .long 1539 ## 0x603 .space 4 .quad L_.str.53 .short 65 ## 0x41 .space 6 .long 1795 ## 0x703 .space 4 .quad L_.str.54 .short 65 ## 0x41 .space 6 .space 24 .section __TEXT,__cstring,cstring_literals L_.str.55: ## @.str.55 .asciz "as: " .comm _infile,8,3 ## @infile L_.str.56: ## @.str.56 .asciz "%s, " L_.str.57: ## @.str.57 .asciz "%d: " .comm _line,4,2 ## @line .comm _outfile,8,3 ## @outfile .comm _name,256,4 ## @name .comm _stabfree,4,2 ## @stabfree .comm _stab,48000,4 ## @stab .comm _filenum,4,2 ## @filenum L_.str.59: ## @.str.59 .asciz "symbol table overflow" L_.str.60: ## @.str.60 .asciz "out of memory" .comm _debug,4,2 ## @debug .comm _optim,4,2 ## @optim .comm _nlib,4,2 ## @nlib L_.str.61: ## @.str.61 .asciz "too many libraries" .comm _libtab,80,4 ## @libtab .comm _infile1,8,3 ## @infile1 L_.str.62: ## @.str.62 .asciz "r" L_.str.63: ## @.str.63 .asciz "cannot open" L_.str.66: ## @.str.66 .asciz ".hex" L_.str.67: ## @.str.67 .asciz "w" L_.str.68: ## @.str.68 .asciz "cannot open %s" L_.str.69: ## @.str.69 .asciz "/usr/local/lib/pic17" .comm _intval,4,2 ## @intval .comm _blexflag,4,2 ## @blexflag .comm _blextype,4,2 ## @blextype .comm _backlex,4,2 ## @backlex L_.str.70: ## @.str.70 .asciz "bad char constant" L_.str.71: ## @.str.71 .asciz "bad character: \\%o" L_.str.72: ## @.str.72 .asciz ".equ" L_.str.73: ## @.str.73 .asciz ".data" L_.str.74: ## @.str.74 .asciz ".org" L_.str.75: ## @.str.75 .asciz ".const" L_.str.77: ## @.str.77 .asciz "operand missing" .comm _extref,4,2 ## @extref .comm _extflag,4,2 ## @extflag .comm _count,4,2 ## @count L_.str.78: ## @.str.78 .asciz "bad () syntax" L_.str.79: ## @.str.79 .asciz "too complex expression" L_.str.80: ## @.str.80 .asciz "division by zero" L_.str.81: ## @.str.81 .asciz "division (%%) by zero" L_.str.82: ## @.str.82 .asciz "name redefined" .comm _reached,4,2 ## @reached .comm _lastcmd,4,2 ## @lastcmd L_.str.83: ## @.str.83 .asciz "bad value .equ" L_.str.84: ## @.str.84 .asciz "bad length .data" L_.str.85: ## @.str.85 .asciz "name already defined" L_.str.86: ## @.str.86 .asciz "bad command" .comm _nlabels,4,2 ## @nlabels L_.str.87: ## @.str.87 .asciz "too many digital labels" .comm _labeltab,8000,4 ## @labeltab L_.str.88: ## @.str.88 .asciz "bad digital label" L_.str.89: ## @.str.89 .asciz "bad value .org" L_.str.90: ## @.str.90 .asciz "syntax error" L_.str.91: ## @.str.91 .asciz "bad command argument" L_.str.92: ## @.str.92 .asciz "%02X" L_.str.93: ## @.str.93 .asciz "%02X\n" .comm _outaddr,4,2 ## @outaddr .comm _tbusy,512,4 ## @tbusy .comm _text,1024,4 ## @text .comm _nconst,4,2 ## @nconst L_.str.95: ## @.str.95 .asciz "too many constants" L_.str.96: ## @.str.96 .asciz "bad value .const" L_.str.97: ## @.str.97 .asciz "too long .const" .comm _constab,4096,4 ## @constab L_.str.98: ## @.str.98 .asciz "bad option .config" L_.str.99: ## @.str.99 .asciz "unprotected" L_.str.100: ## @.str.100 .asciz "watchdog" L_.str.101: ## @.str.101 .asciz "mclr" L_.str.102: ## @.str.102 .asciz "rc" L_.str.103: ## @.str.103 .asciz "intclock" L_.str.104: ## @.str.104 .asciz "crystal" L_.str.105: ## @.str.105 .asciz "lowcrystal" L_.str.106: ## @.str.106 .asciz "code %3d: %04x\n" L_.str.107: ## @.str.107 .asciz "%s/%s.lib" L_.str.108: ## @.str.108 .asciz "as: undefined: %s\n" L_.str.109: ## @.str.109 .asciz "undefined label %db at address %d" L_.str.110: ## @.str.110 .asciz "undefined label %df at address %d" .comm _reltab,122880,4 ## @reltab .comm _nrel,4,2 ## @nrel .comm _opt_atx_xta,4,2 ## @opt_atx_xta .comm _opt_not_reached,4,2 ## @opt_not_reached L_.str.111: ## @.str.111 .asciz "Optimization: atx-xta: %d words, not-reached: %d words\n" L_.str.112: ## @.str.112 .asciz "Total text %d words, const %d words, data %d bytes\n" L_.str.113: ## @.str.113 .asciz "text segment overflow: %d words" L_.str.114: ## @.str.114 .asciz "data segment overflow: %d bytes" L_.str.115: ## @.str.115 .asciz "Free text %d words, data %d bytes\n" L_.str.116: ## @.str.116 .asciz ".lst" L_.str.117: ## @.str.117 .asciz "cannot write to %s" L_.str.118: ## @.str.118 .asciz "Data symbols:\n" L_.str.119: ## @.str.119 .asciz "\t%04x %c %.*s\n" L_.str.120: ## @.str.120 .asciz "\nCode symbols:\n" L_.str.121: ## @.str.121 .asciz "\t%04x T <end>\n" L_.str.122: ## @.str.122 .asciz "\nText constants:\n" L_.str.123: ## @.str.123 .asciz "\t%04x C \"" L_.str.124: ## @.str.124 .asciz "\\n" L_.str.125: ## @.str.125 .asciz "\\r" L_.str.126: ## @.str.126 .asciz "\\\"" L_.str.127: ## @.str.127 .asciz "\\\\" L_.str.128: ## @.str.128 .asciz "\\000" L_.str.129: ## @.str.129 .asciz "\\%03o" L_.str.131: ## @.str.131 .asciz "\"\n" L_.str.132: ## @.str.132 .asciz "\nDone.\n" L_.str.133: ## @.str.133 .asciz "too many relocations" L_.str.134: ## @.str.134 .asciz "reloc %d" L_.str.135: ## @.str.135 .asciz " %d" L_.str.136: ## @.str.136 .asciz " RLAB" L_.str.137: ## @.str.137 .asciz " RLONG" L_.str.138: ## @.str.138 .asciz "need bit number" L_.str.139: ## @.str.139 .asciz "bad bit number" .comm _data,64,4 ## @data L_str: ## @str .asciz "PIC12 Assembler, by Serge V.Vakulenko\n" L_str.140: ## @str.140 .asciz "Usage:\n\tas12 [-O] [-o outfile.hex] infile.s ...\n" L_str.141: ## @str.141 .asciz ":00000001FF" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _uerror ; -- Begin function uerror .p2align 2 _uerror: ; @uerror .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 add x8, x29, #16 str x8, [sp, #8] Lloh0: adrp x20, ___stderrp@GOTPAGE Lloh1: ldr x20, [x20, ___stderrp@GOTPAGEOFF] ldr x3, [x20] Lloh2: adrp x0, l_.str.55@PAGE Lloh3: add x0, x0, l_.str.55@PAGEOFF mov w1, #4 mov w2, #1 bl _fwrite Lloh4: adrp x8, _infile@GOTPAGE Lloh5: ldr x8, [x8, _infile@GOTPAGEOFF] Lloh6: ldr x8, [x8] cbz x8, LBB0_2 ; %bb.1: ldr x0, [x20] str x8, [sp] Lloh7: adrp x1, l_.str.56@PAGE Lloh8: add x1, x1, l_.str.56@PAGEOFF bl _fprintf LBB0_2: ldr x0, [x20] Lloh9: adrp x8, _line@GOTPAGE Lloh10: ldr x8, [x8, _line@GOTPAGEOFF] Lloh11: ldr w8, [x8] str x8, [sp] Lloh12: adrp x1, l_.str.57@PAGE Lloh13: add x1, x1, l_.str.57@PAGEOFF bl _fprintf ldr x0, [x20] ldr x2, [sp, #8] mov x1, x19 bl _vfprintf ldr x1, [x20] mov w0, #10 bl _fputc Lloh14: adrp x8, _outfile@GOTPAGE Lloh15: ldr x8, [x8, _outfile@GOTPAGEOFF] Lloh16: ldr x0, [x8] cbz x0, LBB0_4 ; %bb.3: bl _unlink LBB0_4: mov w0, #1 bl _exit .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpAdd Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .cfi_endproc ; -- End function .globl _lookname ; -- Begin function lookname .p2align 2 _lookname: ; @lookname .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh17: adrp x22, _name@GOTPAGE Lloh18: ldr x22, [x22, _name@GOTPAGEOFF] mov x0, x22 bl _strlen mov x20, x0 ldrb w25, [x22] cmp w25, #76 b.ne LBB1_2 ; %bb.1: mov w25, #46 strb w25, [x22] LBB1_2: Lloh19: adrp x10, _stabfree@GOTPAGE Lloh20: ldr x10, [x10, _stabfree@GOTPAGEOFF] ldr w28, [x10] Lloh21: adrp x21, _stab@GOTPAGE Lloh22: ldr x21, [x21, _stab@GOTPAGEOFF] Lloh23: adrp x23, _filenum@GOTPAGE Lloh24: ldr x23, [x23, _filenum@GOTPAGEOFF] cmp w28, #1 b.lt LBB1_14 ; %bb.3: mov x21, #0 mov x19, #0 add w24, w20, #1 ldr w8, [x23] add w23, w8, #65 Lloh25: adrp x26, _stab@GOTPAGE Lloh26: ldr x26, [x26, _stab@GOTPAGEOFF] b LBB1_6 LBB1_4: ; in Loop: Header=BB1_6 Depth=1 mov x19, x27 LBB1_5: ; in Loop: Header=BB1_6 Depth=1 add x21, x21, #1 add x26, x26, #24 cmp x28, x21 b.eq LBB1_13 LBB1_6: ; =>This Inner Loop Header: Depth=1 mov x27, x19 ldr w22, [x26, #8] cmp w22, #0 ccmp x19, #0, #0, eq mov x19, x26 b.eq LBB1_5 ; %bb.7: ; in Loop: Header=BB1_6 Depth=1 cmp w25, #46 b.ne LBB1_11 ; %bb.8: ; in Loop: Header=BB1_6 Depth=1 cmp w22, w24 b.ne LBB1_11 ; %bb.9: ; in Loop: Header=BB1_6 Depth=1 ldr x8, [x26] ldrsb w9, [x8] cmp w23, w9 b.ne LBB1_11 ; %bb.10: ; in Loop: Header=BB1_6 Depth=1 add x0, x8, #1 Lloh27: adrp x1, _name@GOTPAGE Lloh28: ldr x1, [x1, _name@GOTPAGEOFF] bl _strcmp cbz w0, LBB1_21 LBB1_11: ; in Loop: Header=BB1_6 Depth=1 cmp w22, w20 b.ne LBB1_4 ; %bb.12: ; in Loop: Header=BB1_6 Depth=1 ldr x0, [x26] Lloh29: adrp x1, _name@GOTPAGE Lloh30: ldr x1, [x1, _name@GOTPAGEOFF] bl _strcmp mov x19, x27 cbnz w0, LBB1_5 b LBB1_21 LBB1_13: Lloh31: adrp x21, _stab@GOTPAGE Lloh32: ldr x21, [x21, _stab@GOTPAGEOFF] Lloh33: adrp x22, _name@GOTPAGE Lloh34: ldr x22, [x22, _name@GOTPAGEOFF] Lloh35: adrp x23, _filenum@GOTPAGE Lloh36: ldr x23, [x23, _filenum@GOTPAGEOFF] Lloh37: adrp x10, _stabfree@GOTPAGE Lloh38: ldr x10, [x10, _stabfree@GOTPAGEOFF] cbnz x19, LBB1_15 LBB1_14: sxtw x8, w28 add w9, w28, #1 str w9, [x10] mov w9, #24 madd x19, x8, x9, x21 LBB1_15: mov w8, #48000 add x8, x21, x8 cmp x19, x8 b.hs LBB1_22 ; %bb.16: add w8, w20, #2 sxtw x0, w8 bl _malloc str x0, [x19] cbz x0, LBB1_23 ; %bb.17: str w20, [x19, #8] ldrb w8, [x22] cmp w8, #46 b.ne LBB1_19 ; %bb.18: ldrb w8, [x23] add w8, w8, #65 strb w8, [x0] ldr x8, [x19] add x0, x8, #1 Lloh39: adrp x1, _name@GOTPAGE Lloh40: ldr x1, [x1, _name@GOTPAGEOFF] bl _strcpy ldr w8, [x19, #8] add w8, w8, #1 str w8, [x19, #8] b LBB1_20 LBB1_19: Lloh41: adrp x1, _name@GOTPAGE Lloh42: ldr x1, [x1, _name@GOTPAGEOFF] bl _strcpy LBB1_20: stp wzr, wzr, [x19, #12] sub x8, x19, x21 asr x8, x8, #3 mov x9, #-6148914691236517206 movk x9, #43691 mul x21, x8, x9 LBB1_21: mov x0, x21 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB1_22: Lloh43: adrp x0, l_.str.59@PAGE Lloh44: add x0, x0, l_.str.59@PAGEOFF bl _uerror LBB1_23: Lloh45: adrp x0, l_.str.60@PAGE Lloh46: add x0, x0, l_.str.60@PAGEOFF bl _uerror .loh AdrpLdrGot Lloh17, Lloh18 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpLdrGot Lloh21, Lloh22 .loh AdrpLdrGot Lloh19, Lloh20 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGot Lloh27, Lloh28 .loh AdrpLdrGot Lloh29, Lloh30 .loh AdrpLdrGot Lloh37, Lloh38 .loh AdrpLdrGot Lloh35, Lloh36 .loh AdrpLdrGot Lloh33, Lloh34 .loh AdrpLdrGot Lloh31, Lloh32 .loh AdrpLdrGot Lloh39, Lloh40 .loh AdrpLdrGot Lloh41, Lloh42 .loh AdrpAdd Lloh43, Lloh44 .loh AdrpAdd Lloh45, Lloh46 .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 x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh47: adrp x22, _nlib@GOTPAGE Lloh48: ldr x22, [x22, _nlib@GOTPAGEOFF] Lloh49: adrp x23, _outfile@GOTPAGE Lloh50: ldr x23, [x23, _outfile@GOTPAGEOFF] cmp w0, #2 b.lt LBB2_24 ; %bb.1: mov x19, x1 mov x20, x0 Lloh51: adrp x24, lJTI2_0@PAGE Lloh52: add x24, x24, lJTI2_0@PAGEOFF Lloh53: adrp x25, _optim@GOTPAGE Lloh54: ldr x25, [x25, _optim@GOTPAGEOFF] Lloh55: adrp x26, _debug@GOTPAGE Lloh56: ldr x26, [x26, _debug@GOTPAGEOFF] Lloh57: adrp x27, _libtab@GOTPAGE Lloh58: ldr x27, [x27, _libtab@GOTPAGEOFF] Lloh59: adrp x12, _infile@GOTPAGE Lloh60: ldr x12, [x12, _infile@GOTPAGEOFF] mov w28, #1 b LBB2_5 LBB2_2: ; in Loop: Header=BB2_5 Depth=1 Lloh61: adrp x8, ___stdinp@GOTPAGE Lloh62: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh63: ldr x2, [x8] Lloh64: adrp x1, l_.str.62@PAGE Lloh65: add x1, x1, l_.str.62@PAGEOFF bl _freopen cbz x0, LBB2_37 ; %bb.3: ; in Loop: Header=BB2_5 Depth=1 mov w8, #1 Lloh66: adrp x9, _line@GOTPAGE Lloh67: ldr x9, [x9, _line@GOTPAGEOFF] Lloh68: str w8, [x9] bl _parse mov x12, x21 str xzr, [x21] Lloh69: adrp x9, _filenum@GOTPAGE Lloh70: ldr x9, [x9, _filenum@GOTPAGEOFF] ldr w8, [x9] add w8, w8, #1 str w8, [x9] LBB2_4: ; in Loop: Header=BB2_5 Depth=1 add w28, w28, #1 cmp w28, w20 b.ge LBB2_24 LBB2_5: ; =>This Loop Header: Depth=1 ; Child Loop BB2_10 Depth 2 ; Child Loop BB2_19 Depth 3 ; Child Loop BB2_16 Depth 3 ldr x0, [x19, w28, sxtw #3] ldrb w8, [x0] cmp w8, #45 b.eq LBB2_10 ; %bb.6: ; in Loop: Header=BB2_5 Depth=1 mov x21, x12 str x0, [x12] Lloh71: adrp x8, _infile1@GOTPAGE Lloh72: ldr x8, [x8, _infile1@GOTPAGEOFF] Lloh73: ldr x8, [x8] cbnz x8, LBB2_2 ; %bb.7: ; in Loop: Header=BB2_5 Depth=1 Lloh74: adrp x8, _infile1@GOTPAGE Lloh75: ldr x8, [x8, _infile1@GOTPAGEOFF] Lloh76: str x0, [x8] b LBB2_2 LBB2_8: ; in Loop: Header=BB2_10 Depth=2 ldr w8, [x25] add w8, w8, #1 str w8, [x25] LBB2_9: ; in Loop: Header=BB2_10 Depth=2 ldrb w8, [x0, #1]! cbz w8, LBB2_4 LBB2_10: ; Parent Loop BB2_5 Depth=1 ; => This Loop Header: Depth=2 ; Child Loop BB2_19 Depth 3 ; Child Loop BB2_16 Depth 3 sxtb w8, w8 sub w8, w8, #79 cmp w8, #32 b.hi LBB2_9 ; %bb.11: ; in Loop: Header=BB2_10 Depth=2 adr x9, LBB2_8 ldrb w10, [x24, x8] add x9, x9, x10, lsl #2 br x9 LBB2_12: ; in Loop: Header=BB2_10 Depth=2 ldr w8, [x26] add w8, w8, #1 str w8, [x26] b LBB2_9 LBB2_13: ; in Loop: Header=BB2_10 Depth=2 ldrsw x8, [x22] cmp w8, #10 b.ge LBB2_36 ; %bb.14: ; in Loop: Header=BB2_10 Depth=2 mov x9, x0 ldrb w10, [x9, #1]! cbz w10, LBB2_22 ; %bb.15: ; in Loop: Header=BB2_10 Depth=2 add w10, w8, #1 str w10, [x22] str x9, [x27, x8, lsl #3] sub x0, x0, #1 LBB2_16: ; Parent Loop BB2_5 Depth=1 ; Parent Loop BB2_10 Depth=2 ; => This Inner Loop Header: Depth=3 ldrb w8, [x0, #2] add x0, x0, #1 cbnz w8, LBB2_16 b LBB2_9 LBB2_17: ; in Loop: Header=BB2_10 Depth=2 mov x8, x0 ldrb w9, [x8, #1]! cbz w9, LBB2_20 ; %bb.18: ; in Loop: Header=BB2_10 Depth=2 str x8, [x23] sub x0, x0, #1 LBB2_19: ; Parent Loop BB2_5 Depth=1 ; Parent Loop BB2_10 Depth=2 ; => This Inner Loop Header: Depth=3 ldrb w8, [x0, #2] add x0, x0, #1 cbnz w8, LBB2_19 b LBB2_9 LBB2_20: ; in Loop: Header=BB2_10 Depth=2 sxtw x8, w28 add x8, x8, #1 cmp w8, w20 b.ge LBB2_9 ; %bb.21: ; in Loop: Header=BB2_10 Depth=2 ldr x9, [x19, x8, lsl #3] str x9, [x23] mov x28, x8 b LBB2_9 LBB2_22: ; in Loop: Header=BB2_10 Depth=2 mov x9, x28 sxtw x9, w9 add x9, x9, #1 cmp w9, w20 b.ge LBB2_9 ; %bb.23: ; in Loop: Header=BB2_10 Depth=2 ldr x10, [x19, x9, lsl #3] add w11, w8, #1 str w11, [x22] str x10, [x27, x8, lsl #3] mov x28, x9 b LBB2_9 LBB2_24: ldr x0, [x23] cbnz x0, LBB2_30 ; %bb.25: Lloh77: adrp x8, _infile1@GOTPAGE Lloh78: ldr x8, [x8, _infile1@GOTPAGEOFF] Lloh79: ldr x19, [x8] cbz x19, LBB2_35 ; %bb.26: mov x0, x19 bl _strlen add x0, x0, #4 bl _malloc str x0, [x23] cbz x0, LBB2_39 ; %bb.27: mov x1, x19 bl _strcpy ldr x19, [x23] mov x0, x19 mov w1, #46 bl _strrchr cbnz x0, LBB2_29 ; %bb.28: mov x0, x19 bl _strlen add x0, x19, x0 LBB2_29: strb wzr, [x0, #4] mov w8, #26670 movk w8, #30821, lsl #16 str w8, [x0] ldr x0, [x23] LBB2_30: Lloh80: adrp x8, ___stdoutp@GOTPAGE Lloh81: ldr x8, [x8, ___stdoutp@GOTPAGEOFF] Lloh82: ldr x2, [x8] Lloh83: adrp x1, l_.str.67@PAGE Lloh84: add x1, x1, l_.str.67@PAGEOFF bl _freopen cbz x0, LBB2_38 ; %bb.31: ldr w8, [x22] cbnz w8, LBB2_33 ; %bb.32: mov w8, #1 str w8, [x22] Lloh85: adrp x8, _libtab@GOTPAGE Lloh86: ldr x8, [x8, _libtab@GOTPAGEOFF] Lloh87: adrp x9, l_.str.69@PAGE Lloh88: add x9, x9, l_.str.69@PAGEOFF Lloh89: str x9, [x8] LBB2_33: bl _libraries bl _relocate bl _listing bl _output mov w0, #0 LBB2_34: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB2_35: Lloh90: adrp x0, l_str@PAGE Lloh91: add x0, x0, l_str@PAGEOFF bl _puts Lloh92: adrp x0, l_str.140@PAGE Lloh93: add x0, x0, l_str.140@PAGEOFF bl _puts mov w0, #-1 b LBB2_34 LBB2_36: Lloh94: adrp x0, l_.str.61@PAGE Lloh95: add x0, x0, l_.str.61@PAGEOFF bl _uerror LBB2_37: Lloh96: adrp x0, l_.str.63@PAGE Lloh97: add x0, x0, l_.str.63@PAGEOFF bl _uerror LBB2_38: ldr x8, [x23] str x8, [sp] Lloh98: adrp x0, l_.str.68@PAGE Lloh99: add x0, x0, l_.str.68@PAGEOFF bl _uerror LBB2_39: Lloh100: adrp x0, l_.str.60@PAGE Lloh101: add x0, x0, l_.str.60@PAGEOFF bl _uerror .loh AdrpLdrGot Lloh49, Lloh50 .loh AdrpLdrGot Lloh47, Lloh48 .loh AdrpLdrGot Lloh59, Lloh60 .loh AdrpLdrGot Lloh57, Lloh58 .loh AdrpLdrGot Lloh55, Lloh56 .loh AdrpLdrGot Lloh53, Lloh54 .loh AdrpAdd Lloh51, Lloh52 .loh AdrpAdd Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63 .loh AdrpLdrGot Lloh69, Lloh70 .loh AdrpLdrGotStr Lloh66, Lloh67, Lloh68 .loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73 .loh AdrpLdrGotStr Lloh74, Lloh75, Lloh76 .loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79 .loh AdrpAdd Lloh83, Lloh84 .loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82 .loh AdrpAdd Lloh87, Lloh88 .loh AdrpLdrGotStr Lloh85, Lloh86, Lloh89 .loh AdrpAdd Lloh92, Lloh93 .loh AdrpAdd Lloh90, Lloh91 .loh AdrpAdd Lloh94, Lloh95 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpAdd Lloh98, Lloh99 .loh AdrpAdd Lloh100, Lloh101 .cfi_endproc .section __TEXT,__const lJTI2_0: .byte (LBB2_8-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_12-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_13-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_9-LBB2_8)>>2 .byte (LBB2_17-LBB2_8)>>2 ; -- End function .section __TEXT,__literal8,8byte_literals .p2align 3 ; -- Begin function parse lCPI3_0: .long 4 ; 0x4 .long 0 ; 0x0 .section __TEXT,__text,regular,pure_instructions .globl _parse .p2align 2 _parse: ; @parse .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp d9, d8, [sp, #16] ; 16-byte Folded Spill stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 Lloh102: adrp x20, lJTI3_0@PAGE Lloh103: add x20, x20, lJTI3_0@PAGEOFF Lloh104: adrp x21, _nlabels@GOTPAGE Lloh105: ldr x21, [x21, _nlabels@GOTPAGEOFF] Lloh106: adrp x22, _intval@GOTPAGE Lloh107: ldr x22, [x22, _intval@GOTPAGEOFF] Lloh108: adrp x23, _labeltab@GOTPAGE Lloh109: ldr x23, [x23, _labeltab@GOTPAGEOFF] Lloh110: adrp x24, _count@GOTPAGE Lloh111: ldr x24, [x24, _count@GOTPAGEOFF] Lloh112: adrp x25, _reached@GOTPAGE Lloh113: ldr x25, [x25, _reached@GOTPAGEOFF] mov w26, #24 Lloh114: adrp x28, _lastcmd@GOTPAGE Lloh115: ldr x28, [x28, _lastcmd@GOTPAGEOFF] Lloh116: adrp x27, _stab@GOTPAGE Lloh117: ldr x27, [x27, _stab@GOTPAGEOFF] Lloh118: adrp x8, lCPI3_0@PAGE Lloh119: ldr d8, [x8, lCPI3_0@PAGEOFF] Lloh120: adrp x19, _table@PAGE Lloh121: add x19, x19, _table@PAGEOFF b LBB3_3 LBB3_1: ; in Loop: Header=BB3_3 Depth=1 ldrsw x8, [sp, #12] madd x8, x8, x26, x19 ldr w0, [x8] ldrsh w1, [x8, #16] bl _makecmd LBB3_2: ; in Loop: Header=BB3_3 Depth=1 add x0, sp, #12 mov w1, #0 bl _getlex cmp w0, #1 b.ne LBB3_32 LBB3_3: ; =>This Inner Loop Header: Depth=1 add x0, sp, #12 mov w1, #1 bl _getlex cmp w0, #9 b.hi LBB3_38 ; %bb.4: ; in Loop: Header=BB3_3 Depth=1 mov w8, w0 adr x9, LBB3_1 ldrb w10, [x20, x8] add x9, x9, x10, lsl #2 br x9 LBB3_5: ; in Loop: Header=BB3_3 Depth=1 ldrsw x8, [x21] cmp w8, #1000 b.ge LBB3_35 ; %bb.6: ; in Loop: Header=BB3_3 Depth=1 ldr w9, [x22] add x10, x23, x8, lsl #3 ldr w11, [x24] stp w9, w11, [x10] add w8, w8, #1 str w8, [x21] add x0, sp, #8 mov w1, #0 bl _getlex cmp w0, #58 b.ne LBB3_36 ; %bb.7: ; in Loop: Header=BB3_3 Depth=1 ldr w8, [x25] cbnz w8, LBB3_9 LBB3_8: ; in Loop: Header=BB3_3 Depth=1 mov w8, #1 str w8, [x25] LBB3_9: ; in Loop: Header=BB3_3 Depth=1 str wzr, [x28] b LBB3_3 LBB3_10: ; in Loop: Header=BB3_3 Depth=1 add x0, sp, #8 mov w1, #0 bl _getlex cmp w0, #6 b.gt LBB3_20 ; %bb.11: ; in Loop: Header=BB3_3 Depth=1 cmp w0, #5 b.eq LBB3_24 ; %bb.12: ; in Loop: Header=BB3_3 Depth=1 cmp w0, #6 b.ne LBB3_42 ; %bb.13: ; in Loop: Header=BB3_3 Depth=1 add x0, sp, #8 bl _getexpr ldr w8, [sp, #8] cmp w8, #1 b.ne LBB3_41 ; %bb.14: ; in Loop: Header=BB3_3 Depth=1 ldr w8, [x22] tbnz w8, #31, LBB3_41 ; %bb.15: ; in Loop: Header=BB3_3 Depth=1 ldrsw x9, [sp, #12] madd x10, x9, x26, x27 ldr w11, [x10, #12]! cbz w11, LBB3_30 ; %bb.16: ; in Loop: Header=BB3_3 Depth=1 cmp w11, #2 b.eq LBB3_2 b LBB3_40 LBB3_17: ; in Loop: Header=BB3_3 Depth=1 add x0, sp, #8 bl _getexpr ldr w8, [sp, #8] cmp w8, #1 b.ne LBB3_37 ; %bb.18: ; in Loop: Header=BB3_3 Depth=1 ldr w8, [x22] str w8, [x24] b LBB3_2 LBB3_19: ; in Loop: Header=BB3_3 Depth=1 bl _makecfg b LBB3_2 LBB3_20: ; in Loop: Header=BB3_3 Depth=1 cmp w0, #7 b.eq LBB3_28 ; %bb.21: ; in Loop: Header=BB3_3 Depth=1 cmp w0, #58 b.ne LBB3_42 ; %bb.22: ; in Loop: Header=BB3_3 Depth=1 ldrsw x8, [sp, #12] madd x9, x8, x26, x27 ldr w10, [x9, #12]! cbnz w10, LBB3_39 ; %bb.23: ; in Loop: Header=BB3_3 Depth=1 ldr w10, [x24] madd x8, x8, x26, x27 str w10, [x8, #16] mov w8, #3 str w8, [x9] ldr w8, [x25] cbnz w8, LBB3_9 b LBB3_8 LBB3_24: ; in Loop: Header=BB3_3 Depth=1 add x0, sp, #8 bl _getexpr ldr w9, [sp, #8] cbz w9, LBB3_43 ; %bb.25: ; in Loop: Header=BB3_3 Depth=1 ldrsw x8, [sp, #12] madd x10, x8, x26, x27 ldr w11, [x10, #12]! cbz w11, LBB3_31 ; %bb.26: ; in Loop: Header=BB3_3 Depth=1 cmp w11, w9 b.ne LBB3_39 ; %bb.27: ; in Loop: Header=BB3_3 Depth=1 madd x8, x8, x26, x27 ldr w8, [x8, #16] ldr w9, [x22] cmp w8, w9 b.eq LBB3_2 b LBB3_39 LBB3_28: ; in Loop: Header=BB3_3 Depth=1 ldrsw x0, [sp, #12] madd x8, x0, x26, x27 ldr w9, [x8, #12]! cbnz w9, LBB3_40 ; %bb.29: ; in Loop: Header=BB3_3 Depth=1 str d8, [x8] ; kill: def $w0 killed $w0 killed $x0 bl _makeconst b LBB3_2 LBB3_30: ; in Loop: Header=BB3_3 Depth=1 mov w11, #2 str w11, [x10] adrp x11, _dcount@PAGE ldr w10, [x11, _dcount@PAGEOFF] madd x9, x9, x26, x27 str w10, [x9, #16] add w8, w8, w10 str w8, [x11, _dcount@PAGEOFF] b LBB3_2 LBB3_31: ; in Loop: Header=BB3_3 Depth=1 str w9, [x10] ldr w9, [x22] madd x8, x8, x26, x27 str w9, [x8, #16] b LBB3_2 LBB3_32: cbnz w0, LBB3_34 LBB3_33: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload ldp d9, d8, [sp, #16] ; 16-byte Folded Reload add sp, sp, #128 ret LBB3_34: Lloh122: adrp x0, l_.str.91@PAGE Lloh123: add x0, x0, l_.str.91@PAGEOFF bl _uerror LBB3_35: Lloh124: adrp x0, l_.str.87@PAGE Lloh125: add x0, x0, l_.str.87@PAGEOFF bl _uerror LBB3_36: Lloh126: adrp x0, l_.str.88@PAGE Lloh127: add x0, x0, l_.str.88@PAGEOFF bl _uerror LBB3_37: Lloh128: adrp x0, l_.str.89@PAGE Lloh129: add x0, x0, l_.str.89@PAGEOFF bl _uerror LBB3_38: Lloh130: adrp x0, l_.str.90@PAGE Lloh131: add x0, x0, l_.str.90@PAGEOFF bl _uerror LBB3_39: Lloh132: adrp x0, l_.str.82@PAGE Lloh133: add x0, x0, l_.str.82@PAGEOFF bl _uerror LBB3_40: Lloh134: adrp x0, l_.str.85@PAGE Lloh135: add x0, x0, l_.str.85@PAGEOFF bl _uerror LBB3_41: Lloh136: adrp x0, l_.str.84@PAGE Lloh137: add x0, x0, l_.str.84@PAGEOFF bl _uerror LBB3_42: Lloh138: adrp x0, l_.str.86@PAGE Lloh139: add x0, x0, l_.str.86@PAGEOFF bl _uerror LBB3_43: Lloh140: adrp x0, l_.str.83@PAGE Lloh141: add x0, x0, l_.str.83@PAGEOFF bl _uerror .loh AdrpAdd Lloh120, Lloh121 .loh AdrpLdr Lloh118, Lloh119 .loh AdrpLdrGot Lloh116, Lloh117 .loh AdrpLdrGot Lloh114, Lloh115 .loh AdrpLdrGot Lloh112, Lloh113 .loh AdrpLdrGot Lloh110, Lloh111 .loh AdrpLdrGot Lloh108, Lloh109 .loh AdrpLdrGot Lloh106, Lloh107 .loh AdrpLdrGot Lloh104, Lloh105 .loh AdrpAdd Lloh102, Lloh103 .loh AdrpAdd Lloh122, Lloh123 .loh AdrpAdd Lloh124, Lloh125 .loh AdrpAdd Lloh126, Lloh127 .loh AdrpAdd Lloh128, Lloh129 .loh AdrpAdd Lloh130, Lloh131 .loh AdrpAdd Lloh132, Lloh133 .loh AdrpAdd Lloh134, Lloh135 .loh AdrpAdd Lloh136, Lloh137 .loh AdrpAdd Lloh138, Lloh139 .loh AdrpAdd Lloh140, Lloh141 .cfi_endproc .section __TEXT,__const lJTI3_0: .byte (LBB3_33-LBB3_1)>>2 .byte (LBB3_3-LBB3_1)>>2 .byte (LBB3_5-LBB3_1)>>2 .byte (LBB3_10-LBB3_1)>>2 .byte (LBB3_1-LBB3_1)>>2 .byte (LBB3_38-LBB3_1)>>2 .byte (LBB3_38-LBB3_1)>>2 .byte (LBB3_38-LBB3_1)>>2 .byte (LBB3_17-LBB3_1)>>2 .byte (LBB3_19-LBB3_1)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _libraries ; -- Begin function libraries .p2align 2 _libraries: ; @libraries .cfi_startproc ; %bb.0: sub sp, sp, #400 .cfi_def_cfa_offset 400 stp x28, x27, [sp, #304] ; 16-byte Folded Spill stp x26, x25, [sp, #320] ; 16-byte Folded Spill stp x24, x23, [sp, #336] ; 16-byte Folded Spill stp x22, x21, [sp, #352] ; 16-byte Folded Spill stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh142: adrp x8, ___stack_chk_guard@GOTPAGE Lloh143: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh144: ldr x8, [x8] stur x8, [x29, #-96] Lloh145: adrp x22, _stabfree@GOTPAGE Lloh146: ldr x22, [x22, _stabfree@GOTPAGEOFF] ldr w8, [x22] cmp w8, #1 b.lt LBB4_13 ; %bb.1: str wzr, [sp, #28] ; 4-byte Folded Spill Lloh147: adrp x21, _stab@GOTPAGE Lloh148: ldr x21, [x21, _stab@GOTPAGEOFF] Lloh149: adrp x25, _nlib@GOTPAGE Lloh150: ldr x25, [x25, _nlib@GOTPAGEOFF] Lloh151: adrp x26, _libtab@GOTPAGE Lloh152: ldr x26, [x26, _libtab@GOTPAGEOFF] Lloh153: adrp x19, l_.str.107@PAGE Lloh154: add x19, x19, l_.str.107@PAGEOFF Lloh155: adrp x27, ___stdinp@GOTPAGE Lloh156: ldr x27, [x27, ___stdinp@GOTPAGEOFF] Lloh157: adrp x20, l_.str.62@PAGE Lloh158: add x20, x20, l_.str.62@PAGEOFF mov w28, #24 mov x24, x21 b LBB4_3 LBB4_2: ; in Loop: Header=BB4_3 Depth=1 add x24, x24, #24 ldrsw x8, [x22] madd x8, x8, x28, x21 cmp x24, x8 b.hs LBB4_12 LBB4_3: ; =>This Loop Header: Depth=1 ; Child Loop BB4_6 Depth 2 ldr w8, [x24, #12] cbnz w8, LBB4_2 ; %bb.4: ; in Loop: Header=BB4_3 Depth=1 ldr w8, [x25] cmp w8, #1 b.lt LBB4_8 ; %bb.5: ; in Loop: Header=BB4_3 Depth=1 mov x23, #0 LBB4_6: ; Parent Loop BB4_3 Depth=1 ; => This Inner Loop Header: Depth=2 ldr x8, [x26, x23, lsl #3] ldr x9, [x24] stp x8, x9, [sp] add x0, sp, #32 mov w1, #0 mov w2, #256 mov x3, x19 bl ___sprintf_chk ldr x2, [x27] add x0, sp, #32 mov x1, x20 bl _freopen cbnz x0, LBB4_10 ; %bb.7: ; in Loop: Header=BB4_6 Depth=2 add x23, x23, #1 ldrsw x8, [x25] cmp x23, x8 b.lt LBB4_6 b LBB4_9 LBB4_8: ; in Loop: Header=BB4_3 Depth=1 mov w23, #0 LBB4_9: ; in Loop: Header=BB4_3 Depth=1 cmp w23, w8 b.lt LBB4_2 b LBB4_11 LBB4_10: ; in Loop: Header=BB4_3 Depth=1 Lloh159: adrp x28, _infile@GOTPAGE Lloh160: ldr x28, [x28, _infile@GOTPAGEOFF] add x8, sp, #32 str x8, [x28] Lloh161: adrp x8, _line@GOTPAGE Lloh162: ldr x8, [x8, _line@GOTPAGEOFF] mov w9, #1 Lloh163: str w9, [x8] bl _parse str xzr, [x28] mov w28, #24 Lloh164: adrp x9, _filenum@GOTPAGE Lloh165: ldr x9, [x9, _filenum@GOTPAGEOFF] ldr w8, [x9] add w8, w8, #1 str w8, [x9] ldr w8, [x25] cmp w23, w8 b.lt LBB4_2 LBB4_11: ; in Loop: Header=BB4_3 Depth=1 Lloh166: adrp x8, ___stderrp@GOTPAGE Lloh167: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh168: ldr x0, [x8] ldr x8, [x24] str x8, [sp] Lloh169: adrp x1, l_.str.108@PAGE Lloh170: add x1, x1, l_.str.108@PAGEOFF bl _fprintf ldr w8, [sp, #28] ; 4-byte Folded Reload add w8, w8, #1 str w8, [sp, #28] ; 4-byte Folded Spill b LBB4_2 LBB4_12: ldr w8, [sp, #28] ; 4-byte Folded Reload cmp w8, #1 b.ge LBB4_16 LBB4_13: ldur x8, [x29, #-96] Lloh171: adrp x9, ___stack_chk_guard@GOTPAGE Lloh172: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh173: ldr x9, [x9] cmp x9, x8 b.ne LBB4_15 ; %bb.14: ldp x29, x30, [sp, #384] ; 16-byte Folded Reload ldp x20, x19, [sp, #368] ; 16-byte Folded Reload ldp x22, x21, [sp, #352] ; 16-byte Folded Reload ldp x24, x23, [sp, #336] ; 16-byte Folded Reload ldp x26, x25, [sp, #320] ; 16-byte Folded Reload ldp x28, x27, [sp, #304] ; 16-byte Folded Reload add sp, sp, #400 ret LBB4_15: bl ___stack_chk_fail LBB4_16: Lloh174: adrp x8, _outfile@GOTPAGE Lloh175: ldr x8, [x8, _outfile@GOTPAGEOFF] Lloh176: ldr x0, [x8] bl _unlink mov w0, #1 bl _exit .loh AdrpLdrGot Lloh145, Lloh146 .loh AdrpLdrGotLdr Lloh142, Lloh143, Lloh144 .loh AdrpAdd Lloh157, Lloh158 .loh AdrpLdrGot Lloh155, Lloh156 .loh AdrpAdd Lloh153, Lloh154 .loh AdrpLdrGot Lloh151, Lloh152 .loh AdrpLdrGot Lloh149, Lloh150 .loh AdrpLdrGot Lloh147, Lloh148 .loh AdrpLdrGot Lloh164, Lloh165 .loh AdrpLdrGotStr Lloh161, Lloh162, Lloh163 .loh AdrpLdrGot Lloh159, Lloh160 .loh AdrpAdd Lloh169, Lloh170 .loh AdrpLdrGotLdr Lloh166, Lloh167, Lloh168 .loh AdrpLdrGotLdr Lloh171, Lloh172, Lloh173 .loh AdrpLdrGotLdr Lloh174, Lloh175, Lloh176 .cfi_endproc ; -- End function .globl _relocate ; -- Begin function relocate .p2align 2 _relocate: ; @relocate .cfi_startproc ; %bb.0: sub sp, sp, #432 .cfi_def_cfa_offset 432 stp d9, d8, [sp, #320] ; 16-byte Folded Spill stp x28, x27, [sp, #336] ; 16-byte Folded Spill stp x26, x25, [sp, #352] ; 16-byte Folded Spill stp x24, x23, [sp, #368] ; 16-byte Folded Spill stp x22, x21, [sp, #384] ; 16-byte Folded Spill stp x20, x19, [sp, #400] ; 16-byte Folded Spill stp x29, x30, [sp, #416] ; 16-byte Folded Spill add x29, sp, #416 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 .cfi_offset b8, -104 .cfi_offset b9, -112 Lloh177: adrp x8, _dcount@PAGE Lloh178: ldr w8, [x8, _dcount@PAGEOFF] stur w8, [x29, #-124] ; 4-byte Folded Spill Lloh179: adrp x22, _tbusy@GOTPAGE Lloh180: ldr x22, [x22, _tbusy@GOTPAGEOFF] ldr q1, [x22] ldr q0, [x22, #16] stp q0, q1, [sp, #64] ; 32-byte Folded Spill ldr q1, [x22, #32] ldr q0, [x22, #48] stp q1, q0, [sp, #144] ; 32-byte Folded Spill ldr q1, [x22, #64] ldr q0, [x22, #80] stp q0, q1, [sp, #32] ; 32-byte Folded Spill ldr q1, [x22, #96] ldr q0, [x22, #112] str q0, [sp, #176] ; 16-byte Folded Spill ldr q0, [x22, #128] stp q0, q1, [sp, #112] ; 32-byte Folded Spill ldr q0, [x22, #144] str q0, [sp, #96] ; 16-byte Folded Spill ldr q1, [x22, #160] ldr q0, [x22, #176] stp q1, q0, [x29, #-176] ; 32-byte Folded Spill ldr q0, [x22, #192] stur q0, [x29, #-192] ; 16-byte Folded Spill ldr q1, [x22, #208] ldr q0, [x22, #224] stp q0, q1, [sp, #192] ; 32-byte Folded Spill ldr q0, [x22, #240] stur q0, [x29, #-144] ; 16-byte Folded Spill Lloh181: adrp x19, _nconst@GOTPAGE Lloh182: ldr x19, [x19, _nconst@GOTPAGEOFF] ldrsw x1, [x19] Lloh183: adrp x20, _constab@GOTPAGE Lloh184: ldr x20, [x20, _constab@GOTPAGEOFF] Lloh185: adrp x3, _compare_constab_len@PAGE Lloh186: add x3, x3, _compare_constab_len@PAGEOFF mov x0, x20 mov w2, #16 bl _qsort ldr w9, [x19] Lloh187: adrp x28, ___stderrp@GOTPAGE Lloh188: ldr x28, [x28, ___stderrp@GOTPAGEOFF] cmp w9, #1 b.lt LBB5_17 ; %bb.1: stur xzr, [x29, #-120] ; 8-byte Folded Spill Lloh189: adrp x27, _debug@GOTPAGE Lloh190: ldr x27, [x27, _debug@GOTPAGEOFF] mov w26, #1 Lloh191: adrp x24, _lastcmd@GOTPAGE Lloh192: ldr x24, [x24, _lastcmd@GOTPAGEOFF] mov x19, x20 b LBB5_4 LBB5_2: ; in Loop: Header=BB5_4 Depth=1 Lloh193: adrp x8, _nconst@GOTPAGE Lloh194: ldr x8, [x8, _nconst@GOTPAGEOFF] Lloh195: ldr w9, [x8] ldur x8, [x29, #-120] ; 8-byte Folded Reload add w8, w8, w21 add w8, w8, #1 stur x8, [x29, #-120] ; 8-byte Folded Spill Lloh196: adrp x20, _constab@GOTPAGE Lloh197: ldr x20, [x20, _constab@GOTPAGEOFF] LBB5_3: ; in Loop: Header=BB5_4 Depth=1 add x19, x19, #16 add x8, x20, w9, sxtw #4 cmp x19, x8 b.hs LBB5_18 LBB5_4: ; =>This Loop Header: Depth=1 ; Child Loop BB5_7 Depth 2 ; Child Loop BB5_12 Depth 2 stur w9, [x29, #-108] ; 4-byte Folded Spill ldr w23, [x19, #8] cmp x19, x20 b.ls LBB5_10 ; %bb.5: ; in Loop: Header=BB5_4 Depth=1 sxtw x21, w23 neg x28, x21 Lloh198: adrp x25, _constab@GOTPAGE Lloh199: ldr x25, [x25, _constab@GOTPAGEOFF] b LBB5_7 LBB5_6: ; in Loop: Header=BB5_7 Depth=2 add x25, x25, #16 cmp x25, x19 b.hs LBB5_10 LBB5_7: ; Parent Loop BB5_4 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsw x20, [x25, #8] cmp w20, w23 b.lt LBB5_6 ; %bb.8: ; in Loop: Header=BB5_7 Depth=2 ldr x8, [x25] add x8, x8, x28 add x0, x8, x20 ldr x1, [x19] mov x2, x21 bl _memcmp cbnz w0, LBB5_6 ; %bb.9: ; in Loop: Header=BB5_4 Depth=1 ldrsw x8, [x25, #12] Lloh200: adrp x10, _stab@GOTPAGE Lloh201: ldr x10, [x10, _stab@GOTPAGEOFF] mov w11, #24 madd x8, x8, x11, x10 ldr w8, [x8, #16] sub w9, w20, w23 add w8, w9, w8 ldrsw x9, [x19, #12] madd x9, x9, x11, x10 str w8, [x9, #16] mov w8, #3 str w8, [x9, #12] b LBB5_16 LBB5_10: ; in Loop: Header=BB5_4 Depth=1 Lloh202: adrp x20, _count@GOTPAGE Lloh203: ldr x20, [x20, _count@GOTPAGEOFF] ldr w8, [x20] ldrsw x9, [x19, #12] Lloh204: adrp x10, _stab@GOTPAGE Lloh205: ldr x10, [x10, _stab@GOTPAGEOFF] mov w11, #24 madd x9, x9, x11, x10 mov w10, #3 stp w10, w8, [x9, #12] cmp w23, #1 b.lt LBB5_16 ; %bb.11: ; in Loop: Header=BB5_4 Depth=1 mov x21, #0 Lloh206: adrp x28, ___stderrp@GOTPAGE Lloh207: ldr x28, [x28, ___stderrp@GOTPAGEOFF] LBB5_12: ; Parent Loop BB5_4 Depth=1 ; => This Inner Loop Header: Depth=2 add w9, w8, #1 str w9, [x20] ldr x9, [x19] ldrsb w25, [x9, x21] sxtw x9, w8 Lloh208: adrp x10, _text@GOTPAGE Lloh209: ldr x10, [x10, _text@GOTPAGEOFF] strh w25, [x10, w8, sxtw #1] strb w26, [x22, x9] ldr w9, [x27] cbz w9, LBB5_14 ; %bb.13: ; in Loop: Header=BB5_12 Depth=2 ldr x0, [x28] ; kill: def $w8 killed $w8 killed $x8 def $x8 stp x8, x25, [sp] Lloh210: adrp x1, l_.str.106@PAGE Lloh211: add x1, x1, l_.str.106@PAGEOFF bl _fprintf ldr w23, [x19, #8] LBB5_14: ; in Loop: Header=BB5_12 Depth=2 str w25, [x24] add x9, x21, #1 cmp x9, w23, sxtw b.ge LBB5_2 ; %bb.15: ; in Loop: Header=BB5_12 Depth=2 ldr w8, [x20] mov x21, x9 b LBB5_12 LBB5_16: ; in Loop: Header=BB5_4 Depth=1 Lloh212: adrp x28, ___stderrp@GOTPAGE Lloh213: ldr x28, [x28, ___stderrp@GOTPAGEOFF] Lloh214: adrp x20, _constab@GOTPAGE Lloh215: ldr x20, [x20, _constab@GOTPAGEOFF] ldur w9, [x29, #-108] ; 4-byte Folded Reload b LBB5_3 LBB5_17: stur xzr, [x29, #-120] ; 8-byte Folded Spill LBB5_18: Lloh216: adrp x8, _nrel@GOTPAGE Lloh217: ldr x8, [x8, _nrel@GOTPAGEOFF] Lloh218: ldrsw x8, [x8] cmp w8, #1 b.lt LBB5_34 ; %bb.19: mov w9, #12 Lloh219: adrp x10, _reltab@GOTPAGE Lloh220: ldr x10, [x10, _reltab@GOTPAGEOFF] madd x8, x8, x9, x10 Lloh221: adrp x9, _nlabels@GOTPAGE Lloh222: ldr x9, [x9, _nlabels@GOTPAGEOFF] Lloh223: ldrsw x9, [x9] Lloh224: adrp x10, _labeltab@GOTPAGE Lloh225: ldr x10, [x10, _labeltab@GOTPAGEOFF] add x11, x10, x9, lsl #3 Lloh226: adrp x12, _reltab@GOTPAGE Lloh227: ldr x12, [x12, _reltab@GOTPAGEOFF] sub x13, x11, #8 mov w14, #24 mov w15, #-8192 mov w16, #-256 mov w17, #8191 mov w0, #255 b LBB5_22 LBB5_20: ; in Loop: Header=BB5_22 Depth=1 ldrsw x2, [x12, #4] Lloh228: adrp x3, _stab@GOTPAGE Lloh229: ldr x3, [x3, _stab@GOTPAGEOFF] madd x2, x2, x14, x3 ldr w3, [x2, #16] LBB5_21: ; in Loop: Header=BB5_22 Depth=1 ldrsw x2, [x12], #12 lsl x2, x2, #1 Lloh230: adrp x6, _text@GOTPAGE Lloh231: ldr x6, [x6, _text@GOTPAGEOFF] ldrh w4, [x6, x2] tst w1, #0x1 csel w1, w16, w15, eq csel w5, w0, w17, eq and w1, w4, w1 add w3, w4, w3 and w3, w3, w5 orr w1, w3, w1 strh w1, [x6, x2] cmp x12, x8 b.hs LBB5_34 LBB5_22: ; =>This Loop Header: Depth=1 ; Child Loop BB5_27 Depth 2 ; Child Loop BB5_32 Depth 2 ldr w1, [x12, #8] tbz w1, #1, LBB5_20 ; %bb.23: ; in Loop: Header=BB5_22 Depth=1 ldp w2, w4, [x12] tbnz w4, #31, LBB5_29 ; %bb.24: ; in Loop: Header=BB5_22 Depth=1 cmp w9, #1 b.lt LBB5_39 ; %bb.25: ; in Loop: Header=BB5_22 Depth=1 mov x5, x10 b LBB5_27 LBB5_26: ; in Loop: Header=BB5_27 Depth=2 add x5, x5, #8 cmp x5, x11 b.hs LBB5_39 LBB5_27: ; Parent Loop BB5_22 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w3, [x5, #4] cmp w3, w2 b.le LBB5_26 ; %bb.28: ; in Loop: Header=BB5_27 Depth=2 ldr w6, [x5] cmp w6, w4 b.ne LBB5_26 b LBB5_21 LBB5_29: ; in Loop: Header=BB5_22 Depth=1 neg w4, w4 cmp x13, x10 b.lo LBB5_40 ; %bb.30: ; in Loop: Header=BB5_22 Depth=1 mov x5, x13 b LBB5_32 LBB5_31: ; in Loop: Header=BB5_32 Depth=2 sub x5, x5, #8 cmp x5, x10 b.lo LBB5_40 LBB5_32: ; Parent Loop BB5_22 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w3, [x5, #4] cmp w3, w2 b.gt LBB5_31 ; %bb.33: ; in Loop: Header=BB5_32 Depth=2 ldr w6, [x5] cmp w6, w4 b.ne LBB5_31 b LBB5_21 LBB5_34: ldp q1, q0, [sp, #64] ; 32-byte Folded Reload cmtst.16b v0, v0, v0 cmtst.16b v1, v1, v1 ldp q3, q2, [sp, #32] ; 32-byte Folded Reload cmtst.16b v2, v2, v2 cmtst.16b v5, v3, v3 ldr q3, [sp, #144] ; 16-byte Folded Reload cmtst.16b v6, v3, v3 ldr q3, [sp, #128] ; 16-byte Folded Reload cmtst.16b v16, v3, v3 ldr q3, [sp, #112] ; 16-byte Folded Reload cmtst.16b v4, v3, v3 ldr q3, [sp, #96] ; 16-byte Folded Reload cmtst.16b v3, v3, v3 ushll2.8h v25, v0, #0 ushll.8h v26, v0, #0 ushll2.8h v17, v1, #0 ushll.8h v19, v1, #0 ldr q0, [sp, #160] ; 16-byte Folded Reload cmtst.16b v1, v0, v0 ushll2.8h v21, v2, #0 ushll.8h v22, v2, #0 ushll2.8h v18, v5, #0 ushll.8h v20, v5, #0 ldr q0, [sp, #176] ; 16-byte Folded Reload cmtst.16b v2, v0, v0 ushll.8h v5, v6, #0 ushll2.8h v6, v6, #0 ushll.8h v7, v16, #0 ushll2.8h v16, v16, #0 ushll.4s v23, v25, #0 movi.4s v0, #1 ushll.4s v24, v26, #0 ushll2.4s v25, v25, #0 ushll2.4s v26, v26, #0 ushll2.4s v27, v22, #0 and.16b v26, v26, v0 and.16b v27, v27, v0 add.4s v26, v26, v27 ushll2.4s v27, v21, #0 and.16b v25, v25, v0 and.16b v27, v27, v0 add.4s v25, v25, v27 ushll.4s v27, v17, #0 ushll.4s v22, v22, #0 and.16b v24, v24, v0 and.16b v22, v22, v0 add.4s v22, v24, v22 ushll.4s v24, v19, #0 ushll2.4s v17, v17, #0 ushll2.4s v19, v19, #0 ushll.4s v21, v21, #0 and.16b v23, v23, v0 and.16b v21, v21, v0 add.4s v21, v23, v21 ushll2.4s v23, v20, #0 and.16b v19, v19, v0 and.16b v23, v23, v0 add.4s v19, v19, v23 ushll.4s v23, v18, #0 ushll.4s v20, v20, #0 ushll2.4s v18, v18, #0 and.16b v27, v27, v0 and.16b v24, v24, v0 and.16b v17, v17, v0 and.16b v18, v18, v0 add.4s v17, v17, v18 ushll.4s v18, v5, #0 and.16b v20, v20, v0 add.4s v20, v24, v20 ushll.4s v24, v6, #0 and.16b v23, v23, v0 add.4s v23, v27, v23 ushll.4s v27, v16, #0 and.16b v24, v24, v0 and.16b v27, v27, v0 add.4s v24, v24, v27 ushll.4s v27, v7, #0 and.16b v18, v18, v0 and.16b v27, v27, v0 add.4s v18, v18, v27 ushll.8h v27, v4, #0 ushll2.8h v4, v4, #0 ushll2.4s v6, v6, #0 ushll2.4s v16, v16, #0 and.16b v6, v6, v0 and.16b v16, v16, v0 add.4s v6, v6, v16 ushll.8h v16, v3, #0 ushll2.8h v3, v3, #0 ushll2.4s v5, v5, #0 ushll2.4s v7, v7, #0 and.16b v5, v5, v0 and.16b v7, v7, v0 add.4s v5, v5, v7 ushll.4s v7, v4, #0 and.16b v7, v7, v0 add.4s v7, v21, v7 ushll.4s v21, v27, #0 and.16b v21, v21, v0 add.4s v21, v22, v21 ushll2.8h v22, v1, #0 ushll.8h v1, v1, #0 ushll2.4s v4, v4, #0 and.16b v4, v4, v0 add.4s v4, v25, v4 ushll2.8h v25, v2, #0 ushll.8h v2, v2, #0 ushll2.4s v27, v27, #0 and.16b v27, v27, v0 add.4s v26, v26, v27 ushll.4s v27, v3, #0 and.16b v27, v27, v0 add.4s v23, v23, v27 ushll2.4s v27, v16, #0 ushll2.4s v3, v3, #0 ushll.4s v16, v16, #0 and.16b v16, v16, v0 add.4s v16, v20, v16 ushll2.4s v20, v22, #0 and.16b v3, v3, v0 add.4s v3, v17, v3 ushll2.4s v17, v1, #0 and.16b v27, v27, v0 add.4s v19, v19, v27 ushll2.4s v27, v2, #0 and.16b v17, v17, v0 and.16b v27, v27, v0 add.4s v17, v17, v27 ushll2.4s v27, v25, #0 and.16b v20, v20, v0 and.16b v27, v27, v0 add.4s v20, v20, v27 ldp q28, q27, [x29, #-192] ; 32-byte Folded Reload cmtst.16b v27, v27, v27 cmtst.16b v28, v28, v28 ldp q31, q29, [sp, #192] ; 32-byte Folded Reload cmtst.16b v29, v29, v29 ldur q30, [x29, #-160] ; 16-byte Folded Reload cmtst.16b v30, v30, v30 cmtst.16b v31, v31, v31 ushll.4s v1, v1, #0 ushll.4s v2, v2, #0 and.16b v1, v1, v0 and.16b v2, v2, v0 add.4s v1, v1, v2 ushll2.8h v2, v27, #0 ushll.8h v27, v27, #0 ushll.4s v22, v22, #0 ushll.4s v25, v25, #0 and.16b v22, v22, v0 and.16b v25, v25, v0 add.4s v22, v22, v25 ushll2.4s v25, v27, #0 and.16b v25, v25, v0 add.4s v5, v5, v25 ushll2.4s v25, v2, #0 and.16b v25, v25, v0 add.4s v6, v6, v25 ushll2.8h v25, v28, #0 ushll.8h v28, v28, #0 ushll.4s v27, v27, #0 and.16b v27, v27, v0 add.4s v18, v18, v27 ushll2.8h v27, v29, #0 ushll.8h v29, v29, #0 ldur q8, [x29, #-144] ; 16-byte Folded Reload cmtst.16b v8, v8, v8 ushll.4s v2, v2, #0 and.16b v2, v2, v0 add.4s v2, v24, v2 ushll2.4s v24, v28, #0 and.16b v24, v24, v0 add.4s v24, v26, v24 ushll2.4s v26, v25, #0 and.16b v26, v26, v0 add.4s v4, v4, v26 ushll.8h v26, v30, #0 ushll2.8h v30, v30, #0 ushll.4s v28, v28, #0 and.16b v28, v28, v0 add.4s v21, v21, v28 ushll.8h v28, v31, #0 ushll2.8h v31, v31, #0 ushll.4s v25, v25, #0 and.16b v25, v25, v0 add.4s v7, v7, v25 ushll2.4s v25, v29, #0 and.16b v25, v25, v0 add.4s v19, v19, v25 ushll.4s v25, v27, #0 ushll.4s v29, v29, #0 ushll2.4s v27, v27, #0 and.16b v27, v27, v0 add.4s v3, v3, v27 ushll2.8h v27, v8, #0 ushll.8h v8, v8, #0 and.16b v29, v29, v0 add.4s v16, v16, v29 ushll2.4s v29, v26, #0 and.16b v25, v25, v0 add.4s v23, v23, v25 ushll2.4s v25, v30, #0 ushll.4s v26, v26, #0 ushll.4s v30, v30, #0 and.16b v30, v30, v0 add.4s v22, v22, v30 ushll2.4s v30, v28, #0 and.16b v26, v26, v0 add.4s v1, v1, v26 ushll2.4s v26, v31, #0 ushll.4s v28, v28, #0 ushll.4s v31, v31, #0 and.16b v29, v29, v0 and.16b v25, v25, v0 and.16b v30, v30, v0 and.16b v26, v26, v0 and.16b v28, v28, v0 and.16b v31, v31, v0 add.4s v20, v20, v25 ushll.4s v25, v27, #0 add.4s v17, v17, v29 ushll.4s v29, v8, #0 ushll2.4s v27, v27, #0 ushll2.4s v8, v8, #0 and.16b v25, v25, v0 and.16b v29, v29, v0 and.16b v27, v27, v0 and.16b v0, v8, v0 add.4s v2, v2, v31 add.4s v18, v18, v28 add.4s v6, v6, v26 add.4s v5, v5, v30 add.4s v7, v23, v7 add.4s v16, v16, v21 add.4s v3, v3, v4 add.4s v4, v19, v24 add.4s v0, v17, v0 add.4s v17, v20, v27 add.4s v1, v1, v29 add.4s v19, v22, v25 add.4s v4, v5, v4 add.4s v3, v6, v3 add.4s v5, v18, v16 add.4s v2, v2, v7 add.4s v2, v19, v2 add.4s v1, v1, v5 add.4s v3, v17, v3 add.4s v0, v0, v4 add.4s v0, v0, v3 add.4s v1, v1, v2 add.4s v0, v1, v0 addv.4s s0, v0 fmov w20, s0 Lloh232: adrp x8, _opt_atx_xta@GOTPAGE Lloh233: ldr x8, [x8, _opt_atx_xta@GOTPAGEOFF] ldur w9, [x29, #-124] ; 4-byte Folded Reload sub w19, w9, #10 Lloh234: ldr w8, [x8] Lloh235: adrp x9, _opt_not_reached@GOTPAGE Lloh236: ldr x9, [x9, _opt_not_reached@GOTPAGEOFF] Lloh237: ldr w9, [x9] orr w10, w8, w9 cbz w10, LBB5_36 ; %bb.35: ldr x0, [x28] stp x8, x9, [sp] Lloh238: adrp x1, l_.str.111@PAGE Lloh239: add x1, x1, l_.str.111@PAGEOFF bl _fprintf LBB5_36: ldr x0, [x28] str x19, [sp, #16] ldur x8, [x29, #-120] ; 8-byte Folded Reload stp x20, x8, [sp] Lloh240: adrp x1, l_.str.112@PAGE Lloh241: add x1, x1, l_.str.112@PAGEOFF bl _fprintf Lloh242: adrp x8, _count@GOTPAGE Lloh243: ldr x8, [x8, _count@GOTPAGEOFF] Lloh244: ldr w8, [x8] cmp w8, #257 b.ge LBB5_41 ; %bb.37: Lloh245: adrp x9, _dcount@PAGE Lloh246: ldr w9, [x9, _dcount@PAGEOFF] cmp w9, #33 b.ge LBB5_42 ; %bb.38: ldr x0, [x28] mov w10, #256 sub w8, w10, w8 mov w10, #32 sub w9, w10, w9 stp x8, x9, [sp] Lloh247: adrp x1, l_.str.115@PAGE Lloh248: add x1, x1, l_.str.115@PAGEOFF bl _fprintf ldp x29, x30, [sp, #416] ; 16-byte Folded Reload ldp x20, x19, [sp, #400] ; 16-byte Folded Reload ldp x22, x21, [sp, #384] ; 16-byte Folded Reload ldp x24, x23, [sp, #368] ; 16-byte Folded Reload ldp x26, x25, [sp, #352] ; 16-byte Folded Reload ldp x28, x27, [sp, #336] ; 16-byte Folded Reload ldp d9, d8, [sp, #320] ; 16-byte Folded Reload add sp, sp, #432 ret LBB5_39: ; kill: def $w2 killed $w2 killed $x2 def $x2 stp x4, x2, [sp] Lloh249: adrp x0, l_.str.110@PAGE Lloh250: add x0, x0, l_.str.110@PAGEOFF bl _uerror LBB5_40: stp x4, x2, [sp] Lloh251: adrp x0, l_.str.109@PAGE Lloh252: add x0, x0, l_.str.109@PAGEOFF bl _uerror LBB5_41: str x8, [sp] Lloh253: adrp x0, l_.str.113@PAGE Lloh254: add x0, x0, l_.str.113@PAGEOFF bl _uerror LBB5_42: ; kill: def $w19 killed $w19 killed $x19 def $x19 str x19, [sp] Lloh255: adrp x0, l_.str.114@PAGE Lloh256: add x0, x0, l_.str.114@PAGEOFF bl _uerror .loh AdrpLdrGot Lloh187, Lloh188 .loh AdrpAdd Lloh185, Lloh186 .loh AdrpLdrGot Lloh183, Lloh184 .loh AdrpLdrGot Lloh181, Lloh182 .loh AdrpLdrGot Lloh179, Lloh180 .loh AdrpLdr Lloh177, Lloh178 .loh AdrpLdrGot Lloh191, Lloh192 .loh AdrpLdrGot Lloh189, Lloh190 .loh AdrpLdrGot Lloh196, Lloh197 .loh AdrpLdrGotLdr Lloh193, Lloh194, Lloh195 .loh AdrpLdrGot Lloh198, Lloh199 .loh AdrpLdrGot Lloh200, Lloh201 .loh AdrpLdrGot Lloh204, Lloh205 .loh AdrpLdrGot Lloh202, Lloh203 .loh AdrpLdrGot Lloh206, Lloh207 .loh AdrpLdrGot Lloh208, Lloh209 .loh AdrpAdd Lloh210, Lloh211 .loh AdrpLdrGot Lloh214, Lloh215 .loh AdrpLdrGot Lloh212, Lloh213 .loh AdrpLdrGotLdr Lloh216, Lloh217, Lloh218 .loh AdrpLdrGot Lloh226, Lloh227 .loh AdrpLdrGot Lloh224, Lloh225 .loh AdrpLdrGotLdr Lloh221, Lloh222, Lloh223 .loh AdrpLdrGot Lloh219, Lloh220 .loh AdrpLdrGot Lloh228, Lloh229 .loh AdrpLdrGot Lloh230, Lloh231 .loh AdrpLdrGotLdr Lloh235, Lloh236, Lloh237 .loh AdrpLdrGotLdr Lloh232, Lloh233, Lloh234 .loh AdrpAdd Lloh238, Lloh239 .loh AdrpLdrGotLdr Lloh242, Lloh243, Lloh244 .loh AdrpAdd Lloh240, Lloh241 .loh AdrpLdr Lloh245, Lloh246 .loh AdrpAdd Lloh247, Lloh248 .loh AdrpAdd Lloh249, Lloh250 .loh AdrpAdd Lloh251, Lloh252 .loh AdrpAdd Lloh253, Lloh254 .loh AdrpAdd Lloh255, Lloh256 .cfi_endproc ; -- End function .globl _listing ; -- Begin function listing .p2align 2 _listing: ; @listing .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh257: adrp x8, _outfile@GOTPAGE Lloh258: ldr x8, [x8, _outfile@GOTPAGEOFF] Lloh259: ldr x19, [x8] mov x0, x19 bl _strlen add x0, x0, #4 bl _malloc cbz x0, LBB6_57 ; %bb.1: mov x20, x0 mov x1, x19 bl _strcpy mov w1, #46 bl _strrchr cbnz x0, LBB6_3 ; %bb.2: mov x0, x20 bl _strlen add x0, x20, x0 LBB6_3: strb wzr, [x0, #4] mov w8, #27694 movk w8, #29811, lsl #16 str w8, [x0] Lloh260: adrp x1, l_.str.67@PAGE Lloh261: add x1, x1, l_.str.67@PAGEOFF mov x0, x20 bl _fopen cbz x0, LBB6_58 ; %bb.4: mov x19, x0 Lloh262: adrp x8, _nconst@GOTPAGE Lloh263: ldr x8, [x8, _nconst@GOTPAGEOFF] Lloh264: ldrsw x8, [x8] cmp w8, #1 b.lt LBB6_11 ; %bb.5: Lloh265: adrp x9, _constab@GOTPAGE Lloh266: ldr x9, [x9, _constab@GOTPAGEOFF] add x8, x9, x8, lsl #4 Lloh267: adrp x10, _stab@GOTPAGE Lloh268: ldr x10, [x10, _stab@GOTPAGEOFF] add x11, x9, #16 cmp x8, x11 csel x11, x8, x11, hi mvn x12, x9 add x11, x11, x12 cmp x11, #48 b.lo LBB6_9 ; %bb.6: lsr x11, x11, #4 add x11, x11, #1 and x12, x11, #0x1ffffffffffffffc add x13, x9, #44 add x9, x9, x12, lsl #4 mov w14, #24 mov x15, x12 LBB6_7: ; =>This Inner Loop Header: Depth=1 ldursw x16, [x13, #-32] ldursw x17, [x13, #-16] ldrsw x0, [x13] ldrsw x1, [x13, #16] madd x16, x16, x14, x10 madd x17, x17, x14, x10 madd x0, x0, x14, x10 madd x1, x1, x14, x10 ldr w16, [x16, #16] ldr w17, [x17, #16] ldr w0, [x0, #16] ldr w1, [x1, #16] stur w16, [x13, #-32] stur w17, [x13, #-16] str w0, [x13] str w1, [x13, #16] add x13, x13, #64 subs x15, x15, #4 b.ne LBB6_7 ; %bb.8: cmp x11, x12 b.eq LBB6_11 LBB6_9: mov w11, #24 LBB6_10: ; =>This Inner Loop Header: Depth=1 ldrsw x12, [x9, #12] madd x12, x12, x11, x10 ldr w12, [x12, #16] str w12, [x9, #12] add x9, x9, #16 cmp x9, x8 b.lo LBB6_10 LBB6_11: Lloh269: adrp x22, _stabfree@GOTPAGE Lloh270: ldr x22, [x22, _stabfree@GOTPAGEOFF] ldrsw x1, [x22] Lloh271: adrp x20, _stab@GOTPAGE Lloh272: ldr x20, [x20, _stab@GOTPAGEOFF] Lloh273: adrp x3, _compare_stab@PAGE Lloh274: add x3, x3, _compare_stab@PAGEOFF mov w23, #24 mov x0, x20 mov w2, #24 bl _qsort Lloh275: adrp x0, l_.str.118@PAGE Lloh276: add x0, x0, l_.str.118@PAGEOFF mov w1, #14 mov w2, #1 mov x3, x19 bl _fwrite ldr w8, [x22] cmp w8, #1 b.lt LBB6_20 ; %bb.12: Lloh277: adrp x21, l_.str.119@PAGE Lloh278: add x21, x21, l_.str.119@PAGEOFF mov x24, x20 b LBB6_16 LBB6_13: ; in Loop: Header=BB6_16 Depth=1 mov w8, #68 LBB6_14: ; in Loop: Header=BB6_16 Depth=1 ldr w10, [x24, #16] ldr w11, [x24, #8] stp x11, x9, [sp, #16] stp x10, x8, [sp] mov x0, x19 mov x1, x21 bl _fprintf ldr w8, [x22] LBB6_15: ; in Loop: Header=BB6_16 Depth=1 add x24, x24, #24 smaddl x9, w8, w23, x20 cmp x24, x9 b.hs LBB6_20 LBB6_16: ; =>This Inner Loop Header: Depth=1 ldr x9, [x24] ldrb w10, [x9, #1] cmp w10, #46 b.eq LBB6_15 ; %bb.17: ; in Loop: Header=BB6_16 Depth=1 ldr w10, [x24, #12] cmp w10, #2 b.eq LBB6_13 ; %bb.18: ; in Loop: Header=BB6_16 Depth=1 cmp w10, #1 b.ne LBB6_15 ; %bb.19: ; in Loop: Header=BB6_16 Depth=1 mov w8, #65 b LBB6_14 LBB6_20: Lloh279: adrp x0, l_.str.120@PAGE Lloh280: add x0, x0, l_.str.120@PAGEOFF mov w1, #15 mov w2, #1 mov x3, x19 bl _fwrite ldr w8, [x22] cmp w8, #1 b.lt LBB6_31 ; %bb.21: mov w23, #24 Lloh281: adrp x21, l_.str.119@PAGE Lloh282: add x21, x21, l_.str.119@PAGEOFF mov x24, x20 b LBB6_25 LBB6_22: ; in Loop: Header=BB6_25 Depth=1 mov w8, #67 LBB6_23: ; in Loop: Header=BB6_25 Depth=1 ldr w10, [x24, #16] ldr w11, [x24, #8] stp x11, x9, [sp, #16] stp x10, x8, [sp] mov x0, x19 mov x1, x21 bl _fprintf ldr w8, [x22] LBB6_24: ; in Loop: Header=BB6_25 Depth=1 add x24, x24, #24 smaddl x9, w8, w23, x20 cmp x24, x9 b.hs LBB6_31 LBB6_25: ; =>This Inner Loop Header: Depth=1 ldr x9, [x24] ldrb w10, [x9, #1] cmp w10, #46 b.eq LBB6_24 ; %bb.26: ; in Loop: Header=BB6_25 Depth=1 ldr w10, [x24, #12] cbz w10, LBB6_30 ; %bb.27: ; in Loop: Header=BB6_25 Depth=1 cmp w10, #4 b.eq LBB6_22 ; %bb.28: ; in Loop: Header=BB6_25 Depth=1 cmp w10, #3 b.ne LBB6_24 ; %bb.29: ; in Loop: Header=BB6_25 Depth=1 mov w8, #84 b LBB6_23 LBB6_30: ; in Loop: Header=BB6_25 Depth=1 mov w8, #85 b LBB6_23 LBB6_31: mov w8, #255 Lloh283: adrp x9, _tbusy@GOTPAGE Lloh284: ldr x9, [x9, _tbusy@GOTPAGEOFF] LBB6_32: ; =>This Inner Loop Header: Depth=1 ldrb w11, [x9, w8, uxtw] sub w10, w8, #1 cmp w11, #0 ccmp w8, #0, #4, eq mov x8, x10 b.ne LBB6_32 ; %bb.33: add w8, w10, #1 str x8, [sp] Lloh285: adrp x1, l_.str.121@PAGE Lloh286: add x1, x1, l_.str.121@PAGEOFF mov x0, x19 bl _fprintf Lloh287: adrp x20, _nconst@GOTPAGE Lloh288: ldr x20, [x20, _nconst@GOTPAGEOFF] ldrsw x1, [x20] Lloh289: adrp x28, _constab@GOTPAGE Lloh290: ldr x28, [x28, _constab@GOTPAGEOFF] Lloh291: adrp x3, _compare_constab@PAGE Lloh292: add x3, x3, _compare_constab@PAGEOFF mov x0, x28 mov w2, #16 bl _qsort Lloh293: adrp x0, l_.str.122@PAGE Lloh294: add x0, x0, l_.str.122@PAGEOFF mov w1, #17 mov w2, #1 mov x3, x19 bl _fwrite ldr w8, [x20] cmp w8, #1 b.lt LBB6_56 ; %bb.34: Lloh295: adrp x22, l_.str.127@PAGE Lloh296: add x22, x22, l_.str.127@PAGEOFF Lloh297: adrp x23, l_.str.129@PAGE Lloh298: add x23, x23, l_.str.129@PAGEOFF Lloh299: adrp x21, lJTI6_0@PAGE Lloh300: add x21, x21, lJTI6_0@PAGEOFF Lloh301: adrp x25, l_.str.124@PAGE Lloh302: add x25, x25, l_.str.124@PAGEOFF Lloh303: adrp x26, l_.str.125@PAGE Lloh304: add x26, x26, l_.str.125@PAGEOFF Lloh305: adrp x27, l_.str.126@PAGE Lloh306: add x27, x27, l_.str.126@PAGEOFF mov x20, x28 b LBB6_37 LBB6_35: ; in Loop: Header=BB6_37 Depth=1 Lloh307: adrp x0, l_.str.131@PAGE Lloh308: add x0, x0, l_.str.131@PAGEOFF mov w1, #2 mov w2, #1 mov x3, x19 bl _fwrite Lloh309: adrp x8, _nconst@GOTPAGE Lloh310: ldr x8, [x8, _nconst@GOTPAGEOFF] Lloh311: ldr w8, [x8] LBB6_36: ; in Loop: Header=BB6_37 Depth=1 add x20, x20, #16 add x9, x28, w8, sxtw #4 cmp x20, x9 b.hs LBB6_56 LBB6_37: ; =>This Loop Header: Depth=1 ; Child Loop BB6_43 Depth 2 ldr w9, [x20, #12] cmp x20, x28 b.ls LBB6_39 ; %bb.38: ; in Loop: Header=BB6_37 Depth=1 ldp w11, w10, [x20, #-8] add w10, w11, w10 cmp w9, w10 b.lt LBB6_36 LBB6_39: ; in Loop: Header=BB6_37 Depth=1 str x9, [sp] mov x0, x19 Lloh312: adrp x1, l_.str.123@PAGE Lloh313: add x1, x1, l_.str.123@PAGEOFF bl _fprintf ldr w8, [x20, #8] cmp w8, #1 b.lt LBB6_35 ; %bb.40: ; in Loop: Header=BB6_37 Depth=1 ldr x24, [x20] add x8, x24, x8 b LBB6_43 LBB6_41: ; in Loop: Header=BB6_43 Depth=2 ; kill: def $w0 killed $w0 killed $x0 mov x1, x19 bl _fputc LBB6_42: ; in Loop: Header=BB6_43 Depth=2 add x24, x24, #1 ldr x8, [x20] ldrsw x9, [x20, #8] add x8, x8, x9 cmp x24, x8 b.hs LBB6_35 LBB6_43: ; Parent Loop BB6_37 Depth=1 ; => This Inner Loop Header: Depth=2 ldrsb w0, [x24] cmp w0, #34 b.hi LBB6_47 ; %bb.44: ; in Loop: Header=BB6_43 Depth=2 adr x9, LBB6_45 ldrb w10, [x21, x0] add x9, x9, x10, lsl #2 br x9 LBB6_45: ; in Loop: Header=BB6_43 Depth=2 sub x8, x8, #1 cmp x24, x8 b.hs LBB6_42 ; %bb.46: ; in Loop: Header=BB6_43 Depth=2 Lloh314: adrp x0, l_.str.128@PAGE Lloh315: add x0, x0, l_.str.128@PAGEOFF mov w1, #4 b LBB6_55 LBB6_47: ; in Loop: Header=BB6_43 Depth=2 cmp w0, #92 b.ne LBB6_49 ; %bb.48: ; in Loop: Header=BB6_43 Depth=2 mov x0, x22 b LBB6_54 LBB6_49: ; in Loop: Header=BB6_43 Depth=2 sub w8, w0, #127 and w8, w8, #0xff cmp w8, #160 b.hi LBB6_41 ; %bb.50: ; in Loop: Header=BB6_43 Depth=2 ; kill: def $w0 killed $w0 killed $x0 def $x0 str x0, [sp] mov x0, x19 mov x1, x23 bl _fprintf b LBB6_42 LBB6_51: ; in Loop: Header=BB6_43 Depth=2 mov x0, x25 b LBB6_54 LBB6_52: ; in Loop: Header=BB6_43 Depth=2 mov x0, x26 b LBB6_54 LBB6_53: ; in Loop: Header=BB6_43 Depth=2 mov x0, x27 LBB6_54: ; in Loop: Header=BB6_43 Depth=2 mov w1, #2 LBB6_55: ; in Loop: Header=BB6_43 Depth=2 mov w2, #1 mov x3, x19 bl _fwrite b LBB6_42 LBB6_56: Lloh316: adrp x0, l_.str.132@PAGE Lloh317: add x0, x0, l_.str.132@PAGEOFF mov w1, #7 mov w2, #1 mov x3, x19 ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 b _fwrite LBB6_57: Lloh318: adrp x0, l_.str.60@PAGE Lloh319: add x0, x0, l_.str.60@PAGEOFF bl _uerror LBB6_58: str x20, [sp] Lloh320: adrp x0, l_.str.117@PAGE Lloh321: add x0, x0, l_.str.117@PAGEOFF bl _uerror .loh AdrpLdrGotLdr Lloh257, Lloh258, Lloh259 .loh AdrpAdd Lloh260, Lloh261 .loh AdrpLdrGotLdr Lloh262, Lloh263, Lloh264 .loh AdrpLdrGot Lloh267, Lloh268 .loh AdrpLdrGot Lloh265, Lloh266 .loh AdrpAdd Lloh275, Lloh276 .loh AdrpAdd Lloh273, Lloh274 .loh AdrpLdrGot Lloh271, Lloh272 .loh AdrpLdrGot Lloh269, Lloh270 .loh AdrpAdd Lloh277, Lloh278 .loh AdrpAdd Lloh279, Lloh280 .loh AdrpAdd Lloh281, Lloh282 .loh AdrpLdrGot Lloh283, Lloh284 .loh AdrpAdd Lloh293, Lloh294 .loh AdrpAdd Lloh291, Lloh292 .loh AdrpLdrGot Lloh289, Lloh290 .loh AdrpLdrGot Lloh287, Lloh288 .loh AdrpAdd Lloh285, Lloh286 .loh AdrpAdd Lloh305, Lloh306 .loh AdrpAdd Lloh303, Lloh304 .loh AdrpAdd Lloh301, Lloh302 .loh AdrpAdd Lloh299, Lloh300 .loh AdrpAdd Lloh297, Lloh298 .loh AdrpAdd Lloh295, Lloh296 .loh AdrpLdrGotLdr Lloh309, Lloh310, Lloh311 .loh AdrpAdd Lloh307, Lloh308 .loh AdrpAdd Lloh312, Lloh313 .loh AdrpAdd Lloh314, Lloh315 .loh AdrpAdd Lloh316, Lloh317 .loh AdrpAdd Lloh318, Lloh319 .loh AdrpAdd Lloh320, Lloh321 .cfi_endproc .section __TEXT,__const lJTI6_0: .byte (LBB6_45-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_51-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_52-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_49-LBB6_45)>>2 .byte (LBB6_53-LBB6_45)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _output ; -- Begin function output .p2align 2 _output: ; @output .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, #0 Lloh322: adrp x20, _tbusy@GOTPAGE Lloh323: ldr x20, [x20, _tbusy@GOTPAGEOFF] Lloh324: adrp x21, _text@GOTPAGE Lloh325: ldr x21, [x21, _text@GOTPAGEOFF] b LBB7_2 LBB7_1: ; in Loop: Header=BB7_2 Depth=1 add x19, x19, #1 cmp x19, #256 b.eq LBB7_4 LBB7_2: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x20, x19] cbz w8, LBB7_1 ; %bb.3: ; in Loop: Header=BB7_2 Depth=1 ldrh w1, [x21, x19, lsl #1] mov x0, x19 bl _outhex b LBB7_1 LBB7_4: adrp x20, _outptr@PAGE ldr x8, [x20, _outptr@PAGEOFF] Lloh326: adrp x21, _outbuf@GOTPAGE Lloh327: ldr x21, [x21, _outbuf@GOTPAGEOFF] cmp x8, x21 b.ls LBB7_10 ; %bb.5: sub w8, w8, w21 sub w8, w8, #4 strb w8, [x21] mov w0, #58 bl _putchar ldr x8, [x20, _outptr@PAGEOFF] cmp x8, x21 b.ls LBB7_8 ; %bb.6: mov w22, #0 Lloh328: adrp x23, _outbuf@GOTPAGE Lloh329: ldr x23, [x23, _outbuf@GOTPAGEOFF] Lloh330: adrp x19, l_.str.92@PAGE Lloh331: add x19, x19, l_.str.92@PAGEOFF LBB7_7: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x23] str x8, [sp] mov x0, x19 bl _printf ldrb w8, [x23], #1 add w8, w22, w8 and w22, w8, #0xff ldr x8, [x20, _outptr@PAGEOFF] cmp x23, x8 b.lo LBB7_7 b LBB7_9 LBB7_8: mov w22, #0 LBB7_9: neg w8, w22 and w8, w8, #0xff str x8, [sp] Lloh332: adrp x0, l_.str.93@PAGE Lloh333: add x0, x0, l_.str.93@PAGEOFF bl _printf str x21, [x20, _outptr@PAGEOFF] LBB7_10: Lloh334: adrp x8, _unprotect@PAGE Lloh335: ldr w8, [x8, _unprotect@PAGEOFF] mov w9, #4072 mov w10, #4064 cmp w8, #0 csel w8, w10, w9, eq Lloh336: adrp x9, _wdog@PAGE Lloh337: ldr w9, [x9, _wdog@PAGEOFF] orr w10, w8, #0x4 cmp w9, #0 csel w8, w8, w10, eq Lloh338: adrp x9, _mclre@PAGE Lloh339: ldr w9, [x9, _mclre@PAGEOFF] orr w10, w8, #0x10 cmp w9, #0 csel w8, w8, w10, eq Lloh340: adrp x9, _osc@PAGE Lloh341: ldr w9, [x9, _osc@PAGEOFF] orr w10, w8, #0x3 orr w11, w8, #0x2 orr w12, w8, #0x1 cmp w9, #2 csel w8, w8, w12, ne cmp w9, #3 csel w8, w11, w8, eq cmp w9, #4 csel w1, w10, w8, eq mov w0, #4095 bl _outhex ldrb w8, [x20, _outptr@PAGEOFF] sub w8, w8, w21 sub w8, w8, #4 strb w8, [x21] mov w0, #58 bl _putchar ldr x8, [x20, _outptr@PAGEOFF] cmp x8, x21 b.ls LBB7_13 ; %bb.11: mov w22, #0 Lloh342: adrp x23, _outbuf@GOTPAGE Lloh343: ldr x23, [x23, _outbuf@GOTPAGEOFF] Lloh344: adrp x19, l_.str.92@PAGE Lloh345: add x19, x19, l_.str.92@PAGEOFF LBB7_12: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x23] str x8, [sp] mov x0, x19 bl _printf ldrb w8, [x23], #1 add w8, w22, w8 and w22, w8, #0xff ldr x8, [x20, _outptr@PAGEOFF] cmp x23, x8 b.lo LBB7_12 b LBB7_14 LBB7_13: mov w22, #0 LBB7_14: neg w8, w22 and w8, w8, #0xff str x8, [sp] Lloh346: adrp x0, l_.str.93@PAGE Lloh347: add x0, x0, l_.str.93@PAGEOFF bl _printf str x21, [x20, _outptr@PAGEOFF] Lloh348: adrp x0, l_str.141@PAGE Lloh349: add x0, x0, l_str.141@PAGEOFF ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 b _puts .loh AdrpLdrGot Lloh324, Lloh325 .loh AdrpLdrGot Lloh322, Lloh323 .loh AdrpLdrGot Lloh326, Lloh327 .loh AdrpAdd Lloh330, Lloh331 .loh AdrpLdrGot Lloh328, Lloh329 .loh AdrpAdd Lloh332, Lloh333 .loh AdrpLdr Lloh340, Lloh341 .loh AdrpLdr Lloh338, Lloh339 .loh AdrpLdr Lloh336, Lloh337 .loh AdrpLdr Lloh334, Lloh335 .loh AdrpAdd Lloh344, Lloh345 .loh AdrpLdrGot Lloh342, Lloh343 .loh AdrpAdd Lloh348, Lloh349 .loh AdrpAdd Lloh346, Lloh347 .cfi_endproc ; -- End function .globl _lookcmd ; -- Begin function lookcmd .p2align 2 _lookcmd: ; @lookcmd .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh350: adrp x8, _table@PAGE+8 Lloh351: ldr x0, [x8, _table@PAGEOFF+8] cbz x0, LBB8_4 ; %bb.1: mov w19, #0 Lloh352: adrp x21, _table@PAGE+32 Lloh353: add x21, x21, _table@PAGEOFF+32 Lloh354: adrp x20, _name@GOTPAGE Lloh355: ldr x20, [x20, _name@GOTPAGEOFF] LBB8_2: ; =>This Inner Loop Header: Depth=1 mov x1, x20 bl _strcmp cbz w0, LBB8_5 ; %bb.3: ; in Loop: Header=BB8_2 Depth=1 ldr x0, [x21], #24 add w19, w19, #1 cbnz x0, LBB8_2 LBB8_4: mov w19, #-1 LBB8_5: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdr Lloh350, Lloh351 .loh AdrpLdrGot Lloh354, Lloh355 .loh AdrpAdd Lloh352, Lloh353 .cfi_endproc ; -- End function .globl _hexdig ; -- Begin function hexdig .p2align 2 _hexdig: ; @hexdig .cfi_startproc ; %bb.0: mov w8, #-87 mov w9, #-55 cmp w0, #71 csel w8, w9, w8, lo mov w9, #-48 cmp w0, #58 csel w8, w9, w8, lt add w0, w8, w0 ret .cfi_endproc ; -- End function .globl _getnum ; -- Begin function getnum .p2align 2 _getnum: ; @getnum .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh356: adrp x19, _intval@GOTPAGE Lloh357: ldr x19, [x19, _intval@GOTPAGEOFF] str wzr, [x19] cmp w0, #48 b.ne LBB10_5 ; %bb.1: bl _getchar and w8, w0, #0xffffffdf cmp w8, #88 b.eq LBB10_10 ; %bb.2: cmp w8, #66 b.ne LBB10_13 LBB10_3: ; =>This Inner Loop Header: Depth=1 bl _getchar and w8, w0, #0xfffffffe cmp w8, #48 b.ne LBB10_18 ; %bb.4: ; in Loop: Header=BB10_3 Depth=1 ldr w8, [x19] add w8, w0, w8, lsl #1 sub w8, w8, #48 str w8, [x19] b LBB10_3 LBB10_5: tbnz w0, #31, LBB10_7 ; %bb.6: Lloh358: adrp x8, ___stdinp@GOTPAGE Lloh359: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh360: ldr x1, [x8] bl _ungetc LBB10_7: bl _getchar and w8, w0, #0xff Lloh361: adrp x20, _ctype@PAGE Lloh362: add x20, x20, _ctype@PAGEOFF ldrh w8, [x20, w8, uxtw #1] tbz w8, #2, LBB10_18 ; %bb.8: mov w21, #10 mov w22, #-87 mov w23, #-55 mov w24, #-48 LBB10_9: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19] cmp w0, #71 csel w9, w23, w22, lo cmp w0, #58 csel w9, w24, w9, lt add w9, w9, w0 madd w8, w8, w21, w9 str w8, [x19] bl _getchar and w8, w0, #0xff ldrh w8, [x20, w8, uxtw #1] tbnz w8, #2, LBB10_9 b LBB10_18 LBB10_10: bl _getchar and w8, w0, #0xff Lloh363: adrp x20, _ctype@PAGE Lloh364: add x20, x20, _ctype@PAGEOFF ldrh w8, [x20, w8, uxtw #1] tbz w8, #0, LBB10_18 ; %bb.11: mov w21, #-87 mov w22, #-55 mov w23, #-48 LBB10_12: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19] cmp w0, #71 csel w9, w22, w21, lo cmp w0, #58 csel w9, w23, w9, lt add w9, w9, w0 add w8, w9, w8, lsl #4 str w8, [x19] bl _getchar and w8, w0, #0xff ldrh w8, [x20, w8, uxtw #1] tbnz w8, #0, LBB10_12 b LBB10_18 LBB10_13: tbnz w0, #31, LBB10_15 ; %bb.14: Lloh365: adrp x8, ___stdinp@GOTPAGE Lloh366: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh367: ldr x1, [x8] bl _ungetc LBB10_15: bl _getchar and w8, w0, #0xff Lloh368: adrp x20, _ctype@PAGE Lloh369: add x20, x20, _ctype@PAGEOFF ldrh w8, [x20, w8, uxtw #1] tbz w8, #1, LBB10_18 ; %bb.16: mov w21, #-87 mov w22, #-55 mov w23, #-48 LBB10_17: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19] cmp w0, #71 csel w9, w22, w21, lo cmp w0, #58 csel w9, w23, w9, lt add w9, w9, w0 add w8, w9, w8, lsl #3 str w8, [x19] bl _getchar and w8, w0, #0xff ldrh w8, [x20, w8, uxtw #1] tbnz w8, #1, LBB10_17 LBB10_18: tbnz w0, #31, LBB10_20 ; %bb.19: Lloh370: adrp x8, ___stdinp@GOTPAGE Lloh371: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh372: ldr x1, [x8] ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload b _ungetc LBB10_20: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh356, Lloh357 .loh AdrpLdrGotLdr Lloh358, Lloh359, Lloh360 .loh AdrpAdd Lloh361, Lloh362 .loh AdrpAdd Lloh363, Lloh364 .loh AdrpLdrGotLdr Lloh365, Lloh366, Lloh367 .loh AdrpAdd Lloh368, Lloh369 .loh AdrpLdrGotLdr Lloh370, Lloh371, Lloh372 .cfi_endproc ; -- End function .globl _getname ; -- Begin function getname .p2align 2 _getname: ; @getname .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh373: adrp x20, _name@GOTPAGE Lloh374: ldr x20, [x20, _name@GOTPAGEOFF] cmp w0, #33 b.lt LBB11_7 ; %bb.1: cmp w0, #58 b.eq LBB11_7 ; %bb.2: mov x19, x1 Lloh375: adrp x20, _name@GOTPAGE Lloh376: ldr x20, [x20, _name@GOTPAGEOFF] Lloh377: adrp x21, _ctype@PAGE Lloh378: add x21, x21, _ctype@PAGEOFF LBB11_3: ; =>This Inner Loop Header: Depth=1 cbnz w19, LBB11_5 ; %bb.4: ; in Loop: Header=BB11_3 Depth=1 and w8, w0, #0xff ldrh w8, [x21, w8, uxtw #1] tst w8, #0xc b.eq LBB11_7 LBB11_5: ; in Loop: Header=BB11_3 Depth=1 strb w0, [x20], #1 bl _getchar cmp w0, #33 b.lt LBB11_7 ; %bb.6: ; in Loop: Header=BB11_3 Depth=1 cmp w0, #58 b.ne LBB11_3 LBB11_7: strb wzr, [x20] Lloh379: adrp x8, ___stdinp@GOTPAGE Lloh380: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh381: ldr x1, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _ungetc .loh AdrpLdrGot Lloh373, Lloh374 .loh AdrpAdd Lloh377, Lloh378 .loh AdrpLdrGot Lloh375, Lloh376 .loh AdrpLdrGotLdr Lloh379, Lloh380, Lloh381 .cfi_endproc ; -- End function .globl _getlex ; -- Begin function getlex .p2align 2 _getlex: ; @getlex .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 Lloh382: adrp x8, _blexflag@GOTPAGE Lloh383: ldr x8, [x8, _blexflag@GOTPAGEOFF] ldr w9, [x8] cbz w9, LBB12_2 ; %bb.1: Lloh384: adrp x9, _blextype@GOTPAGE Lloh385: ldr x9, [x9, _blextype@GOTPAGEOFF] str wzr, [x8] Lloh386: ldr w8, [x9] str w8, [x19] Lloh387: adrp x8, _backlex@GOTPAGE Lloh388: ldr x8, [x8, _backlex@GOTPAGEOFF] Lloh389: ldr w0, [x8] b LBB12_49 LBB12_2: mov x20, x1 Lloh390: adrp x21, lJTI12_0@PAGE Lloh391: add x21, x21, lJTI12_0@PAGEOFF LBB12_3: ; =>This Inner Loop Header: Depth=1 bl _getchar add w8, w0, #1 cmp w8, #127 b.hi LBB12_10 ; %bb.4: ; in Loop: Header=BB12_3 Depth=1 adr x9, LBB12_3 ldrb w10, [x21, x8] add x9, x9, x10, lsl #2 br x9 LBB12_5: bl _getnum mov w0, #2 b LBB12_49 LBB12_6: bl _getchar cmp w0, #92 b.eq LBB12_26 ; %bb.7: mov x19, x0 cmp w0, #39 b.eq LBB12_42 LBB12_8: bl _getchar cmp w0, #39 b.ne LBB12_42 ; %bb.9: Lloh392: adrp x8, _intval@GOTPAGE Lloh393: ldr x8, [x8, _intval@GOTPAGEOFF] Lloh394: str w19, [x8] mov w0, #2 b LBB12_49 LBB12_10: and w8, w0, #0xff Lloh395: adrp x9, _ctype@PAGE Lloh396: add x9, x9, _ctype@PAGEOFF ldrh w9, [x9, w8, uxtw #1] tbz w9, #3, LBB12_43 ; %bb.11: mov x1, x20 bl _getname Lloh397: adrp x8, _name@GOTPAGE Lloh398: ldr x8, [x8, _name@GOTPAGEOFF] ldrb w9, [x8] cmp w9, #46 b.ne LBB12_18 ; %bb.12: ldrb w9, [x8, #1] cbz w9, LBB12_30 ; %bb.13: ldr w9, [x8] mov w10, #25902 movk w10, #30065, lsl #16 eor w9, w9, w10 ldrb w10, [x8, #4] orr w9, w9, w10 cbz w9, LBB12_31 ; %bb.14: ldr w9, [x8] mov w10, #25646 movk w10, #29793, lsl #16 eor w9, w9, w10 ldrh w10, [x8, #4] mov w11, #97 eor w10, w10, w11 orr w9, w9, w10 cbz w9, LBB12_32 ; %bb.15: ldr w9, [x8] mov w10, #28462 movk w10, #26482, lsl #16 eor w9, w9, w10 ldrb w10, [x8, #4] orr w9, w9, w10 cbz w9, LBB12_39 ; %bb.16: ldr w9, [x8] mov w10, #25390 movk w10, #28271, lsl #16 eor w9, w9, w10 ldur w10, [x8, #3] mov w11, #29550 movk w11, #116, lsl #16 eor w10, w10, w11 orr w9, w9, w10 cbz w9, LBB12_40 ; %bb.17: ldr x8, [x8] mov x9, #25390 movk x9, #28271, lsl #16 movk x9, #26982, lsl #32 movk x9, #103, lsl #48 cmp x8, x9 b.eq LBB12_41 LBB12_18: bl _lookcmd str w0, [x19] cmn w0, #1 b.eq LBB12_29 ; %bb.19: mov w0, #4 b LBB12_49 LBB12_20: bl _getchar cmp w0, #60 b.ne LBB12_24 ; %bb.21: mov w0, #10 b LBB12_49 LBB12_22: bl _getchar cmp w0, #62 b.ne LBB12_25 ; %bb.23: mov w0, #11 b LBB12_49 LBB12_24: Lloh399: adrp x8, ___stdinp@GOTPAGE Lloh400: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh401: ldr x1, [x8] bl _ungetc mov w0, #60 b LBB12_49 LBB12_25: Lloh402: adrp x8, ___stdinp@GOTPAGE Lloh403: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh404: ldr x1, [x8] bl _ungetc mov w0, #62 b LBB12_49 LBB12_26: bl _getchar sub w8, w0, #39 cmp w8, #79 b.hi LBB12_42 ; %bb.27: mov x19, x0 Lloh405: adrp x9, lJTI12_1@PAGE Lloh406: add x9, x9, lJTI12_1@PAGEOFF adr x10, LBB12_8 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB12_28: mov w19, #7 b LBB12_8 LBB12_29: bl _lookname str w0, [x19] mov w0, #3 b LBB12_49 LBB12_30: mov w0, #46 b LBB12_49 LBB12_31: mov w0, #5 b LBB12_49 LBB12_32: mov w0, #6 b LBB12_49 LBB12_33: mov w19, #8 b LBB12_8 LBB12_34: mov w19, #12 b LBB12_8 LBB12_35: mov w19, #10 b LBB12_8 LBB12_36: mov w19, #13 b LBB12_8 LBB12_37: mov w19, #9 b LBB12_8 LBB12_38: mov w19, #11 b LBB12_8 LBB12_39: mov w0, #8 b LBB12_49 LBB12_40: mov w0, #7 b LBB12_49 LBB12_41: mov w0, #9 b LBB12_49 LBB12_42: Lloh407: adrp x0, l_.str.70@PAGE Lloh408: add x0, x0, l_.str.70@PAGEOFF bl _uerror LBB12_43: str x8, [sp] Lloh409: adrp x0, l_.str.71@PAGE Lloh410: add x0, x0, l_.str.71@PAGEOFF bl _uerror LBB12_44: ; =>This Inner Loop Header: Depth=1 bl _getchar cmn w0, #1 b.eq LBB12_48 ; %bb.45: ; in Loop: Header=BB12_44 Depth=1 cmp w0, #10 b.ne LBB12_44 LBB12_46: Lloh411: adrp x20, _line@GOTPAGE Lloh412: ldr x20, [x20, _line@GOTPAGEOFF] ldr w8, [x20] add w8, w8, #1 str w8, [x20] bl _getchar cmp w0, #35 b.eq LBB12_44 ; %bb.47: Lloh413: adrp x8, ___stdinp@GOTPAGE Lloh414: ldr x8, [x8, ___stdinp@GOTPAGEOFF] Lloh415: ldr x1, [x8] bl _ungetc ldr w8, [x20] str w8, [x19] mov w0, #1 b LBB12_49 LBB12_48: mov w0, #0 LBB12_49: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGot Lloh382, Lloh383 .loh AdrpLdrGotLdr Lloh387, Lloh388, Lloh389 .loh AdrpLdrGotLdr Lloh384, Lloh385, Lloh386 .loh AdrpAdd Lloh390, Lloh391 .loh AdrpLdrGotStr Lloh392, Lloh393, Lloh394 .loh AdrpAdd Lloh395, Lloh396 .loh AdrpLdrGot Lloh397, Lloh398 .loh AdrpLdrGotLdr Lloh399, Lloh400, Lloh401 .loh AdrpLdrGotLdr Lloh402, Lloh403, Lloh404 .loh AdrpAdd Lloh405, Lloh406 .loh AdrpAdd Lloh407, Lloh408 .loh AdrpAdd Lloh409, Lloh410 .loh AdrpLdrGot Lloh411, Lloh412 .loh AdrpLdrGotLdr Lloh413, Lloh414, Lloh415 .cfi_endproc .section __TEXT,__const lJTI12_0: .byte (LBB12_48-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_3-LBB12_3)>>2 .byte (LBB12_46-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_3-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_44-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_6-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_5-LBB12_3)>>2 .byte (LBB12_5-LBB12_3)>>2 .byte (LBB12_5-LBB12_3)>>2 .byte (LBB12_5-LBB12_3)>>2 .byte (LBB12_5-LBB12_3)>>2 .byte (LBB12_5-LBB12_3)>>2 .byte (LBB12_5-LBB12_3)>>2 .byte (LBB12_5-LBB12_3)>>2 .byte (LBB12_5-LBB12_3)>>2 .byte (LBB12_5-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_44-LBB12_3)>>2 .byte (LBB12_20-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_22-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_10-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 .byte (LBB12_49-LBB12_3)>>2 lJTI12_1: .byte (LBB12_8-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_8-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_28-LBB12_8)>>2 .byte (LBB12_33-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_34-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_35-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_36-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_37-LBB12_8)>>2 .byte (LBB12_42-LBB12_8)>>2 .byte (LBB12_38-LBB12_8)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _ungetlex ; -- Begin function ungetlex .p2align 2 _ungetlex: ; @ungetlex .cfi_startproc ; %bb.0: Lloh416: adrp x8, _blexflag@GOTPAGE Lloh417: ldr x8, [x8, _blexflag@GOTPAGEOFF] mov w9, #1 Lloh418: str w9, [x8] Lloh419: adrp x8, _backlex@GOTPAGE Lloh420: ldr x8, [x8, _backlex@GOTPAGEOFF] Lloh421: str w0, [x8] Lloh422: adrp x8, _blextype@GOTPAGE Lloh423: ldr x8, [x8, _blextype@GOTPAGEOFF] Lloh424: str w1, [x8] ret .loh AdrpLdrGotStr Lloh422, Lloh423, Lloh424 .loh AdrpLdrGotStr Lloh419, Lloh420, Lloh421 .loh AdrpLdrGotStr Lloh416, Lloh417, Lloh418 .cfi_endproc ; -- End function .globl _getterm ; -- Begin function getterm .p2align 2 _getterm: ; @getterm .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 sub x0, x29, #4 mov w1, #0 bl _getlex cmp w0, #39 b.gt LBB14_5 ; %bb.1: cmp w0, #2 b.eq LBB14_8 ; %bb.2: cmp w0, #3 b.ne LBB14_15 ; %bb.3: Lloh425: adrp x9, _stab@GOTPAGE Lloh426: ldr x9, [x9, _stab@GOTPAGEOFF] ldur w8, [x29, #-4] mov w10, #24 smaddl x10, w8, w10, x9 ldr w0, [x10, #12] orr w10, w0, #0x4 cmp w10, #4 b.ne LBB14_12 ; %bb.4: Lloh427: adrp x9, _intval@GOTPAGE Lloh428: ldr x9, [x9, _intval@GOTPAGEOFF] Lloh429: str wzr, [x9] Lloh430: adrp x9, _extref@GOTPAGE Lloh431: ldr x9, [x9, _extref@GOTPAGEOFF] Lloh432: str w8, [x9] b LBB14_14 LBB14_5: cmp w0, #40 b.eq LBB14_10 ; %bb.6: cmp w0, #46 b.ne LBB14_15 ; %bb.7: Lloh433: adrp x8, _count@GOTPAGE Lloh434: ldr x8, [x8, _count@GOTPAGEOFF] Lloh435: ldr w8, [x8] Lloh436: adrp x9, _intval@GOTPAGE Lloh437: ldr x9, [x9, _intval@GOTPAGEOFF] Lloh438: str w8, [x9] mov w0, #3 b LBB14_14 LBB14_8: bl _getchar mov x8, x0 sub w9, w0, #66 ror w9, w9, #2 cmp w9, #9 mov w10, #1 lsl w9, w10, w9 mov w10, #771 and w9, w9, w10 ccmp w9, #0, #4, ls b.eq LBB14_13 ; %bb.9: mov w0, #0 and w8, w8, #0xffffffdf Lloh439: adrp x9, _intval@GOTPAGE Lloh440: ldr x9, [x9, _intval@GOTPAGEOFF] ldr w10, [x9] cmp w8, #66 cneg w8, w10, eq Lloh441: adrp x10, _extref@GOTPAGE Lloh442: ldr x10, [x10, _extref@GOTPAGEOFF] Lloh443: str w8, [x10] Lloh444: adrp x8, _extflag@GOTPAGE Lloh445: ldr x8, [x8, _extflag@GOTPAGEOFF] ldr w10, [x8] orr w10, w10, #0x2 str w10, [x8] str wzr, [x9] b LBB14_14 LBB14_10: add x0, sp, #8 bl _getexpr sub x0, x29, #4 mov w1, #0 bl _getlex cmp w0, #41 b.ne LBB14_16 ; %bb.11: ldr w0, [sp, #8] b LBB14_14 LBB14_12: sxtw x8, w8 mov w10, #24 madd x8, x8, x10, x9 ldr w8, [x8, #16] Lloh446: adrp x9, _intval@GOTPAGE Lloh447: ldr x9, [x9, _intval@GOTPAGEOFF] Lloh448: str w8, [x9] b LBB14_14 LBB14_13: Lloh449: adrp x9, ___stdinp@GOTPAGE Lloh450: ldr x9, [x9, ___stdinp@GOTPAGEOFF] Lloh451: ldr x1, [x9] mov x0, x8 bl _ungetc mov w0, #1 LBB14_14: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret LBB14_15: Lloh452: adrp x0, l_.str.77@PAGE Lloh453: add x0, x0, l_.str.77@PAGEOFF bl _uerror LBB14_16: Lloh454: adrp x0, l_.str.78@PAGE Lloh455: add x0, x0, l_.str.78@PAGEOFF bl _uerror .loh AdrpLdrGot Lloh425, Lloh426 .loh AdrpLdrGotStr Lloh430, Lloh431, Lloh432 .loh AdrpLdrGotStr Lloh427, Lloh428, Lloh429 .loh AdrpLdrGotStr Lloh436, Lloh437, Lloh438 .loh AdrpLdrGotLdr Lloh433, Lloh434, Lloh435 .loh AdrpLdrGot Lloh444, Lloh445 .loh AdrpLdrGotStr Lloh441, Lloh442, Lloh443 .loh AdrpLdrGot Lloh439, Lloh440 .loh AdrpLdrGotStr Lloh446, Lloh447, Lloh448 .loh AdrpLdrGotLdr Lloh449, Lloh450, Lloh451 .loh AdrpAdd Lloh452, Lloh453 .loh AdrpAdd Lloh454, Lloh455 .cfi_endproc ; -- End function .globl _getexpr ; -- Begin function getexpr .p2align 2 _getexpr: ; @getexpr .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x0 add x0, sp, #12 mov w1, #0 bl _getlex sub w9, w0, #2 cmp w9, #62 mov w8, #1 lsl x9, x8, x9 mov x10, #3 movk x10, #4160, lsl #32 movk x10, #16384, lsl #48 and x9, x9, x10 ccmp x9, #0, #4, ls Lloh456: adrp x21, _intval@GOTPAGE Lloh457: ldr x21, [x21, _intval@GOTPAGEOFF] Lloh458: adrp x22, _blexflag@GOTPAGE Lloh459: ldr x22, [x22, _blexflag@GOTPAGEOFF] Lloh460: adrp x23, _backlex@GOTPAGE Lloh461: ldr x23, [x23, _backlex@GOTPAGEOFF] Lloh462: adrp x24, _blextype@GOTPAGE Lloh463: ldr x24, [x24, _blextype@GOTPAGEOFF] b.eq LBB15_35 ; %bb.1: ldr w9, [sp, #12] str w8, [x22] str w0, [x23] str w9, [x24] bl _getterm str w0, [x19] ldr w20, [x21] LBB15_2: Lloh464: adrp x25, lJTI15_0@PAGE Lloh465: add x25, x25, lJTI15_0@PAGEOFF b LBB15_5 LBB15_3: ; in Loop: Header=BB15_5 Depth=1 str w0, [x19] LBB15_4: ; in Loop: Header=BB15_5 Depth=1 ldr w8, [x21] add w20, w8, w20 LBB15_5: ; =>This Inner Loop Header: Depth=1 add x0, sp, #12 mov w1, #0 bl _getlex sub w8, w0, #10 cmp w8, #84 b.hi LBB15_9 ; %bb.6: ; in Loop: Header=BB15_5 Depth=1 adr x9, LBB15_7 ldrb w10, [x25, x8] add x9, x9, x10, lsl #2 br x9 LBB15_7: ; in Loop: Header=BB15_5 Depth=1 bl _getterm ldr w8, [x19] cmp w8, #1 ccmp w0, #1, #0, eq b.ne LBB15_36 ; %bb.8: ; in Loop: Header=BB15_5 Depth=1 ldr w8, [x21] lsl w20, w20, w8 b LBB15_5 LBB15_9: ; in Loop: Header=BB15_5 Depth=1 cmp w0, #124 b.eq LBB15_32 ; %bb.10: ; in Loop: Header=BB15_5 Depth=1 cmp w0, #126 b.ne LBB15_34 ; %bb.11: ; in Loop: Header=BB15_5 Depth=1 bl _getterm ldr w8, [x19] cmp w8, #1 b.ne LBB15_36 ; %bb.12: ; in Loop: Header=BB15_5 Depth=1 cmp w0, #1 b.ne LBB15_36 ; %bb.13: ; in Loop: Header=BB15_5 Depth=1 ldr w8, [x21] eon w20, w20, w8 b LBB15_5 LBB15_14: ; in Loop: Header=BB15_5 Depth=1 bl _getterm ldr w8, [x19] cmp w8, #1 ccmp w0, #1, #0, eq b.ne LBB15_36 ; %bb.15: ; in Loop: Header=BB15_5 Depth=1 ldr w8, [x21] asr w20, w20, w8 b LBB15_5 LBB15_16: ; in Loop: Header=BB15_5 Depth=1 bl _getterm ldr w8, [x19] cmp w8, #1 ccmp w0, #1, #0, eq b.ne LBB15_36 ; %bb.17: ; in Loop: Header=BB15_5 Depth=1 ldr w8, [x21] cbz w8, LBB15_37 ; %bb.18: ; in Loop: Header=BB15_5 Depth=1 sdiv w9, w20, w8 msub w20, w9, w8, w20 b LBB15_5 LBB15_19: ; in Loop: Header=BB15_5 Depth=1 bl _getterm ldr w8, [x19] cmp w8, #1 ccmp w0, #1, #0, eq b.ne LBB15_36 ; %bb.20: ; in Loop: Header=BB15_5 Depth=1 ldr w8, [x21] and w20, w8, w20 b LBB15_5 LBB15_21: ; in Loop: Header=BB15_5 Depth=1 bl _getterm ldr w8, [x19] cmp w8, #1 ccmp w0, #1, #0, eq b.ne LBB15_36 ; %bb.22: ; in Loop: Header=BB15_5 Depth=1 ldr w8, [x21] mul w20, w8, w20 b LBB15_5 LBB15_23: ; in Loop: Header=BB15_5 Depth=1 bl _getterm ldr w8, [x19] cmp w8, #1 b.eq LBB15_3 ; %bb.24: ; in Loop: Header=BB15_5 Depth=1 cmp w0, #1 b.eq LBB15_4 b LBB15_36 LBB15_25: ; in Loop: Header=BB15_5 Depth=1 bl _getterm cmp w0, #1 b.ne LBB15_36 ; %bb.26: ; in Loop: Header=BB15_5 Depth=1 ldr w8, [x21] sub w20, w20, w8 b LBB15_5 LBB15_27: ; in Loop: Header=BB15_5 Depth=1 bl _getterm ldr w8, [x19] cmp w8, #1 ccmp w0, #1, #0, eq b.ne LBB15_36 ; %bb.28: ; in Loop: Header=BB15_5 Depth=1 ldr w8, [x21] cbz w8, LBB15_38 ; %bb.29: ; in Loop: Header=BB15_5 Depth=1 sdiv w20, w20, w8 b LBB15_5 LBB15_30: ; in Loop: Header=BB15_5 Depth=1 bl _getterm ldr w8, [x19] cmp w8, #1 ccmp w0, #1, #0, eq b.ne LBB15_36 ; %bb.31: ; in Loop: Header=BB15_5 Depth=1 ldr w8, [x21] eor w20, w8, w20 b LBB15_5 LBB15_32: ; in Loop: Header=BB15_5 Depth=1 bl _getterm ldr w8, [x19] cmp w8, #1 ccmp w0, #1, #0, eq b.ne LBB15_36 ; %bb.33: ; in Loop: Header=BB15_5 Depth=1 ldr w8, [x21] orr w20, w8, w20 b LBB15_5 LBB15_34: ldr w8, [sp, #12] mov w9, #1 str w9, [x22] str w0, [x23] str w8, [x24] str w20, [x21] mov x0, x20 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret LBB15_35: mov w20, #0 ldr w9, [sp, #12] str w8, [x22] str w0, [x23] str w9, [x24] str w8, [x19] b LBB15_2 LBB15_36: Lloh466: adrp x0, l_.str.79@PAGE Lloh467: add x0, x0, l_.str.79@PAGEOFF bl _uerror LBB15_37: Lloh468: adrp x0, l_.str.81@PAGE Lloh469: add x0, x0, l_.str.81@PAGEOFF bl _uerror LBB15_38: Lloh470: adrp x0, l_.str.80@PAGE Lloh471: add x0, x0, l_.str.80@PAGEOFF bl _uerror .loh AdrpLdrGot Lloh462, Lloh463 .loh AdrpLdrGot Lloh460, Lloh461 .loh AdrpLdrGot Lloh458, Lloh459 .loh AdrpLdrGot Lloh456, Lloh457 .loh AdrpAdd Lloh464, Lloh465 .loh AdrpAdd Lloh466, Lloh467 .loh AdrpAdd Lloh468, Lloh469 .loh AdrpAdd Lloh470, Lloh471 .cfi_endproc .section __TEXT,__const lJTI15_0: .byte (LBB15_7-LBB15_7)>>2 .byte (LBB15_14-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_16-LBB15_7)>>2 .byte (LBB15_19-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_21-LBB15_7)>>2 .byte (LBB15_23-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_25-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_27-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_34-LBB15_7)>>2 .byte (LBB15_30-LBB15_7)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _makecmd ; -- Begin function makecmd .p2align 2 _makecmd: ; @makecmd .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x19, x1 mov x20, x0 Lloh472: adrp x23, _extflag@GOTPAGE Lloh473: ldr x23, [x23, _extflag@GOTPAGEOFF] str wzr, [x23] Lloh474: adrp x21, _reached@GOTPAGE Lloh475: ldr x21, [x21, _reached@GOTPAGEOFF] ldr w8, [x21] cbnz w8, LBB16_4 ; %bb.1: Lloh476: adrp x8, _count@GOTPAGE Lloh477: ldr x8, [x8, _count@GOTPAGEOFF] Lloh478: ldr w8, [x8] ror w8, w8, #3 cmp w8, #4 b.hi LBB16_3 ; %bb.2: mov w8, #1 str w8, [x21] b LBB16_4 LBB16_3: mov w8, #0 LBB16_4: and w9, w19, #0xffffff3f sub w9, w9, #1 Lloh479: adrp x22, _optim@GOTPAGE Lloh480: ldr x22, [x22, _optim@GOTPAGEOFF] cmp w9, #3 b.hi LBB16_22 ; %bb.5: Lloh481: adrp x10, lJTI16_0@PAGE Lloh482: add x10, x10, lJTI16_0@PAGEOFF adr x11, LBB16_6 ldrb w12, [x10, x9] add x11, x11, x12, lsl #2 br x11 LBB16_6: add x0, sp, #28 bl _getexpr ldr w8, [x21] cbz w8, LBB16_29 ; %bb.7: ldr w8, [sp, #28] tst w8, #0xfffffffb b.ne LBB16_9 ; %bb.8: Lloh483: adrp x8, _count@GOTPAGE Lloh484: ldr x8, [x8, _count@GOTPAGEOFF] Lloh485: ldr w0, [x8] Lloh486: adrp x8, _extref@GOTPAGE Lloh487: ldr x8, [x8, _extref@GOTPAGEOFF] Lloh488: ldr w1, [x8] ldr w8, [x23] orr w2, w8, #0x1 bl _addreloc LBB16_9: Lloh489: adrp x8, _intval@GOTPAGE Lloh490: ldr x8, [x8, _intval@GOTPAGEOFF] Lloh491: ldr w8, [x8] and w8, w8, #0x1ff orr w20, w8, w20 b LBB16_11 LBB16_10: cbz w8, LBB16_29 LBB16_11: Lloh492: adrp x9, _count@GOTPAGE Lloh493: ldr x9, [x9, _count@GOTPAGEOFF] ldrsw x8, [x9] add w10, w8, #1 str w10, [x9] b LBB16_18 LBB16_12: add x0, sp, #28 bl _getexpr Lloh494: adrp x24, _intval@GOTPAGE Lloh495: ldr x24, [x24, _intval@GOTPAGEOFF] ldrb w25, [x24] add x0, sp, #20 mov w1, #0 bl _getlex cmp w0, #44 b.ne LBB16_36 ; %bb.13: add x0, sp, #24 bl _getexpr ldr w8, [sp, #24] cmp w8, #1 b.ne LBB16_37 ; %bb.14: ldr w8, [x21] cbz w8, LBB16_29 ; %bb.15: orr w20, w25, w20 ldr w8, [sp, #28] Lloh496: adrp x25, _count@GOTPAGE Lloh497: ldr x25, [x25, _count@GOTPAGEOFF] tst w8, #0xfffffffb b.ne LBB16_17 ; %bb.16: ldr w0, [x25] Lloh498: adrp x8, _extref@GOTPAGE Lloh499: ldr x8, [x8, _extref@GOTPAGEOFF] Lloh500: ldr w1, [x8] ldr w2, [x23] bl _addreloc LBB16_17: ldr w8, [x24] ubfiz w8, w8, #5, #3 orr w20, w20, w8 ldrsw x8, [x25] add w9, w8, #1 str w9, [x25] LBB16_18: Lloh501: adrp x9, _text@GOTPAGE Lloh502: ldr x9, [x9, _text@GOTPAGEOFF] strh w20, [x9, x8, lsl #1] Lloh503: adrp x9, _tbusy@GOTPAGE Lloh504: ldr x9, [x9, _tbusy@GOTPAGEOFF] mov w10, #1 strb w10, [x9, x8] Lloh505: adrp x9, _debug@GOTPAGE Lloh506: ldr x9, [x9, _debug@GOTPAGEOFF] Lloh507: ldr w9, [x9] cbz w9, LBB16_21 ; %bb.19: Lloh508: adrp x9, ___stderrp@GOTPAGE Lloh509: ldr x9, [x9, ___stderrp@GOTPAGEOFF] Lloh510: ldr x0, [x9] ; kill: def $w8 killed $w8 killed $x8 def $x8 stp x8, x20, [sp] LBB16_20: Lloh511: adrp x1, l_.str.106@PAGE Lloh512: add x1, x1, l_.str.106@PAGEOFF bl _fprintf LBB16_21: Lloh513: adrp x8, _lastcmd@GOTPAGE Lloh514: ldr x8, [x8, _lastcmd@GOTPAGEOFF] Lloh515: str w20, [x8] b LBB16_31 LBB16_22: add x0, sp, #28 bl _getexpr ldr w8, [x21] cbz w8, LBB16_29 ; %bb.23: ldr w8, [sp, #28] tst w8, #0xfffffffb b.ne LBB16_25 ; %bb.24: Lloh516: adrp x8, _count@GOTPAGE Lloh517: ldr x8, [x8, _count@GOTPAGEOFF] Lloh518: ldr w0, [x8] Lloh519: adrp x8, _extref@GOTPAGE Lloh520: ldr x8, [x8, _extref@GOTPAGEOFF] Lloh521: ldr w1, [x8] ldr w2, [x23] bl _addreloc LBB16_25: Lloh522: adrp x9, _intval@GOTPAGE Lloh523: ldr x9, [x9, _intval@GOTPAGEOFF] ldrb w8, [x9] str w8, [x9] cmp w20, #32 b.ne LBB16_34 ; %bb.26: ldr w9, [x22] cbz w9, LBB16_34 ; %bb.27: Lloh524: adrp x9, _lastcmd@GOTPAGE Lloh525: ldr x9, [x9, _lastcmd@GOTPAGEOFF] Lloh526: ldr w9, [x9] orr w10, w8, #0x200 cmp w9, w10 b.ne LBB16_34 ; %bb.28: Lloh527: adrp x8, _opt_atx_xta@GOTPAGE Lloh528: ldr x8, [x8, _opt_atx_xta@GOTPAGEOFF] b LBB16_30 LBB16_29: Lloh529: adrp x8, _opt_not_reached@GOTPAGE Lloh530: ldr x8, [x8, _opt_not_reached@GOTPAGEOFF] LBB16_30: ldr w9, [x8] add w9, w9, #1 str w9, [x8] LBB16_31: ldr w9, [x22] ldr w8, [x21] cmp w9, #0 ccmp w8, #0, #4, ne b.eq LBB16_33 ; %bb.32: sub w8, w8, #1 tst w19, #0x40 mov w9, #1 cinc w9, w9, ne tst w19, #0x80 csel w8, w9, w8, eq str w8, [x21] LBB16_33: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload add sp, sp, #112 ret LBB16_34: Lloh531: adrp x10, _count@GOTPAGE Lloh532: ldr x10, [x10, _count@GOTPAGEOFF] ldrsw x9, [x10] add w11, w9, #1 str w11, [x10] orr w20, w8, w20 Lloh533: adrp x8, _text@GOTPAGE Lloh534: ldr x8, [x8, _text@GOTPAGEOFF] strh w20, [x8, x9, lsl #1] Lloh535: adrp x8, _tbusy@GOTPAGE Lloh536: ldr x8, [x8, _tbusy@GOTPAGEOFF] mov w10, #1 strb w10, [x8, x9] Lloh537: adrp x8, _debug@GOTPAGE Lloh538: ldr x8, [x8, _debug@GOTPAGEOFF] Lloh539: ldr w8, [x8] cbz w8, LBB16_21 ; %bb.35: Lloh540: adrp x8, ___stderrp@GOTPAGE Lloh541: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh542: ldr x0, [x8] ; kill: def $w9 killed $w9 killed $x9 def $x9 stp x9, x20, [sp] b LBB16_20 LBB16_36: Lloh543: adrp x0, l_.str.138@PAGE Lloh544: add x0, x0, l_.str.138@PAGEOFF bl _uerror LBB16_37: Lloh545: adrp x0, l_.str.139@PAGE Lloh546: add x0, x0, l_.str.139@PAGEOFF bl _uerror .loh AdrpLdrGot Lloh474, Lloh475 .loh AdrpLdrGot Lloh472, Lloh473 .loh AdrpLdrGotLdr Lloh476, Lloh477, Lloh478 .loh AdrpLdrGot Lloh479, Lloh480 .loh AdrpAdd Lloh481, Lloh482 .loh AdrpLdrGotLdr Lloh486, Lloh487, Lloh488 .loh AdrpLdrGotLdr Lloh483, Lloh484, Lloh485 .loh AdrpLdrGotLdr Lloh489, Lloh490, Lloh491 .loh AdrpLdrGot Lloh492, Lloh493 .loh AdrpLdrGot Lloh494, Lloh495 .loh AdrpLdrGot Lloh496, Lloh497 .loh AdrpLdrGotLdr Lloh498, Lloh499, Lloh500 .loh AdrpLdrGotLdr Lloh505, Lloh506, Lloh507 .loh AdrpLdrGot Lloh503, Lloh504 .loh AdrpLdrGot Lloh501, Lloh502 .loh AdrpLdrGotLdr Lloh508, Lloh509, Lloh510 .loh AdrpAdd Lloh511, Lloh512 .loh AdrpLdrGotStr Lloh513, Lloh514, Lloh515 .loh AdrpLdrGotLdr Lloh519, Lloh520, Lloh521 .loh AdrpLdrGotLdr Lloh516, Lloh517, Lloh518 .loh AdrpLdrGot Lloh522, Lloh523 .loh AdrpLdrGotLdr Lloh524, Lloh525, Lloh526 .loh AdrpLdrGot Lloh527, Lloh528 .loh AdrpLdrGot Lloh529, Lloh530 .loh AdrpLdrGotLdr Lloh537, Lloh538, Lloh539 .loh AdrpLdrGot Lloh535, Lloh536 .loh AdrpLdrGot Lloh533, Lloh534 .loh AdrpLdrGot Lloh531, Lloh532 .loh AdrpLdrGotLdr Lloh540, Lloh541, Lloh542 .loh AdrpAdd Lloh543, Lloh544 .loh AdrpAdd Lloh545, Lloh546 .cfi_endproc .section __TEXT,__const lJTI16_0: .byte (LBB16_10-LBB16_6)>>2 .byte (LBB16_6-LBB16_6)>>2 .byte (LBB16_6-LBB16_6)>>2 .byte (LBB16_12-LBB16_6)>>2 ; -- End function .section __TEXT,__text,regular,pure_instructions .globl _makeconst ; -- Begin function makeconst .p2align 2 _makeconst: ; @makeconst .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 sub sp, sp, #1040 Lloh547: adrp x8, ___stack_chk_guard@GOTPAGE Lloh548: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh549: ldr x8, [x8] stur x8, [x29, #-88] Lloh550: adrp x21, _nconst@GOTPAGE Lloh551: ldr x21, [x21, _nconst@GOTPAGEOFF] ldr w8, [x21] cmp w8, #255 b.gt LBB17_10 ; %bb.1: mov x19, x0 mov x20, #0 add x23, sp, #8 add x24, x23, #1024 mov x25, #4294967296 Lloh552: adrp x26, _intval@GOTPAGE Lloh553: ldr x26, [x26, _intval@GOTPAGEOFF] mov x22, #4294967296 LBB17_2: ; =>This Inner Loop Header: Depth=1 add x0, sp, #4 bl _getexpr ldr w8, [sp, #4] cmp w8, #1 b.ne LBB17_8 ; %bb.3: ; in Loop: Header=BB17_2 Depth=1 add x8, x23, x20 cmp x8, x24 b.hs LBB17_9 ; %bb.4: ; in Loop: Header=BB17_2 Depth=1 ldr w8, [x26] strb w8, [x23, x20] mov x0, sp mov w1, #0 bl _getlex add x20, x20, #1 add x22, x22, x25 cmp w0, #44 b.eq LBB17_2 ; %bb.5: ldr w8, [sp] Lloh554: adrp x9, _blexflag@GOTPAGE Lloh555: ldr x9, [x9, _blexflag@GOTPAGEOFF] mov w10, #1 Lloh556: adrp x11, _backlex@GOTPAGE Lloh557: ldr x11, [x11, _backlex@GOTPAGEOFF] Lloh558: str w10, [x9] Lloh559: str w0, [x11] Lloh560: adrp x9, _blextype@GOTPAGE Lloh561: ldr x9, [x9, _blextype@GOTPAGEOFF] Lloh562: str w8, [x9] asr x0, x22, #32 bl _malloc ldrsw x22, [x21] lsl x8, x22, #4 Lloh563: adrp x23, _constab@GOTPAGE Lloh564: ldr x23, [x23, _constab@GOTPAGEOFF] str x0, [x23, x8] cbz x0, LBB17_11 ; %bb.6: add x1, sp, #8 mov x2, x20 bl _memcpy add x8, x23, x22, lsl #4 stp w20, w19, [x8, #8] add w8, w22, #1 str w8, [x21] ldur x8, [x29, #-88] Lloh565: adrp x9, ___stack_chk_guard@GOTPAGE Lloh566: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh567: ldr x9, [x9] cmp x9, x8 b.ne LBB17_12 ; %bb.7: add sp, sp, #1040 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB17_8: Lloh568: adrp x0, l_.str.96@PAGE Lloh569: add x0, x0, l_.str.96@PAGEOFF bl _uerror LBB17_9: Lloh570: adrp x0, l_.str.97@PAGE Lloh571: add x0, x0, l_.str.97@PAGEOFF bl _uerror LBB17_10: Lloh572: adrp x0, l_.str.95@PAGE Lloh573: add x0, x0, l_.str.95@PAGEOFF bl _uerror LBB17_11: Lloh574: adrp x0, l_.str.60@PAGE Lloh575: add x0, x0, l_.str.60@PAGEOFF bl _uerror LBB17_12: bl ___stack_chk_fail .loh AdrpLdrGot Lloh550, Lloh551 .loh AdrpLdrGotLdr Lloh547, Lloh548, Lloh549 .loh AdrpLdrGot Lloh552, Lloh553 .loh AdrpLdrGot Lloh563, Lloh564 .loh AdrpLdrGotStr Lloh560, Lloh561, Lloh562 .loh AdrpLdrGotStr Lloh556, Lloh557, Lloh559 .loh AdrpLdrGotStr Lloh554, Lloh555, Lloh558 .loh AdrpLdrGotLdr Lloh565, Lloh566, Lloh567 .loh AdrpAdd Lloh568, Lloh569 .loh AdrpAdd Lloh570, Lloh571 .loh AdrpAdd Lloh572, Lloh573 .loh AdrpAdd Lloh574, Lloh575 .cfi_endproc ; -- End function .globl _makecfg ; -- Begin function makecfg .p2align 2 _makecfg: ; @makecfg .cfi_startproc ; %bb.0: sub sp, sp, #112 .cfi_def_cfa_offset 112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 Lloh576: adrp x27, _ctype@PAGE Lloh577: add x27, x27, _ctype@PAGEOFF Lloh578: adrp x24, _name@GOTPAGE Lloh579: ldr x24, [x24, _name@GOTPAGEOFF] Lloh580: adrp x28, ___stdinp@GOTPAGE Lloh581: ldr x28, [x28, ___stdinp@GOTPAGEOFF] Lloh582: adrp x20, l_.str.99@PAGE Lloh583: add x20, x20, l_.str.99@PAGEOFF adrp x26, _unprotect@PAGE mov w25, #1 Lloh584: adrp x21, l_.str.100@PAGE Lloh585: add x21, x21, l_.str.100@PAGEOFF Lloh586: adrp x22, l_.str.101@PAGE Lloh587: add x22, x22, l_.str.101@PAGEOFF Lloh588: adrp x23, l_.str.102@PAGE Lloh589: add x23, x23, l_.str.102@PAGEOFF b LBB18_3 LBB18_1: ; in Loop: Header=BB18_3 Depth=1 str w25, [x26, _unprotect@PAGEOFF] LBB18_2: ; in Loop: Header=BB18_3 Depth=1 add x0, sp, #12 mov w1, #0 bl _getlex cmp w0, #44 b.ne LBB18_23 LBB18_3: ; =>This Loop Header: Depth=1 ; Child Loop BB18_7 Depth 2 bl _getchar cmp w0, #9 b.eq LBB18_3 ; %bb.4: ; in Loop: Header=BB18_3 Depth=1 cmp w0, #32 b.eq LBB18_3 ; %bb.5: ; in Loop: Header=BB18_3 Depth=1 and w8, w0, #0xff ldrh w8, [x27, w8, uxtw #1] tbz w8, #3, LBB18_24 ; %bb.6: ; in Loop: Header=BB18_3 Depth=1 mov x19, x24 cmp w0, #33 b.lt LBB18_10 LBB18_7: ; Parent Loop BB18_3 Depth=1 ; => This Inner Loop Header: Depth=2 cmp w0, #58 b.eq LBB18_10 ; %bb.8: ; in Loop: Header=BB18_7 Depth=2 and w8, w0, #0xff ldrh w8, [x27, w8, uxtw #1] tst w8, #0xc b.eq LBB18_10 ; %bb.9: ; in Loop: Header=BB18_7 Depth=2 strb w0, [x19], #1 bl _getchar cmp w0, #33 b.ge LBB18_7 LBB18_10: ; in Loop: Header=BB18_3 Depth=1 strb wzr, [x19] ldr x1, [x28] bl _ungetc mov x0, x24 mov x1, x20 bl _strcasecmp cbz w0, LBB18_1 ; %bb.11: ; in Loop: Header=BB18_3 Depth=1 mov x0, x24 mov x1, x21 bl _strcasecmp cbz w0, LBB18_18 ; %bb.12: ; in Loop: Header=BB18_3 Depth=1 mov x0, x24 mov x1, x22 bl _strcasecmp cbz w0, LBB18_19 ; %bb.13: ; in Loop: Header=BB18_3 Depth=1 mov x0, x24 mov x1, x23 bl _strcasecmp cbz w0, LBB18_20 ; %bb.14: ; in Loop: Header=BB18_3 Depth=1 mov x0, x24 Lloh590: adrp x1, l_.str.103@PAGE Lloh591: add x1, x1, l_.str.103@PAGEOFF bl _strcasecmp cbz w0, LBB18_21 ; %bb.15: ; in Loop: Header=BB18_3 Depth=1 mov x0, x24 Lloh592: adrp x1, l_.str.104@PAGE Lloh593: add x1, x1, l_.str.104@PAGEOFF bl _strcasecmp cbz w0, LBB18_22 ; %bb.16: ; in Loop: Header=BB18_3 Depth=1 mov x0, x24 Lloh594: adrp x1, l_.str.105@PAGE Lloh595: add x1, x1, l_.str.105@PAGEOFF bl _strcasecmp cbnz w0, LBB18_24 ; %bb.17: ; in Loop: Header=BB18_3 Depth=1 adrp x8, _osc@PAGE str w25, [x8, _osc@PAGEOFF] b LBB18_2 LBB18_18: ; in Loop: Header=BB18_3 Depth=1 adrp x8, _wdog@PAGE str w25, [x8, _wdog@PAGEOFF] b LBB18_2 LBB18_19: ; in Loop: Header=BB18_3 Depth=1 adrp x8, _mclre@PAGE str w25, [x8, _mclre@PAGEOFF] b LBB18_2 LBB18_20: ; in Loop: Header=BB18_3 Depth=1 adrp x8, _osc@PAGE mov w9, #4 str w9, [x8, _osc@PAGEOFF] b LBB18_2 LBB18_21: ; in Loop: Header=BB18_3 Depth=1 adrp x8, _osc@PAGE mov w9, #3 str w9, [x8, _osc@PAGEOFF] b LBB18_2 LBB18_22: ; in Loop: Header=BB18_3 Depth=1 adrp x8, _osc@PAGE mov w9, #2 str w9, [x8, _osc@PAGEOFF] b LBB18_2 LBB18_23: ldr w8, [sp, #12] Lloh596: adrp x9, _blexflag@GOTPAGE Lloh597: ldr x9, [x9, _blexflag@GOTPAGEOFF] mov w10, #1 Lloh598: str w10, [x9] Lloh599: adrp x9, _backlex@GOTPAGE Lloh600: ldr x9, [x9, _backlex@GOTPAGEOFF] Lloh601: str w0, [x9] Lloh602: adrp x9, _blextype@GOTPAGE Lloh603: ldr x9, [x9, _blextype@GOTPAGEOFF] Lloh604: str w8, [x9] ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB18_24: Lloh605: adrp x0, l_.str.98@PAGE Lloh606: add x0, x0, l_.str.98@PAGEOFF bl _uerror .loh AdrpAdd Lloh588, Lloh589 .loh AdrpAdd Lloh586, Lloh587 .loh AdrpAdd Lloh584, Lloh585 .loh AdrpAdd Lloh582, Lloh583 .loh AdrpLdrGot Lloh580, Lloh581 .loh AdrpLdrGot Lloh578, Lloh579 .loh AdrpAdd Lloh576, Lloh577 .loh AdrpAdd Lloh590, Lloh591 .loh AdrpAdd Lloh592, Lloh593 .loh AdrpAdd Lloh594, Lloh595 .loh AdrpLdrGotStr Lloh602, Lloh603, Lloh604 .loh AdrpLdrGotStr Lloh599, Lloh600, Lloh601 .loh AdrpLdrGotStr Lloh596, Lloh597, Lloh598 .loh AdrpAdd Lloh605, Lloh606 .cfi_endproc ; -- End function .globl _outflush ; -- Begin function outflush .p2align 2 _outflush: ; @outflush .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 adrp x20, _outptr@PAGE ldrb w8, [x20, _outptr@PAGEOFF] Lloh607: adrp x21, _outbuf@GOTPAGE Lloh608: ldr x21, [x21, _outbuf@GOTPAGEOFF] sub w8, w8, w21 sub w8, w8, #4 strb w8, [x21] mov w0, #58 bl _putchar ldr x8, [x20, _outptr@PAGEOFF] cmp x8, x21 b.ls LBB19_3 ; %bb.1: mov w22, #0 Lloh609: adrp x23, _outbuf@GOTPAGE Lloh610: ldr x23, [x23, _outbuf@GOTPAGEOFF] Lloh611: adrp x19, l_.str.92@PAGE Lloh612: add x19, x19, l_.str.92@PAGEOFF LBB19_2: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x23] str x8, [sp] mov x0, x19 bl _printf ldrb w8, [x23], #1 add w8, w22, w8 and w22, w8, #0xff ldr x8, [x20, _outptr@PAGEOFF] cmp x23, x8 b.lo LBB19_2 b LBB19_4 LBB19_3: mov w22, #0 LBB19_4: neg w8, w22 and w8, w8, #0xff str x8, [sp] Lloh613: adrp x0, l_.str.93@PAGE Lloh614: add x0, x0, l_.str.93@PAGEOFF bl _printf str x21, [x20, _outptr@PAGEOFF] ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpLdrGot Lloh607, Lloh608 .loh AdrpAdd Lloh611, Lloh612 .loh AdrpLdrGot Lloh609, Lloh610 .loh AdrpAdd Lloh613, Lloh614 .cfi_endproc ; -- End function .globl _outhex ; -- Begin function outhex .p2align 2 _outhex: ; @outhex .cfi_startproc ; %bb.0: sub sp, sp, #96 .cfi_def_cfa_offset 96 stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x1 mov x19, x0 adrp x22, _outptr@PAGE ldr x8, [x22, _outptr@PAGEOFF] Lloh615: adrp x24, _outbuf@GOTPAGE Lloh616: ldr x24, [x24, _outbuf@GOTPAGEOFF] add x9, x24, #20 Lloh617: adrp x23, _outaddr@GOTPAGE Lloh618: ldr x23, [x23, _outaddr@GOTPAGEOFF] cmp x8, x9 b.hs LBB20_4 ; %bb.1: cmp x8, x24 b.ls LBB20_3 ; %bb.2: ldrsw x9, [x23] add x9, x9, #1 cmp x9, x19 b.ne LBB20_4 LBB20_3: cmp x8, x24 b.ne LBB20_10 b LBB20_9 LBB20_4: sub w8, w8, w24 sub w8, w8, #4 strb w8, [x24] mov w0, #58 bl _putchar ldr x8, [x22, _outptr@PAGEOFF] cmp x8, x24 b.ls LBB20_7 ; %bb.5: mov w25, #0 Lloh619: adrp x26, _outbuf@GOTPAGE Lloh620: ldr x26, [x26, _outbuf@GOTPAGEOFF] Lloh621: adrp x21, l_.str.92@PAGE Lloh622: add x21, x21, l_.str.92@PAGEOFF LBB20_6: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x26] str x8, [sp] mov x0, x21 bl _printf ldrb w8, [x26], #1 add w8, w25, w8 and w25, w8, #0xff ldr x8, [x22, _outptr@PAGEOFF] cmp x26, x8 b.lo LBB20_6 b LBB20_8 LBB20_7: mov w25, #0 LBB20_8: neg w8, w25 and w8, w8, #0xff str x8, [sp] Lloh623: adrp x0, l_.str.93@PAGE Lloh624: add x0, x0, l_.str.93@PAGEOFF bl _printf LBB20_9: strb wzr, [x24] lsr x8, x19, #7 strb w8, [x24, #1] lsl w8, w19, #1 strb w8, [x24, #2] strb wzr, [x24, #3] add x8, x24, #4 LBB20_10: add x9, x8, #1 str x9, [x22, _outptr@PAGEOFF] strb w20, [x8] lsr w8, w20, #8 ldr x9, [x22, _outptr@PAGEOFF] add x10, x9, #1 str x10, [x22, _outptr@PAGEOFF] strb w8, [x9] str w19, [x23] ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload add sp, sp, #96 ret .loh AdrpLdrGot Lloh617, Lloh618 .loh AdrpLdrGot Lloh615, Lloh616 .loh AdrpAdd Lloh621, Lloh622 .loh AdrpLdrGot Lloh619, Lloh620 .loh AdrpAdd Lloh623, Lloh624 .cfi_endproc ; -- End function .globl _settext ; -- Begin function settext .p2align 2 _settext: ; @settext .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x1 ; kill: def $w0 killed $w0 def $x0 Lloh625: adrp x8, _text@GOTPAGE Lloh626: ldr x8, [x8, _text@GOTPAGEOFF] strh w1, [x8, w0, sxtw #1] Lloh627: adrp x8, _tbusy@GOTPAGE Lloh628: ldr x8, [x8, _tbusy@GOTPAGEOFF] mov w9, #1 strb w9, [x8, w0, sxtw] Lloh629: adrp x8, _debug@GOTPAGE Lloh630: ldr x8, [x8, _debug@GOTPAGEOFF] Lloh631: ldr w8, [x8] cbz w8, LBB21_2 ; %bb.1: Lloh632: adrp x8, ___stderrp@GOTPAGE Lloh633: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh634: ldr x8, [x8] stp x0, x19, [sp] Lloh635: adrp x1, l_.str.106@PAGE Lloh636: add x1, x1, l_.str.106@PAGEOFF mov x0, x8 bl _fprintf LBB21_2: Lloh637: adrp x8, _lastcmd@GOTPAGE Lloh638: ldr x8, [x8, _lastcmd@GOTPAGEOFF] Lloh639: str w19, [x8] ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpLdrGotLdr Lloh629, Lloh630, Lloh631 .loh AdrpLdrGot Lloh627, Lloh628 .loh AdrpLdrGot Lloh625, Lloh626 .loh AdrpAdd Lloh635, Lloh636 .loh AdrpLdrGotLdr Lloh632, Lloh633, Lloh634 .loh AdrpLdrGotStr Lloh637, Lloh638, Lloh639 .cfi_endproc ; -- End function .globl _findlabel ; -- Begin function findlabel .p2align 2 _findlabel: ; @findlabel .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 ; kill: def $w1 killed $w1 def $x1 ; kill: def $w0 killed $w0 def $x0 Lloh640: adrp x8, _nlabels@GOTPAGE Lloh641: ldr x8, [x8, _nlabels@GOTPAGEOFF] Lloh642: ldrsw x8, [x8] Lloh643: adrp x10, _labeltab@GOTPAGE Lloh644: ldr x10, [x10, _labeltab@GOTPAGEOFF] add x9, x10, x8, lsl #3 tbnz w1, #31, LBB22_6 ; %bb.1: cmp w8, #1 b.lt LBB22_12 ; %bb.2: Lloh645: adrp x10, _labeltab@GOTPAGE Lloh646: ldr x10, [x10, _labeltab@GOTPAGEOFF] b LBB22_4 LBB22_3: ; in Loop: Header=BB22_4 Depth=1 add x10, x10, #8 cmp x10, x9 b.hs LBB22_12 LBB22_4: ; =>This Inner Loop Header: Depth=1 ldr w8, [x10, #4] cmp w8, w0 b.le LBB22_3 ; %bb.5: ; in Loop: Header=BB22_4 Depth=1 ldr w11, [x10] cmp w11, w1 b.ne LBB22_3 b LBB22_11 LBB22_6: sub x11, x9, #8 neg w9, w1 b LBB22_8 LBB22_7: ; in Loop: Header=BB22_8 Depth=1 sub x11, x11, #8 LBB22_8: ; =>This Inner Loop Header: Depth=1 cmp x11, x10 b.lo LBB22_13 ; %bb.9: ; in Loop: Header=BB22_8 Depth=1 ldr w8, [x11, #4] cmp w8, w0 b.gt LBB22_7 ; %bb.10: ; in Loop: Header=BB22_8 Depth=1 ldr w12, [x11] cmp w12, w9 b.ne LBB22_7 LBB22_11: mov x0, x8 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload add sp, sp, #32 ret LBB22_12: ; kill: def $w0 killed $w0 killed $x0 def $x0 stp x1, x0, [sp] Lloh647: adrp x0, l_.str.110@PAGE Lloh648: add x0, x0, l_.str.110@PAGEOFF bl _uerror LBB22_13: stp x9, x0, [sp] Lloh649: adrp x0, l_.str.109@PAGE Lloh650: add x0, x0, l_.str.109@PAGEOFF bl _uerror .loh AdrpLdrGot Lloh643, Lloh644 .loh AdrpLdrGotLdr Lloh640, Lloh641, Lloh642 .loh AdrpLdrGot Lloh645, Lloh646 .loh AdrpAdd Lloh647, Lloh648 .loh AdrpAdd Lloh649, Lloh650 .cfi_endproc ; -- End function .globl _compare_constab_len ; -- Begin function compare_constab_len .p2align 2 _compare_constab_len: ; @compare_constab_len .cfi_startproc ; %bb.0: ldr w8, [x0, #8] ldr w9, [x1, #8] cmp w8, w9 cset w8, lt csinv w0, w8, wzr, le ret .cfi_endproc ; -- End function .globl _compare_stab ; -- Begin function compare_stab .p2align 2 _compare_stab: ; @compare_stab .cfi_startproc ; %bb.0: ldr w8, [x0, #12] sub w9, w8, #1 ldr w8, [x1, #12] sub w8, w8, #1 cmp w9, #1 b.hi LBB24_3 ; %bb.1: cmp w8, #2 b.lo LBB24_5 ; %bb.2: mov w0, #-1 ret LBB24_3: cmp w8, #2 b.hs LBB24_5 ; %bb.4: mov w0, #1 ret LBB24_5: ldr w8, [x0, #16] ldr w9, [x1, #16] mov w10, #-1 cmp w8, w9 cset w8, gt csel w0, w10, w8, lt ret .cfi_endproc ; -- End function .globl _compare_constab ; -- Begin function compare_constab .p2align 2 _compare_constab: ; @compare_constab .cfi_startproc ; %bb.0: ldr w8, [x0, #12] ldr w9, [x1, #12] cmp w8, w9 cset w8, gt csinv w0, w8, wzr, ge ret .cfi_endproc ; -- End function .globl _addreloc ; -- Begin function addreloc .p2align 2 _addreloc: ; @addreloc .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 ; kill: def $w0 killed $w0 def $x0 Lloh651: adrp x8, _nrel@GOTPAGE Lloh652: ldr x8, [x8, _nrel@GOTPAGEOFF] ldrsw x9, [x8] mov w10, #10240 cmp w9, w10 b.ge LBB26_10 ; %bb.1: mov x19, x2 mov x20, x1 mov w10, #12 Lloh653: adrp x11, _reltab@GOTPAGE Lloh654: ldr x11, [x11, _reltab@GOTPAGEOFF] madd x10, x9, x10, x11 stp w0, w1, [x10] str w2, [x10, #8] add w9, w9, #1 str w9, [x8] Lloh655: adrp x8, _debug@GOTPAGE Lloh656: ldr x8, [x8, _debug@GOTPAGEOFF] Lloh657: ldr w8, [x8] cbz w8, LBB26_9 ; %bb.2: Lloh658: adrp x21, ___stderrp@GOTPAGE Lloh659: ldr x21, [x21, ___stderrp@GOTPAGEOFF] ldr x8, [x21] str x0, [sp] Lloh660: adrp x1, l_.str.134@PAGE Lloh661: add x1, x1, l_.str.134@PAGEOFF mov x0, x8 bl _fprintf cbz w20, LBB26_4 ; %bb.3: ldr x0, [x21] str x20, [sp] Lloh662: adrp x1, l_.str.135@PAGE Lloh663: add x1, x1, l_.str.135@PAGEOFF bl _fprintf LBB26_4: tbz w19, #1, LBB26_6 ; %bb.5: ldr x3, [x21] Lloh664: adrp x0, l_.str.136@PAGE Lloh665: add x0, x0, l_.str.136@PAGEOFF mov w1, #5 mov w2, #1 bl _fwrite LBB26_6: tbz w19, #0, LBB26_8 ; %bb.7: ldr x3, [x21] Lloh666: adrp x0, l_.str.137@PAGE Lloh667: add x0, x0, l_.str.137@PAGEOFF mov w1, #6 mov w2, #1 bl _fwrite LBB26_8: ldr x1, [x21] mov w0, #10 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 b _fputc LBB26_9: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB26_10: Lloh668: adrp x0, l_.str.133@PAGE Lloh669: add x0, x0, l_.str.133@PAGEOFF bl _uerror .loh AdrpLdrGot Lloh651, Lloh652 .loh AdrpLdrGotLdr Lloh655, Lloh656, Lloh657 .loh AdrpLdrGot Lloh653, Lloh654 .loh AdrpAdd Lloh660, Lloh661 .loh AdrpLdrGot Lloh658, Lloh659 .loh AdrpAdd Lloh662, Lloh663 .loh AdrpAdd Lloh664, Lloh665 .loh AdrpAdd Lloh666, Lloh667 .loh AdrpAdd Lloh668, Lloh669 .cfi_endproc ; -- End function .section __DATA,__data .globl _dcount ; @dcount .p2align 2 _dcount: .long 10 ; 0xa .globl _unprotect ; @unprotect .zerofill __DATA,__common,_unprotect,4,2 .globl _wdog ; @wdog .zerofill __DATA,__common,_wdog,4,2 .globl _mclre ; @mclre .zerofill __DATA,__common,_mclre,4,2 .globl _osc ; @osc .p2align 2 _osc: .long 3 ; 0x3 .comm _outbuf,20,0 ; @outbuf .globl _outptr ; @outptr .p2align 3 _outptr: .quad _outbuf .globl _ctype ; @ctype .p2align 1 _ctype: .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 8 ; 0x8 .short 0 ; 0x0 .short 7 ; 0x7 .short 7 ; 0x7 .short 7 ; 0x7 .short 7 ; 0x7 .short 7 ; 0x7 .short 7 ; 0x7 .short 7 ; 0x7 .short 7 ; 0x7 .short 5 ; 0x5 .short 5 ; 0x5 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 9 ; 0x9 .short 9 ; 0x9 .short 9 ; 0x9 .short 9 ; 0x9 .short 9 ; 0x9 .short 9 ; 0x9 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 8 ; 0x8 .short 0 ; 0x0 .short 9 ; 0x9 .short 9 ; 0x9 .short 9 ; 0x9 .short 9 ; 0x9 .short 9 ; 0x9 .short 9 ; 0x9 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 0 ; 0x0 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .short 8 ; 0x8 .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "nop" l_.str.1: ; @.str.1 .asciz "option" l_.str.2: ; @.str.2 .asciz "sleep" l_.str.3: ; @.str.3 .asciz "awake" l_.str.4: ; @.str.4 .asciz "tris" l_.str.5: ; @.str.5 .asciz "dump" l_.str.6: ; @.str.6 .asciz "halt" l_.str.7: ; @.str.7 .asciz "atx" l_.str.8: ; @.str.8 .asciz "az" l_.str.9: ; @.str.9 .asciz "xz" l_.str.10: ; @.str.10 .asciz "a-x" l_.str.11: ; @.str.11 .asciz "x-a" l_.str.12: ; @.str.12 .asciz "x--a" l_.str.13: ; @.str.13 .asciz "x--" l_.str.14: ; @.str.14 .asciz "a|x" l_.str.15: ; @.str.15 .asciz "x|a" l_.str.16: ; @.str.16 .asciz "a&x" l_.str.17: ; @.str.17 .asciz "x&a" l_.str.18: ; @.str.18 .asciz "a^x" l_.str.19: ; @.str.19 .asciz "x^a" l_.str.20: ; @.str.20 .asciz "a+x" l_.str.21: ; @.str.21 .asciz "x+a" l_.str.22: ; @.str.22 .asciz "xta" l_.str.23: ; @.str.23 .asciz "tst" l_.str.24: ; @.str.24 .asciz "xca" l_.str.25: ; @.str.25 .asciz "xc" l_.str.26: ; @.str.26 .asciz "x++a" l_.str.27: ; @.str.27 .asciz "x++" l_.str.28: ; @.str.28 .asciz "x--a?" l_.str.29: ; @.str.29 .asciz "x--?" l_.str.30: ; @.str.30 .asciz "xc>>a" l_.str.31: ; @.str.31 .asciz "xc>>x" l_.str.32: ; @.str.32 .asciz "xc<<a" l_.str.33: ; @.str.33 .asciz "xc<<x" l_.str.34: ; @.str.34 .asciz "xwa" l_.str.35: ; @.str.35 .asciz "xw" l_.str.36: ; @.str.36 .asciz "x++a?" l_.str.37: ; @.str.37 .asciz "x++?" l_.str.38: ; @.str.38 .asciz "bz" l_.str.39: ; @.str.39 .asciz "bs" l_.str.40: ; @.str.40 .asciz "bs?" l_.str.41: ; @.str.41 .asciz "bz?" l_.str.42: ; @.str.42 .asciz "ret" l_.str.43: ; @.str.43 .asciz "call" l_.str.44: ; @.str.44 .asciz "goto" l_.str.45: ; @.str.45 .asciz "cta" l_.str.46: ; @.str.46 .asciz "a|c" l_.str.47: ; @.str.47 .asciz "a&c" l_.str.48: ; @.str.48 .asciz "a^c" l_.str.49: ; @.str.49 .asciz "z?" l_.str.50: ; @.str.50 .asciz "nz?" l_.str.51: ; @.str.51 .asciz "c?" l_.str.52: ; @.str.52 .asciz "nc?" l_.str.53: ; @.str.53 .asciz "nb?" l_.str.54: ; @.str.54 .asciz "b?" .section __DATA,__data .globl _table ; @table .p2align 3 _table: .long 0 ; 0x0 .space 4 .quad l_.str .short 1 ; 0x1 .space 6 .long 2 ; 0x2 .space 4 .quad l_.str.1 .short 1 ; 0x1 .space 6 .long 3 ; 0x3 .space 4 .quad l_.str.2 .short 1 ; 0x1 .space 6 .long 4 ; 0x4 .space 4 .quad l_.str.3 .short 1 ; 0x1 .space 6 .long 6 ; 0x6 .space 4 .quad l_.str.4 .short 1 ; 0x1 .space 6 .long 7 ; 0x7 .space 4 .quad l_.str.5 .short 1 ; 0x1 .space 6 .long 8 ; 0x8 .space 4 .quad l_.str.6 .short 1 ; 0x1 .space 6 .long 32 ; 0x20 .space 4 .quad l_.str.7 .short 0 ; 0x0 .space 6 .long 64 ; 0x40 .space 4 .quad l_.str.8 .short 1 ; 0x1 .space 6 .long 96 ; 0x60 .space 4 .quad l_.str.9 .short 0 ; 0x0 .space 6 .long 128 ; 0x80 .space 4 .quad l_.str.10 .short 0 ; 0x0 .space 6 .long 160 ; 0xa0 .space 4 .quad l_.str.11 .short 0 ; 0x0 .space 6 .long 192 ; 0xc0 .space 4 .quad l_.str.12 .short 0 ; 0x0 .space 6 .long 224 ; 0xe0 .space 4 .quad l_.str.13 .short 0 ; 0x0 .space 6 .long 256 ; 0x100 .space 4 .quad l_.str.14 .short 0 ; 0x0 .space 6 .long 288 ; 0x120 .space 4 .quad l_.str.15 .short 0 ; 0x0 .space 6 .long 320 ; 0x140 .space 4 .quad l_.str.16 .short 0 ; 0x0 .space 6 .long 352 ; 0x160 .space 4 .quad l_.str.17 .short 0 ; 0x0 .space 6 .long 384 ; 0x180 .space 4 .quad l_.str.18 .short 0 ; 0x0 .space 6 .long 416 ; 0x1a0 .space 4 .quad l_.str.19 .short 0 ; 0x0 .space 6 .long 448 ; 0x1c0 .space 4 .quad l_.str.20 .short 0 ; 0x0 .space 6 .long 480 ; 0x1e0 .space 4 .quad l_.str.21 .short 0 ; 0x0 .space 6 .long 512 ; 0x200 .space 4 .quad l_.str.22 .short 0 ; 0x0 .space 6 .long 544 ; 0x220 .space 4 .quad l_.str.23 .short 0 ; 0x0 .space 6 .long 576 ; 0x240 .space 4 .quad l_.str.24 .short 0 ; 0x0 .space 6 .long 608 ; 0x260 .space 4 .quad l_.str.25 .short 0 ; 0x0 .space 6 .long 640 ; 0x280 .space 4 .quad l_.str.26 .short 0 ; 0x0 .space 6 .long 672 ; 0x2a0 .space 4 .quad l_.str.27 .short 0 ; 0x0 .space 6 .long 704 ; 0x2c0 .space 4 .quad l_.str.28 .short 64 ; 0x40 .space 6 .long 736 ; 0x2e0 .space 4 .quad l_.str.29 .short 64 ; 0x40 .space 6 .long 768 ; 0x300 .space 4 .quad l_.str.30 .short 0 ; 0x0 .space 6 .long 800 ; 0x320 .space 4 .quad l_.str.31 .short 0 ; 0x0 .space 6 .long 832 ; 0x340 .space 4 .quad l_.str.32 .short 0 ; 0x0 .space 6 .long 864 ; 0x360 .space 4 .quad l_.str.33 .short 0 ; 0x0 .space 6 .long 896 ; 0x380 .space 4 .quad l_.str.34 .short 0 ; 0x0 .space 6 .long 928 ; 0x3a0 .space 4 .quad l_.str.35 .short 0 ; 0x0 .space 6 .long 960 ; 0x3c0 .space 4 .quad l_.str.36 .short 64 ; 0x40 .space 6 .long 992 ; 0x3e0 .space 4 .quad l_.str.37 .short 64 ; 0x40 .space 6 .long 1024 ; 0x400 .space 4 .quad l_.str.38 .short 4 ; 0x4 .space 6 .long 1280 ; 0x500 .space 4 .quad l_.str.39 .short 4 ; 0x4 .space 6 .long 1536 ; 0x600 .space 4 .quad l_.str.40 .short 68 ; 0x44 .space 6 .long 1792 ; 0x700 .space 4 .quad l_.str.41 .short 68 ; 0x44 .space 6 .long 2048 ; 0x800 .space 4 .quad l_.str.42 .short 131 ; 0x83 .space 6 .long 2304 ; 0x900 .space 4 .quad l_.str.43 .short 3 ; 0x3 .space 6 .long 2560 ; 0xa00 .space 4 .quad l_.str.44 .short 130 ; 0x82 .space 6 .long 3072 ; 0xc00 .space 4 .quad l_.str.45 .short 3 ; 0x3 .space 6 .long 3328 ; 0xd00 .space 4 .quad l_.str.46 .short 3 ; 0x3 .space 6 .long 3584 ; 0xe00 .space 4 .quad l_.str.47 .short 3 ; 0x3 .space 6 .long 3840 ; 0xf00 .space 4 .quad l_.str.48 .short 3 ; 0x3 .space 6 .long 1603 ; 0x643 .space 4 .quad l_.str.49 .short 65 ; 0x41 .space 6 .long 1859 ; 0x743 .space 4 .quad l_.str.50 .short 65 ; 0x41 .space 6 .long 1539 ; 0x603 .space 4 .quad l_.str.51 .short 65 ; 0x41 .space 6 .long 1795 ; 0x703 .space 4 .quad l_.str.52 .short 65 ; 0x41 .space 6 .long 1539 ; 0x603 .space 4 .quad l_.str.53 .short 65 ; 0x41 .space 6 .long 1795 ; 0x703 .space 4 .quad l_.str.54 .short 65 ; 0x41 .space 6 .space 24 .section __TEXT,__cstring,cstring_literals l_.str.55: ; @.str.55 .asciz "as: " .comm _infile,8,3 ; @infile l_.str.56: ; @.str.56 .asciz "%s, " l_.str.57: ; @.str.57 .asciz "%d: " .comm _line,4,2 ; @line .comm _outfile,8,3 ; @outfile .comm _name,256,0 ; @name .comm _stabfree,4,2 ; @stabfree .comm _stab,48000,3 ; @stab .comm _filenum,4,2 ; @filenum l_.str.59: ; @.str.59 .asciz "symbol table overflow" l_.str.60: ; @.str.60 .asciz "out of memory" .comm _debug,4,2 ; @debug .comm _optim,4,2 ; @optim .comm _nlib,4,2 ; @nlib l_.str.61: ; @.str.61 .asciz "too many libraries" .comm _libtab,80,3 ; @libtab .comm _infile1,8,3 ; @infile1 l_.str.62: ; @.str.62 .asciz "r" l_.str.63: ; @.str.63 .asciz "cannot open" l_.str.66: ; @.str.66 .asciz ".hex" l_.str.67: ; @.str.67 .asciz "w" l_.str.68: ; @.str.68 .asciz "cannot open %s" l_.str.69: ; @.str.69 .asciz "/usr/local/lib/pic17" .comm _intval,4,2 ; @intval .comm _blexflag,4,2 ; @blexflag .comm _blextype,4,2 ; @blextype .comm _backlex,4,2 ; @backlex l_.str.70: ; @.str.70 .asciz "bad char constant" l_.str.71: ; @.str.71 .asciz "bad character: \\%o" l_.str.72: ; @.str.72 .asciz ".equ" l_.str.73: ; @.str.73 .asciz ".data" l_.str.74: ; @.str.74 .asciz ".org" l_.str.75: ; @.str.75 .asciz ".const" l_.str.76: ; @.str.76 .asciz ".config" l_.str.77: ; @.str.77 .asciz "operand missing" .comm _extref,4,2 ; @extref .comm _extflag,4,2 ; @extflag .comm _count,4,2 ; @count l_.str.78: ; @.str.78 .asciz "bad () syntax" l_.str.79: ; @.str.79 .asciz "too complex expression" l_.str.80: ; @.str.80 .asciz "division by zero" l_.str.81: ; @.str.81 .asciz "division (%%) by zero" l_.str.82: ; @.str.82 .asciz "name redefined" .comm _reached,4,2 ; @reached .comm _lastcmd,4,2 ; @lastcmd l_.str.83: ; @.str.83 .asciz "bad value .equ" l_.str.84: ; @.str.84 .asciz "bad length .data" l_.str.85: ; @.str.85 .asciz "name already defined" l_.str.86: ; @.str.86 .asciz "bad command" .comm _nlabels,4,2 ; @nlabels l_.str.87: ; @.str.87 .asciz "too many digital labels" .comm _labeltab,8000,2 ; @labeltab l_.str.88: ; @.str.88 .asciz "bad digital label" l_.str.89: ; @.str.89 .asciz "bad value .org" l_.str.90: ; @.str.90 .asciz "syntax error" l_.str.91: ; @.str.91 .asciz "bad command argument" l_.str.92: ; @.str.92 .asciz "%02X" l_.str.93: ; @.str.93 .asciz "%02X\n" .comm _outaddr,4,2 ; @outaddr .comm _tbusy,512,0 ; @tbusy .comm _text,1024,1 ; @text .comm _nconst,4,2 ; @nconst l_.str.95: ; @.str.95 .asciz "too many constants" l_.str.96: ; @.str.96 .asciz "bad value .const" l_.str.97: ; @.str.97 .asciz "too long .const" .comm _constab,4096,3 ; @constab l_.str.98: ; @.str.98 .asciz "bad option .config" l_.str.99: ; @.str.99 .asciz "unprotected" l_.str.100: ; @.str.100 .asciz "watchdog" l_.str.101: ; @.str.101 .asciz "mclr" l_.str.102: ; @.str.102 .asciz "rc" l_.str.103: ; @.str.103 .asciz "intclock" l_.str.104: ; @.str.104 .asciz "crystal" l_.str.105: ; @.str.105 .asciz "lowcrystal" l_.str.106: ; @.str.106 .asciz "code %3d: %04x\n" l_.str.107: ; @.str.107 .asciz "%s/%s.lib" l_.str.108: ; @.str.108 .asciz "as: undefined: %s\n" l_.str.109: ; @.str.109 .asciz "undefined label %db at address %d" l_.str.110: ; @.str.110 .asciz "undefined label %df at address %d" .comm _reltab,122880,2 ; @reltab .comm _nrel,4,2 ; @nrel .comm _opt_atx_xta,4,2 ; @opt_atx_xta .comm _opt_not_reached,4,2 ; @opt_not_reached l_.str.111: ; @.str.111 .asciz "Optimization: atx-xta: %d words, not-reached: %d words\n" l_.str.112: ; @.str.112 .asciz "Total text %d words, const %d words, data %d bytes\n" l_.str.113: ; @.str.113 .asciz "text segment overflow: %d words" l_.str.114: ; @.str.114 .asciz "data segment overflow: %d bytes" l_.str.115: ; @.str.115 .asciz "Free text %d words, data %d bytes\n" l_.str.116: ; @.str.116 .asciz ".lst" l_.str.117: ; @.str.117 .asciz "cannot write to %s" l_.str.118: ; @.str.118 .asciz "Data symbols:\n" l_.str.119: ; @.str.119 .asciz "\t%04x %c %.*s\n" l_.str.120: ; @.str.120 .asciz "\nCode symbols:\n" l_.str.121: ; @.str.121 .asciz "\t%04x T <end>\n" l_.str.122: ; @.str.122 .asciz "\nText constants:\n" l_.str.123: ; @.str.123 .asciz "\t%04x C \"" l_.str.124: ; @.str.124 .asciz "\\n" l_.str.125: ; @.str.125 .asciz "\\r" l_.str.126: ; @.str.126 .asciz "\\\"" l_.str.127: ; @.str.127 .asciz "\\\\" l_.str.128: ; @.str.128 .asciz "\\000" l_.str.129: ; @.str.129 .asciz "\\%03o" l_.str.131: ; @.str.131 .asciz "\"\n" l_.str.132: ; @.str.132 .asciz "\nDone.\n" l_.str.133: ; @.str.133 .asciz "too many relocations" l_.str.134: ; @.str.134 .asciz "reloc %d" l_.str.135: ; @.str.135 .asciz " %d" l_.str.136: ; @.str.136 .asciz " RLAB" l_.str.137: ; @.str.137 .asciz " RLONG" l_.str.138: ; @.str.138 .asciz "need bit number" l_.str.139: ; @.str.139 .asciz "bad bit number" .comm _data,64,0 ; @data l_str: ; @str .asciz "PIC12 Assembler, by Serge V.Vakulenko\n" l_str.140: ; @str.140 .asciz "Usage:\n\tas12 [-O] [-o outfile.hex] infile.s ...\n" l_str.141: ; @str.141 .asciz ":00000001FF" .subsections_via_symbols
the_stack_data/156392779.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_path_core__isvalid_dot_git ## -- Begin function test_path_core__isvalid_dot_git .p2align 4, 0x90 _test_path_core__isvalid_dot_git: ## @test_path_core__isvalid_dot_git .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str(%rip), %rsi xorl %edi, %edi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi callq _cl_assert_equal_b leaq L_.str.1(%rip), %rsi xorl %edi, %edi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi callq _cl_assert_equal_b leaq L_.str.2(%rip), %r15 xorl %edi, %edi movq %r15, %rsi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi callq _cl_assert_equal_b leaq L_.str.3(%rip), %r12 xorl %edi, %edi movq %r12, %rsi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi callq _cl_assert_equal_b leaq L_.str.4(%rip), %r13 xorl %edi, %edi movq %r13, %rsi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi callq _cl_assert_equal_b leaq L_.str.5(%rip), %r14 xorl %edi, %edi movq %r14, %rsi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi callq _cl_assert_equal_b movq _GIT_PATH_REJECT_DOT_GIT_LITERAL@GOTPCREL(%rip), %rbx movl (%rbx), %ecx xorl %edi, %edi leaq L_.str(%rip), %rsi xorl %edx, %edx callq _git_path_isvalid xorl %edi, %edi movl %eax, %esi callq _cl_assert_equal_b movl (%rbx), %ecx xorl %edi, %edi leaq L_.str.1(%rip), %rsi xorl %edx, %edx callq _git_path_isvalid xorl %edi, %edi movl %eax, %esi callq _cl_assert_equal_b movl (%rbx), %ecx xorl %edi, %edi movq %r15, %rsi xorl %edx, %edx callq _git_path_isvalid xorl %edi, %edi movl %eax, %esi callq _cl_assert_equal_b movl (%rbx), %ecx xorl %edi, %edi movq %r12, %rsi xorl %edx, %edx callq _git_path_isvalid xorl %edi, %edi movl %eax, %esi callq _cl_assert_equal_b movl (%rbx), %ecx xorl %edi, %edi movq %r13, %rsi xorl %edx, %edx callq _git_path_isvalid xorl %edi, %edi movl %eax, %esi callq _cl_assert_equal_b movl (%rbx), %ecx xorl %edi, %edi movq %r14, %rsi xorl %edx, %edx callq _git_path_isvalid xorl %edi, %edi movl %eax, %esi callq _cl_assert_equal_b leaq L_.str.6(%rip), %rsi xorl %edi, %edi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi callq _cl_assert_equal_b leaq L_.str.7(%rip), %rsi xorl %edi, %edi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi callq _cl_assert_equal_b leaq L_.str.8(%rip), %rsi xorl %edi, %edi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi callq _cl_assert_equal_b leaq L_.str.9(%rip), %rsi xorl %edi, %edi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi callq _cl_assert_equal_b leaq L_.str.10(%rip), %rsi xorl %edi, %edi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi callq _cl_assert_equal_b leaq L_.str.11(%rip), %rsi xorl %edi, %edi xorl %edx, %edx xorl %ecx, %ecx callq _git_path_isvalid movl $1, %edi movl %eax, %esi addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _cl_assert_equal_b ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz ".git" L_.str.1: ## @.str.1 .asciz ".git/foo" L_.str.2: ## @.str.2 .asciz "foo/.git" L_.str.3: ## @.str.3 .asciz "foo/.git/bar" L_.str.4: ## @.str.4 .asciz "foo/.GIT/bar" L_.str.5: ## @.str.5 .asciz "foo/bar/.Git" .comm _GIT_PATH_REJECT_DOT_GIT_LITERAL,4,2 ## @GIT_PATH_REJECT_DOT_GIT_LITERAL L_.str.6: ## @.str.6 .asciz "!git" L_.str.7: ## @.str.7 .asciz "foo/!git" L_.str.8: ## @.str.8 .asciz "!git/bar" L_.str.9: ## @.str.9 .asciz ".tig" L_.str.10: ## @.str.10 .asciz "foo/.tig" L_.str.11: ## @.str.11 .asciz ".tig/bar" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _test_path_core__isvalid_dot_git ; -- Begin function test_path_core__isvalid_dot_git .p2align 2 _test_path_core__isvalid_dot_git: ; @test_path_core__isvalid_dot_git .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill .cfi_def_cfa_offset 80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 Lloh0: adrp x19, l_.str@PAGE Lloh1: add x19, x19, l_.str@PAGEOFF mov x0, #0 mov x1, x19 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 bl _cl_assert_equal_b Lloh2: adrp x20, l_.str.1@PAGE Lloh3: add x20, x20, l_.str.1@PAGEOFF mov x0, #0 mov x1, x20 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 bl _cl_assert_equal_b Lloh4: adrp x21, l_.str.2@PAGE Lloh5: add x21, x21, l_.str.2@PAGEOFF mov x0, #0 mov x1, x21 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 bl _cl_assert_equal_b Lloh6: adrp x22, l_.str.3@PAGE Lloh7: add x22, x22, l_.str.3@PAGEOFF mov x0, #0 mov x1, x22 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 bl _cl_assert_equal_b Lloh8: adrp x23, l_.str.4@PAGE Lloh9: add x23, x23, l_.str.4@PAGEOFF mov x0, #0 mov x1, x23 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 bl _cl_assert_equal_b Lloh10: adrp x24, l_.str.5@PAGE Lloh11: add x24, x24, l_.str.5@PAGEOFF mov x0, #0 mov x1, x24 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 bl _cl_assert_equal_b Lloh12: adrp x25, _GIT_PATH_REJECT_DOT_GIT_LITERAL@GOTPAGE Lloh13: ldr x25, [x25, _GIT_PATH_REJECT_DOT_GIT_LITERAL@GOTPAGEOFF] ldr w3, [x25] mov x0, #0 mov x1, x19 mov w2, #0 bl _git_path_isvalid mov x1, x0 mov w0, #0 bl _cl_assert_equal_b ldr w3, [x25] mov x0, #0 mov x1, x20 mov w2, #0 bl _git_path_isvalid mov x1, x0 mov w0, #0 bl _cl_assert_equal_b ldr w3, [x25] mov x0, #0 mov x1, x21 mov w2, #0 bl _git_path_isvalid mov x1, x0 mov w0, #0 bl _cl_assert_equal_b ldr w3, [x25] mov x0, #0 mov x1, x22 mov w2, #0 bl _git_path_isvalid mov x1, x0 mov w0, #0 bl _cl_assert_equal_b ldr w3, [x25] mov x0, #0 mov x1, x23 mov w2, #0 bl _git_path_isvalid mov x1, x0 mov w0, #0 bl _cl_assert_equal_b ldr w3, [x25] mov x0, #0 mov x1, x24 mov w2, #0 bl _git_path_isvalid mov x1, x0 mov w0, #0 bl _cl_assert_equal_b Lloh14: adrp x1, l_.str.6@PAGE Lloh15: add x1, x1, l_.str.6@PAGEOFF mov x0, #0 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 bl _cl_assert_equal_b Lloh16: adrp x1, l_.str.7@PAGE Lloh17: add x1, x1, l_.str.7@PAGEOFF mov x0, #0 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 bl _cl_assert_equal_b Lloh18: adrp x1, l_.str.8@PAGE Lloh19: add x1, x1, l_.str.8@PAGEOFF mov x0, #0 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 bl _cl_assert_equal_b Lloh20: adrp x1, l_.str.9@PAGE Lloh21: add x1, x1, l_.str.9@PAGEOFF mov x0, #0 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 bl _cl_assert_equal_b Lloh22: adrp x1, l_.str.10@PAGE Lloh23: add x1, x1, l_.str.10@PAGEOFF mov x0, #0 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 bl _cl_assert_equal_b Lloh24: adrp x1, l_.str.11@PAGE Lloh25: add x1, x1, l_.str.11@PAGEOFF mov x0, #0 mov w2, #0 mov w3, #0 bl _git_path_isvalid mov x1, x0 mov w0, #1 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload b _cl_assert_equal_b .loh AdrpAdd Lloh24, Lloh25 .loh AdrpAdd Lloh22, Lloh23 .loh AdrpAdd Lloh20, Lloh21 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz ".git" l_.str.1: ; @.str.1 .asciz ".git/foo" l_.str.2: ; @.str.2 .asciz "foo/.git" l_.str.3: ; @.str.3 .asciz "foo/.git/bar" l_.str.4: ; @.str.4 .asciz "foo/.GIT/bar" l_.str.5: ; @.str.5 .asciz "foo/bar/.Git" .comm _GIT_PATH_REJECT_DOT_GIT_LITERAL,4,2 ; @GIT_PATH_REJECT_DOT_GIT_LITERAL l_.str.6: ; @.str.6 .asciz "!git" l_.str.7: ; @.str.7 .asciz "foo/!git" l_.str.8: ; @.str.8 .asciz "!git/bar" l_.str.9: ; @.str.9 .asciz ".tig" l_.str.10: ; @.str.10 .asciz "foo/.tig" l_.str.11: ; @.str.11 .asciz ".tig/bar" .subsections_via_symbols
AnghaBench/libgit2/tests/path/extr_core.c_test_path_core__isvalid_dot_git.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function free_old_transactions _free_old_transactions: ## @free_old_transactions .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _HASH_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax testl %eax, %eax js LBB0_14 ## %bb.1: movq %rdi, %rbx xorl %r12d, %r12d movq _H@GOTPCREL(%rip), %rsi jmp LBB0_2 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_2 Depth=1 movq _H@GOTPCREL(%rip), %rsi movq (%rsi), %rcx movq _HASH_MASK@GOTPCREL(%rip), %rax movl (%rax), %eax LBB0_13: ## in Loop: Header=BB0_2 Depth=1 movq %r14, (%rcx,%r12,8) leaq 1(%r12), %rcx movslq %eax, %rdx cmpq %rdx, %r12 movq %rcx, %r12 jge LBB0_14 LBB0_2: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movq (%rsi), %rcx movq (%rcx,%r12,8), %r15 testq %r15, %r15 je LBB0_3 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 xorl %r13d, %r13d xorl %r14d, %r14d jmp LBB0_5 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_5 Depth=2 callq _transaction_free LBB0_11: ## in Loop: Header=BB0_5 Depth=2 testq %r15, %r15 je LBB0_12 LBB0_5: ## Parent Loop BB0_2 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rdi movq 16(%r15), %r15 cmpq %rbx, (%rdi) jl LBB0_10 ## %bb.6: ## in Loop: Header=BB0_5 Depth=2 movq 8(%rdi), %rax movq _ts_running@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_10 ## %bb.7: ## in Loop: Header=BB0_5 Depth=2 movq $0, 16(%rdi) testq %r14, %r14 je LBB0_8 ## %bb.9: ## in Loop: Header=BB0_5 Depth=2 movq %rdi, 16(%r13) movq %rdi, %r13 jmp LBB0_11 LBB0_8: ## in Loop: Header=BB0_5 Depth=2 movq %rdi, %r14 movq %rdi, %r13 jmp LBB0_11 .p2align 4, 0x90 LBB0_3: ## in Loop: Header=BB0_2 Depth=1 xorl %r14d, %r14d jmp LBB0_13 LBB0_14: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _HASH_MASK,4,2 ## @HASH_MASK .comm _H,8,3 ## @H .comm _ts_running,8,3 ## @ts_running .no_dead_strip _free_old_transactions .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function free_old_transactions _free_old_transactions: ; @free_old_transactions .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 Lloh0: adrp x20, _HASH_MASK@GOTPAGE Lloh1: ldr x20, [x20, _HASH_MASK@GOTPAGEOFF] ldr w8, [x20] tbnz w8, #31, LBB0_14 ; %bb.1: mov x19, x0 mov x21, #0 ; =0x0 Lloh2: adrp x22, _H@GOTPAGE Lloh3: ldr x22, [x22, _H@GOTPAGEOFF] Lloh4: adrp x23, _ts_running@GOTPAGE Lloh5: ldr x23, [x23, _ts_running@GOTPAGEOFF] b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr x9, [x22] ldr w8, [x20] LBB0_3: ; in Loop: Header=BB0_4 Depth=1 str x24, [x9, x21, lsl #3] cmp x21, w8, sxtw add x21, x21, #1 b.ge LBB0_14 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_8 Depth 2 ldr x9, [x22] ldr x25, [x9, x21, lsl #3] cbz x25, LBB0_13 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x26, #0 ; =0x0 mov x24, #0 ; =0x0 b LBB0_8 LBB0_6: ; in Loop: Header=BB0_8 Depth=2 bl _transaction_free LBB0_7: ; in Loop: Header=BB0_8 Depth=2 cbz x25, LBB0_2 LBB0_8: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 mov x0, x25 ldr x25, [x25, #16] ldr x8, [x0] cmp x8, x19 b.lt LBB0_6 ; %bb.9: ; in Loop: Header=BB0_8 Depth=2 ldr x8, [x0, #8] ldr x9, [x23] cmp x8, x9 b.ne LBB0_6 ; %bb.10: ; in Loop: Header=BB0_8 Depth=2 str xzr, [x0, #16] cbz x24, LBB0_12 ; %bb.11: ; in Loop: Header=BB0_8 Depth=2 str x0, [x26, #16] mov x26, x0 b LBB0_7 LBB0_12: ; in Loop: Header=BB0_8 Depth=2 mov x24, x0 mov x26, x0 b LBB0_7 LBB0_13: ; in Loop: Header=BB0_4 Depth=1 mov x24, #0 ; =0x0 b LBB0_3 LBB0_14: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _HASH_MASK,4,2 ; @HASH_MASK .comm _H,8,3 ; @H .comm _ts_running,8,3 ; @ts_running .no_dead_strip _free_old_transactions .subsections_via_symbols
assembly_file_51976.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bhnd_pmu_set_switcher_voltage ## -- Begin function bhnd_pmu_set_switcher_voltage .p2align 4, 0x90 _bhnd_pmu_set_switcher_voltage: ## @bhnd_pmu_set_switcher_voltage .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edx, %ebx movl %esi, %edx movq %rdi, %r14 andl $31, %edx shll $22, %edx movl $1, %esi movl $-1, %ecx callq _BHND_PMU_REGCTRL_WRITE andl $31, %ebx shll $14, %ebx movq %r14, %rdi xorl %esi, %esi movl %ebx, %edx movl $-1, %ecx popq %rbx popq %r14 popq %rbp jmp _BHND_PMU_REGCTRL_WRITE ## TAILCALL .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _bhnd_pmu_set_switcher_voltage ; -- Begin function bhnd_pmu_set_switcher_voltage .p2align 2 _bhnd_pmu_set_switcher_voltage: ; @bhnd_pmu_set_switcher_voltage .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x2 mov x20, x0 ubfiz w2, w1, #22, #5 mov w1, #1 mov w3, #-1 bl _BHND_PMU_REGCTRL_WRITE ubfiz w2, w19, #14, #5 mov x0, x20 mov w1, #0 mov w3, #-1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _BHND_PMU_REGCTRL_WRITE .cfi_endproc ; -- End function .subsections_via_symbols
AnghaBench/freebsd/sys/dev/bhnd/cores/pmu/extr_bhnd_pmu_subr.c_bhnd_pmu_set_switcher_voltage.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function file_remove _file_remove: ## @file_remove .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl $1, %r15d leaq -32(%rbp), %rdx movl $1, %esi callq _luaL_checklstring movq %rax, %r14 movq %rax, %rdi callq _vfs_basename movq %rax, %rdi callq _strlen movq _FS_OBJ_NAME_LEN@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jbe LBB0_2 ## %bb.1: movq %r14, %rdi callq _strlen xorl %r15d, %r15d cmpq -32(%rbp), %rax sete %r15b LBB0_2: leaq L_.str(%rip), %rcx movq %rbx, %rdi movl %r15d, %esi movl $1, %edx callq _luaL_argcheck movq %r14, %rdi callq _vfs_remove xorl %eax, %eax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _FS_OBJ_NAME_LEN,8,3 ## @FS_OBJ_NAME_LEN .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "filename invalid" .no_dead_strip _file_remove .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function file_remove _file_remove: ; @file_remove .cfi_startproc ; %bb.0: sub sp, sp, #64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 mov w21, #1 ; =0x1 add x2, sp, #8 mov w1, #1 ; =0x1 bl _luaL_checklstring mov x20, x0 bl _vfs_basename bl _strlen Lloh0: adrp x8, _FS_OBJ_NAME_LEN@GOTPAGE Lloh1: ldr x8, [x8, _FS_OBJ_NAME_LEN@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, x8 b.ls LBB0_2 ; %bb.1: mov x0, x20 bl _strlen ldr x8, [sp, #8] cmp x0, x8 cset w21, eq LBB0_2: Lloh3: adrp x3, l_.str@PAGE Lloh4: add x3, x3, l_.str@PAGEOFF mov x0, x19 mov x1, x21 mov w2, #1 ; =0x1 bl _luaL_argcheck mov x0, x20 bl _vfs_remove mov w0, #0 ; =0x0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .comm _FS_OBJ_NAME_LEN,8,3 ; @FS_OBJ_NAME_LEN .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "filename invalid" .no_dead_strip _file_remove .subsections_via_symbols
assembly_file_83520.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ikev2_process_sa_auth_decrypted _ikev2_process_sa_auth_decrypted: ## @ikev2_process_sa_auth_decrypted .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $32, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, %r15 movq %rdx, %rbx movl %esi, %r12d movq %rdi, %r14 movq _MSG_DEBUG@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str(%rip), %rsi callq _wpa_printf leaq (%rbx,%r15,4), %rcx leaq -56(%rbp), %rdi movl %r12d, %esi movq %rbx, %rdx callq _ikev2_parse_payloads testq %rax, %rax js LBB0_1 ## %bb.2: movl -40(%rbp), %edx movl -36(%rbp), %esi movq %r14, %rdi callq _ikev2_process_idr movl $-1, %ebx testq %rax, %rax js LBB0_5 ## %bb.3: movl -48(%rbp), %edx movl -44(%rbp), %esi movq %r14, %rdi callq _ikev2_process_cert testq %rax, %rax js LBB0_5 ## %bb.4: movl -56(%rbp), %edx movl -52(%rbp), %esi movq %r14, %rdi callq _ikev2_process_auth movq %rax, %rbx sarq $63, %rbx jmp LBB0_5 LBB0_1: movq _MSG_INFO@GOTPCREL(%rip), %rax movl (%rax), %edi leaq L_.str.1(%rip), %rsi callq _wpa_printf movl $-1, %ebx LBB0_5: movl %ebx, %eax addq $32, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MSG_DEBUG,4,2 ## @MSG_DEBUG .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "IKEV2: Processing decrypted payloads" .comm _MSG_INFO,4,2 ## @MSG_INFO L_.str.1: ## @.str.1 .asciz "IKEV2: Failed to parse decrypted payloads" .no_dead_strip _ikev2_process_sa_auth_decrypted .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ikev2_process_sa_auth_decrypted _ikev2_process_sa_auth_decrypted: ; @ikev2_process_sa_auth_decrypted .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x3 mov x21, x2 mov x22, x1 mov x19, x0 Lloh0: adrp x8, _MSG_DEBUG@GOTPAGE Lloh1: ldr x8, [x8, _MSG_DEBUG@GOTPAGEOFF] Lloh2: ldr w0, [x8] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF bl _wpa_printf add x3, x21, x20, lsl #2 add x0, sp, #8 mov x1, x22 mov x2, x21 bl _ikev2_parse_payloads tbnz x0, #63, LBB0_4 ; %bb.1: ldp w2, w1, [sp, #24] mov x0, x19 bl _ikev2_process_idr tbnz x0, #63, LBB0_5 ; %bb.2: ldp w2, w1, [sp, #16] mov x0, x19 bl _ikev2_process_cert tbnz x0, #63, LBB0_5 ; %bb.3: ldp w2, w1, [sp, #8] mov x0, x19 bl _ikev2_process_auth asr x0, x0, #63 b LBB0_6 LBB0_4: Lloh5: adrp x8, _MSG_INFO@GOTPAGE Lloh6: ldr x8, [x8, _MSG_INFO@GOTPAGEOFF] Lloh7: ldr w0, [x8] Lloh8: adrp x1, l_.str.1@PAGE Lloh9: add x1, x1, l_.str.1@PAGEOFF bl _wpa_printf LBB0_5: mov w0, #-1 LBB0_6: ; kill: def $w0 killed $w0 killed $x0 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _MSG_DEBUG,4,2 ; @MSG_DEBUG .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "IKEV2: Processing decrypted payloads" .comm _MSG_INFO,4,2 ; @MSG_INFO l_.str.1: ; @.str.1 .asciz "IKEV2: Failed to parse decrypted payloads" .no_dead_strip _ikev2_process_sa_auth_decrypted .subsections_via_symbols
AnghaBench/freebsd/contrib/wpa/src/eap_server/extr_ikev2.c_ikev2_process_sa_auth_decrypted.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dirload ## -- Begin function dirload .p2align 4, 0x90 _dirload: ## @dirload .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $152, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 testq %rdi, %rdi je LBB0_33 ## %bb.1: movq %rsi, %r13 testq %rsi, %rsi je LBB0_34 ## %bb.2: testq %rdx, %rdx je LBB0_35 ## %bb.3: movq %rdi, %r14 callq _opendir$INODE64 testq %rax, %rax je LBB0_24 ## %bb.4: movq %rax, %r15 movq %rax, %rdi callq _dirfd cmpl $-1, %eax je LBB0_26 ## %bb.5: movl %eax, %edi callq _fchdir movl %eax, %ebx callq ___error cmpl $-1, %ebx je LBB0_29 ## %bb.6: movl $0, (%rax) movq %r15, %rdi callq _readdir$INODE64 testq %rax, %rax je LBB0_27 ## %bb.7: movq %rax, %r12 jmp LBB0_9 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_9 Depth=1 movq %r15, %rdi callq _readdir$INODE64 movq %rax, %r12 testq %rax, %rax je LBB0_27 LBB0_9: ## =>This Inner Loop Header: Depth=1 cmpb $46, 21(%r12) jne LBB0_13 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 movzbl 22(%r12), %eax testb %al, %al je LBB0_8 ## %bb.11: ## in Loop: Header=BB0_9 Depth=1 cmpb $46, %al jne LBB0_13 ## %bb.12: ## in Loop: Header=BB0_9 Depth=1 cmpb $0, 23(%r12) je LBB0_8 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_9 Depth=1 leaq 21(%r12), %rbx cmpb $0, 20(%r12) jne LBB0_22 ## %bb.14: ## in Loop: Header=BB0_9 Depth=1 movq %rbx, %rdi leaq -184(%rbp), %rsi callq _stat$INODE64 cmpl $-1, %eax je LBB0_31 ## %bb.15: ## in Loop: Header=BB0_9 Depth=1 movzwl -180(%rbp), %eax andl $61440, %eax ## imm = 0xF000 cmpl $32768, %eax ## imm = 0x8000 je LBB0_19 ## %bb.16: ## in Loop: Header=BB0_9 Depth=1 movzwl %ax, %eax cmpl $16384, %eax ## imm = 0x4000 je LBB0_20 ## %bb.17: ## in Loop: Header=BB0_9 Depth=1 cmpl $40960, %eax ## imm = 0xA000 jne LBB0_22 ## %bb.18: ## in Loop: Header=BB0_9 Depth=1 movb $10, %al jmp LBB0_21 LBB0_19: ## in Loop: Header=BB0_9 Depth=1 movb $8, %al jmp LBB0_21 LBB0_20: ## in Loop: Header=BB0_9 Depth=1 movb $4, %al LBB0_21: ## in Loop: Header=BB0_9 Depth=1 movb %al, 20(%r12) LBB0_22: ## in Loop: Header=BB0_9 Depth=1 movq %rbx, %rdi callq _strlen movq 8(%r13), %rdi leaq (%rdi,%rax), %rcx incq %rcx cmpq 16(%r13), %rcx ja LBB0_8 ## %bb.23: ## in Loop: Header=BB0_9 Depth=1 incq %rax addq (%r13), %rdi movq %rbx, %rsi movq %rax, %rdx callq _memcpy jmp LBB0_8 LBB0_24: movl $1, %eax jmp LBB0_25 LBB0_26: callq ___error movl (%rax), %ebx movq %r15, %rdi callq _closedir callq ___error movl %ebx, (%rax) movl $2, %eax jmp LBB0_25 LBB0_27: callq ___error cmpl $0, (%rax) je LBB0_30 ## %bb.28: callq ___error movl (%rax), %ebx movq %r15, %rdi callq _closedir callq ___error movl %ebx, (%rax) movl $4, %eax jmp LBB0_25 LBB0_29: movl (%rax), %ebx movq %r15, %rdi callq _closedir callq ___error movl %ebx, (%rax) movl $3, %eax jmp LBB0_25 LBB0_30: xorl %eax, %eax xorl %r14d, %r14d LBB0_25: ## kill: def $eax killed $eax killed $rax movq %r14, %rdx LBB0_32: addq $152, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_31: callq ___error movl (%rax), %r14d movq %r15, %rdi callq _closedir callq ___error movl %r14d, (%rax) movl $5, %eax movq %rbx, %r14 ## kill: def $eax killed $eax killed $rax movq %rbx, %rdx jmp LBB0_32 LBB0_33: callq _dirload.cold.1 jmp LBB0_36 LBB0_34: callq _dirload.cold.2 jmp LBB0_36 LBB0_35: callq _dirload.cold.3 LBB0_36: xorl %eax, %eax xorl %edx, %edx jmp LBB0_32 .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function dirload.cold.1 _dirload.cold.1: ## @dirload.cold.1 .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___func__.dirload(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.1(%rip), %rcx pushq $71 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function dirload.cold.2 _dirload.cold.2: ## @dirload.cold.2 .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___func__.dirload(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.2(%rip), %rcx pushq $72 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function dirload.cold.3 _dirload.cold.3: ## @dirload.cold.3 .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___func__.dirload(%rip), %rdi leaq L_.str(%rip), %rsi leaq L_.str.3(%rip), %rcx pushq $73 popq %rdx callq ___assert_rtn .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L___func__.dirload: ## @__func__.dirload .asciz "dirload" L_.str: ## @.str .asciz "656528.c" L_.str.1: ## @.str.1 .asciz "dirname" L_.str.2: ## @.str.2 .asciz "tout" L_.str.3: ## @.str.3 .asciz "nelem" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _dirload ; -- Begin function dirload .p2align 2 _dirload: ; @dirload .cfi_startproc ; %bb.0: sub sp, sp, #208 .cfi_def_cfa_offset 208 stp x24, x23, [sp, #144] ; 16-byte Folded Spill stp x22, x21, [sp, #160] ; 16-byte Folded Spill stp x20, x19, [sp, #176] ; 16-byte Folded Spill stp x29, x30, [sp, #192] ; 16-byte Folded Spill add x29, sp, #192 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 cbz x0, LBB0_32 ; %bb.1: mov x21, x1 cbz x1, LBB0_33 ; %bb.2: cbz x2, LBB0_34 ; %bb.3: mov x19, x0 bl _opendir cbz x0, LBB0_24 ; %bb.4: mov x20, x0 bl _dirfd cmn w0, #1 b.eq LBB0_25 ; %bb.5: bl _fchdir mov x22, x0 bl ___error cmn w22, #1 b.eq LBB0_28 ; %bb.6: str wzr, [x0] mov x0, x20 bl _readdir cbz x0, LBB0_26 ; %bb.7: mov x23, x0 b LBB0_9 LBB0_8: ; in Loop: Header=BB0_9 Depth=1 mov x0, x20 bl _readdir mov x23, x0 cbz x0, LBB0_26 LBB0_9: ; =>This Inner Loop Header: Depth=1 mov x22, x23 ldrb w8, [x22, #21]! cmp w8, #46 b.ne LBB0_13 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 ldrb w8, [x23, #22] cbz w8, LBB0_8 ; %bb.11: ; in Loop: Header=BB0_9 Depth=1 cmp w8, #46 b.ne LBB0_13 ; %bb.12: ; in Loop: Header=BB0_9 Depth=1 ldrb w8, [x23, #23] cbz w8, LBB0_8 LBB0_13: ; in Loop: Header=BB0_9 Depth=1 ldrb w8, [x23, #20] cbnz w8, LBB0_22 ; %bb.14: ; in Loop: Header=BB0_9 Depth=1 mov x1, sp mov x0, x22 bl _stat cmn w0, #1 b.eq LBB0_30 ; %bb.15: ; in Loop: Header=BB0_9 Depth=1 ldrh w8, [sp, #4] and w8, w8, #0xf000 cmp w8, #4, lsl #12 ; =16384 b.eq LBB0_19 ; %bb.16: ; in Loop: Header=BB0_9 Depth=1 cmp w8, #8, lsl #12 ; =32768 b.eq LBB0_20 ; %bb.17: ; in Loop: Header=BB0_9 Depth=1 cmp w8, #10, lsl #12 ; =40960 b.ne LBB0_22 ; %bb.18: ; in Loop: Header=BB0_9 Depth=1 mov w8, #10 b LBB0_21 LBB0_19: ; in Loop: Header=BB0_9 Depth=1 mov w8, #4 b LBB0_21 LBB0_20: ; in Loop: Header=BB0_9 Depth=1 mov w8, #8 LBB0_21: ; in Loop: Header=BB0_9 Depth=1 strb w8, [x23, #20] LBB0_22: ; in Loop: Header=BB0_9 Depth=1 mov x0, x22 bl _strlen add x2, x0, #1 ldp x8, x9, [x21, #8] add x10, x8, x2 cmp x10, x9 b.hi LBB0_8 ; %bb.23: ; in Loop: Header=BB0_9 Depth=1 ldr x9, [x21] add x0, x9, x8 mov x1, x22 bl _memcpy b LBB0_8 LBB0_24: mov w0, #1 b LBB0_31 LBB0_25: bl ___error ldr w21, [x0] mov x0, x20 bl _closedir bl ___error str w21, [x0] mov w0, #2 b LBB0_31 LBB0_26: bl ___error ldr w8, [x0] cbz w8, LBB0_29 ; %bb.27: bl ___error ldr w21, [x0] mov x0, x20 bl _closedir bl ___error str w21, [x0] mov w0, #4 b LBB0_31 LBB0_28: ldr w21, [x0] mov x0, x20 bl _closedir bl ___error str w21, [x0] mov w0, #3 b LBB0_31 LBB0_29: mov x0, #0 mov x19, #0 b LBB0_31 LBB0_30: bl ___error ldr w19, [x0] mov x0, x20 bl _closedir bl ___error str w19, [x0] mov w0, #5 mov x19, x22 LBB0_31: mov x1, x19 ldp x29, x30, [sp, #192] ; 16-byte Folded Reload ldp x20, x19, [sp, #176] ; 16-byte Folded Reload ldp x22, x21, [sp, #160] ; 16-byte Folded Reload ldp x24, x23, [sp, #144] ; 16-byte Folded Reload add sp, sp, #208 ret LBB0_32: bl _dirload.cold.1 LBB0_33: bl _dirload.cold.2 LBB0_34: bl _dirload.cold.3 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function dirload.cold.1 _dirload.cold.1: ; @dirload.cold.1 .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 Lloh0: adrp x0, l___func__.dirload@PAGE Lloh1: add x0, x0, l___func__.dirload@PAGEOFF Lloh2: adrp x1, l_.str@PAGE Lloh3: add x1, x1, l_.str@PAGEOFF Lloh4: adrp x3, l_.str.1@PAGE Lloh5: add x3, x3, l_.str.1@PAGEOFF mov w2, #71 bl ___assert_rtn .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function dirload.cold.2 _dirload.cold.2: ; @dirload.cold.2 .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 Lloh6: adrp x0, l___func__.dirload@PAGE Lloh7: add x0, x0, l___func__.dirload@PAGEOFF Lloh8: adrp x1, l_.str@PAGE Lloh9: add x1, x1, l_.str@PAGEOFF Lloh10: adrp x3, l_.str.2@PAGE Lloh11: add x3, x3, l_.str.2@PAGEOFF mov w2, #72 bl ___assert_rtn .loh AdrpAdd Lloh10, Lloh11 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function dirload.cold.3 _dirload.cold.3: ; @dirload.cold.3 .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 Lloh12: adrp x0, l___func__.dirload@PAGE Lloh13: add x0, x0, l___func__.dirload@PAGEOFF Lloh14: adrp x1, l_.str@PAGE Lloh15: add x1, x1, l_.str@PAGEOFF Lloh16: adrp x3, l_.str.3@PAGE Lloh17: add x3, x3, l_.str.3@PAGEOFF mov w2, #73 bl ___assert_rtn .loh AdrpAdd Lloh16, Lloh17 .loh AdrpAdd Lloh14, Lloh15 .loh AdrpAdd Lloh12, Lloh13 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l___func__.dirload: ; @__func__.dirload .asciz "dirload" l_.str: ; @.str .asciz "656528.c" l_.str.1: ; @.str.1 .asciz "dirname" l_.str.2: ; @.str.2 .asciz "tout" l_.str.3: ; @.str.3 .asciz "nelem" .subsections_via_symbols
the_stack_data/656528.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function hidp_recv_intr_frame _hidp_recv_intr_frame: ## @hidp_recv_intr_frame .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %rbx movq %rdi, %r14 movzbl (%rsi), %ecx leaq L_.str(%rip), %rdi movq %r14, %rsi movq %rbx, %rdx xorl %eax, %eax callq _BT_DBG movq 8(%rbx), %rax movb (%rax), %r15b movq %rbx, %rdi movl $1, %esi callq _skb_pull movq _HIDP_TRANS_DATA@GOTPCREL(%rip), %rax movq _HIDP_DATA_RTYPE_INPUT@GOTPCREL(%rip), %rcx movb (%rcx), %cl orb (%rax), %cl cmpb %cl, %r15b jne LBB0_1 ## %bb.2: movq %r14, %rdi callq _hidp_set_timer cmpq $0, 8(%r14) je LBB0_4 ## %bb.3: movq %r14, %rdi movq %rbx, %rsi callq _hidp_input_report LBB0_4: cmpq $0, (%r14) je LBB0_7 ## %bb.5: movq _HID_INPUT_REPORT@GOTPCREL(%rip), %rax movl (%rax), %esi movq 8(%rbx), %rdx movzbl (%rbx), %ecx movq %r14, %rdi movl $1, %r8d callq _hidp_process_report movb (%rbx), %r15b leaq L_.str.1(%rip), %rdi jmp LBB0_6 LBB0_1: leaq L_.str.2(%rip), %rdi LBB0_6: movzbl %r15b, %esi xorl %eax, %eax callq _BT_DBG LBB0_7: movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _kfree_skb ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "session %p skb %p len %d" .comm _HIDP_TRANS_DATA,1,0 ## @HIDP_TRANS_DATA .comm _HIDP_DATA_RTYPE_INPUT,1,0 ## @HIDP_DATA_RTYPE_INPUT .comm _HID_INPUT_REPORT,4,2 ## @HID_INPUT_REPORT L_.str.1: ## @.str.1 .asciz "report len %d" L_.str.2: ## @.str.2 .asciz "Unsupported protocol header 0x%02x" .no_dead_strip _hidp_recv_intr_frame .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function hidp_recv_intr_frame _hidp_recv_intr_frame: ; @hidp_recv_intr_frame .cfi_startproc ; %bb.0: sub sp, sp, #80 .cfi_def_cfa_offset 80 stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 ldrb w8, [x1] stp x1, x8, [sp, #8] str x0, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _BT_DBG ldr x8, [x19, #8] ldrb w21, [x8] mov x0, x19 mov w1, #1 bl _skb_pull Lloh2: adrp x8, _HIDP_TRANS_DATA@GOTPAGE Lloh3: ldr x8, [x8, _HIDP_TRANS_DATA@GOTPAGEOFF] ldrb w8, [x8] Lloh4: adrp x9, _HIDP_DATA_RTYPE_INPUT@GOTPAGE Lloh5: ldr x9, [x9, _HIDP_DATA_RTYPE_INPUT@GOTPAGEOFF] ldrb w9, [x9] orr w8, w9, w8 cmp w21, w8 b.ne LBB0_5 ; %bb.1: mov x0, x20 bl _hidp_set_timer ldr x8, [x20, #8] cbz x8, LBB0_3 ; %bb.2: mov x0, x20 mov x1, x19 bl _hidp_input_report LBB0_3: ldr x8, [x20] cbz x8, LBB0_7 ; %bb.4: Lloh6: adrp x8, _HID_INPUT_REPORT@GOTPAGE Lloh7: ldr x8, [x8, _HID_INPUT_REPORT@GOTPAGEOFF] Lloh8: ldr w1, [x8] ldr x2, [x19, #8] ldrb w3, [x19] mov x0, x20 mov w4, #1 bl _hidp_process_report ldrb w21, [x19] Lloh9: adrp x0, l_.str.1@PAGE Lloh10: add x0, x0, l_.str.1@PAGEOFF b LBB0_6 LBB0_5: Lloh11: adrp x0, l_.str.2@PAGE Lloh12: add x0, x0, l_.str.2@PAGEOFF LBB0_6: str x21, [sp] bl _BT_DBG LBB0_7: mov x0, x19 ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload add sp, sp, #80 b _kfree_skb .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh11, Lloh12 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "session %p skb %p len %d" .comm _HIDP_TRANS_DATA,1,0 ; @HIDP_TRANS_DATA .comm _HIDP_DATA_RTYPE_INPUT,1,0 ; @HIDP_DATA_RTYPE_INPUT .comm _HID_INPUT_REPORT,4,2 ; @HID_INPUT_REPORT l_.str.1: ; @.str.1 .asciz "report len %d" l_.str.2: ; @.str.2 .asciz "Unsupported protocol header 0x%02x" .no_dead_strip _hidp_recv_intr_frame .subsections_via_symbols
AnghaBench/linux/net/bluetooth/hidp/extr_core.c_hidp_recv_intr_frame.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cvmx_app_hotplug_get_info_at_index ## -- Begin function cvmx_app_hotplug_get_info_at_index .p2align 4, 0x90 _cvmx_app_hotplug_get_info_at_index: ## @cvmx_app_hotplug_get_info_at_index .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movl %edi, %r14d xorl %ebx, %ebx xorl %eax, %eax callq _cvmx_app_get_hotplug_global_ptr testq %rax, %rax je LBB0_5 ## %bb.1: movq _CVMX_APP_HOTPLUG_MAX_APPS@GOTPCREL(%rip), %rcx cmpl %r14d, (%rcx) jle LBB0_4 ## %bb.2: movq (%rax), %rax movslq %r14d, %rcx cmpq $0, (%rax,%rcx,8) je LBB0_4 ## %bb.3: leaq (%rax,%rcx,8), %rbx jmp LBB0_5 LBB0_4: xorl %ebx, %ebx LBB0_5: movq %rbx, %rax popq %rbx popq %r14 popq %rbp retq .cfi_endproc ## -- End function .comm _CVMX_APP_HOTPLUG_MAX_APPS,4,2 ## @CVMX_APP_HOTPLUG_MAX_APPS .comm _block_desc,8,3 ## @block_desc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _cvmx_app_hotplug_get_info_at_index ; -- Begin function cvmx_app_hotplug_get_info_at_index .p2align 2 _cvmx_app_hotplug_get_info_at_index: ; @cvmx_app_hotplug_get_info_at_index .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _cvmx_app_get_hotplug_global_ptr cbz x0, LBB0_4 ; %bb.1: Lloh0: adrp x8, _CVMX_APP_HOTPLUG_MAX_APPS@GOTPAGE Lloh1: ldr x8, [x8, _CVMX_APP_HOTPLUG_MAX_APPS@GOTPAGEOFF] Lloh2: ldr w8, [x8] cmp w8, w19 b.le LBB0_3 ; %bb.2: ldr x8, [x0] add x0, x8, w19, sxtw #3 ldr x8, [x0] cbnz x8, LBB0_4 LBB0_3: mov x0, #0 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _CVMX_APP_HOTPLUG_MAX_APPS,4,2 ; @CVMX_APP_HOTPLUG_MAX_APPS .comm _block_desc,8,3 ; @block_desc .subsections_via_symbols
AnghaBench/freebsd/sys/contrib/octeon-sdk/extr_cvmx-app-hotplug.c_cvmx_app_hotplug_get_info_at_index.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _msi_font_version_from_file ## -- Begin function msi_font_version_from_file .p2align 4, 0x90 _msi_font_version_from_file: ## @msi_font_version_from_file .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _NAME_ID_VERSION@GOTPCREL(%rip), %rax movl (%rax), %esi callq _load_ttf_name_id testq %rax, %rax je LBB0_1 ## %bb.2: movq %rax, %rbx movq %rax, %rdi movl $59, %esi callq _strchrW testq %rax, %rax je LBB0_4 ## %bb.3: movb $0, (%rax) LBB0_4: movq %rbx, %r12 jmp LBB0_5 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_5 Depth=1 decq %r12 LBB0_5: ## =>This Inner Loop Header: Depth=1 cmpb $0, (%r12) jne LBB0_7 ## %bb.6: ## in Loop: Header=BB0_5 Depth=1 xorl %edi, %edi callq _isdigitW testq %rax, %rax je LBB0_7 ## %bb.8: movq %r12, %rdi movl $46, %esi callq _strchrW xorl %r14d, %r14d testq %rax, %rax je LBB0_9 ## %bb.10: movq %rax, %r15 movq %r12, %rdi callq _atoiW movl %eax, %r12d movzbl 1(%r15), %eax testb %al, %al je LBB0_15 ## %bb.11: leaq 2(%r15), %r13 .p2align 4, 0x90 LBB0_12: ## =>This Inner Loop Header: Depth=1 movsbl %al, %edi callq _isdigitW testq %rax, %rax je LBB0_14 ## %bb.13: ## in Loop: Header=BB0_12 Depth=1 movzbl (%r13), %eax incq %r13 testb %al, %al jne LBB0_12 jmp LBB0_15 LBB0_1: xorl %r15d, %r15d jmp LBB0_17 LBB0_9: xorl %r13d, %r13d jmp LBB0_16 LBB0_14: movzbl -1(%r13), %eax movl $0, %r13d testb $-33, %al jne LBB0_16 LBB0_15: incq %r15 movq %r15, %rdi callq _atoiW movl %eax, %r13d movl %r12d, %r14d LBB0_16: leaq _msi_font_version_from_file.fmtW(%rip), %r12 movq %r12, %rdi callq _strlenW ## kill: def $eax killed $eax def $rax leal 20(%rax), %edi callq _msi_alloc movq %rax, %r15 movq %rax, %rdi movq %r12, %rsi movl %r14d, %edx movl %r13d, %ecx callq _sprintfW movq %rbx, %rdi callq _msi_free LBB0_17: movq %r15, %rax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__const _msi_font_version_from_file.fmtW: ## @msi_font_version_from_file.fmtW .asciz "%u.%u.0.0" .comm _NAME_ID_VERSION,4,2 ## @NAME_ID_VERSION .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .globl _msi_font_version_from_file ; -- Begin function msi_font_version_from_file .p2align 2 _msi_font_version_from_file: ; @msi_font_version_from_file .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x8, _NAME_ID_VERSION@GOTPAGE Lloh1: ldr x8, [x8, _NAME_ID_VERSION@GOTPAGEOFF] Lloh2: ldr w1, [x8] bl _load_ttf_name_id cbz x0, LBB0_12 ; %bb.1: mov x19, x0 mov w1, #59 ; =0x3b bl _strchrW cbz x0, LBB0_3 ; %bb.2: strb wzr, [x0] LBB0_3: mov x20, x19 b LBB0_5 LBB0_4: ; in Loop: Header=BB0_5 Depth=1 sub x20, x20, #1 LBB0_5: ; =>This Inner Loop Header: Depth=1 ldrb w8, [x20] cbnz w8, LBB0_4 ; %bb.6: ; in Loop: Header=BB0_5 Depth=1 mov w0, #0 ; =0x0 bl _isdigitW cbz x0, LBB0_4 ; %bb.7: mov x0, x20 mov w1, #46 ; =0x2e bl _strchrW cbz x0, LBB0_15 ; %bb.8: mov x22, x0 mov x0, x20 bl _atoiW mov x20, x0 mov x21, x22 ldrb w8, [x21, #1]! cbz w8, LBB0_14 ; %bb.9: add x22, x22, #2 LBB0_10: ; =>This Inner Loop Header: Depth=1 sxtb w0, w8 bl _isdigitW cbz x0, LBB0_13 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 ldrb w8, [x22], #1 cbnz w8, LBB0_10 b LBB0_14 LBB0_12: mov x22, #0 ; =0x0 b LBB0_17 LBB0_13: ldurb w8, [x22, #-1] orr w8, w8, #0x20 cmp w8, #32 b.ne LBB0_15 LBB0_14: mov x0, x21 bl _atoiW mov x21, x0 b LBB0_16 LBB0_15: mov w20, #0 ; =0x0 mov w21, #0 ; =0x0 LBB0_16: Lloh3: adrp x23, _msi_font_version_from_file.fmtW@PAGE Lloh4: add x23, x23, _msi_font_version_from_file.fmtW@PAGEOFF mov x0, x23 bl _strlenW add w0, w0, #20 bl _msi_alloc mov x22, x0 mov x1, x23 mov x2, x20 mov x3, x21 bl _sprintfW mov x0, x19 bl _msi_free LBB0_17: mov x0, x22 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__const _msi_font_version_from_file.fmtW: ; @msi_font_version_from_file.fmtW .asciz "%u.%u.0.0" .comm _NAME_ID_VERSION,4,2 ; @NAME_ID_VERSION .subsections_via_symbols
assembly_file_174539.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _process_record_user ## -- Begin function process_record_user .p2align 4, 0x90 _process_record_user: ## @process_record_user .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp cmpl $128, %edi je LBB0_4 ## %bb.1: movl $1, %eax cmpl $129, %edi jne LBB0_8 ## %bb.2: cmpl $0, (%rsi) movq __LOWER@GOTPCREL(%rip), %rax movl (%rax), %edi je LBB0_6 LBB0_3: callq _layer_on jmp LBB0_7 LBB0_4: cmpl $0, (%rsi) movq __RAISE@GOTPCREL(%rip), %rax movl (%rax), %edi jne LBB0_3 LBB0_6: callq _layer_off LBB0_7: movq __LOWER@GOTPCREL(%rip), %rax movl (%rax), %edi movq __RAISE@GOTPCREL(%rip), %rax movl (%rax), %esi movq __ADJUST@GOTPCREL(%rip), %rax movl (%rax), %edx callq _update_tri_layer xorl %eax, %eax LBB0_8: popq %rbp retq .cfi_endproc ## -- End function .comm __LOWER,4,2 ## @_LOWER .comm __RAISE,4,2 ## @_RAISE .comm __ADJUST,4,2 ## @_ADJUST .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _process_record_user ; -- Begin function process_record_user .p2align 2 _process_record_user: ; @process_record_user .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 Lloh0: adrp x19, __LOWER@GOTPAGE Lloh1: ldr x19, [x19, __LOWER@GOTPAGEOFF] Lloh2: adrp x20, __RAISE@GOTPAGE Lloh3: ldr x20, [x20, __RAISE@GOTPAGEOFF] cmp w0, #128 b.eq LBB0_4 ; %bb.1: cmp w0, #129 b.ne LBB0_7 ; %bb.2: ldr w8, [x1] ldr w0, [x19] cbz w8, LBB0_5 LBB0_3: bl _layer_on b LBB0_6 LBB0_4: ldr w8, [x1] ldr w0, [x20] cbnz w8, LBB0_3 LBB0_5: bl _layer_off LBB0_6: ldr w0, [x19] ldr w1, [x20] Lloh4: adrp x8, __ADJUST@GOTPAGE Lloh5: ldr x8, [x8, __ADJUST@GOTPAGEOFF] Lloh6: ldr w2, [x8] bl _update_tri_layer mov w0, #0 b LBB0_8 LBB0_7: mov w0, #1 LBB0_8: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh4, Lloh5, Lloh6 .cfi_endproc ; -- End function .comm __LOWER,4,2 ; @_LOWER .comm __RAISE,4,2 ; @_RAISE .comm __ADJUST,4,2 ; @_ADJUST .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/jnao/keymaps/default_4x12/extr_keymap.c_process_record_user.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _snd_opl3_calc_volume ## -- Begin function snd_opl3_calc_volume .p2align 4, 0x90 _snd_opl3_calc_volume: ## @snd_opl3_calc_volume .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp imull (%rdx), %esi imull 4(%rdx), %esi movslq %esi, %rax imulq $-2113531863, %rax, %rcx ## imm = 0x82061029 shrq $32, %rcx addl %ecx, %eax movl %eax, %ecx shrl $31, %ecx sarl $13, %eax addl %ecx, %eax cmpl $127, %eax movl $127, %ecx cmovll %eax, %ecx movq _OPL3_TOTAL_LEVEL_MASK@GOTPCREL(%rip), %rax movzbl (%rax), %esi movb (%rdi), %r8b movl %r8d, %edx andb %sil, %dl movzbl %dl, %edx movl %esi, %eax subl %edx, %eax movq _opl3_volume_table@GOTPCREL(%rip), %rdx movq (%rdx), %rdx movslq %ecx, %rcx addl (%rdx,%rcx,4), %eax xorl %ecx, %ecx testl %eax, %eax cmovgl %eax, %ecx movq _OPL3_KSL_MASK@GOTPCREL(%rip), %rdx andb (%rdx), %r8b cmpl %esi, %eax cmovgl %esi, %ecx notb %cl andb %sil, %cl orb %r8b, %cl movb %cl, (%rdi) popq %rbp retq .cfi_endproc ## -- End function .comm _OPL3_TOTAL_LEVEL_MASK,1,0 ## @OPL3_TOTAL_LEVEL_MASK .comm _opl3_volume_table,8,3 ## @opl3_volume_table .comm _OPL3_KSL_MASK,1,0 ## @OPL3_KSL_MASK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _snd_opl3_calc_volume ; -- Begin function snd_opl3_calc_volume .p2align 2 _snd_opl3_calc_volume: ; @snd_opl3_calc_volume .cfi_startproc ; %bb.0: ldp w8, w9, [x2] mul w8, w8, w1 mul w8, w8, w9 mov w9, #4137 movk w9, #33286, lsl #16 smull x9, w8, w9 lsr x9, x9, #32 add w8, w9, w8 asr w9, w8, #13 add w8, w9, w8, lsr #31 mov w9, #127 cmp w8, #127 csel w8, w8, w9, lt Lloh0: adrp x9, _OPL3_TOTAL_LEVEL_MASK@GOTPAGE Lloh1: ldr x9, [x9, _OPL3_TOTAL_LEVEL_MASK@GOTPAGEOFF] ldrb w9, [x9] ldrb w10, [x0] bic w11, w9, w10 Lloh2: adrp x12, _opl3_volume_table@GOTPAGE Lloh3: ldr x12, [x12, _opl3_volume_table@GOTPAGEOFF] Lloh4: ldr x12, [x12] ldr w8, [x12, w8, sxtw #2] add w8, w11, w8 cmp w8, #0 csel w11, w8, wzr, gt Lloh5: adrp x12, _OPL3_KSL_MASK@GOTPAGE Lloh6: ldr x12, [x12, _OPL3_KSL_MASK@GOTPAGEOFF] ldrb w12, [x12] and w10, w12, w10 cmp w8, w9 csel w8, w9, w11, gt bic w8, w9, w8 orr w8, w8, w10 strb w8, [x0] ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGotLdr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _OPL3_TOTAL_LEVEL_MASK,1,0 ; @OPL3_TOTAL_LEVEL_MASK .comm _opl3_volume_table,8,3 ; @opl3_volume_table .comm _OPL3_KSL_MASK,1,0 ; @OPL3_KSL_MASK .subsections_via_symbols
AnghaBench/fastsocket/kernel/sound/drivers/opl3/extr_opl3_midi.c_snd_opl3_calc_volume.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function pwm_calc_tin _pwm_calc_tin: ## @pwm_calc_tin .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movq %rdi, %r15 movl (%rdi), %edi callq _clk_get_parent movl %eax, %edi callq _clk_get_rate movq %rax, %rbx leaq L_.str(%rip), %rsi movq %r15, %rdi movq %rax, %rdx callq _pwm_dbg movq %rbx, %rax shrq $17, %rax movl $2, %ecx cmpq %r14, %rax jb LBB0_1 ## %bb.4: movq %rbx, %rax shrq $18, %rax movl $4, %ecx cmpq %r14, %rax jb LBB0_1 ## %bb.5: movq %rbx, %rax shrq $19, %rax movl $8, %ecx cmpq %r14, %rax jb LBB0_1 ## %bb.6: movq %rbx, %rax shrq $20, %rax movl $16, %ecx cmpq %r14, %rax jae LBB0_7 LBB0_1: movq %rbx, %rax shrq $32, %rax je LBB0_2 ## %bb.3: movq %rbx, %rax xorl %edx, %edx divq %rcx movq %rax, %rbx jmp LBB0_8 LBB0_2: movl %ebx, %eax xorl %edx, %edx divl %ecx movl %eax, %ebx LBB0_8: movq %rbx, %rax addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_7: shrq $4, %rbx jmp LBB0_8 .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "tin parent at %lu\n" .no_dead_strip _pwm_calc_tin .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function pwm_calc_tin _pwm_calc_tin: ; @pwm_calc_tin .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x20, x1 mov x21, x0 ldr w0, [x0] bl _clk_get_parent bl _clk_get_rate mov x19, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x21 mov x2, x19 bl _pwm_dbg cmp x20, x19, lsr #17 b.ls LBB0_2 ; %bb.1: mov w8, #2 udiv x0, x19, x8 b LBB0_9 LBB0_2: cmp x20, x19, lsr #18 b.ls LBB0_4 ; %bb.3: mov w8, #4 udiv x0, x19, x8 b LBB0_9 LBB0_4: cmp x20, x19, lsr #19 b.ls LBB0_6 ; %bb.5: mov w8, #8 udiv x0, x19, x8 b LBB0_9 LBB0_6: cmp x20, x19, lsr #20 b.ls LBB0_8 ; %bb.7: mov w8, #16 udiv x0, x19, x8 b LBB0_9 LBB0_8: lsr x0, x19, #4 LBB0_9: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "tin parent at %lu\n" .no_dead_strip _pwm_calc_tin .subsections_via_symbols
AnghaBench/fastsocket/kernel/arch/arm/plat-s3c/extr_pwm.c_pwm_calc_tin.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mul8x3u_1FL ## -- Begin function mul8x3u_1FL .p2align 4, 0x90 _mul8x3u_1FL: ## @mul8x3u_1FL .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %r12 movl %esi, %r11d movq %rdi, %r14 shrq $2, %r14 movl %esi, %r9d shrl %r9d andl $1, %r9d movl %r9d, %r15d andl %r14d, %r15d movq %rdi, %rax shrq $3, %rax movq %rax, %rdi movq %rax, -56(%rbp) ## 8-byte Spill andl $1, %esi movq %r12, %rax shrq $4, %rax movl %esi, %edx andl %eax, %edx movq %rax, %r13 movq %rax, -88(%rbp) ## 8-byte Spill movq %r12, %rcx shrq $5, %rcx movl %esi, %eax andl %ecx, %eax movq %rcx, %r8 movq %rcx, -72(%rbp) ## 8-byte Spill movl %r9d, %ebx andl %edi, %ebx movl %ebx, %r10d xorl %edx, %r10d andl %edx, %ebx movl %r10d, %ecx andl %r15d, %ecx orl %ebx, %ecx movl %r9d, %ebx andl %r13d, %ebx xorl %r15d, %r10d movl %ebx, %edx xorl %eax, %edx andl %eax, %ebx movl %ecx, %edi andl %edx, %edi orl %ebx, %edi movq %r12, %rbx shrq $6, %rbx xorl %ecx, %edx movl %esi, %r15d andl %ebx, %r15d movl %r9d, %ecx andl %r8d, %ecx movl %ecx, %r13d andl %r15d, %r13d xorl %r15d, %ecx movl %edi, %eax andl %ecx, %eax orl %r13d, %eax xorl %edi, %ecx movq %r12, %r15 shrq $7, %r15 movl %esi, %r13d andl %r15d, %esi movl %r9d, %r8d andl %ebx, %r8d movl %r8d, %edi andl %esi, %edi xorl %esi, %r8d movl %eax, %esi andl %r8d, %esi orl %edi, %esi movl %esi, -48(%rbp) ## 4-byte Spill xorl %eax, %r8d shrl $2, %r11d andl $1, %r11d movq -56(%rbp), %rax ## 8-byte Reload andl %eax, %r13d movl %r12d, %esi movq %rsi, -80(%rbp) ## 8-byte Spill shrq %r12 andl %r11d, %r12d movl %r12d, %esi orl %r13d, %esi movq %rsi, -64(%rbp) ## 8-byte Spill andl %r13d, %r12d andl %r11d, %r14d movl %r10d, %r13d xorl %r14d, %r13d andl %r10d, %r14d movl %r13d, %esi andl %r12d, %esi orl %r14d, %esi movl %esi, -44(%rbp) ## 4-byte Spill andl %r11d, %eax movl %edx, %r14d xorl %eax, %r14d andl %edx, %eax movq %rax, %rdx movl %r14d, %eax andl %esi, %eax orl %edx, %eax movq -88(%rbp), %rsi ## 8-byte Reload andl %r11d, %esi movl %ecx, %edx xorl %esi, %edx andl %ecx, %esi movq %rsi, %rcx movl %edx, %esi andl %eax, %esi orl %ecx, %esi xorl %eax, %edx movq -72(%rbp), %rax ## 8-byte Reload andl %r11d, %eax movl %r8d, %r10d xorl %eax, %r10d andl %r8d, %eax movl %r10d, %edi andl %esi, %edi orl %eax, %edi xorl %esi, %r10d andl %r15d, %r9d movl -48(%rbp), %ecx ## 4-byte Reload xorl %ecx, %r9d andl %r11d, %ebx movl %r9d, %esi xorl %ebx, %esi andl %r9d, %ebx movl %esi, %eax andl %edi, %eax orl %ebx, %eax xorl %edi, %esi movq -80(%rbp), %rdi ## 8-byte Reload andl %r11d, %edi movl %ecx, %ebx andl %r15d, %ebx andl %r15d, %r11d xorl %r11d, %ebx andl %ecx, %r11d andl $1, %esi leaq (%rsi,%rdi,4), %rdi movq -64(%rbp), %rcx ## 8-byte Reload leaq (%rdi,%rcx,8), %rdi xorl %r12d, %r13d shlq $4, %r13 orq %rdi, %r13 xorl -44(%rbp), %r14d ## 4-byte Folded Reload shlq $5, %r14 shll $6, %edx andl $64, %edx orq %r14, %rdx shll $7, %r10d movzbl %r10b, %ecx orq %rdx, %rcx shlq $8, %rsi orq %rcx, %rsi orq %r13, %rsi xorl %eax, %ebx andl $1, %ebx shlq $9, %rbx orq %rsi, %rbx andl %r15d, %eax andl $1, %eax orq %r11, %rax shlq $10, %rax orq %rbx, %rax popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mul8x3u_1FL ; -- Begin function mul8x3u_1FL .p2align 2 _mul8x3u_1FL: ; @mul8x3u_1FL .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill .cfi_offset w19, -8 .cfi_offset w20, -16 .cfi_offset w21, -24 .cfi_offset w22, -32 .cfi_offset w23, -40 .cfi_offset w24, -48 ubfx x10, x1, #2, #1 and x8, x10, x0 lsr x11, x0, #2 ubfx x12, x1, #1, #1 and x13, x12, x11 lsr x14, x0, #3 and x15, x1, #0x1 and x16, x15, x14 lsr x17, x0, #4 and x1, x15, x17 lsr x2, x0, #5 and x3, x15, x2 lsr x4, x0, #6 and x5, x15, x4 lsr x9, x0, #7 and x15, x15, x9 and x6, x12, x14 and x7, x12, x17 and x19, x12, x2 and x20, x12, x4 and x12, x12, x9 and x21, x20, x15 and x22, x19, x5 eor x23, x6, x1 and x1, x6, x1 and x6, x23, x13 eor x13, x23, x13 orr x1, x6, x1 eor x6, x7, x3 and x3, x7, x3 and x7, x1, x6 eor x1, x1, x6 orr x3, x7, x3 eor x5, x19, x5 and x6, x3, x5 eor x3, x3, x5 orr x5, x6, x22 eor x15, x20, x15 and x6, x5, x15 eor x15, x5, x15 orr x5, x6, x21 and w6, w5, w9 eor x7, x5, x12 and x12, x10, x0, lsr #1 and x0, x10, x11 and x14, x10, x14 and x17, x10, x17 and x2, x10, x2 and x4, x10, x4 and x19, x10, x9 orr x10, x12, x16 and x11, x12, x16 eor x12, x13, x0 and x13, x13, x0 and x16, x12, x11 orr x13, x16, x13 eor x16, x1, x14 and w14, w1, w14 and w0, w16, w13 orr w14, w0, w14 eor w0, w3, w17 and w17, w3, w17 and w1, w0, w14 eor w14, w0, w14 orr w17, w1, w17 eor w0, w15, w2 and w15, w15, w2 and w1, w0, w17 eor w17, w0, w17 orr w15, w1, w15 eor w0, w7, w4 and w1, w7, w4 and w2, w0, w15 eor w15, w0, w15 orr w0, w2, w1 eor w1, w6, w19 and x2, x5, x19 eor w1, w1, w0 and x15, x15, #0x1 eor x13, x16, x13 lsl w14, w14, #6 and x14, x14, #0x40 lsl w16, w17, #7 and x16, x16, #0x80 orr x13, x14, x13, lsl #5 orr x13, x13, x16 orr x13, x13, x15, lsl #8 bfi x15, x8, #2, #1 bfi x15, x10, #3, #1 eor x8, x12, x11 bfi x15, x8, #4, #60 lsl w8, w1, #9 and x8, x8, #0x200 and w9, w9, w0 and x9, x9, #0x1 orr x9, x9, x2 orr x10, x13, x15 orr x8, x10, x8 orr x0, x8, x9, lsl #10 ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #48 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/40761718.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function dsr_change _dsr_change: ## @dsr_change .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx callq _get_signals movslq 28(%rbx), %rax leal 1(%rax), %ecx movl %ecx, 28(%rbx) movq _IO_PIN_SHUTDOWN_LIMIT@GOTPCREL(%rip), %rcx cmpq %rax, (%rcx) jg LBB0_2 ## %bb.1: movq _PVR_DSR@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi callq _port_irq_disable LBB0_2: incl 24(%rbx) movq _SerialSignal_DSR@GOTPCREL(%rip), %rax movl (%rax), %eax xorl %ecx, %ecx andl (%rbx), %eax setne %cl incl 16(%rbx,%rcx,4) leaq 12(%rbx), %rdi callq _wake_up_interruptible leaq 8(%rbx), %rdi callq _wake_up_interruptible movq _BH_STATUS@GOTPCREL(%rip), %rax movl (%rax), %eax orl %eax, 4(%rbx) addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .comm _IO_PIN_SHUTDOWN_LIMIT,8,3 ## @IO_PIN_SHUTDOWN_LIMIT .comm _PVR_DSR,4,2 ## @PVR_DSR .comm _SerialSignal_DSR,4,2 ## @SerialSignal_DSR .comm _BH_STATUS,4,2 ## @BH_STATUS .no_dead_strip _dsr_change .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function dsr_change _dsr_change: ; @dsr_change .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _get_signals ldrsw x8, [x19, #28] add w9, w8, #1 str w9, [x19, #28] Lloh0: adrp x9, _IO_PIN_SHUTDOWN_LIMIT@GOTPAGE Lloh1: ldr x9, [x9, _IO_PIN_SHUTDOWN_LIMIT@GOTPAGEOFF] Lloh2: ldr x9, [x9] cmp x9, x8 b.gt LBB0_2 ; %bb.1: Lloh3: adrp x8, _PVR_DSR@GOTPAGE Lloh4: ldr x8, [x8, _PVR_DSR@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 bl _port_irq_disable LBB0_2: ldr w8, [x19, #24] add w8, w8, #1 str w8, [x19, #24] Lloh6: adrp x8, _SerialSignal_DSR@GOTPAGE Lloh7: ldr x8, [x8, _SerialSignal_DSR@GOTPAGEOFF] ldr w9, [x19] Lloh8: ldr w8, [x8] tst w8, w9 mov w8, #20 mov w9, #16 csel x8, x9, x8, eq ldr w9, [x19, x8] add w9, w9, #1 str w9, [x19, x8] add x0, x19, #12 bl _wake_up_interruptible add x0, x19, #8 bl _wake_up_interruptible Lloh9: adrp x8, _BH_STATUS@GOTPAGE Lloh10: ldr x8, [x8, _BH_STATUS@GOTPAGEOFF] Lloh11: ldr w8, [x8] ldr w9, [x19, #4] orr w8, w9, w8 str w8, [x19, #4] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .cfi_endproc ; -- End function .comm _IO_PIN_SHUTDOWN_LIMIT,8,3 ; @IO_PIN_SHUTDOWN_LIMIT .comm _PVR_DSR,4,2 ; @PVR_DSR .comm _SerialSignal_DSR,4,2 ; @SerialSignal_DSR .comm _BH_STATUS,4,2 ; @BH_STATUS .no_dead_strip _dsr_change .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/char/pcmcia/extr_synclink_cs.c_dsr_change.c
anghabench
.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 pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r14 movl %edi, %ebx leaq L_.str(%rip), %rsi xorl %edi, %edi callq _setlocale leaq L_.str.1(%rip), %r15 movq _environ@GOTPCREL(%rip), %r12 jmp LBB0_1 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movl $1, %edi movl $8, %esi callq _calloc movq %rax, (%r12) testq %rax, %rax je LBB0_5 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl %ebx, %edi movq %r14, %rsi movq %r15, %rdx callq _getopt cmpl $-1, %eax je LBB0_7 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpb $105, %al je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movsbl %al, %eax cmpl $45, %eax je LBB0_4 ## %bb.6: movq ___stderrp@GOTPCREL(%rip), %rax movq (%rax), %rcx leaq L_.str.5(%rip), %rdi movl $43, %esi movl $1, %edx callq _fwrite movl $1, %edi callq _exit LBB0_5: leaq L_.str.2(%rip), %rsi movl $1, %edi xorl %eax, %eax callq _err LBB0_7: movq _optind@GOTPCREL(%rip), %rax movslq (%rax), %rax movq (%r14,%rax,8), %rbx testq %rbx, %rbx je LBB0_11 ## %bb.8: leaq (%r14,%rax,8), %r14 .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi movl $61, %esi callq _strchr testq %rax, %rax je LBB0_15 ## %bb.10: ## in Loop: Header=BB0_9 Depth=1 incq %rax movq %rbx, %rdi movq %rax, %rsi movl $1, %edx callq _setenv movq 8(%r14), %rbx addq $8, %r14 testq %rbx, %rbx jne LBB0_9 LBB0_11: movq (%r12), %rbx movq (%rbx), %rdi testq %rdi, %rdi je LBB0_14 ## %bb.12: addq $8, %rbx .p2align 4, 0x90 LBB0_13: ## =>This Inner Loop Header: Depth=1 callq _puts movq (%rbx), %rdi addq $8, %rbx testq %rdi, %rdi jne LBB0_13 LBB0_14: xorl %edi, %edi callq _exit LBB0_15: movq %rbx, %rdi movq %r14, %rsi callq _execvp callq ___error xorl %edi, %edi cmpl $2, (%rax) sete %dil orl $126, %edi movq (%r14), %rdx leaq L_.str.3(%rip), %rsi xorl %eax, %eax callq _err .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .space 1 L_.str.1: ## @.str.1 .asciz "-i" L_.str.2: ## @.str.2 .asciz "calloc" L_.str.3: ## @.str.3 .asciz "%s" L_.str.5: ## @.str.5 .asciz "usage: env [-i] [name=value ...] [command]\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 2 _main: ; @main .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov w0, #0 bl _setlocale Lloh2: adrp x21, l_.str.1@PAGE Lloh3: add x21, x21, l_.str.1@PAGEOFF Lloh4: adrp x22, _environ@GOTPAGE Lloh5: ldr x22, [x22, _environ@GOTPAGEOFF] b LBB0_2 LBB0_1: ; in Loop: Header=BB0_2 Depth=1 mov w0, #1 mov w1, #8 bl _calloc str x0, [x22] cbz x0, LBB0_6 LBB0_2: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov x1, x19 mov x2, x21 bl _getopt cmn w0, #1 b.eq LBB0_7 ; %bb.3: ; in Loop: Header=BB0_2 Depth=1 and w8, w0, #0xff cmp w8, #105 b.eq LBB0_1 ; %bb.4: ; in Loop: Header=BB0_2 Depth=1 sxtb w8, w0 cmp w8, #45 b.eq LBB0_1 ; %bb.5: Lloh6: adrp x8, ___stderrp@GOTPAGE Lloh7: ldr x8, [x8, ___stderrp@GOTPAGEOFF] Lloh8: ldr x3, [x8] Lloh9: adrp x0, l_.str.5@PAGE Lloh10: add x0, x0, l_.str.5@PAGEOFF mov w1, #43 mov w2, #1 bl _fwrite mov w0, #1 bl _exit LBB0_6: Lloh11: adrp x1, l_.str.2@PAGE Lloh12: add x1, x1, l_.str.2@PAGEOFF mov w0, #1 bl _err LBB0_7: Lloh13: adrp x8, _optind@GOTPAGE Lloh14: ldr x8, [x8, _optind@GOTPAGEOFF] Lloh15: ldrsw x8, [x8] add x19, x19, x8, lsl #3 ldr x20, [x19] cbz x20, LBB0_10 LBB0_8: ; =>This Inner Loop Header: Depth=1 mov x0, x20 mov w1, #61 bl _strchr cbz x0, LBB0_14 ; %bb.9: ; in Loop: Header=BB0_8 Depth=1 add x1, x0, #1 mov x0, x20 mov w2, #1 bl _setenv ldr x20, [x19, #8]! cbnz x20, LBB0_8 LBB0_10: ldr x8, [x22] ldr x0, [x8] cbz x0, LBB0_13 ; %bb.11: add x19, x8, #8 LBB0_12: ; =>This Inner Loop Header: Depth=1 bl _puts ldr x0, [x19], #8 cbnz x0, LBB0_12 LBB0_13: mov w0, #0 bl _exit LBB0_14: mov x0, x20 mov x1, x19 bl _execvp bl ___error ldr w8, [x0] cmp w8, #2 mov w8, #126 cinc w0, w8, eq ldr x8, [x19] str x8, [sp] Lloh16: adrp x1, l_.str.3@PAGE Lloh17: add x1, x1, l_.str.3@PAGEOFF bl _err .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpAdd Lloh16, Lloh17 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .space 1 l_.str.1: ; @.str.1 .asciz "-i" l_.str.2: ; @.str.2 .asciz "calloc" l_.str.3: ; @.str.3 .asciz "%s" l_.str.5: ; @.str.5 .asciz "usage: env [-i] [name=value ...] [command]\n" .subsections_via_symbols
the_stack_data/136115.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _block_has_only_binders_and_imports ## -- Begin function block_has_only_binders_and_imports .p2align 4, 0x90 _block_has_only_binders_and_imports: ## @block_has_only_binders_and_imports .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl $1, %r14d testq %rdi, %rdi je LBB0_7 ## %bb.1: movl %esi, %r15d movq %rdi, %rbx movq _OP_HAS_BINDING@GOTPCREL(%rip), %rax orl (%rax), %r15d movq _DEPS@GOTPCREL(%rip), %r12 movq _MODULEMETA@GOTPCREL(%rip), %r13 jmp LBB0_2 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movq 8(%rbx), %rbx testq %rbx, %rbx je LBB0_7 LBB0_2: ## =>This Inner Loop Header: Depth=1 movq (%rbx), %rdi callq _opcode_describe movl (%rax), %eax notl %eax testl %eax, %r15d je LBB0_6 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movq (%rbx), %rax cmpq (%r12), %rax je LBB0_6 ## %bb.4: ## in Loop: Header=BB0_2 Depth=1 cmpq (%r13), %rax je LBB0_6 ## %bb.5: xorl %r14d, %r14d LBB0_7: movl %r14d, %eax addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _OP_HAS_BINDING,4,2 ## @OP_HAS_BINDING .comm _DEPS,8,3 ## @DEPS .comm _MODULEMETA,8,3 ## @MODULEMETA .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _block_has_only_binders_and_imports ; -- Begin function block_has_only_binders_and_imports .p2align 2 _block_has_only_binders_and_imports: ; @block_has_only_binders_and_imports .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cbz x0, LBB0_6 ; %bb.1: mov x19, x0 Lloh0: adrp x8, _OP_HAS_BINDING@GOTPAGE Lloh1: ldr x8, [x8, _OP_HAS_BINDING@GOTPAGEOFF] Lloh2: ldr w8, [x8] orr w20, w8, w1 Lloh3: adrp x21, _DEPS@GOTPAGE Lloh4: ldr x21, [x21, _DEPS@GOTPAGEOFF] Lloh5: adrp x22, _MODULEMETA@GOTPAGE Lloh6: ldr x22, [x22, _MODULEMETA@GOTPAGEOFF] b LBB0_3 LBB0_2: ; in Loop: Header=BB0_3 Depth=1 ldr x19, [x19, #8] cbz x19, LBB0_6 LBB0_3: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19] bl _opcode_describe ldr w8, [x0] bics wzr, w20, w8 b.eq LBB0_2 ; %bb.4: ; in Loop: Header=BB0_3 Depth=1 ldr x8, [x19] ldr x9, [x21] ldr x10, [x22] cmp x8, x9 ccmp x8, x10, #4, ne b.eq LBB0_2 ; %bb.5: mov w0, #0 b LBB0_7 LBB0_6: mov w0, #1 LBB0_7: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh5, Lloh6 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _OP_HAS_BINDING,4,2 ; @OP_HAS_BINDING .comm _DEPS,8,3 ; @DEPS .comm _MODULEMETA,8,3 ; @MODULEMETA .subsections_via_symbols
AnghaBench/jq/src/extr_compile.c_block_has_only_binders_and_imports.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function wlc_phy_txcal_radio_setup_nphy _wlc_phy_txcal_radio_setup_nphy: ## @wlc_phy_txcal_radio_setup_nphy .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl 4(%rdi), %edi movl $7, %esi callq _NREV_GE testq %rax, %rax je LBB0_12 ## %bb.1: movb $1, %al xorl %r14d, %r14d movq _RADIO_2057@GOTPCREL(%rip), %r12 movq _TX@GOTPCREL(%rip), %r13 jmp LBB0_2 .p2align 4, 0x90 LBB0_8: ## in Loop: Header=BB0_2 Depth=1 movl $6, %r9d cmpq $0, 24(%rbx) movq _TSSIG@GOTPCREL(%rip), %r15 je LBB0_10 LBB0_9: ## in Loop: Header=BB0_2 Depth=1 movl (%r12), %esi movl (%r13), %edx movq _TX_SSI_MUX@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx callq _WRITE_RADIO_REG3 xorl %r9d, %r9d cmpl $0, 20(%rbx) sete %r9b movl (%r12), %esi movl (%r13), %edx movl (%r15), %r8d shll $4, %r9d orl $33, %r9d movq %rbx, %rdi movl %r14d, %ecx callq _WRITE_RADIO_REG3 LBB0_10: ## in Loop: Header=BB0_2 Depth=1 movl (%r12), %esi movl (%r13), %edx movq _TSSI_MISC1@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx xorl %r9d, %r9d callq _WRITE_RADIO_REG3 movl $1, %r14d testb $1, -44(%rbp) ## 1-byte Folded Reload movl $0, %eax je LBB0_11 LBB0_2: ## =>This Inner Loop Header: Depth=1 movl %eax, -44(%rbp) ## 4-byte Spill movl (%r12), %esi movl (%r13), %edx movq _TX_SSI_MASTER@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx callq _READ_RADIO_REG3 movq 8(%rbx), %rcx leaq (%r14,%r14,4), %rdx leaq (%r14,%rdx,2), %r15 movq %rax, (%rcx,%r15,8) movl (%r12), %esi movl (%r13), %edx movq _IQCAL_VCM_HG@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx callq _READ_RADIO_REG3 movq 8(%rbx), %rcx movq %rax, 8(%rcx,%r15,8) movl (%r12), %esi movl (%r13), %edx movq _IQCAL_IDAC@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx callq _READ_RADIO_REG3 movq 8(%rbx), %rcx movq %rax, 16(%rcx,%r15,8) movl (%r12), %esi movl (%r13), %edx movq _TSSI_VCM@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx callq _READ_RADIO_REG3 movq 8(%rbx), %rcx movq %rax, 24(%rcx,%r15,8) movq 8(%rbx), %rax movq $0, 32(%rax,%r15,8) movl (%r12), %esi movl (%r13), %edx movq _TX_SSI_MUX@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx callq _READ_RADIO_REG3 movq 8(%rbx), %rcx movq %rax, 40(%rcx,%r15,8) cmpl $5, (%rbx) je LBB0_4 ## %bb.3: ## in Loop: Header=BB0_2 Depth=1 movl (%r12), %esi movl (%r13), %edx movq _TSSIA@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx callq _READ_RADIO_REG3 movq 8(%rbx), %rcx movq %rax, 48(%rcx,%r15,8) LBB0_4: ## in Loop: Header=BB0_2 Depth=1 movl (%r12), %esi movl (%r13), %edx movq _TSSIG@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx callq _READ_RADIO_REG3 movq 8(%rbx), %rcx movq %rax, 56(%rcx,%r15,8) movl (%r12), %esi movl (%r13), %edx movq _TSSI_MISC1@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx callq _READ_RADIO_REG3 movq 8(%rbx), %rcx movq %rax, 64(%rcx,%r15,8) movl 16(%rbx), %edi callq _CHSPEC_IS5G movl (%r12), %esi movl (%r13), %edx movq _TX_SSI_MASTER@GOTPCREL(%rip), %rcx movl (%rcx), %r8d movq %rbx, %rdi movl %r14d, %ecx testq %rax, %rax je LBB0_6 ## %bb.5: ## in Loop: Header=BB0_2 Depth=1 movl $10, %r9d callq _WRITE_RADIO_REG3 movl (%r12), %esi movl (%r13), %edx movq _IQCAL_VCM_HG@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx movl $67, %r9d callq _WRITE_RADIO_REG3 movl (%r12), %esi movl (%r13), %edx movq _IQCAL_IDAC@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx movl $85, %r9d callq _WRITE_RADIO_REG3 movl (%r12), %esi movl (%r13), %edx movq _TSSI_VCM@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx xorl %r9d, %r9d callq _WRITE_RADIO_REG3 movl (%r12), %esi movl (%r13), %edx movq _TSSIG@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx xorl %r9d, %r9d callq _WRITE_RADIO_REG3 movl $4, %r9d cmpq $0, 24(%rbx) movq _TSSIA@GOTPCREL(%rip), %r15 jne LBB0_9 jmp LBB0_10 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_2 Depth=1 movl $6, %r9d callq _WRITE_RADIO_REG3 movl (%r12), %esi movl (%r13), %edx movq _IQCAL_VCM_HG@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx movl $67, %r9d callq _WRITE_RADIO_REG3 movl (%r12), %esi movl (%r13), %edx movq _IQCAL_IDAC@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx movl $85, %r9d callq _WRITE_RADIO_REG3 movl (%r12), %esi movl (%r13), %edx movq _TSSI_VCM@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx xorl %r9d, %r9d callq _WRITE_RADIO_REG3 cmpl $5, (%rbx) je LBB0_8 ## %bb.7: ## in Loop: Header=BB0_2 Depth=1 movl (%r12), %esi movl (%r13), %edx movq _TSSIA@GOTPCREL(%rip), %rax movl (%rax), %r8d movq %rbx, %rdi movl %r14d, %ecx xorl %r9d, %r9d callq _WRITE_RADIO_REG3 jmp LBB0_8 LBB0_12: movl 4(%rbx), %edi movl $3, %esi callq _NREV_GE testq %rax, %rax je LBB0_25 ## %bb.13: movb $1, %al xorl %r15d, %r15d movq _RADIO_2056_TX_IQCAL_VCM_HG@GOTPCREL(%rip), %r12 jmp LBB0_14 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_14 Depth=1 movl (%rax), %r14d movq _RADIO_2056_TX_TX_SSI_MASTER@GOTPCREL(%rip), %r13 movl (%r13), %esi orl %r14d, %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx imulq $88, %r15, %r15 movq %rax, (%rcx,%r15) movl (%r12), %esi orl %r14d, %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 8(%rcx,%r15) movq _RADIO_2056_TX_IQCAL_IDAC@GOTPCREL(%rip), %r13 movl (%r13), %esi orl %r14d, %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 16(%rcx,%r15) movq _RADIO_2056_TX_TSSI_VCM@GOTPCREL(%rip), %r13 movl (%r13), %esi orl %r14d, %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 24(%rcx,%r15) movq _RADIO_2056_TX_TX_AMP_DET@GOTPCREL(%rip), %r13 movl (%r13), %esi orl %r14d, %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 32(%rcx,%r15) movq _RADIO_2056_TX_TX_SSI_MUX@GOTPCREL(%rip), %r13 movl (%r13), %esi orl %r14d, %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 40(%rcx,%r15) movq _RADIO_2056_TX_TSSIA@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 48(%rcx,%r15) movq _RADIO_2056_TX_TSSIG@GOTPCREL(%rip), %r12 movl (%r12), %esi orl %r14d, %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 56(%rcx,%r15) movq _RADIO_2056_TX_TSSI_MISC1@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 64(%rcx,%r15) movq _RADIO_2056_TX_TSSI_MISC2@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 72(%rcx,%r15) movq _RADIO_2056_TX_TSSI_MISC3@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 80(%rcx,%r15) movl 16(%rbx), %edi callq _CHSPEC_IS5G movq _RADIO_2056_TX_TX_SSI_MASTER@GOTPCREL(%rip), %rcx movl (%rcx), %esi orl %r14d, %esi movq %rbx, %rdi testq %rax, %rax je LBB0_18 ## %bb.17: ## in Loop: Header=BB0_14 Depth=1 movl $10, %edx callq _write_radio_reg movq %r13, %r15 movq _RADIO_2056_TX_IQCAL_VCM_HG@GOTPCREL(%rip), %r13 movl (%r13), %esi orl %r14d, %esi movq %rbx, %rdi movl $64, %edx callq _write_radio_reg movq _RADIO_2056_TX_IQCAL_IDAC@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi movl $85, %edx callq _write_radio_reg movq _RADIO_2056_TX_TSSI_VCM@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi xorl %edx, %edx callq _write_radio_reg movq _RADIO_2056_TX_TX_AMP_DET@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi xorl %edx, %edx callq _write_radio_reg movq %rbx, %rdi callq _PHY_IPA movl (%r15), %esi orl %r14d, %esi xorl %edx, %edx testq %rax, %rax setne %dl movl $1, %r15d movl $47, %eax cmovel %eax, %r15d shll $2, %edx movq %rbx, %rdi callq _write_radio_reg movq _RADIO_2056_TX_TSSIA@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi movl %r15d, %edx callq _write_radio_reg movl (%r12), %esi orl %r14d, %esi movq %rbx, %rdi xorl %edx, %edx callq _write_radio_reg movq %r13, %r12 LBB0_24: ## in Loop: Header=BB0_14 Depth=1 movq _RADIO_2056_TX_TSSI_MISC1@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi xorl %edx, %edx callq _write_radio_reg movq _RADIO_2056_TX_TSSI_MISC2@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi xorl %edx, %edx callq _write_radio_reg movq _RADIO_2056_TX_TSSI_MISC3@GOTPCREL(%rip), %rax orl (%rax), %r14d movq %rbx, %rdi movl %r14d, %esi xorl %edx, %edx callq _write_radio_reg movl $1, %r15d testb $1, -44(%rbp) ## 1-byte Folded Reload movl $0, %eax je LBB0_11 LBB0_14: ## =>This Inner Loop Header: Depth=1 movl %eax, -44(%rbp) ## 4-byte Spill movq _PHY_CORE_0@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _RADIO_2056_TX1@GOTPCREL(%rip), %rax cmpq %rcx, %r15 jne LBB0_16 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 movq _RADIO_2056_TX0@GOTPCREL(%rip), %rax jmp LBB0_16 .p2align 4, 0x90 LBB0_18: ## in Loop: Header=BB0_14 Depth=1 movl $6, %edx callq _write_radio_reg movq _RADIO_2056_TX_IQCAL_VCM_HG@GOTPCREL(%rip), %r12 movl (%r12), %esi orl %r14d, %esi movq %rbx, %rdi movl $64, %edx callq _write_radio_reg movq _RADIO_2056_TX_IQCAL_IDAC@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi movl $85, %edx callq _write_radio_reg movq _RADIO_2056_TX_TSSI_VCM@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi xorl %edx, %edx callq _write_radio_reg movq _RADIO_2056_TX_TX_AMP_DET@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi xorl %edx, %edx callq _write_radio_reg movq _RADIO_2056_TX_TSSIA@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi xorl %edx, %edx callq _write_radio_reg movq %rbx, %rdi callq _PHY_IPA movl (%r13), %esi orl %r14d, %esi movq %rbx, %rdi testq %rax, %rax je LBB0_22 ## %bb.19: ## in Loop: Header=BB0_14 Depth=1 movl $6, %edx callq _write_radio_reg movl 4(%rbx), %edi movl $5, %esi callq _NREV_LT movq _RADIO_2056_TX_TSSIG@GOTPCREL(%rip), %rcx movl (%rcx), %esi orl %r14d, %esi movq %rbx, %rdi testq %rax, %rax je LBB0_21 ## %bb.20: ## in Loop: Header=BB0_14 Depth=1 movl $17, %edx jmp LBB0_23 LBB0_22: ## in Loop: Header=BB0_14 Depth=1 xorl %edx, %edx callq _write_radio_reg movq _RADIO_2056_TX_TSSIG@GOTPCREL(%rip), %rax movl (%rax), %esi orl %r14d, %esi movq %rbx, %rdi movl $32, %edx jmp LBB0_23 LBB0_21: ## in Loop: Header=BB0_14 Depth=1 movl $1, %edx LBB0_23: ## in Loop: Header=BB0_14 Depth=1 callq _write_radio_reg jmp LBB0_24 LBB0_11: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_25: movq _RADIO_2055_CORE1_TXRF_IQCAL1@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, (%rcx) movl (%r14), %esi movq %rbx, %rdi movl $41, %edx callq _write_radio_reg movq _RADIO_2055_CORE1_TXRF_IQCAL2@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 8(%rcx) movl (%r14), %esi movq %rbx, %rdi movl $84, %edx callq _write_radio_reg movq _RADIO_2055_CORE2_TXRF_IQCAL1@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 16(%rcx) movl (%r14), %esi movq %rbx, %rdi movl $41, %edx callq _write_radio_reg movq _RADIO_2055_CORE2_TXRF_IQCAL2@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 24(%rcx) movl (%r14), %esi movq %rbx, %rdi movl $84, %edx callq _write_radio_reg movq _RADIO_2055_PWRDET_RXTX_CORE1@GOTPCREL(%rip), %r14 movl (%r14), %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 32(%rcx) movq _RADIO_2055_PWRDET_RXTX_CORE2@GOTPCREL(%rip), %r15 movl (%r15), %esi movq %rbx, %rdi callq _read_radio_reg movq 8(%rbx), %rcx movq %rax, 40(%rcx) movq %rbx, %rdi movl $9, %esi callq _read_phy_reg movq _NPHY_BandControl_currentBand@GOTPCREL(%rip), %rcx testl %eax, (%rcx) movl (%r14), %esi movl $4, %eax movl $32, %r14d cmovel %eax, %r14d movq %rbx, %rdi movl %r14d, %edx callq _write_radio_reg movl (%r15), %esi movq %rbx, %rdi movl %r14d, %edx callq _write_radio_reg movl 4(%rbx), %edi movl $2, %esi callq _NREV_LT movq _RADIO_2055_CORE1_TX_BB_MXGM@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq %rbx, %rdi testq %rax, %rax je LBB0_26 ## %bb.27: movl $32, %edx callq _or_radio_reg movq _RADIO_2055_CORE2_TX_BB_MXGM@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl $32, %edx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _or_radio_reg ## TAILCALL LBB0_26: movl $223, %edx callq _and_radio_reg movq _RADIO_2055_CORE2_TX_BB_MXGM@GOTPCREL(%rip), %rax movl (%rax), %esi movq %rbx, %rdi movl $223, %edx addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _and_radio_reg ## TAILCALL .cfi_endproc ## -- End function .comm _RADIO_2057,4,2 ## @RADIO_2057 .comm _TX,4,2 ## @TX .comm _TX_SSI_MASTER,4,2 ## @TX_SSI_MASTER .comm _IQCAL_VCM_HG,4,2 ## @IQCAL_VCM_HG .comm _IQCAL_IDAC,4,2 ## @IQCAL_IDAC .comm _TSSI_VCM,4,2 ## @TSSI_VCM .comm _TX_SSI_MUX,4,2 ## @TX_SSI_MUX .comm _TSSIA,4,2 ## @TSSIA .comm _TSSIG,4,2 ## @TSSIG .comm _TSSI_MISC1,4,2 ## @TSSI_MISC1 .comm _PHY_CORE_0,4,2 ## @PHY_CORE_0 .comm _RADIO_2056_TX0,4,2 ## @RADIO_2056_TX0 .comm _RADIO_2056_TX1,4,2 ## @RADIO_2056_TX1 .comm _RADIO_2056_TX_TX_SSI_MASTER,4,2 ## @RADIO_2056_TX_TX_SSI_MASTER .comm _RADIO_2056_TX_IQCAL_VCM_HG,4,2 ## @RADIO_2056_TX_IQCAL_VCM_HG .comm _RADIO_2056_TX_IQCAL_IDAC,4,2 ## @RADIO_2056_TX_IQCAL_IDAC .comm _RADIO_2056_TX_TSSI_VCM,4,2 ## @RADIO_2056_TX_TSSI_VCM .comm _RADIO_2056_TX_TX_AMP_DET,4,2 ## @RADIO_2056_TX_TX_AMP_DET .comm _RADIO_2056_TX_TX_SSI_MUX,4,2 ## @RADIO_2056_TX_TX_SSI_MUX .comm _RADIO_2056_TX_TSSIA,4,2 ## @RADIO_2056_TX_TSSIA .comm _RADIO_2056_TX_TSSIG,4,2 ## @RADIO_2056_TX_TSSIG .comm _RADIO_2056_TX_TSSI_MISC1,4,2 ## @RADIO_2056_TX_TSSI_MISC1 .comm _RADIO_2056_TX_TSSI_MISC2,4,2 ## @RADIO_2056_TX_TSSI_MISC2 .comm _RADIO_2056_TX_TSSI_MISC3,4,2 ## @RADIO_2056_TX_TSSI_MISC3 .comm _RADIO_2055_CORE1_TXRF_IQCAL1,4,2 ## @RADIO_2055_CORE1_TXRF_IQCAL1 .comm _RADIO_2055_CORE1_TXRF_IQCAL2,4,2 ## @RADIO_2055_CORE1_TXRF_IQCAL2 .comm _RADIO_2055_CORE2_TXRF_IQCAL1,4,2 ## @RADIO_2055_CORE2_TXRF_IQCAL1 .comm _RADIO_2055_CORE2_TXRF_IQCAL2,4,2 ## @RADIO_2055_CORE2_TXRF_IQCAL2 .comm _RADIO_2055_PWRDET_RXTX_CORE1,4,2 ## @RADIO_2055_PWRDET_RXTX_CORE1 .comm _RADIO_2055_PWRDET_RXTX_CORE2,4,2 ## @RADIO_2055_PWRDET_RXTX_CORE2 .comm _NPHY_BandControl_currentBand,4,2 ## @NPHY_BandControl_currentBand .comm _RADIO_2055_CORE1_TX_BB_MXGM,4,2 ## @RADIO_2055_CORE1_TX_BB_MXGM .comm _RADIO_2055_CORE2_TX_BB_MXGM,4,2 ## @RADIO_2055_CORE2_TX_BB_MXGM .no_dead_strip _wlc_phy_txcal_radio_setup_nphy .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function wlc_phy_txcal_radio_setup_nphy _wlc_phy_txcal_radio_setup_nphy: ; @wlc_phy_txcal_radio_setup_nphy .cfi_startproc ; %bb.0: sub sp, sp, #112 stp x28, x27, [sp, #16] ; 16-byte Folded Spill stp x26, x25, [sp, #32] ; 16-byte Folded Spill stp x24, x23, [sp, #48] ; 16-byte Folded Spill stp x22, x21, [sp, #64] ; 16-byte Folded Spill stp x20, x19, [sp, #80] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 ldr w0, [x0, #4] mov w1, #7 ; =0x7 bl _NREV_GE cbz x0, LBB0_13 ; %bb.1: mov x20, #0 ; =0x0 Lloh0: adrp x21, _RADIO_2057@GOTPAGE Lloh1: ldr x21, [x21, _RADIO_2057@GOTPAGEOFF] Lloh2: adrp x22, _TX@GOTPAGE Lloh3: ldr x22, [x22, _TX@GOTPAGEOFF] Lloh4: adrp x25, _TX_SSI_MASTER@GOTPAGE Lloh5: ldr x25, [x25, _TX_SSI_MASTER@GOTPAGEOFF] mov w8, #1 ; =0x1 Lloh6: adrp x28, _TSSIG@GOTPAGE Lloh7: ldr x28, [x28, _TSSIG@GOTPAGEOFF] b LBB0_4 LBB0_2: ; in Loop: Header=BB0_4 Depth=1 ldr w1, [x21] ldr w2, [x22] Lloh8: adrp x8, _TX_SSI_MUX@GOTPAGE Lloh9: ldr x8, [x8, _TX_SSI_MUX@GOTPAGEOFF] Lloh10: ldr w4, [x8] mov x0, x19 mov x3, x20 bl _WRITE_RADIO_REG3 ldr w8, [x19, #20] ldr w1, [x21] ldr w2, [x22] ldr w4, [x23] cmp w8, #0 mov w8, #33 ; =0x21 mov w9, #49 ; =0x31 csel w5, w9, w8, eq mov x0, x19 mov x3, x20 bl _WRITE_RADIO_REG3 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 ldr w1, [x21] ldr w2, [x22] Lloh11: adrp x8, _TSSI_MISC1@GOTPAGE Lloh12: ldr x8, [x8, _TSSI_MISC1@GOTPAGEOFF] Lloh13: ldr w4, [x8] mov x0, x19 mov x3, x20 mov w5, #0 ; =0x0 bl _WRITE_RADIO_REG3 mov w8, #0 ; =0x0 mov w20, #1 ; =0x1 tbz w24, #0, LBB0_23 LBB0_4: ; =>This Inner Loop Header: Depth=1 mov x24, x8 ldr w1, [x21] ldr w2, [x22] mov x26, x25 ldr w4, [x25] mov x0, x19 mov x3, x20 bl _READ_RADIO_REG3 ldr x8, [x19, #8] mov w9, #11 ; =0xb mul x25, x20, x9 lsl x23, x25, #3 str x0, [x8, x23] ldr w1, [x21] ldr w2, [x22] Lloh14: adrp x8, _IQCAL_VCM_HG@GOTPAGE Lloh15: ldr x8, [x8, _IQCAL_VCM_HG@GOTPAGEOFF] Lloh16: ldr w4, [x8] mov x0, x19 mov x3, x20 bl _READ_RADIO_REG3 ldr x8, [x19, #8] add x8, x8, x23 str x0, [x8, #8] ldr w1, [x21] ldr w2, [x22] Lloh17: adrp x8, _IQCAL_IDAC@GOTPAGE Lloh18: ldr x8, [x8, _IQCAL_IDAC@GOTPAGEOFF] Lloh19: ldr w4, [x8] mov x0, x19 mov x3, x20 bl _READ_RADIO_REG3 ldr x8, [x19, #8] add x8, x8, x23 str x0, [x8, #16] ldr w1, [x21] ldr w2, [x22] Lloh20: adrp x8, _TSSI_VCM@GOTPAGE Lloh21: ldr x8, [x8, _TSSI_VCM@GOTPAGEOFF] Lloh22: ldr w4, [x8] mov x0, x19 mov x3, x20 bl _READ_RADIO_REG3 ldr x8, [x19, #8] add x8, x8, x23 str x0, [x8, #24] ldr x8, [x19, #8] add x8, x8, x23 str xzr, [x8, #32] ldr w1, [x21] ldr w2, [x22] Lloh23: adrp x8, _TX_SSI_MUX@GOTPAGE Lloh24: ldr x8, [x8, _TX_SSI_MUX@GOTPAGEOFF] Lloh25: ldr w4, [x8] mov x0, x19 mov x3, x20 bl _READ_RADIO_REG3 ldr x8, [x19, #8] add x8, x8, x23 str x0, [x8, #40] ldr w8, [x19] cmp w8, #5 b.eq LBB0_6 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 ldr w1, [x21] ldr w2, [x22] Lloh26: adrp x8, _TSSIA@GOTPAGE Lloh27: ldr x8, [x8, _TSSIA@GOTPAGEOFF] Lloh28: ldr w4, [x8] mov x0, x19 mov x3, x20 bl _READ_RADIO_REG3 ldr x8, [x19, #8] add x8, x8, x25, lsl #3 str x0, [x8, #48] LBB0_6: ; in Loop: Header=BB0_4 Depth=1 ldr w1, [x21] ldr w2, [x22] mov x27, x28 ldr w4, [x28] mov x0, x19 mov x3, x20 bl _READ_RADIO_REG3 ldr x8, [x19, #8] add x8, x8, x23 str x0, [x8, #56] ldr w1, [x21] ldr w2, [x22] Lloh29: adrp x8, _TSSI_MISC1@GOTPAGE Lloh30: ldr x8, [x8, _TSSI_MISC1@GOTPAGEOFF] Lloh31: ldr w4, [x8] mov x0, x19 mov x3, x20 bl _READ_RADIO_REG3 ldr x8, [x19, #8] add x8, x8, x23 str x0, [x8, #64] ldr w0, [x19, #16] bl _CHSPEC_IS5G ldr w1, [x21] ldr w2, [x22] mov x25, x26 ldr w4, [x26] cbz x0, LBB0_9 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 mov x3, x20 mov w5, #10 ; =0xa bl _WRITE_RADIO_REG3 ldr w1, [x21] ldr w2, [x22] Lloh32: adrp x8, _IQCAL_VCM_HG@GOTPAGE Lloh33: ldr x8, [x8, _IQCAL_VCM_HG@GOTPAGEOFF] Lloh34: ldr w4, [x8] mov x0, x19 mov x3, x20 mov w5, #67 ; =0x43 bl _WRITE_RADIO_REG3 ldr w1, [x21] ldr w2, [x22] Lloh35: adrp x8, _IQCAL_IDAC@GOTPAGE Lloh36: ldr x8, [x8, _IQCAL_IDAC@GOTPAGEOFF] Lloh37: ldr w4, [x8] mov x0, x19 mov x3, x20 mov w5, #85 ; =0x55 bl _WRITE_RADIO_REG3 ldr w1, [x21] ldr w2, [x22] Lloh38: adrp x8, _TSSI_VCM@GOTPAGE Lloh39: ldr x8, [x8, _TSSI_VCM@GOTPAGEOFF] Lloh40: ldr w4, [x8] mov x0, x19 mov x3, x20 mov w5, #0 ; =0x0 bl _WRITE_RADIO_REG3 ldr w1, [x21] ldr w2, [x22] ldr w4, [x27] mov x0, x19 mov x3, x20 mov w5, #0 ; =0x0 bl _WRITE_RADIO_REG3 ldr x8, [x19, #24] mov x28, x27 cbz x8, LBB0_3 ; %bb.8: ; in Loop: Header=BB0_4 Depth=1 mov w5, #4 ; =0x4 Lloh41: adrp x23, _TSSIA@GOTPAGE Lloh42: ldr x23, [x23, _TSSIA@GOTPAGEOFF] b LBB0_2 LBB0_9: ; in Loop: Header=BB0_4 Depth=1 mov x0, x19 mov x3, x20 mov w5, #6 ; =0x6 bl _WRITE_RADIO_REG3 ldr w1, [x21] ldr w2, [x22] Lloh43: adrp x8, _IQCAL_VCM_HG@GOTPAGE Lloh44: ldr x8, [x8, _IQCAL_VCM_HG@GOTPAGEOFF] Lloh45: ldr w4, [x8] mov x0, x19 mov x3, x20 mov w5, #67 ; =0x43 bl _WRITE_RADIO_REG3 ldr w1, [x21] ldr w2, [x22] Lloh46: adrp x8, _IQCAL_IDAC@GOTPAGE Lloh47: ldr x8, [x8, _IQCAL_IDAC@GOTPAGEOFF] Lloh48: ldr w4, [x8] mov x0, x19 mov x3, x20 mov w5, #85 ; =0x55 bl _WRITE_RADIO_REG3 ldr w1, [x21] ldr w2, [x22] Lloh49: adrp x8, _TSSI_VCM@GOTPAGE Lloh50: ldr x8, [x8, _TSSI_VCM@GOTPAGEOFF] Lloh51: ldr w4, [x8] mov x0, x19 mov x3, x20 mov w5, #0 ; =0x0 bl _WRITE_RADIO_REG3 ldr w8, [x19] cmp w8, #5 b.eq LBB0_11 ; %bb.10: ; in Loop: Header=BB0_4 Depth=1 ldr w1, [x21] ldr w2, [x22] Lloh52: adrp x8, _TSSIA@GOTPAGE Lloh53: ldr x8, [x8, _TSSIA@GOTPAGEOFF] Lloh54: ldr w4, [x8] mov x0, x19 mov x3, x20 mov w5, #0 ; =0x0 bl _WRITE_RADIO_REG3 LBB0_11: ; in Loop: Header=BB0_4 Depth=1 ldr x8, [x19, #24] cbz x8, LBB0_3 ; %bb.12: ; in Loop: Header=BB0_4 Depth=1 mov w5, #6 ; =0x6 mov x23, x28 b LBB0_2 LBB0_13: ldr w0, [x19, #4] mov w1, #3 ; =0x3 bl _NREV_GE cbz x0, LBB0_24 ; %bb.14: mov x20, #0 ; =0x0 mov w8, #1 ; =0x1 b LBB0_17 LBB0_15: ; in Loop: Header=BB0_17 Depth=1 mov x0, x19 mov w2, #10 ; =0xa bl _write_radio_reg ldr w8, [x22] orr w1, w8, w28 mov x0, x19 mov w2, #64 ; =0x40 bl _write_radio_reg ldr w8, [x23] orr w1, w8, w28 mov x0, x19 mov w2, #85 ; =0x55 bl _write_radio_reg Lloh55: adrp x8, _RADIO_2056_TX_TSSI_VCM@GOTPAGE Lloh56: ldr x8, [x8, _RADIO_2056_TX_TSSI_VCM@GOTPAGEOFF] Lloh57: ldr w8, [x8] orr w1, w8, w28 mov x0, x19 mov w2, #0 ; =0x0 bl _write_radio_reg Lloh58: adrp x8, _RADIO_2056_TX_TX_AMP_DET@GOTPAGE Lloh59: ldr x8, [x8, _RADIO_2056_TX_TX_AMP_DET@GOTPAGEOFF] Lloh60: ldr w8, [x8] orr w1, w8, w28 mov x0, x19 mov w2, #0 ; =0x0 bl _write_radio_reg mov x0, x19 bl _PHY_IPA cmp x0, #0 cset w8, ne Lloh61: adrp x9, _RADIO_2056_TX_TX_SSI_MUX@GOTPAGE Lloh62: ldr x9, [x9, _RADIO_2056_TX_TX_SSI_MUX@GOTPAGEOFF] Lloh63: ldr w9, [x9] lsl w2, w8, #2 mov w8, #47 ; =0x2f csinc w20, w8, wzr, eq orr w1, w9, w28 mov x0, x19 bl _write_radio_reg Lloh64: adrp x8, _RADIO_2056_TX_TSSIA@GOTPAGE Lloh65: ldr x8, [x8, _RADIO_2056_TX_TSSIA@GOTPAGEOFF] Lloh66: ldr w8, [x8] orr w1, w8, w28 mov x0, x19 mov x2, x20 bl _write_radio_reg ldr w8, [x26] orr w1, w8, w28 mov x0, x19 mov w2, #0 ; =0x0 LBB0_16: ; in Loop: Header=BB0_17 Depth=1 bl _write_radio_reg ldr w8, [x27] orr w1, w8, w28 mov x0, x19 mov w2, #0 ; =0x0 bl _write_radio_reg ldr w8, [x25] orr w1, w8, w28 mov x0, x19 mov w2, #0 ; =0x0 bl _write_radio_reg ldr w8, [x24] orr w1, w8, w28 mov x0, x19 mov w2, #0 ; =0x0 bl _write_radio_reg mov w8, #0 ; =0x0 mov w20, #1 ; =0x1 ldr w9, [sp, #12] ; 4-byte Folded Reload tbz w9, #0, LBB0_23 LBB0_17: ; =>This Inner Loop Header: Depth=1 ; kill: def $w8 killed $w8 killed $x8 str w8, [sp, #12] ; 4-byte Folded Spill Lloh67: adrp x8, _PHY_CORE_0@GOTPAGE Lloh68: ldr x8, [x8, _PHY_CORE_0@GOTPAGEOFF] Lloh69: ldr w8, [x8] cmp x20, x8 Lloh70: adrp x8, _RADIO_2056_TX0@GOTPAGE Lloh71: ldr x8, [x8, _RADIO_2056_TX0@GOTPAGEOFF] Lloh72: adrp x9, _RADIO_2056_TX1@GOTPAGE Lloh73: ldr x9, [x9, _RADIO_2056_TX1@GOTPAGEOFF] csel x8, x8, x9, eq ldr w28, [x8] Lloh74: adrp x21, _RADIO_2056_TX_TX_SSI_MASTER@GOTPAGE Lloh75: ldr x21, [x21, _RADIO_2056_TX_TX_SSI_MASTER@GOTPAGEOFF] ldr w8, [x21] orr w1, w8, w28 mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] mov w9, #88 ; =0x58 mul x20, x20, x9 str x0, [x8, x20] Lloh76: adrp x22, _RADIO_2056_TX_IQCAL_VCM_HG@GOTPAGE Lloh77: ldr x22, [x22, _RADIO_2056_TX_IQCAL_VCM_HG@GOTPAGEOFF] ldr w8, [x22] orr w1, w8, w28 mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] add x8, x8, x20 str x0, [x8, #8] Lloh78: adrp x23, _RADIO_2056_TX_IQCAL_IDAC@GOTPAGE Lloh79: ldr x23, [x23, _RADIO_2056_TX_IQCAL_IDAC@GOTPAGEOFF] ldr w8, [x23] orr w1, w8, w28 mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] add x8, x8, x20 str x0, [x8, #16] Lloh80: adrp x24, _RADIO_2056_TX_TSSI_VCM@GOTPAGE Lloh81: ldr x24, [x24, _RADIO_2056_TX_TSSI_VCM@GOTPAGEOFF] Lloh82: ldr w8, [x24] orr w1, w8, w28 mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] add x8, x8, x20 str x0, [x8, #24] Lloh83: adrp x25, _RADIO_2056_TX_TX_AMP_DET@GOTPAGE Lloh84: ldr x25, [x25, _RADIO_2056_TX_TX_AMP_DET@GOTPAGEOFF] Lloh85: ldr w8, [x25] orr w1, w8, w28 mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] add x8, x8, x20 str x0, [x8, #32] Lloh86: adrp x26, _RADIO_2056_TX_TX_SSI_MUX@GOTPAGE Lloh87: ldr x26, [x26, _RADIO_2056_TX_TX_SSI_MUX@GOTPAGEOFF] Lloh88: ldr w8, [x26] orr w1, w8, w28 mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] add x8, x8, x20 str x0, [x8, #40] Lloh89: adrp x27, _RADIO_2056_TX_TSSIA@GOTPAGE Lloh90: ldr x27, [x27, _RADIO_2056_TX_TSSIA@GOTPAGEOFF] Lloh91: ldr w8, [x27] orr w1, w8, w28 mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] add x8, x8, x20 str x0, [x8, #48] Lloh92: adrp x26, _RADIO_2056_TX_TSSIG@GOTPAGE Lloh93: ldr x26, [x26, _RADIO_2056_TX_TSSIG@GOTPAGEOFF] ldr w8, [x26] orr w1, w8, w28 mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] add x8, x8, x20 str x0, [x8, #56] Lloh94: adrp x8, _RADIO_2056_TX_TSSI_MISC1@GOTPAGE Lloh95: ldr x8, [x8, _RADIO_2056_TX_TSSI_MISC1@GOTPAGEOFF] mov x27, x8 ldr w8, [x8] orr w1, w8, w28 mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] add x8, x8, x20 str x0, [x8, #64] Lloh96: adrp x8, _RADIO_2056_TX_TSSI_MISC2@GOTPAGE Lloh97: ldr x8, [x8, _RADIO_2056_TX_TSSI_MISC2@GOTPAGEOFF] mov x25, x8 ldr w8, [x8] orr w1, w8, w28 mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] add x8, x8, x20 str x0, [x8, #72] Lloh98: adrp x8, _RADIO_2056_TX_TSSI_MISC3@GOTPAGE Lloh99: ldr x8, [x8, _RADIO_2056_TX_TSSI_MISC3@GOTPAGEOFF] mov x24, x8 ldr w8, [x8] orr w1, w8, w28 mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] add x8, x8, x20 str x0, [x8, #80] ldr w0, [x19, #16] bl _CHSPEC_IS5G ldr w8, [x21] orr w1, w8, w28 cbnz x0, LBB0_15 ; %bb.18: ; in Loop: Header=BB0_17 Depth=1 mov x0, x19 mov w2, #6 ; =0x6 bl _write_radio_reg ldr w8, [x22] orr w1, w8, w28 mov x0, x19 mov w2, #64 ; =0x40 bl _write_radio_reg ldr w8, [x23] orr w1, w8, w28 mov x0, x19 mov w2, #85 ; =0x55 bl _write_radio_reg Lloh100: adrp x8, _RADIO_2056_TX_TSSI_VCM@GOTPAGE Lloh101: ldr x8, [x8, _RADIO_2056_TX_TSSI_VCM@GOTPAGEOFF] Lloh102: ldr w8, [x8] orr w1, w8, w28 mov x0, x19 mov w2, #0 ; =0x0 bl _write_radio_reg Lloh103: adrp x8, _RADIO_2056_TX_TX_AMP_DET@GOTPAGE Lloh104: ldr x8, [x8, _RADIO_2056_TX_TX_AMP_DET@GOTPAGEOFF] Lloh105: ldr w8, [x8] orr w1, w8, w28 mov x0, x19 mov w2, #0 ; =0x0 bl _write_radio_reg Lloh106: adrp x8, _RADIO_2056_TX_TSSIA@GOTPAGE Lloh107: ldr x8, [x8, _RADIO_2056_TX_TSSIA@GOTPAGEOFF] Lloh108: ldr w8, [x8] orr w1, w8, w28 mov x0, x19 mov w2, #0 ; =0x0 bl _write_radio_reg mov x0, x19 bl _PHY_IPA Lloh109: adrp x8, _RADIO_2056_TX_TX_SSI_MUX@GOTPAGE Lloh110: ldr x8, [x8, _RADIO_2056_TX_TX_SSI_MUX@GOTPAGEOFF] Lloh111: ldr w8, [x8] orr w1, w8, w28 cbz x0, LBB0_21 ; %bb.19: ; in Loop: Header=BB0_17 Depth=1 mov x0, x19 mov w2, #6 ; =0x6 bl _write_radio_reg ldr w0, [x19, #4] mov w1, #5 ; =0x5 bl _NREV_LT Lloh112: adrp x8, _RADIO_2056_TX_TSSIG@GOTPAGE Lloh113: ldr x8, [x8, _RADIO_2056_TX_TSSIG@GOTPAGEOFF] Lloh114: ldr w8, [x8] orr w1, w8, w28 cbz x0, LBB0_22 ; %bb.20: ; in Loop: Header=BB0_17 Depth=1 mov x0, x19 mov w2, #17 ; =0x11 b LBB0_16 LBB0_21: ; in Loop: Header=BB0_17 Depth=1 mov x0, x19 mov w2, #0 ; =0x0 bl _write_radio_reg Lloh115: adrp x8, _RADIO_2056_TX_TSSIG@GOTPAGE Lloh116: ldr x8, [x8, _RADIO_2056_TX_TSSIG@GOTPAGEOFF] Lloh117: ldr w8, [x8] orr w1, w8, w28 mov x0, x19 mov w2, #32 ; =0x20 b LBB0_16 LBB0_22: ; in Loop: Header=BB0_17 Depth=1 mov x0, x19 mov w2, #1 ; =0x1 b LBB0_16 LBB0_23: ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 ret LBB0_24: Lloh118: adrp x20, _RADIO_2055_CORE1_TXRF_IQCAL1@GOTPAGE Lloh119: ldr x20, [x20, _RADIO_2055_CORE1_TXRF_IQCAL1@GOTPAGEOFF] ldr w1, [x20] mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] str x0, [x8] ldr w1, [x20] mov x0, x19 mov w2, #41 ; =0x29 bl _write_radio_reg Lloh120: adrp x20, _RADIO_2055_CORE1_TXRF_IQCAL2@GOTPAGE Lloh121: ldr x20, [x20, _RADIO_2055_CORE1_TXRF_IQCAL2@GOTPAGEOFF] ldr w1, [x20] mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] str x0, [x8, #8] ldr w1, [x20] mov x0, x19 mov w2, #84 ; =0x54 bl _write_radio_reg Lloh122: adrp x20, _RADIO_2055_CORE2_TXRF_IQCAL1@GOTPAGE Lloh123: ldr x20, [x20, _RADIO_2055_CORE2_TXRF_IQCAL1@GOTPAGEOFF] ldr w1, [x20] mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] str x0, [x8, #16] ldr w1, [x20] mov x0, x19 mov w2, #41 ; =0x29 bl _write_radio_reg Lloh124: adrp x20, _RADIO_2055_CORE2_TXRF_IQCAL2@GOTPAGE Lloh125: ldr x20, [x20, _RADIO_2055_CORE2_TXRF_IQCAL2@GOTPAGEOFF] ldr w1, [x20] mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] str x0, [x8, #24] ldr w1, [x20] mov x0, x19 mov w2, #84 ; =0x54 bl _write_radio_reg Lloh126: adrp x20, _RADIO_2055_PWRDET_RXTX_CORE1@GOTPAGE Lloh127: ldr x20, [x20, _RADIO_2055_PWRDET_RXTX_CORE1@GOTPAGEOFF] ldr w1, [x20] mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] str x0, [x8, #32] Lloh128: adrp x21, _RADIO_2055_PWRDET_RXTX_CORE2@GOTPAGE Lloh129: ldr x21, [x21, _RADIO_2055_PWRDET_RXTX_CORE2@GOTPAGEOFF] ldr w1, [x21] mov x0, x19 bl _read_radio_reg ldr x8, [x19, #8] str x0, [x8, #40] mov x0, x19 mov w1, #9 ; =0x9 bl _read_phy_reg Lloh130: adrp x8, _NPHY_BandControl_currentBand@GOTPAGE Lloh131: ldr x8, [x8, _NPHY_BandControl_currentBand@GOTPAGEOFF] Lloh132: ldr w8, [x8] ldr w1, [x20] tst w8, w0 mov w8, #32 ; =0x20 mov w9, #4 ; =0x4 csel w20, w9, w8, eq mov x0, x19 mov x2, x20 bl _write_radio_reg ldr w1, [x21] mov x0, x19 mov x2, x20 bl _write_radio_reg ldr w0, [x19, #4] mov w1, #2 ; =0x2 bl _NREV_LT Lloh133: adrp x8, _RADIO_2055_CORE1_TX_BB_MXGM@GOTPAGE Lloh134: ldr x8, [x8, _RADIO_2055_CORE1_TX_BB_MXGM@GOTPAGEOFF] Lloh135: ldr w1, [x8] cbz x0, LBB0_26 ; %bb.25: mov x0, x19 mov w2, #32 ; =0x20 bl _or_radio_reg Lloh136: adrp x8, _RADIO_2055_CORE2_TX_BB_MXGM@GOTPAGE Lloh137: ldr x8, [x8, _RADIO_2055_CORE2_TX_BB_MXGM@GOTPAGEOFF] Lloh138: ldr w1, [x8] mov x0, x19 mov w2, #32 ; =0x20 ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 b _or_radio_reg LBB0_26: mov x0, x19 mov w2, #223 ; =0xdf bl _and_radio_reg Lloh139: adrp x8, _RADIO_2055_CORE2_TX_BB_MXGM@GOTPAGE Lloh140: ldr x8, [x8, _RADIO_2055_CORE2_TX_BB_MXGM@GOTPAGEOFF] Lloh141: ldr w1, [x8] mov x0, x19 mov w2, #223 ; =0xdf ldp x29, x30, [sp, #96] ; 16-byte Folded Reload ldp x20, x19, [sp, #80] ; 16-byte Folded Reload ldp x22, x21, [sp, #64] ; 16-byte Folded Reload ldp x24, x23, [sp, #48] ; 16-byte Folded Reload ldp x26, x25, [sp, #32] ; 16-byte Folded Reload ldp x28, x27, [sp, #16] ; 16-byte Folded Reload add sp, sp, #112 b _and_radio_reg .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotLdr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotLdr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotLdr Lloh26, Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGot Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh49, Lloh50, Lloh51 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh52, Lloh53, Lloh54 .loh AdrpLdrGotLdr Lloh64, Lloh65, Lloh66 .loh AdrpLdrGotLdr Lloh61, Lloh62, Lloh63 .loh AdrpLdrGotLdr Lloh58, Lloh59, Lloh60 .loh AdrpLdrGotLdr Lloh55, Lloh56, Lloh57 .loh AdrpLdrGot Lloh98, Lloh99 .loh AdrpLdrGot Lloh96, Lloh97 .loh AdrpLdrGot Lloh94, Lloh95 .loh AdrpLdrGot Lloh92, Lloh93 .loh AdrpLdrGotLdr Lloh89, Lloh90, Lloh91 .loh AdrpLdrGotLdr Lloh86, Lloh87, Lloh88 .loh AdrpLdrGotLdr Lloh83, Lloh84, Lloh85 .loh AdrpLdrGotLdr Lloh80, Lloh81, Lloh82 .loh AdrpLdrGot Lloh78, Lloh79 .loh AdrpLdrGot Lloh76, Lloh77 .loh AdrpLdrGot Lloh74, Lloh75 .loh AdrpLdrGot Lloh72, Lloh73 .loh AdrpLdrGot Lloh70, Lloh71 .loh AdrpLdrGotLdr Lloh67, Lloh68, Lloh69 .loh AdrpLdrGotLdr Lloh109, Lloh110, Lloh111 .loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108 .loh AdrpLdrGotLdr Lloh103, Lloh104, Lloh105 .loh AdrpLdrGotLdr Lloh100, Lloh101, Lloh102 .loh AdrpLdrGotLdr Lloh112, Lloh113, Lloh114 .loh AdrpLdrGotLdr Lloh115, Lloh116, Lloh117 .loh AdrpLdrGotLdr Lloh133, Lloh134, Lloh135 .loh AdrpLdrGotLdr Lloh130, Lloh131, Lloh132 .loh AdrpLdrGot Lloh128, Lloh129 .loh AdrpLdrGot Lloh126, Lloh127 .loh AdrpLdrGot Lloh124, Lloh125 .loh AdrpLdrGot Lloh122, Lloh123 .loh AdrpLdrGot Lloh120, Lloh121 .loh AdrpLdrGot Lloh118, Lloh119 .loh AdrpLdrGotLdr Lloh136, Lloh137, Lloh138 .loh AdrpLdrGotLdr Lloh139, Lloh140, Lloh141 .cfi_endproc ; -- End function .comm _RADIO_2057,4,2 ; @RADIO_2057 .comm _TX,4,2 ; @TX .comm _TX_SSI_MASTER,4,2 ; @TX_SSI_MASTER .comm _IQCAL_VCM_HG,4,2 ; @IQCAL_VCM_HG .comm _IQCAL_IDAC,4,2 ; @IQCAL_IDAC .comm _TSSI_VCM,4,2 ; @TSSI_VCM .comm _TX_SSI_MUX,4,2 ; @TX_SSI_MUX .comm _TSSIA,4,2 ; @TSSIA .comm _TSSIG,4,2 ; @TSSIG .comm _TSSI_MISC1,4,2 ; @TSSI_MISC1 .comm _PHY_CORE_0,4,2 ; @PHY_CORE_0 .comm _RADIO_2056_TX0,4,2 ; @RADIO_2056_TX0 .comm _RADIO_2056_TX1,4,2 ; @RADIO_2056_TX1 .comm _RADIO_2056_TX_TX_SSI_MASTER,4,2 ; @RADIO_2056_TX_TX_SSI_MASTER .comm _RADIO_2056_TX_IQCAL_VCM_HG,4,2 ; @RADIO_2056_TX_IQCAL_VCM_HG .comm _RADIO_2056_TX_IQCAL_IDAC,4,2 ; @RADIO_2056_TX_IQCAL_IDAC .comm _RADIO_2056_TX_TSSI_VCM,4,2 ; @RADIO_2056_TX_TSSI_VCM .comm _RADIO_2056_TX_TX_AMP_DET,4,2 ; @RADIO_2056_TX_TX_AMP_DET .comm _RADIO_2056_TX_TX_SSI_MUX,4,2 ; @RADIO_2056_TX_TX_SSI_MUX .comm _RADIO_2056_TX_TSSIA,4,2 ; @RADIO_2056_TX_TSSIA .comm _RADIO_2056_TX_TSSIG,4,2 ; @RADIO_2056_TX_TSSIG .comm _RADIO_2056_TX_TSSI_MISC1,4,2 ; @RADIO_2056_TX_TSSI_MISC1 .comm _RADIO_2056_TX_TSSI_MISC2,4,2 ; @RADIO_2056_TX_TSSI_MISC2 .comm _RADIO_2056_TX_TSSI_MISC3,4,2 ; @RADIO_2056_TX_TSSI_MISC3 .comm _RADIO_2055_CORE1_TXRF_IQCAL1,4,2 ; @RADIO_2055_CORE1_TXRF_IQCAL1 .comm _RADIO_2055_CORE1_TXRF_IQCAL2,4,2 ; @RADIO_2055_CORE1_TXRF_IQCAL2 .comm _RADIO_2055_CORE2_TXRF_IQCAL1,4,2 ; @RADIO_2055_CORE2_TXRF_IQCAL1 .comm _RADIO_2055_CORE2_TXRF_IQCAL2,4,2 ; @RADIO_2055_CORE2_TXRF_IQCAL2 .comm _RADIO_2055_PWRDET_RXTX_CORE1,4,2 ; @RADIO_2055_PWRDET_RXTX_CORE1 .comm _RADIO_2055_PWRDET_RXTX_CORE2,4,2 ; @RADIO_2055_PWRDET_RXTX_CORE2 .comm _NPHY_BandControl_currentBand,4,2 ; @NPHY_BandControl_currentBand .comm _RADIO_2055_CORE1_TX_BB_MXGM,4,2 ; @RADIO_2055_CORE1_TX_BB_MXGM .comm _RADIO_2055_CORE2_TX_BB_MXGM,4,2 ; @RADIO_2055_CORE2_TX_BB_MXGM .no_dead_strip _wlc_phy_txcal_radio_setup_nphy .subsections_via_symbols
assembly_file_149308.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mei_dev_bus_put _mei_dev_bus_put: ## @mei_dev_bus_put .cfi_startproc ## %bb.0: testq %rdi, %rdi je LBB0_1 ## %bb.2: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movl (%rdi), %edi popq %rbp jmp _put_device ## TAILCALL LBB0_1: retq .cfi_endproc ## -- End function .no_dead_strip _mei_dev_bus_put .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mei_dev_bus_put _mei_dev_bus_put: ; @mei_dev_bus_put .cfi_startproc ; %bb.0: cbz x0, LBB0_2 ; %bb.1: ldr w0, [x0] b _put_device LBB0_2: ret .cfi_endproc ; -- End function .no_dead_strip _mei_dev_bus_put .subsections_via_symbols
AnghaBench/linux/drivers/misc/mei/extr_bus.c_mei_dev_bus_put.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ipdivert_close _ipdivert_close: ## @ipdivert_close .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx movl %esi, %edi callq _close testq %rax, %rax js LBB0_2 ## %bb.1: addq $8, %rsp popq %rbx popq %rbp retq LBB0_2: leaq L_.str(%rip), %rsi movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _fail ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "close" .no_dead_strip _ipdivert_close .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ipdivert_close _ipdivert_close: ; @ipdivert_close .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x0 mov x0, x1 bl _close tbnz x0, #63, LBB0_2 ; %bb.1: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF mov x0, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _fail .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "close" .no_dead_strip _ipdivert_close .subsections_via_symbols
AnghaBench/freebsd/tools/regression/netinet/ipdivert/extr_ipdivert.c_ipdivert_close.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function until_next_command _until_next_command: ## @until_next_command .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 xorl %eax, %eax callq _clear_proceed_status xorl %eax, %eax callq _get_current_frame movq %rax, %r14 xorl %eax, %eax callq _read_pc movl %eax, %r15d movl %eax, %edi callq _find_pc_function testq %rax, %rax je LBB0_1 ## %bb.4: movq %rax, %rbx movl %r15d, %edi xorl %esi, %esi callq _find_pc_line movl %eax, %r15d movq %rbx, %rdi callq _SYMBOL_BLOCK_VALUE movl %eax, %edi callq _BLOCK_START jmp LBB0_5 LBB0_1: movl %r15d, %edi callq _lookup_minimal_symbol_by_pc movq %rax, %rbx testq %rax, %rax jne LBB0_3 ## %bb.2: leaq L_.str(%rip), %rdi callq _error LBB0_3: movq %rbx, %rdi callq _SYMBOL_VALUE_ADDRESS LBB0_5: movq _step_range_start@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _step_range_end@GOTPCREL(%rip), %rax movl %r15d, (%rax) movq _STEP_OVER_ALL@GOTPCREL(%rip), %rax movl (%rax), %eax movq _step_over_calls@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq %r14, %rdi callq _get_frame_id movq _step_frame_id@GOTPCREL(%rip), %rcx movl %eax, (%rcx) xorl %eax, %eax callq _read_sp movq _step_sp@GOTPCREL(%rip), %rcx movl %eax, (%rcx) movq _step_multi@GOTPCREL(%rip), %rax movq $0, (%rax) movq _TARGET_SIGNAL_DEFAULT@GOTPCREL(%rip), %rax movl (%rax), %esi movl $-1, %edi movl $1, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _proceed ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Execution is not within a known function." .comm _step_range_start,4,2 ## @step_range_start .comm _step_range_end,4,2 ## @step_range_end .comm _STEP_OVER_ALL,4,2 ## @STEP_OVER_ALL .comm _step_over_calls,4,2 ## @step_over_calls .comm _step_frame_id,4,2 ## @step_frame_id .comm _step_sp,4,2 ## @step_sp .comm _step_multi,8,3 ## @step_multi .comm _TARGET_SIGNAL_DEFAULT,4,2 ## @TARGET_SIGNAL_DEFAULT .no_dead_strip _until_next_command .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function until_next_command _until_next_command: ; @until_next_command .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 bl _clear_proceed_status bl _get_current_frame mov x19, x0 bl _read_pc mov x20, x0 bl _find_pc_function cbz x0, LBB0_2 ; %bb.1: mov x21, x0 mov x0, x20 mov w1, #0 bl _find_pc_line mov x20, x0 mov x0, x21 bl _SYMBOL_BLOCK_VALUE bl _BLOCK_START b LBB0_5 LBB0_2: mov x0, x20 bl _lookup_minimal_symbol_by_pc mov x21, x0 cbnz x0, LBB0_4 ; %bb.3: Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _error LBB0_4: mov x0, x21 bl _SYMBOL_VALUE_ADDRESS LBB0_5: Lloh2: adrp x8, _step_range_start@GOTPAGE Lloh3: ldr x8, [x8, _step_range_start@GOTPAGEOFF] Lloh4: str w0, [x8] Lloh5: adrp x8, _step_range_end@GOTPAGE Lloh6: ldr x8, [x8, _step_range_end@GOTPAGEOFF] Lloh7: str w20, [x8] Lloh8: adrp x8, _STEP_OVER_ALL@GOTPAGE Lloh9: ldr x8, [x8, _STEP_OVER_ALL@GOTPAGEOFF] Lloh10: ldr w8, [x8] Lloh11: adrp x9, _step_over_calls@GOTPAGE Lloh12: ldr x9, [x9, _step_over_calls@GOTPAGEOFF] Lloh13: str w8, [x9] mov x0, x19 bl _get_frame_id Lloh14: adrp x8, _step_frame_id@GOTPAGE Lloh15: ldr x8, [x8, _step_frame_id@GOTPAGEOFF] Lloh16: str w0, [x8] bl _read_sp Lloh17: adrp x8, _step_sp@GOTPAGE Lloh18: ldr x8, [x8, _step_sp@GOTPAGEOFF] Lloh19: str w0, [x8] Lloh20: adrp x8, _step_multi@GOTPAGE Lloh21: ldr x8, [x8, _step_multi@GOTPAGEOFF] Lloh22: str xzr, [x8] Lloh23: adrp x8, _TARGET_SIGNAL_DEFAULT@GOTPAGE Lloh24: ldr x8, [x8, _TARGET_SIGNAL_DEFAULT@GOTPAGEOFF] Lloh25: ldr w1, [x8] mov w0, #-1 mov w2, #1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _proceed .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGotLdr Lloh23, Lloh24, Lloh25 .loh AdrpLdrGotStr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGotStr Lloh17, Lloh18, Lloh19 .loh AdrpLdrGotStr Lloh14, Lloh15, Lloh16 .loh AdrpLdrGotStr Lloh11, Lloh12, Lloh13 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .loh AdrpLdrGotStr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Execution is not within a known function." .comm _step_range_start,4,2 ; @step_range_start .comm _step_range_end,4,2 ; @step_range_end .comm _STEP_OVER_ALL,4,2 ; @STEP_OVER_ALL .comm _step_over_calls,4,2 ; @step_over_calls .comm _step_frame_id,4,2 ; @step_frame_id .comm _step_sp,4,2 ; @step_sp .comm _step_multi,8,3 ; @step_multi .comm _TARGET_SIGNAL_DEFAULT,4,2 ; @TARGET_SIGNAL_DEFAULT .no_dead_strip _until_next_command .subsections_via_symbols
AnghaBench/freebsd/contrib/gdb/gdb/extr_infcmd.c_until_next_command.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strncmp ## -- Begin function strncmp .p2align 4, 0x90 _strncmp: ## @strncmp .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
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _strncmp ; -- Begin function strncmp .p2align 2 _strncmp: ; @strncmp .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/64200676.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function mp_media_prepare_frames _mp_media_prepare_frames: ## @mp_media_prepare_frames .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx callq _mp_media_ready_to_start testl %eax, %eax je LBB0_8 LBB0_1: cmpq $0, 40(%rbx) je LBB0_6 ## %bb.2: cmpq $0, 24(%rbx) je LBB0_6 ## %bb.3: cmpl $0, 32(%rbx) jne LBB0_6 ## %bb.4: movq 16(%rbx), %rax movq (%rax), %rdi callq _closest_format movq %rax, 8(%rbx) movq 16(%rbx), %rcx cmpq (%rcx), %rax je LBB0_6 ## %bb.5: movq %rbx, %rdi callq _mp_media_init_scaling testl %eax, %eax je LBB0_19 LBB0_6: movl $1, %eax jmp LBB0_7 LBB0_8: leaq 16(%rbx), %r14 leaq 48(%rbx), %r15 movq _AVERROR_EOF@GOTPCREL(%rip), %r12 jmp LBB0_10 .p2align 4, 0x90 LBB0_9: ## in Loop: Header=BB0_10 Depth=1 movq %rbx, %rdi callq _mp_media_ready_to_start testl %eax, %eax jne LBB0_1 LBB0_10: ## =>This Inner Loop Header: Depth=1 cmpl $0, (%rbx) jne LBB0_14 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 movq %rbx, %rdi callq _mp_media_next_packet cmpl (%r12), %eax jne LBB0_13 ## %bb.12: ## in Loop: Header=BB0_10 Depth=1 movl $1, (%rbx) jmp LBB0_14 LBB0_13: ## in Loop: Header=BB0_10 Depth=1 testl %eax, %eax js LBB0_19 .p2align 4, 0x90 LBB0_14: ## in Loop: Header=BB0_10 Depth=1 cmpq $0, 40(%rbx) je LBB0_16 ## %bb.15: ## in Loop: Header=BB0_10 Depth=1 movq %r14, %rdi callq _mp_decode_frame testl %eax, %eax je LBB0_19 LBB0_16: ## in Loop: Header=BB0_10 Depth=1 cmpq $0, 64(%rbx) je LBB0_9 ## %bb.17: ## in Loop: Header=BB0_10 Depth=1 movq %r15, %rdi callq _mp_decode_frame testl %eax, %eax jne LBB0_9 LBB0_19: xorl %eax, %eax LBB0_7: popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _AVERROR_EOF,4,2 ## @AVERROR_EOF .no_dead_strip _mp_media_prepare_frames .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function mp_media_prepare_frames _mp_media_prepare_frames: ; @mp_media_prepare_frames .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 bl _mp_media_ready_to_start cbz w0, LBB0_8 LBB0_1: ldr x8, [x19, #40] cbz x8, LBB0_6 ; %bb.2: ldr x8, [x19, #24] cbz x8, LBB0_6 ; %bb.3: ldr w8, [x19, #32] cbnz w8, LBB0_6 ; %bb.4: ldr x8, [x19, #16] ldr x0, [x8] bl _closest_format str x0, [x19, #8] ldr x8, [x19, #16] ldr x8, [x8] cmp x0, x8 b.eq LBB0_6 ; %bb.5: mov x0, x19 bl _mp_media_init_scaling cbz w0, LBB0_7 LBB0_6: mov w0, #1 LBB0_7: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret LBB0_8: add x20, x19, #16 add x21, x19, #48 Lloh0: adrp x22, _AVERROR_EOF@GOTPAGE Lloh1: ldr x22, [x22, _AVERROR_EOF@GOTPAGEOFF] mov w23, #1 b LBB0_10 LBB0_9: ; in Loop: Header=BB0_10 Depth=1 mov x0, x19 bl _mp_media_ready_to_start cbnz w0, LBB0_1 LBB0_10: ; =>This Inner Loop Header: Depth=1 ldr w8, [x19] cbnz w8, LBB0_14 ; %bb.11: ; in Loop: Header=BB0_10 Depth=1 mov x0, x19 bl _mp_media_next_packet ldr w8, [x22] cmp w0, w8 b.ne LBB0_13 ; %bb.12: ; in Loop: Header=BB0_10 Depth=1 str w23, [x19] b LBB0_14 LBB0_13: ; in Loop: Header=BB0_10 Depth=1 tbnz w0, #31, LBB0_18 LBB0_14: ; in Loop: Header=BB0_10 Depth=1 ldr x8, [x19, #40] cbz x8, LBB0_16 ; %bb.15: ; in Loop: Header=BB0_10 Depth=1 mov x0, x20 bl _mp_decode_frame cbz w0, LBB0_7 LBB0_16: ; in Loop: Header=BB0_10 Depth=1 ldr x8, [x19, #64] cbz x8, LBB0_9 ; %bb.17: ; in Loop: Header=BB0_10 Depth=1 mov x0, x21 bl _mp_decode_frame cbnz w0, LBB0_9 b LBB0_7 LBB0_18: mov w0, #0 b LBB0_7 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _AVERROR_EOF,4,2 ; @AVERROR_EOF .no_dead_strip _mp_media_prepare_frames .subsections_via_symbols
AnghaBench/obs-studio/deps/media-playback/media-playback/extr_media.c_mp_media_prepare_frames.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function intel_uc_fw_status_to_error _intel_uc_fw_status_to_error: ## @intel_uc_fw_status_to_error .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp ## kill: def $edi killed $edi def $rdi addl $-128, %edi cmpl $9, %edi ja LBB0_9 ## %bb.1: xorl %eax, %eax leaq LJTI0_0(%rip), %rcx movslq (%rcx,%rdi,4), %rdx addq %rcx, %rdx jmpq *%rdx LBB0_11: popq %rbp retq LBB0_9: movq _EINVAL@GOTPCREL(%rip), %rcx jmp LBB0_10 LBB0_3: movq _EACCES@GOTPCREL(%rip), %rcx jmp LBB0_10 LBB0_8: movq _ESTALE@GOTPCREL(%rip), %rcx jmp LBB0_10 LBB0_2: movq _ENODEV@GOTPCREL(%rip), %rcx jmp LBB0_10 LBB0_5: movq _ENOENT@GOTPCREL(%rip), %rcx jmp LBB0_10 LBB0_7: movq _EIO@GOTPCREL(%rip), %rcx jmp LBB0_10 LBB0_4: movq _EPERM@GOTPCREL(%rip), %rcx jmp LBB0_10 LBB0_6: movq _ENOEXEC@GOTPCREL(%rip), %rcx LBB0_10: xorl %eax, %eax subl (%rcx), %eax popq %rbp retq .cfi_endproc .p2align 2, 0x90 .data_region jt32 .set L0_0_set_3, LBB0_3-LJTI0_0 .set L0_0_set_11, LBB0_11-LJTI0_0 .set L0_0_set_8, LBB0_8-LJTI0_0 .set L0_0_set_2, LBB0_2-LJTI0_0 .set L0_0_set_5, LBB0_5-LJTI0_0 .set L0_0_set_7, LBB0_7-LJTI0_0 .set L0_0_set_6, LBB0_6-LJTI0_0 .set L0_0_set_4, LBB0_4-LJTI0_0 LJTI0_0: .long L0_0_set_3 .long L0_0_set_11 .long L0_0_set_8 .long L0_0_set_11 .long L0_0_set_2 .long L0_0_set_5 .long L0_0_set_7 .long L0_0_set_6 .long L0_0_set_4 .long L0_0_set_11 .end_data_region ## -- End function .comm _ENODEV,4,2 ## @ENODEV .comm _EACCES,4,2 ## @EACCES .comm _EPERM,4,2 ## @EPERM .comm _ENOENT,4,2 ## @ENOENT .comm _ENOEXEC,4,2 ## @ENOEXEC .comm _EIO,4,2 ## @EIO .comm _ESTALE,4,2 ## @ESTALE .comm _EINVAL,4,2 ## @EINVAL .no_dead_strip _intel_uc_fw_status_to_error .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function intel_uc_fw_status_to_error _intel_uc_fw_status_to_error: ; @intel_uc_fw_status_to_error .cfi_startproc ; %bb.0: sub w8, w0, #128 cmp w8, #9 b.hi LBB0_3 ; %bb.1: mov w0, #0 Lloh0: adrp x9, lJTI0_0@PAGE Lloh1: add x9, x9, lJTI0_0@PAGEOFF adr x10, LBB0_2 ldrb w11, [x9, x8] add x10, x10, x11, lsl #2 br x10 LBB0_2: ret LBB0_3: Lloh2: adrp x8, _EINVAL@GOTPAGE Lloh3: ldr x8, [x8, _EINVAL@GOTPAGEOFF] b LBB0_11 LBB0_4: Lloh4: adrp x8, _EACCES@GOTPAGE Lloh5: ldr x8, [x8, _EACCES@GOTPAGEOFF] b LBB0_11 LBB0_5: Lloh6: adrp x8, _ESTALE@GOTPAGE Lloh7: ldr x8, [x8, _ESTALE@GOTPAGEOFF] b LBB0_11 LBB0_6: Lloh8: adrp x8, _ENODEV@GOTPAGE Lloh9: ldr x8, [x8, _ENODEV@GOTPAGEOFF] b LBB0_11 LBB0_7: Lloh10: adrp x8, _ENOENT@GOTPAGE Lloh11: ldr x8, [x8, _ENOENT@GOTPAGEOFF] b LBB0_11 LBB0_8: Lloh12: adrp x8, _EIO@GOTPAGE Lloh13: ldr x8, [x8, _EIO@GOTPAGEOFF] b LBB0_11 LBB0_9: Lloh14: adrp x8, _EPERM@GOTPAGE Lloh15: ldr x8, [x8, _EPERM@GOTPAGEOFF] b LBB0_11 LBB0_10: Lloh16: adrp x8, _ENOEXEC@GOTPAGE Lloh17: ldr x8, [x8, _ENOEXEC@GOTPAGEOFF] LBB0_11: ldr w8, [x8] neg w0, w8 ret .loh AdrpAdd Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh6, Lloh7 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGot Lloh16, Lloh17 .cfi_endproc .section __TEXT,__const lJTI0_0: .byte (LBB0_4-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_5-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 .byte (LBB0_6-LBB0_2)>>2 .byte (LBB0_7-LBB0_2)>>2 .byte (LBB0_8-LBB0_2)>>2 .byte (LBB0_10-LBB0_2)>>2 .byte (LBB0_9-LBB0_2)>>2 .byte (LBB0_2-LBB0_2)>>2 ; -- End function .comm _ENODEV,4,2 ; @ENODEV .comm _EACCES,4,2 ; @EACCES .comm _EPERM,4,2 ; @EPERM .comm _ENOENT,4,2 ; @ENOENT .comm _ENOEXEC,4,2 ; @ENOEXEC .comm _EIO,4,2 ; @EIO .comm _ESTALE,4,2 ; @ESTALE .comm _EINVAL,4,2 ; @EINVAL .no_dead_strip _intel_uc_fw_status_to_error .subsections_via_symbols
AnghaBench/linux/drivers/gpu/drm/i915/selftests/extr_..gtucintel_uc_fw.h_intel_uc_fw_status_to_error.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function torch_DiskFile_isBigEndianCPU _torch_DiskFile_isBigEndianCPU: ## @torch_DiskFile_isBigEndianCPU .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx xorl %eax, %eax callq _THDiskFile_isLittleEndianCPU xorl %esi, %esi testl %eax, %eax sete %sil movq %rbx, %rdi callq _lua_pushboolean movl $1, %eax addq $8, %rsp popq %rbx popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _torch_DiskFile_isBigEndianCPU .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function torch_DiskFile_isBigEndianCPU _torch_DiskFile_isBigEndianCPU: ; @torch_DiskFile_isBigEndianCPU .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x0 bl _THDiskFile_isLittleEndianCPU cmp w0, #0 cset w1, eq mov x0, x19 bl _lua_pushboolean mov w0, #1 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _torch_DiskFile_isBigEndianCPU .subsections_via_symbols
AnghaBench/torch7/extr_DiskFile.c_torch_DiskFile_isBigEndianCPU.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _beiscsi_get_fw_config ## -- Begin function beiscsi_get_fw_config .p2align 4, 0x90 _beiscsi_get_fw_config: ## @beiscsi_get_fw_config .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rsi, %r15 movq %rdi, %r14 addq $4, %rdi callq _wrb_from_mbox movq %rax, %rbx movq %rax, %rdi callq _embedded_payload movq %rax, %r12 movq _EINVAL@GOTPCREL(%rip), %rax xorl %ecx, %ecx subl (%rax), %ecx movl %ecx, -44(%rbp) ## 4-byte Spill movq %r14, %rdi callq _mutex_lock movq %rbx, %rdi xorl %esi, %esi movl $4, %edx callq _memset movq %rbx, %rdi movl $40, %esi movl $1, %edx xorl %ecx, %ecx callq _be_wrb_hdr_prepare leaq 32(%r12), %rdi movq _CMD_SUBSYSTEM_COMMON@GOTPCREL(%rip), %rax movl (%rax), %esi movq _OPCODE_COMMON_QUERY_FIRMWARE_CONFIG@GOTPCREL(%rip), %rax movl (%rax), %edx movq _EMBED_MBX_MAX_PAYLOAD_SIZE@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _be_cmd_hdr_prepare movq %r14, %rdi callq _be_mbox_notify testq %rax, %rax je LBB0_2 ## %bb.1: movq _KERN_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BEISCSI_LOG_INIT@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str(%rip), %rcx movq %r15, %rdi xorl %eax, %eax callq _beiscsi_log jmp LBB0_12 LBB0_2: movl (%r12), %r8d movl %r8d, (%r15) movq _BEISCSI_PHYS_PORT_MAX@GOTPCREL(%rip), %rax cmpl (%rax), %r8d jge LBB0_9 ## %bb.3: movq %r15, %rdi callq _is_chip_be2_be3r testl %eax, %eax je LBB0_18 LBB0_4: movq _BEISCSI_ULP_COUNT@GOTPCREL(%rip), %rax movq (%rax), %rax testq %rax, %rax je LBB0_23 ## %bb.5: movq %r14, -64(%rbp) ## 8-byte Spill leaq 28(%r15), %rcx movq %rcx, -56(%rbp) ## 8-byte Spill xorl %ebx, %ebx xorl %r14d, %r14d jmp LBB0_7 .p2align 4, 0x90 LBB0_6: ## in Loop: Header=BB0_7 Depth=1 incq %r14 addq $20, %rbx cmpq %rax, %r14 jae LBB0_14 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq 16(%r12), %rcx movq _BEISCSI_ULP_ISCSI_INI_MODE@GOTPCREL(%rip), %rdx movl (%rdx), %edx testl %edx, (%rcx,%rbx) je LBB0_6 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 movq %r14, %rdi movq -56(%rbp), %rsi ## 8-byte Reload callq _set_bit movq 16(%r12), %rax movl 16(%rax,%rbx), %ecx movq 40(%r15), %r8 movl %ecx, (%r8,%r14,4) movl 12(%rax,%rbx), %ecx movq 48(%r15), %rdi movl %ecx, (%rdi,%r14,4) movl 8(%rax,%rbx), %ecx movq 32(%r15), %r10 movl %ecx, (%r10,%r14,4) movl 4(%rax,%rbx), %eax movq 16(%r15), %rcx movl %eax, (%rcx,%r14,4) movq 24(%r12), %rax movl 4(%rax,%r14,8), %edx movq 64(%r15), %rsi movl %edx, (%rsi,%r14,4) movl (%rax,%r14,8), %eax movq 56(%r15), %rdx movl %eax, (%rdx,%r14,4) movq _KERN_INFO@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BEISCSI_LOG_INIT@GOTPCREL(%rip), %rax movl (%rax), %edx movl (%rdi,%r14,4), %r9d movl (%r8,%r14,4), %r11d movl (%rcx,%r14,4), %r13d movl (%r10,%r14,4), %r10d subq $8, %rsp movq %r15, %rdi leaq L_.str.5(%rip), %rcx movq %r14, %r8 xorl %eax, %eax pushq %r10 pushq %r13 pushq %r11 callq _beiscsi_log addq $32, %rsp movq _BEISCSI_ULP_COUNT@GOTPCREL(%rip), %rax movq (%rax), %rax jmp LBB0_6 LBB0_9: movq _KERN_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BEISCSI_LOG_INIT@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.1(%rip), %rcx LBB0_10: movq %r15, %rdi LBB0_11: xorl %eax, %eax callq _beiscsi_log LBB0_12: movl -44(%rbp), %ebx ## 4-byte Reload LBB0_13: movq %r14, %rdi callq _mutex_unlock movl %ebx, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_14: movq -56(%rbp), %rcx ## 8-byte Reload cmpl $0, (%rcx) movq -64(%rbp), %r14 ## 8-byte Reload je LBB0_30 ## %bb.15: xorl %ebx, %ebx testq %rax, %rax je LBB0_25 .p2align 4, 0x90 LBB0_16: ## =>This Inner Loop Header: Depth=1 movq %rbx, %rdi movq -56(%rbp), %rsi ## 8-byte Reload callq _test_bit testq %rax, %rax jne LBB0_25 ## %bb.17: ## in Loop: Header=BB0_16 Depth=1 incq %rbx movq _BEISCSI_ULP_COUNT@GOTPCREL(%rip), %rax cmpq (%rax), %rbx jb LBB0_16 jmp LBB0_25 LBB0_18: movl 4(%r12), %r8d movl %r8d, 4(%r15) movl 8(%r12), %r9d movl %r9d, 8(%r15) testl %r8d, %r8d je LBB0_32 ## %bb.19: cmpl $2049, %r8d ## imm = 0x801 jge LBB0_32 ## %bb.20: testl %r9d, %r9d je LBB0_34 ## %bb.21: cmpl $4097, %r9d ## imm = 0x1001 jge LBB0_34 ## %bb.22: movq _KERN_INFO@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BEISCSI_LOG_INIT@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.4(%rip), %rcx movq %r15, %rdi xorl %eax, %eax callq _beiscsi_log jmp LBB0_4 LBB0_23: cmpl $0, 28(%r15) je LBB0_30 ## %bb.24: xorl %ebx, %ebx LBB0_25: movq 16(%r15), %rax movl (%rax,%rbx,4), %r8d testl %r8d, %r8d je LBB0_31 ## %bb.26: cmpl $65537, %r8d ## imm = 0x10001 jge LBB0_31 ## %bb.27: movq _BEISCSI_ULP0@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %r15, %rdi callq _BEISCSI_GET_CID_COUNT movl %eax, %ebx movq _BEISCSI_ULP1@GOTPCREL(%rip), %rax movq (%rax), %rsi movq %r15, %rdi callq _BEISCSI_GET_CID_COUNT addl %ebx, %eax je LBB0_33 ## %bb.28: cmpl $4097, %eax ## imm = 0x1001 jge LBB0_33 ## %bb.29: movq _BEISCSI_FUNC_DUA_MODE@GOTPCREL(%rip), %rax movl (%rax), %r8d andl 12(%r12), %r8d movl %r8d, 24(%r15) movq _KERN_INFO@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BEISCSI_LOG_INIT@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.9(%rip), %rcx xorl %ebx, %ebx movq %r15, %rdi xorl %eax, %eax callq _beiscsi_log jmp LBB0_13 LBB0_30: movq _KERN_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BEISCSI_LOG_INIT@GOTPCREL(%rip), %rax movl (%rax), %edx movq 16(%r12), %rax movq _BEISCSI_ULP0@GOTPCREL(%rip), %rcx movq (%rcx), %rcx leaq (%rcx,%rcx,4), %rcx movl (%rax,%rcx,4), %r8d movq _BEISCSI_ULP1@GOTPCREL(%rip), %rcx movq (%rcx), %rcx leaq (%rcx,%rcx,4), %rcx movl (%rax,%rcx,4), %r9d leaq L_.str.6(%rip), %rcx movq %r15, %rdi xorl %eax, %eax callq _beiscsi_log jmp LBB0_12 LBB0_31: movq _KERN_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BEISCSI_LOG_INIT@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.7(%rip), %rcx jmp LBB0_10 LBB0_32: movq _KERN_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BEISCSI_LOG_INIT@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.2(%rip), %rcx jmp LBB0_10 LBB0_33: movq _KERN_ERR@GOTPCREL(%rip), %rcx movl (%rcx), %esi movq _BEISCSI_LOG_INIT@GOTPCREL(%rip), %rcx movl (%rcx), %edx leaq L_.str.8(%rip), %rcx movq %r15, %rdi movl %eax, %r8d jmp LBB0_11 LBB0_34: movq _KERN_ERR@GOTPCREL(%rip), %rax movl (%rax), %esi movq _BEISCSI_LOG_INIT@GOTPCREL(%rip), %rax movl (%rax), %edx leaq L_.str.3(%rip), %rcx movq %r15, %rdi movl %r9d, %r8d jmp LBB0_11 .cfi_endproc ## -- End function .comm _EINVAL,4,2 ## @EINVAL .comm _CMD_SUBSYSTEM_COMMON,4,2 ## @CMD_SUBSYSTEM_COMMON .comm _OPCODE_COMMON_QUERY_FIRMWARE_CONFIG,4,2 ## @OPCODE_COMMON_QUERY_FIRMWARE_CONFIG .comm _EMBED_MBX_MAX_PAYLOAD_SIZE,4,2 ## @EMBED_MBX_MAX_PAYLOAD_SIZE .comm _KERN_ERR,4,2 ## @KERN_ERR .comm _BEISCSI_LOG_INIT,4,2 ## @BEISCSI_LOG_INIT .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "BG_%d : Failed in beiscsi_get_fw_config\n" .comm _BEISCSI_PHYS_PORT_MAX,4,2 ## @BEISCSI_PHYS_PORT_MAX L_.str.1: ## @.str.1 .asciz "BG_%d : invalid physical port id %d\n" L_.str.2: ## @.str.2 .asciz "BG_%d : invalid EQ count %d\n" L_.str.3: ## @.str.3 .asciz "BG_%d : invalid CQ count %d\n" .comm _KERN_INFO,4,2 ## @KERN_INFO L_.str.4: ## @.str.4 .asciz "BG_%d : EQ_Count : %d CQ_Count : %d\n" .comm _BEISCSI_ULP_COUNT,8,3 ## @BEISCSI_ULP_COUNT .comm _BEISCSI_ULP_ISCSI_INI_MODE,4,2 ## @BEISCSI_ULP_ISCSI_INI_MODE L_.str.5: ## @.str.5 .asciz "BG_%d : Function loaded on ULP : %d\n\tiscsi_cid_count : %d\n\tiscsi_cid_start : %d\n\t iscsi_icd_count : %d\n\t iscsi_icd_start : %d\n" L_.str.6: ## @.str.6 .asciz "BG_%d : iSCSI initiator mode not set: ULP0 %x ULP1 %x\n" .comm _BEISCSI_ULP0,8,3 ## @BEISCSI_ULP0 .comm _BEISCSI_ULP1,8,3 ## @BEISCSI_ULP1 L_.str.7: ## @.str.7 .asciz "BG_%d: invalid ICD count %d\n" L_.str.8: ## @.str.8 .asciz "BG_%d: invalid CID count %d\n" .comm _BEISCSI_FUNC_DUA_MODE,4,2 ## @BEISCSI_FUNC_DUA_MODE L_.str.9: ## @.str.9 .asciz "BG_%d : DUA Mode : 0x%x\n" .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _beiscsi_get_fw_config ; -- Begin function beiscsi_get_fw_config .p2align 2 _beiscsi_get_fw_config: ; @beiscsi_get_fw_config .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x21, x1 mov x19, x0 add x0, x0, #4 bl _wrb_from_mbox mov x23, x0 bl _embedded_payload mov x22, x0 Lloh0: adrp x8, _EINVAL@GOTPAGE Lloh1: ldr x8, [x8, _EINVAL@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w20, w8 mov x0, x19 bl _mutex_lock mov x0, x23 mov w1, #0 mov w2, #4 bl _memset mov x0, x23 mov w1, #40 mov w2, #1 mov w3, #0 bl _be_wrb_hdr_prepare add x0, x22, #32 Lloh3: adrp x8, _CMD_SUBSYSTEM_COMMON@GOTPAGE Lloh4: ldr x8, [x8, _CMD_SUBSYSTEM_COMMON@GOTPAGEOFF] Lloh5: ldr w1, [x8] Lloh6: adrp x8, _OPCODE_COMMON_QUERY_FIRMWARE_CONFIG@GOTPAGE Lloh7: ldr x8, [x8, _OPCODE_COMMON_QUERY_FIRMWARE_CONFIG@GOTPAGEOFF] Lloh8: ldr w2, [x8] Lloh9: adrp x8, _EMBED_MBX_MAX_PAYLOAD_SIZE@GOTPAGE Lloh10: ldr x8, [x8, _EMBED_MBX_MAX_PAYLOAD_SIZE@GOTPAGEOFF] Lloh11: ldr w3, [x8] bl _be_cmd_hdr_prepare mov x0, x19 bl _be_mbox_notify cbz x0, LBB0_2 ; %bb.1: Lloh12: adrp x8, _KERN_ERR@GOTPAGE Lloh13: ldr x8, [x8, _KERN_ERR@GOTPAGEOFF] Lloh14: ldr w1, [x8] Lloh15: adrp x8, _BEISCSI_LOG_INIT@GOTPAGE Lloh16: ldr x8, [x8, _BEISCSI_LOG_INIT@GOTPAGEOFF] Lloh17: ldr w2, [x8] Lloh18: adrp x3, l_.str@PAGE Lloh19: add x3, x3, l_.str@PAGEOFF b LBB0_31 LBB0_2: ldr w8, [x22] str w8, [x21] Lloh20: adrp x9, _BEISCSI_PHYS_PORT_MAX@GOTPAGE Lloh21: ldr x9, [x9, _BEISCSI_PHYS_PORT_MAX@GOTPAGEOFF] Lloh22: ldr w9, [x9] cmp w8, w9 b.ge LBB0_9 ; %bb.3: mov x0, x21 bl _is_chip_be2_be3r cbz w0, LBB0_14 LBB0_4: Lloh23: adrp x26, _BEISCSI_ULP_COUNT@GOTPAGE Lloh24: ldr x26, [x26, _BEISCSI_ULP_COUNT@GOTPAGEOFF] ldr x8, [x26] cbz x8, LBB0_19 ; %bb.5: str w20, [sp, #44] ; 4-byte Folded Spill mov x27, #0 mov x24, #0 add x23, x21, #28 mov w28, #4 Lloh25: adrp x20, _BEISCSI_ULP_ISCSI_INI_MODE@GOTPAGE Lloh26: ldr x20, [x20, _BEISCSI_ULP_ISCSI_INI_MODE@GOTPAGEOFF] Lloh27: adrp x25, l_.str.5@PAGE Lloh28: add x25, x25, l_.str.5@PAGEOFF b LBB0_7 LBB0_6: ; in Loop: Header=BB0_7 Depth=1 add x24, x24, #1 add x27, x27, #20 add x28, x28, #8 cmp x24, x8 b.hs LBB0_10 LBB0_7: ; =>This Inner Loop Header: Depth=1 ldr x9, [x22, #16] ldr w9, [x9, x27] ldr w10, [x20] tst w10, w9 b.eq LBB0_6 ; %bb.8: ; in Loop: Header=BB0_7 Depth=1 mov x0, x24 mov x1, x23 bl _set_bit ldp x8, x9, [x22, #16] add x8, x8, x27 ldr w10, [x8, #16] lsl x11, x24, #2 ldp x13, x12, [x21, #32] str w10, [x12, x11] ldr w10, [x8, #12] ldp x14, x15, [x21, #48] str w10, [x14, x11] ldr w10, [x8, #8] str w10, [x13, x11] ldr w8, [x8, #4] ldr x10, [x21, #16] str w8, [x10, x11] add x8, x9, x28 ldr w9, [x8] ldr x16, [x21, #64] str w9, [x16, x11] ldur w8, [x8, #-4] str w8, [x15, x11] Lloh29: adrp x8, _KERN_INFO@GOTPAGE Lloh30: ldr x8, [x8, _KERN_INFO@GOTPAGEOFF] Lloh31: ldr w1, [x8] Lloh32: adrp x8, _BEISCSI_LOG_INIT@GOTPAGE Lloh33: ldr x8, [x8, _BEISCSI_LOG_INIT@GOTPAGEOFF] Lloh34: ldr w2, [x8] ldr w8, [x14, x11] ldr w9, [x12, x11] ldr w10, [x10, x11] ldr w11, [x13, x11] stp x10, x11, [sp, #24] stp x8, x9, [sp, #8] str x24, [sp] mov x0, x21 mov x3, x25 bl _beiscsi_log ldr x8, [x26] b LBB0_6 LBB0_9: Lloh35: adrp x9, _KERN_ERR@GOTPAGE Lloh36: ldr x9, [x9, _KERN_ERR@GOTPAGEOFF] Lloh37: ldr w1, [x9] Lloh38: adrp x9, _BEISCSI_LOG_INIT@GOTPAGE Lloh39: ldr x9, [x9, _BEISCSI_LOG_INIT@GOTPAGEOFF] Lloh40: ldr w2, [x9] str x8, [sp] Lloh41: adrp x3, l_.str.1@PAGE Lloh42: add x3, x3, l_.str.1@PAGEOFF b LBB0_31 LBB0_10: ldr w9, [x23] ldr w20, [sp, #44] ; 4-byte Folded Reload cbz w9, LBB0_26 ; %bb.11: mov x24, #0 cbz x8, LBB0_21 LBB0_12: ; =>This Inner Loop Header: Depth=1 mov x0, x24 mov x1, x23 bl _test_bit cbnz x0, LBB0_21 ; %bb.13: ; in Loop: Header=BB0_12 Depth=1 add x24, x24, #1 ldr x8, [x26] cmp x24, x8 b.lo LBB0_12 b LBB0_21 LBB0_14: ldp w8, w9, [x22, #4] stp w8, w9, [x21, #4] cbz w8, LBB0_28 ; %bb.15: cmp w8, #2049 b.ge LBB0_28 ; %bb.16: cbz w9, LBB0_30 ; %bb.17: cmp w9, #1, lsl #12 ; =4096 b.gt LBB0_30 ; %bb.18: Lloh43: adrp x10, _KERN_INFO@GOTPAGE Lloh44: ldr x10, [x10, _KERN_INFO@GOTPAGEOFF] Lloh45: ldr w1, [x10] Lloh46: adrp x10, _BEISCSI_LOG_INIT@GOTPAGE Lloh47: ldr x10, [x10, _BEISCSI_LOG_INIT@GOTPAGEOFF] Lloh48: ldr w2, [x10] ; kill: def $w9 killed $w9 killed $x9 def $x9 ; kill: def $w8 killed $w8 killed $x8 def $x8 stp x8, x9, [sp] Lloh49: adrp x3, l_.str.4@PAGE Lloh50: add x3, x3, l_.str.4@PAGEOFF mov x0, x21 bl _beiscsi_log b LBB0_4 LBB0_19: ldr w8, [x21, #28] cbz w8, LBB0_26 ; %bb.20: mov x24, #0 LBB0_21: ldr x8, [x21, #16] ldr w8, [x8, x24, lsl #2] cbz w8, LBB0_27 ; %bb.22: cmp w8, #16, lsl #12 ; =65536 b.gt LBB0_27 ; %bb.23: Lloh51: adrp x8, _BEISCSI_ULP0@GOTPAGE Lloh52: ldr x8, [x8, _BEISCSI_ULP0@GOTPAGEOFF] Lloh53: ldr x1, [x8] mov x0, x21 bl _BEISCSI_GET_CID_COUNT mov x23, x0 Lloh54: adrp x8, _BEISCSI_ULP1@GOTPAGE Lloh55: ldr x8, [x8, _BEISCSI_ULP1@GOTPAGEOFF] Lloh56: ldr x1, [x8] mov x0, x21 bl _BEISCSI_GET_CID_COUNT adds w8, w0, w23 b.eq LBB0_29 ; %bb.24: cmp w8, #1, lsl #12 ; =4096 b.gt LBB0_29 ; %bb.25: ldr w8, [x22, #12] Lloh57: adrp x9, _BEISCSI_FUNC_DUA_MODE@GOTPAGE Lloh58: ldr x9, [x9, _BEISCSI_FUNC_DUA_MODE@GOTPAGEOFF] Lloh59: ldr w9, [x9] and w8, w9, w8 str w8, [x21, #24] Lloh60: adrp x9, _KERN_INFO@GOTPAGE Lloh61: ldr x9, [x9, _KERN_INFO@GOTPAGEOFF] Lloh62: ldr w1, [x9] Lloh63: adrp x9, _BEISCSI_LOG_INIT@GOTPAGE Lloh64: ldr x9, [x9, _BEISCSI_LOG_INIT@GOTPAGEOFF] Lloh65: ldr w2, [x9] str x8, [sp] Lloh66: adrp x3, l_.str.9@PAGE Lloh67: add x3, x3, l_.str.9@PAGEOFF mov x0, x21 bl _beiscsi_log mov w20, #0 b LBB0_32 LBB0_26: Lloh68: adrp x8, _KERN_ERR@GOTPAGE Lloh69: ldr x8, [x8, _KERN_ERR@GOTPAGEOFF] Lloh70: ldr w1, [x8] Lloh71: adrp x8, _BEISCSI_LOG_INIT@GOTPAGE Lloh72: ldr x8, [x8, _BEISCSI_LOG_INIT@GOTPAGEOFF] Lloh73: ldr w2, [x8] Lloh74: adrp x8, _BEISCSI_ULP0@GOTPAGE Lloh75: ldr x8, [x8, _BEISCSI_ULP0@GOTPAGEOFF] ldr x9, [x22, #16] Lloh76: ldr x8, [x8] mov w10, #20 mul x8, x8, x10 Lloh77: adrp x11, _BEISCSI_ULP1@GOTPAGE Lloh78: ldr x11, [x11, _BEISCSI_ULP1@GOTPAGEOFF] Lloh79: ldr x11, [x11] mul x10, x11, x10 ldr w8, [x9, x8] ldr w9, [x9, x10] stp x8, x9, [sp] Lloh80: adrp x3, l_.str.6@PAGE Lloh81: add x3, x3, l_.str.6@PAGEOFF b LBB0_31 LBB0_27: Lloh82: adrp x9, _KERN_ERR@GOTPAGE Lloh83: ldr x9, [x9, _KERN_ERR@GOTPAGEOFF] Lloh84: ldr w1, [x9] Lloh85: adrp x9, _BEISCSI_LOG_INIT@GOTPAGE Lloh86: ldr x9, [x9, _BEISCSI_LOG_INIT@GOTPAGEOFF] Lloh87: ldr w2, [x9] str x8, [sp] Lloh88: adrp x3, l_.str.7@PAGE Lloh89: add x3, x3, l_.str.7@PAGEOFF b LBB0_31 LBB0_28: Lloh90: adrp x9, _KERN_ERR@GOTPAGE Lloh91: ldr x9, [x9, _KERN_ERR@GOTPAGEOFF] Lloh92: ldr w1, [x9] Lloh93: adrp x9, _BEISCSI_LOG_INIT@GOTPAGE Lloh94: ldr x9, [x9, _BEISCSI_LOG_INIT@GOTPAGEOFF] Lloh95: ldr w2, [x9] str x8, [sp] Lloh96: adrp x3, l_.str.2@PAGE Lloh97: add x3, x3, l_.str.2@PAGEOFF b LBB0_31 LBB0_29: Lloh98: adrp x9, _KERN_ERR@GOTPAGE Lloh99: ldr x9, [x9, _KERN_ERR@GOTPAGEOFF] Lloh100: ldr w1, [x9] Lloh101: adrp x9, _BEISCSI_LOG_INIT@GOTPAGE Lloh102: ldr x9, [x9, _BEISCSI_LOG_INIT@GOTPAGEOFF] Lloh103: ldr w2, [x9] str x8, [sp] Lloh104: adrp x3, l_.str.8@PAGE Lloh105: add x3, x3, l_.str.8@PAGEOFF b LBB0_31 LBB0_30: Lloh106: adrp x8, _KERN_ERR@GOTPAGE Lloh107: ldr x8, [x8, _KERN_ERR@GOTPAGEOFF] Lloh108: ldr w1, [x8] Lloh109: adrp x8, _BEISCSI_LOG_INIT@GOTPAGE Lloh110: ldr x8, [x8, _BEISCSI_LOG_INIT@GOTPAGEOFF] Lloh111: ldr w2, [x8] str x9, [sp] Lloh112: adrp x3, l_.str.3@PAGE Lloh113: add x3, x3, l_.str.3@PAGEOFF LBB0_31: mov x0, x21 bl _beiscsi_log LBB0_32: mov x0, x19 bl _mutex_unlock mov x0, x20 ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh18, Lloh19 .loh AdrpLdrGotLdr Lloh15, Lloh16, Lloh17 .loh AdrpLdrGotLdr Lloh12, Lloh13, Lloh14 .loh AdrpLdrGotLdr Lloh20, Lloh21, Lloh22 .loh AdrpLdrGot Lloh23, Lloh24 .loh AdrpAdd Lloh27, Lloh28 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGotLdr Lloh32, Lloh33, Lloh34 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .loh AdrpAdd Lloh41, Lloh42 .loh AdrpLdrGotLdr Lloh38, Lloh39, Lloh40 .loh AdrpLdrGotLdr Lloh35, Lloh36, Lloh37 .loh AdrpAdd Lloh49, Lloh50 .loh AdrpLdrGotLdr Lloh46, Lloh47, Lloh48 .loh AdrpLdrGotLdr Lloh43, Lloh44, Lloh45 .loh AdrpLdrGotLdr Lloh54, Lloh55, Lloh56 .loh AdrpLdrGotLdr Lloh51, Lloh52, Lloh53 .loh AdrpAdd Lloh66, Lloh67 .loh AdrpLdrGotLdr Lloh63, Lloh64, Lloh65 .loh AdrpLdrGotLdr Lloh60, Lloh61, Lloh62 .loh AdrpLdrGotLdr Lloh57, Lloh58, Lloh59 .loh AdrpAdd Lloh80, Lloh81 .loh AdrpLdrGotLdr Lloh77, Lloh78, Lloh79 .loh AdrpLdrGotLdr Lloh74, Lloh75, Lloh76 .loh AdrpLdrGotLdr Lloh71, Lloh72, Lloh73 .loh AdrpLdrGotLdr Lloh68, Lloh69, Lloh70 .loh AdrpAdd Lloh88, Lloh89 .loh AdrpLdrGotLdr Lloh85, Lloh86, Lloh87 .loh AdrpLdrGotLdr Lloh82, Lloh83, Lloh84 .loh AdrpAdd Lloh96, Lloh97 .loh AdrpLdrGotLdr Lloh93, Lloh94, Lloh95 .loh AdrpLdrGotLdr Lloh90, Lloh91, Lloh92 .loh AdrpAdd Lloh104, Lloh105 .loh AdrpLdrGotLdr Lloh101, Lloh102, Lloh103 .loh AdrpLdrGotLdr Lloh98, Lloh99, Lloh100 .loh AdrpAdd Lloh112, Lloh113 .loh AdrpLdrGotLdr Lloh109, Lloh110, Lloh111 .loh AdrpLdrGotLdr Lloh106, Lloh107, Lloh108 .cfi_endproc ; -- End function .comm _EINVAL,4,2 ; @EINVAL .comm _CMD_SUBSYSTEM_COMMON,4,2 ; @CMD_SUBSYSTEM_COMMON .comm _OPCODE_COMMON_QUERY_FIRMWARE_CONFIG,4,2 ; @OPCODE_COMMON_QUERY_FIRMWARE_CONFIG .comm _EMBED_MBX_MAX_PAYLOAD_SIZE,4,2 ; @EMBED_MBX_MAX_PAYLOAD_SIZE .comm _KERN_ERR,4,2 ; @KERN_ERR .comm _BEISCSI_LOG_INIT,4,2 ; @BEISCSI_LOG_INIT .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "BG_%d : Failed in beiscsi_get_fw_config\n" .comm _BEISCSI_PHYS_PORT_MAX,4,2 ; @BEISCSI_PHYS_PORT_MAX l_.str.1: ; @.str.1 .asciz "BG_%d : invalid physical port id %d\n" l_.str.2: ; @.str.2 .asciz "BG_%d : invalid EQ count %d\n" l_.str.3: ; @.str.3 .asciz "BG_%d : invalid CQ count %d\n" .comm _KERN_INFO,4,2 ; @KERN_INFO l_.str.4: ; @.str.4 .asciz "BG_%d : EQ_Count : %d CQ_Count : %d\n" .comm _BEISCSI_ULP_COUNT,8,3 ; @BEISCSI_ULP_COUNT .comm _BEISCSI_ULP_ISCSI_INI_MODE,4,2 ; @BEISCSI_ULP_ISCSI_INI_MODE l_.str.5: ; @.str.5 .asciz "BG_%d : Function loaded on ULP : %d\n\tiscsi_cid_count : %d\n\tiscsi_cid_start : %d\n\t iscsi_icd_count : %d\n\t iscsi_icd_start : %d\n" l_.str.6: ; @.str.6 .asciz "BG_%d : iSCSI initiator mode not set: ULP0 %x ULP1 %x\n" .comm _BEISCSI_ULP0,8,3 ; @BEISCSI_ULP0 .comm _BEISCSI_ULP1,8,3 ; @BEISCSI_ULP1 l_.str.7: ; @.str.7 .asciz "BG_%d: invalid ICD count %d\n" l_.str.8: ; @.str.8 .asciz "BG_%d: invalid CID count %d\n" .comm _BEISCSI_FUNC_DUA_MODE,4,2 ; @BEISCSI_FUNC_DUA_MODE l_.str.9: ; @.str.9 .asciz "BG_%d : DUA Mode : 0x%x\n" .subsections_via_symbols
AnghaBench/linux/drivers/scsi/be2iscsi/extr_be_cmds.c_beiscsi_get_fw_config.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function gc_nes_process_packet _gc_nes_process_packet: ## @gc_nes_process_packet .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, -48(%rbp) movq _GC_SNESMOUSE_LENGTH@GOTPCREL(%rip), %rax movl (%rax), %r15d movq %r15, %rax callq ____chkstk_darwin addq $15, %rax andq $-16, %rax subq %rax, %rsp movq %rsp, %r14 movq 8(%rbx), %rax cmpq $0, 1024(%rax) jne LBB0_5 ## %bb.1: cmpq $0, 1032(%rax) jne LBB0_2 ## %bb.3: movq _GC_NES_LENGTH@GOTPCREL(%rip), %rax jmp LBB0_4 LBB0_2: movq _GC_SNES_LENGTH@GOTPCREL(%rip), %rax LBB0_4: movl (%rax), %r15d LBB0_5: movq %rbx, -64(%rbp) ## 8-byte Spill movq -64(%rbp), %rdi ## 8-byte Reload movl %r15d, %esi movq %r14, %rdx callq _gc_nes_read_packet movq -64(%rbp), %rdx ## 8-byte Reload movq _GC_MAX_DEVICES@GOTPCREL(%rip), %rsi cmpl $0, (%rsi) js LBB0_23 ## %bb.6: movl $8, %r13d xorl %r12d, %r12d movq _gc_status_bit@GOTPCREL(%rip), %rdi jmp LBB0_7 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_7 Depth=1 movzbl 12(%r14), %eax testl %eax, %ebx je LBB0_14 .p2align 4, 0x90 LBB0_22: ## in Loop: Header=BB0_7 Depth=1 decq %r12 movslq (%rsi), %rax addq $-16, %r13 cmpq %rax, %r12 jg LBB0_23 LBB0_7: ## =>This Inner Loop Header: Depth=1 movq (%rdx), %rax movq (%rax,%r13), %r15 movq (%rdi), %rcx movl (%rcx,%r12,4), %ebx movl -8(%rax,%r13), %eax cmpl $128, %eax je LBB0_13 ## %bb.8: ## in Loop: Header=BB0_7 Depth=1 cmpl $129, %eax je LBB0_12 ## %bb.9: ## in Loop: Header=BB0_7 Depth=1 cmpl $130, %eax jne LBB0_22 ## %bb.10: ## in Loop: Header=BB0_7 Depth=1 movq _ABS_X@GOTPCREL(%rip), %rax movl (%rax), %esi movzbl 6(%r14), %eax xorl %edx, %edx orl %ebx, %eax sete %dl movzbl 7(%r14), %eax andl %ebx, %eax cmpl $1, %eax sbbl $0, %edx movq %r15, %rdi callq _input_report_abs movq _ABS_Y@GOTPCREL(%rip), %rax movl (%rax), %esi movzbl 4(%r14), %eax xorl %edx, %edx testl %eax, %ebx sete %dl movzbl 5(%r14), %eax andl %ebx, %eax cmpl $1, %eax sbbl $0, %edx movq %r15, %rdi callq _input_report_abs movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax), %esi movq _gc_nes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movzbl (%r14,%rax), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl 4(%rax), %esi movq _gc_nes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq 8(%rax), %rax movzbl (%r14,%rax), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl 8(%rax), %esi movq _gc_nes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq 16(%rax), %rax movzbl (%r14,%rax), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl 12(%rax), %esi movq _gc_nes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq 24(%rax), %rax jmp LBB0_11 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_7 Depth=1 movq _ABS_X@GOTPCREL(%rip), %rax movl (%rax), %esi movzbl 6(%r14), %eax xorl %edx, %edx testl %eax, %ebx sete %dl movzbl 7(%r14), %eax andl %ebx, %eax cmpl $1, %eax sbbl $0, %edx movq %r15, %rdi callq _input_report_abs movq _ABS_Y@GOTPCREL(%rip), %rax movl (%rax), %esi movzbl 4(%r14), %eax xorl %edx, %edx testl %eax, %ebx sete %dl movzbl 5(%r14), %eax andl %ebx, %eax cmpl $1, %eax sbbl $0, %edx movq %r15, %rdi callq _input_report_abs movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl (%rax), %esi movq _gc_snes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rax movzbl (%r14,%rax), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl 4(%rax), %esi movq _gc_snes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq 8(%rax), %rax movzbl (%r14,%rax), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl 8(%rax), %esi movq _gc_snes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq 16(%rax), %rax movzbl (%r14,%rax), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl 12(%rax), %esi movq _gc_snes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq 24(%rax), %rax movzbl (%r14,%rax), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl 16(%rax), %esi movq _gc_snes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq 32(%rax), %rax movzbl (%r14,%rax), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl 20(%rax), %esi movq _gc_snes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq 40(%rax), %rax movzbl (%r14,%rax), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl 24(%rax), %esi movq _gc_snes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq 48(%rax), %rax movzbl (%r14,%rax), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movq _gc_snes_btn@GOTPCREL(%rip), %rax movq (%rax), %rax movl 28(%rax), %esi movq _gc_snes_bytes@GOTPCREL(%rip), %rax movq (%rax), %rax movq 56(%rax), %rax LBB0_11: ## in Loop: Header=BB0_7 Depth=1 movzbl (%r14,%rax), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key LBB0_21: ## in Loop: Header=BB0_7 Depth=1 movq %r15, %rdi callq _input_sync movq -64(%rbp), %rdx ## 8-byte Reload movq _GC_MAX_DEVICES@GOTPCREL(%rip), %rsi movq _gc_status_bit@GOTPCREL(%rip), %rdi jmp LBB0_22 LBB0_14: ## in Loop: Header=BB0_7 Depth=1 movzbl 13(%r14), %eax testl %eax, %ebx jne LBB0_22 ## %bb.15: ## in Loop: Header=BB0_7 Depth=1 movzbl 14(%r14), %eax testl %eax, %ebx jne LBB0_22 ## %bb.16: ## in Loop: Header=BB0_7 Depth=1 movzbl 15(%r14), %eax testl %eax, %ebx je LBB0_22 ## %bb.17: ## in Loop: Header=BB0_7 Depth=1 movq _BTN_LEFT@GOTPCREL(%rip), %rax movl (%rax), %esi movzbl 9(%r14), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movq _BTN_RIGHT@GOTPCREL(%rip), %rax movl (%rax), %esi movzbl 8(%r14), %edx andl %ebx, %edx movq %r15, %rdi callq _input_report_key movzbl 25(%r14), %eax testl %eax, %ebx setne %dl movzbl 17(%r14), %eax testl %eax, %ebx setne %r8b movzbl 24(%r14), %eax testl %eax, %ebx setne %cl movzbl 18(%r14), %esi testl %esi, %ebx setne %r9b movzbl 23(%r14), %esi testl %esi, %ebx setne %dil movzbl 19(%r14), %esi testl %esi, %ebx setne %sil shlb $2, %cl shlb $3, %dl orb %cl, %dl leal (%rdi,%rdi), %ecx orb %dl, %cl movzbl 22(%r14), %edx testl %edx, %ebx setne %r10b orb %r10b, %cl movzbl 20(%r14), %edx testl %edx, %ebx setne %r11b movzbl 21(%r14), %edx testl %edx, %ebx setne %dl shlb $2, %cl addb %dl, %dl orb %dl, %cl orb %r11b, %cl addb %cl, %cl orb %sil, %cl je LBB0_19 ## %bb.18: ## in Loop: Header=BB0_7 Depth=1 movb %dl, -50(%rbp) ## 1-byte Spill movzbl %cl, %edx negb %cl testl %eax, %ebx movzbl %cl, %eax cmovel %edx, %eax movq _REL_X@GOTPCREL(%rip), %rcx movb %sil, -54(%rbp) ## 1-byte Spill movl (%rcx), %esi movsbl %al, %edx movq %rdi, -72(%rbp) ## 8-byte Spill movq %r15, %rdi movb %r8b, -53(%rbp) ## 1-byte Spill movb %r9b, -52(%rbp) ## 1-byte Spill movb %r10b, -51(%rbp) ## 1-byte Spill movb %r11b, -49(%rbp) ## 1-byte Spill callq _input_report_rel movzbl -49(%rbp), %r11d ## 1-byte Folded Reload movzbl -50(%rbp), %edx ## 1-byte Folded Reload movzbl -51(%rbp), %r10d ## 1-byte Folded Reload movzbl -52(%rbp), %r9d ## 1-byte Folded Reload movzbl -53(%rbp), %r8d ## 1-byte Folded Reload movq -72(%rbp), %rdi ## 8-byte Reload movzbl -54(%rbp), %esi ## 1-byte Folded Reload LBB0_19: ## in Loop: Header=BB0_7 Depth=1 shlb $2, %r9b shlb $3, %r8b orb %r9b, %r8b addb %sil, %sil orb %r8b, %sil orb %r11b, %sil shlb $2, %sil orb %dl, %sil orb %r10b, %sil addb %sil, %sil orb %dil, %sil testb %sil, %sil je LBB0_21 ## %bb.20: ## in Loop: Header=BB0_7 Depth=1 movzbl 16(%r14), %eax movzbl %sil, %ecx negb %sil testl %eax, %ebx movzbl %sil, %eax cmovel %ecx, %eax movq _REL_Y@GOTPCREL(%rip), %rcx movl (%rcx), %esi movsbl %al, %edx movq %r15, %rdi callq _input_report_rel jmp LBB0_21 LBB0_23: movq ___stack_chk_guard@GOTPCREL(%rip), %rax movq (%rax), %rax cmpq -48(%rbp), %rax jne LBB0_25 ## %bb.24: leaq -40(%rbp), %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_25: callq ___stack_chk_fail .cfi_endproc ## -- End function .comm _GC_SNESMOUSE_LENGTH,4,2 ## @GC_SNESMOUSE_LENGTH .comm _GC_SNES_LENGTH,4,2 ## @GC_SNES_LENGTH .comm _GC_NES_LENGTH,4,2 ## @GC_NES_LENGTH .comm _GC_MAX_DEVICES,4,2 ## @GC_MAX_DEVICES .comm _gc_status_bit,8,3 ## @gc_status_bit .comm _ABS_X,4,2 ## @ABS_X .comm _ABS_Y,4,2 ## @ABS_Y .comm _gc_snes_btn,8,3 ## @gc_snes_btn .comm _gc_nes_bytes,8,3 ## @gc_nes_bytes .comm _gc_snes_bytes,8,3 ## @gc_snes_bytes .comm _BTN_LEFT,4,2 ## @BTN_LEFT .comm _BTN_RIGHT,4,2 ## @BTN_RIGHT .comm _REL_X,4,2 ## @REL_X .comm _REL_Y,4,2 ## @REL_Y .no_dead_strip _gc_nes_process_packet .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function gc_nes_process_packet _gc_nes_process_packet: ; @gc_nes_process_packet .cfi_startproc ; %bb.0: stp x28, x27, [sp, #-96]! ; 16-byte Folded Spill stp x26, x25, [sp, #16] ; 16-byte Folded Spill stp x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill stp x29, x30, [sp, #80] ; 16-byte Folded Spill add x29, sp, #80 sub sp, sp, #16 .cfi_def_cfa w29, 16 .cfi_offset w30, -8 .cfi_offset w29, -16 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 mov x19, x0 Lloh0: adrp x8, ___stack_chk_guard@GOTPAGE Lloh1: ldr x8, [x8, ___stack_chk_guard@GOTPAGEOFF] Lloh2: ldr x8, [x8] stur x8, [x29, #-88] Lloh3: adrp x8, _GC_SNESMOUSE_LENGTH@GOTPAGE Lloh4: ldr x8, [x8, _GC_SNESMOUSE_LENGTH@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x9, x1 Lloh6: adrp x16, ___chkstk_darwin@GOTPAGE Lloh7: ldr x16, [x16, ___chkstk_darwin@GOTPAGEOFF] blr x16 mov x8, sp add x9, x1, #15 and x9, x9, #0x1fffffff0 sub x20, x8, x9 mov sp, x20 ldr x8, [x0, #8] ldr x9, [x8, #1024] cbnz x9, LBB0_2 ; %bb.1: Lloh8: adrp x9, _GC_SNES_LENGTH@GOTPAGE Lloh9: ldr x9, [x9, _GC_SNES_LENGTH@GOTPAGEOFF] ldr x8, [x8, #1032] Lloh10: adrp x10, _GC_NES_LENGTH@GOTPAGE Lloh11: ldr x10, [x10, _GC_NES_LENGTH@GOTPAGEOFF] cmp x8, #0 csel x8, x10, x9, eq ldr w1, [x8] LBB0_2: mov x0, x19 ; kill: def $w1 killed $w1 killed $x1 mov x2, x20 bl _gc_nes_read_packet Lloh12: adrp x22, _GC_MAX_DEVICES@GOTPAGE Lloh13: ldr x22, [x22, _GC_MAX_DEVICES@GOTPAGEOFF] ldr w8, [x22] tbnz w8, #31, LBB0_20 ; %bb.3: mov x23, #0 ; =0x0 mov x24, #0 ; =0x0 Lloh14: adrp x10, _gc_status_bit@GOTPAGE Lloh15: ldr x10, [x10, _gc_status_bit@GOTPAGEOFF] Lloh16: adrp x27, _gc_snes_btn@GOTPAGE Lloh17: ldr x27, [x27, _gc_snes_btn@GOTPAGEOFF] Lloh18: adrp x28, _gc_snes_bytes@GOTPAGE Lloh19: ldr x28, [x28, _gc_snes_bytes@GOTPAGEOFF] Lloh20: adrp x26, _gc_nes_bytes@GOTPAGE Lloh21: ldr x26, [x26, _gc_nes_bytes@GOTPAGEOFF] b LBB0_6 LBB0_4: ; in Loop: Header=BB0_6 Depth=1 ldrb w8, [x20, #12] tst w25, w8 b.eq LBB0_13 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 sub x24, x24, #1 ldrsw x8, [x22] sub x23, x23, #16 cmp x24, x8 b.gt LBB0_20 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19] add x8, x8, x23 ldr x21, [x8, #8] ldr x9, [x10] ldr w25, [x9, x24, lsl #2] ldr w8, [x8] cmp w8, #128 b.eq LBB0_4 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 cmp w8, #129 b.eq LBB0_10 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 cmp w8, #130 b.ne LBB0_5 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 Lloh22: adrp x8, _ABS_X@GOTPAGE Lloh23: ldr x8, [x8, _ABS_X@GOTPAGEOFF] Lloh24: ldr w1, [x8] ldrb w8, [x20, #6] orr w8, w25, w8 cmp w8, #0 cset w8, eq ldrb w9, [x20, #7] tst w25, w9 cset w9, eq sub w2, w8, w9 mov x0, x21 bl _input_report_abs Lloh25: adrp x8, _ABS_Y@GOTPAGE Lloh26: ldr x8, [x8, _ABS_Y@GOTPAGEOFF] Lloh27: ldr w1, [x8] ldrb w8, [x20, #4] tst w25, w8 cset w8, eq ldrb w9, [x20, #5] tst w25, w9 cset w9, eq sub w2, w8, w9 mov x0, x21 bl _input_report_abs ldr x8, [x27] ldr w1, [x8] ldr x8, [x26] ldr x8, [x8] ldrb w8, [x20, x8] and w2, w25, w8 mov x0, x21 bl _input_report_key ldr x8, [x27] ldr w1, [x8, #4] ldr x8, [x26] ldr x8, [x8, #8] ldrb w8, [x20, x8] and w2, w25, w8 mov x0, x21 bl _input_report_key ldr x8, [x27] ldr w1, [x8, #8] ldr x8, [x26] ldr x8, [x8, #16] ldrb w8, [x20, x8] and w2, w25, w8 mov x0, x21 bl _input_report_key ldr x8, [x27] ldr w1, [x8, #12] ldr x8, [x26] ldr x8, [x8, #24] b LBB0_11 LBB0_10: ; in Loop: Header=BB0_6 Depth=1 Lloh28: adrp x8, _ABS_X@GOTPAGE Lloh29: ldr x8, [x8, _ABS_X@GOTPAGEOFF] Lloh30: ldr w1, [x8] ldrb w8, [x20, #6] tst w25, w8 cset w8, eq ldrb w9, [x20, #7] tst w25, w9 cset w9, eq sub w2, w8, w9 mov x0, x21 bl _input_report_abs Lloh31: adrp x8, _ABS_Y@GOTPAGE Lloh32: ldr x8, [x8, _ABS_Y@GOTPAGEOFF] Lloh33: ldr w1, [x8] ldrb w8, [x20, #4] tst w25, w8 cset w8, eq ldrb w9, [x20, #5] tst w25, w9 cset w9, eq sub w2, w8, w9 mov x0, x21 bl _input_report_abs ldr x8, [x27] ldr w1, [x8] ldr x8, [x28] ldr x8, [x8] ldrb w8, [x20, x8] and w2, w25, w8 mov x0, x21 bl _input_report_key ldr x8, [x27] ldr w1, [x8, #4] ldr x8, [x28] ldr x8, [x8, #8] ldrb w8, [x20, x8] and w2, w25, w8 mov x0, x21 bl _input_report_key ldr x8, [x27] ldr w1, [x8, #8] ldr x8, [x28] ldr x8, [x8, #16] ldrb w8, [x20, x8] and w2, w25, w8 mov x0, x21 bl _input_report_key ldr x8, [x27] ldr w1, [x8, #12] ldr x8, [x28] ldr x8, [x8, #24] ldrb w8, [x20, x8] and w2, w25, w8 mov x0, x21 bl _input_report_key ldr x8, [x27] ldr w1, [x8, #16] ldr x8, [x28] ldr x8, [x8, #32] ldrb w8, [x20, x8] and w2, w25, w8 mov x0, x21 bl _input_report_key ldr x8, [x27] ldr w1, [x8, #20] ldr x8, [x28] ldr x8, [x8, #40] ldrb w8, [x20, x8] and w2, w25, w8 mov x0, x21 bl _input_report_key ldr x8, [x27] ldr w1, [x8, #24] ldr x8, [x28] ldr x8, [x8, #48] ldrb w8, [x20, x8] and w2, w25, w8 mov x0, x21 bl _input_report_key ldr x8, [x27] ldr w1, [x8, #28] ldr x8, [x28] ldr x8, [x8, #56] LBB0_11: ; in Loop: Header=BB0_6 Depth=1 ldrb w8, [x20, x8] and w2, w25, w8 mov x0, x21 bl _input_report_key LBB0_12: ; in Loop: Header=BB0_6 Depth=1 mov x0, x21 bl _input_sync Lloh34: adrp x10, _gc_status_bit@GOTPAGE Lloh35: ldr x10, [x10, _gc_status_bit@GOTPAGEOFF] b LBB0_5 LBB0_13: ; in Loop: Header=BB0_6 Depth=1 ldrb w8, [x20, #13] tst w25, w8 b.ne LBB0_5 ; %bb.14: ; in Loop: Header=BB0_6 Depth=1 ldrb w8, [x20, #14] tst w25, w8 b.ne LBB0_5 ; %bb.15: ; in Loop: Header=BB0_6 Depth=1 ldrb w8, [x20, #15] tst w25, w8 b.eq LBB0_5 ; %bb.16: ; in Loop: Header=BB0_6 Depth=1 Lloh36: adrp x8, _BTN_LEFT@GOTPAGE Lloh37: ldr x8, [x8, _BTN_LEFT@GOTPAGEOFF] Lloh38: ldr w1, [x8] ldrb w8, [x20, #9] and w2, w25, w8 mov x0, x21 bl _input_report_key Lloh39: adrp x8, _BTN_RIGHT@GOTPAGE Lloh40: ldr x8, [x8, _BTN_RIGHT@GOTPAGEOFF] Lloh41: ldr w1, [x8] ldrb w8, [x20, #8] and w2, w25, w8 mov x0, x21 bl _input_report_key ldrb w8, [x20, #25] tst w25, w8 cset w9, ne ldrb w8, [x20, #17] tst w25, w8 cset w10, ne ldrb w8, [x20, #24] ands w8, w25, w8 cset w11, ne ldrb w12, [x20, #18] tst w25, w12 cset w12, ne ldrb w13, [x20, #23] tst w25, w13 cset w15, ne ldrb w13, [x20, #19] tst w25, w13 cset w13, ne lsl w11, w11, #2 orr w9, w11, w9, lsl #3 orr w9, w9, w15, lsl #1 ldrb w11, [x20, #22] tst w25, w11 cinc w9, w9, ne lsl w12, w12, #2 orr w10, w12, w10, lsl #3 orr w10, w10, w13, lsl #1 ldrb w12, [x20, #20] ldrb w14, [x20, #21] tst w25, w14 cset w14, ne tst w25, w12 cinc w10, w10, ne lsl w12, w14, #1 orr w9, w12, w9, lsl #2 cinc w9, w9, ne tst w25, w11 orr w10, w12, w10, lsl #2 cinc w10, w10, ne orr w9, w13, w9, lsl #1 tst w9, #0xff b.eq LBB0_18 ; %bb.17: ; in Loop: Header=BB0_6 Depth=1 cmp w8, #0 cneg w8, w9, ne Lloh42: adrp x9, _REL_X@GOTPAGE Lloh43: ldr x9, [x9, _REL_X@GOTPAGEOFF] Lloh44: ldr w1, [x9] sxtb w2, w8 mov x0, x21 stp w10, w15, [x29, #-96] ; 8-byte Folded Spill bl _input_report_rel ldp w10, w15, [x29, #-96] ; 8-byte Folded Reload LBB0_18: ; in Loop: Header=BB0_6 Depth=1 orr w8, w15, w10, lsl #1 tst w8, #0xff b.eq LBB0_12 ; %bb.19: ; in Loop: Header=BB0_6 Depth=1 ldrb w9, [x20, #16] tst w25, w9 cneg w8, w8, ne Lloh45: adrp x9, _REL_Y@GOTPAGE Lloh46: ldr x9, [x9, _REL_Y@GOTPAGEOFF] Lloh47: ldr w1, [x9] sxtb w2, w8 mov x0, x21 bl _input_report_rel b LBB0_12 LBB0_20: ldur x8, [x29, #-88] Lloh48: adrp x9, ___stack_chk_guard@GOTPAGE Lloh49: ldr x9, [x9, ___stack_chk_guard@GOTPAGEOFF] Lloh50: ldr x9, [x9] cmp x9, x8 b.ne LBB0_22 ; %bb.21: sub sp, x29, #80 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload ldp x26, x25, [sp, #16] ; 16-byte Folded Reload ldp x28, x27, [sp], #96 ; 16-byte Folded Reload ret LBB0_22: bl ___stack_chk_fail .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh10, Lloh11 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGot Lloh12, Lloh13 .loh AdrpLdrGot Lloh20, Lloh21 .loh AdrpLdrGot Lloh18, Lloh19 .loh AdrpLdrGot Lloh16, Lloh17 .loh AdrpLdrGot Lloh14, Lloh15 .loh AdrpLdrGotLdr Lloh25, Lloh26, Lloh27 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGotLdr Lloh31, Lloh32, Lloh33 .loh AdrpLdrGotLdr Lloh28, Lloh29, Lloh30 .loh AdrpLdrGot Lloh34, Lloh35 .loh AdrpLdrGotLdr Lloh39, Lloh40, Lloh41 .loh AdrpLdrGotLdr Lloh36, Lloh37, Lloh38 .loh AdrpLdrGotLdr Lloh42, Lloh43, Lloh44 .loh AdrpLdrGotLdr Lloh45, Lloh46, Lloh47 .loh AdrpLdrGotLdr Lloh48, Lloh49, Lloh50 .loh AdrpLdrGot Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _GC_SNESMOUSE_LENGTH,4,2 ; @GC_SNESMOUSE_LENGTH .comm _GC_SNES_LENGTH,4,2 ; @GC_SNES_LENGTH .comm _GC_NES_LENGTH,4,2 ; @GC_NES_LENGTH .comm _GC_MAX_DEVICES,4,2 ; @GC_MAX_DEVICES .comm _gc_status_bit,8,3 ; @gc_status_bit .comm _ABS_X,4,2 ; @ABS_X .comm _ABS_Y,4,2 ; @ABS_Y .comm _gc_snes_btn,8,3 ; @gc_snes_btn .comm _gc_nes_bytes,8,3 ; @gc_nes_bytes .comm _gc_snes_bytes,8,3 ; @gc_snes_bytes .comm _BTN_LEFT,4,2 ; @BTN_LEFT .comm _BTN_RIGHT,4,2 ; @BTN_RIGHT .comm _REL_X,4,2 ; @REL_X .comm _REL_Y,4,2 ; @REL_Y .no_dead_strip _gc_nes_process_packet .subsections_via_symbols
assembly_file_52303.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function print_comment _print_comment: ## @print_comment .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .comm _F_COND,4,2 ## @F_COND .no_dead_strip _print_comment .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function print_comment _print_comment: ; @print_comment .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .comm _F_COND,4,2 ; @F_COND .no_dead_strip _print_comment .subsections_via_symbols
AnghaBench/radare2/libr/asm/arch/arm/aarch64/extr_aarch64-dis.c_print_comment.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function register_nvmem _register_nvmem: ## @register_nvmem .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx subq $80, %rsp .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %ebx movq %rdx, %r14 movl %esi, %r15d movq %rdi, %r12 leaq -104(%rbp), %rdi xorl %esi, %esi movl $72, %edx callq _memset testl %ebx, %ebx je LBB0_2 ## %bb.1: movq _tb_switch_nvm_read@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -36(%rbp) movl $1, -96(%rbp) leaq L_.str(%rip), %rax jmp LBB0_3 LBB0_2: movq _tb_switch_nvm_write@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -40(%rbp) movl $1, -92(%rbp) leaq L_.str.1(%rip), %rax LBB0_3: movq %rax, -104(%rbp) movl %r15d, -88(%rbp) movabsq $17179869188, %rax ## imm = 0x400000004 movq %rax, -84(%rbp) movq %r14, -72(%rbp) movq %r12, -48(%rbp) movq _THIS_MODULE@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, -56(%rbp) movq %r12, -64(%rbp) leaq -104(%rbp), %rdi callq _nvmem_register addq $80, %rsp popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "nvm_active" .comm _tb_switch_nvm_read,4,2 ## @tb_switch_nvm_read L_.str.1: ## @.str.1 .asciz "nvm_non_active" .comm _tb_switch_nvm_write,4,2 ## @tb_switch_nvm_write .comm _THIS_MODULE,4,2 ## @THIS_MODULE .no_dead_strip _register_nvmem .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function register_nvmem _register_nvmem: ; @register_nvmem .cfi_startproc ; %bb.0: sub sp, sp, #128 .cfi_def_cfa_offset 128 stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x22, x3 mov x19, x2 mov x21, x1 mov x20, x0 add x0, sp, #8 mov w1, #0 mov w2, #72 bl _memset cbz w22, LBB0_2 ; %bb.1: Lloh0: adrp x8, _tb_switch_nvm_read@GOTPAGE Lloh1: ldr x8, [x8, _tb_switch_nvm_read@GOTPAGEOFF] Lloh2: ldr w8, [x8] mov w9, #1 str w8, [sp, #76] str w9, [sp, #16] Lloh3: adrp x8, l_.str@PAGE Lloh4: add x8, x8, l_.str@PAGEOFF b LBB0_3 LBB0_2: Lloh5: adrp x8, _tb_switch_nvm_write@GOTPAGE Lloh6: ldr x8, [x8, _tb_switch_nvm_write@GOTPAGEOFF] Lloh7: ldr w8, [x8] mov w9, #1 str w8, [sp, #72] str w9, [sp, #20] Lloh8: adrp x8, l_.str.1@PAGE Lloh9: add x8, x8, l_.str.1@PAGEOFF LBB0_3: str x8, [sp, #8] str w21, [sp, #24] movi.2s v0, #4 stur d0, [sp, #28] str x20, [sp, #64] Lloh10: adrp x8, _THIS_MODULE@GOTPAGE Lloh11: ldr x8, [x8, _THIS_MODULE@GOTPAGEOFF] Lloh12: ldr w8, [x8] str w8, [sp, #56] stp x19, x20, [sp, #40] add x0, sp, #8 bl _nvmem_register ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload add sp, sp, #128 ret .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh10, Lloh11, Lloh12 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "nvm_active" .comm _tb_switch_nvm_read,4,2 ; @tb_switch_nvm_read l_.str.1: ; @.str.1 .asciz "nvm_non_active" .comm _tb_switch_nvm_write,4,2 ; @tb_switch_nvm_write .comm _THIS_MODULE,4,2 ; @THIS_MODULE .no_dead_strip _register_nvmem .subsections_via_symbols
AnghaBench/linux/drivers/thunderbolt/extr_switch.c_register_nvmem.c
anghabench
.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 pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 cmpl $2, %edi jne LBB0_1 ## %bb.3: movq 8(%rsi), %rdi callq _atoi testl %eax, %eax js LBB0_4 ## %bb.5: movl %eax, %r15d callq _fork testl %eax, %eax js LBB0_6 ## %bb.8: jne LBB0_13 ## %bb.9: testl %r15d, %r15d je LBB0_12 ## %bb.10: movl $1, %r12d leaq L_.str.3(%rip), %r14 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_11: ## =>This Inner Loop Header: Depth=1 movq %r14, %rdi movl %ebx, %esi xorl %eax, %eax callq _printf movl %ebx, %eax addl %r12d, %eax movl %r12d, %ebx movl %eax, %r12d decl %r15d jne LBB0_11 LBB0_12: movl $10, %edi callq _putchar LBB0_7: xorl %eax, %eax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq LBB0_6: callq _main.cold.1 jmp LBB0_7 LBB0_1: leaq L_str.5(%rip), %rdi jmp LBB0_2 LBB0_4: leaq L_str(%rip), %rdi LBB0_2: callq _puts movl $-1, %edi callq _exit LBB0_13: xorl %edi, %edi callq _wait movl $1, %edi callq _exit .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function main.cold.1 _main.cold.1: ## @main.cold.1 .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.2(%rip), %rdi callq _perror pushq $-1 popq %rdi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str.2: ## @.str.2 .asciz "Child Creation" L_.str.3: ## @.str.3 .asciz "%d " L_str: ## @str .asciz "Negative number not allowed " L_str.5: ## @str.5 .asciz "Provide Correct Command Line Arguments: ./a.out 5 " .subsections_via_symbols
.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 x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 cmp w0, #2 b.ne LBB0_8 ; %bb.1: ldr x0, [x1, #8] bl _atoi tbnz w0, #31, LBB0_9 ; %bb.2: mov x19, x0 bl _fork tbnz w0, #31, LBB0_11 ; %bb.3: cbnz w0, LBB0_12 ; %bb.4: cbz w19, LBB0_7 ; %bb.5: mov w22, #0 mov w21, #1 Lloh0: adrp x20, l_.str.3@PAGE Lloh1: add x20, x20, l_.str.3@PAGEOFF LBB0_6: ; =>This Inner Loop Header: Depth=1 str x22, [sp] mov x0, x20 bl _printf add w8, w22, w21 mov x22, x21 mov x21, x8 subs w19, w19, #1 b.ne LBB0_6 LBB0_7: mov w0, #10 bl _putchar mov w0, #0 ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret LBB0_8: Lloh2: adrp x0, l_str.5@PAGE Lloh3: add x0, x0, l_str.5@PAGEOFF b LBB0_10 LBB0_9: Lloh4: adrp x0, l_str@PAGE Lloh5: add x0, x0, l_str@PAGEOFF LBB0_10: bl _puts mov w0, #-1 bl _exit LBB0_11: bl _main.cold.1 LBB0_12: mov x0, #0 bl _wait mov w0, #1 bl _exit .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function main.cold.1 _main.cold.1: ; @main.cold.1 .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 Lloh6: adrp x0, l_.str.2@PAGE Lloh7: add x0, x0, l_.str.2@PAGEOFF bl _perror mov w0, #-1 bl _exit .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str.2: ; @.str.2 .asciz "Child Creation" l_.str.3: ; @.str.3 .asciz "%d " l_str: ; @str .asciz "Negative number not allowed " l_str.5: ; @str.5 .asciz "Provide Correct Command Line Arguments: ./a.out 5 " .subsections_via_symbols
the_stack_data/30321.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function filter_file_changed _filter_file_changed: ## @filter_file_changed .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $72, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r9, -56(%rbp) ## 8-byte Spill movq %r8, -48(%rbp) ## 8-byte Spill movq %rcx, %r12 movq %rdx, %r13 movq %rsi, %rbx movq %rdi, %rsi movq 48(%rbp), %rax movq (%rax), %r15 movl 8(%r15), %edi callq _svn_relpath_skip_ancestor movq %rax, %r14 xorl %edi, %edi testq %rax, %rax setne %dil callq _assert movq (%r15), %rax movq 56(%rbp), %rcx movq %rcx, 40(%rsp) movq %rax, 32(%rsp) movaps 32(%rbp), %xmm0 movups %xmm0, 16(%rsp) movl 24(%rbp), %ecx movl %ecx, 8(%rsp) movq 16(%rbp), %rcx movq %rcx, (%rsp) movq %r14, %rdi movq %rbx, %rsi movq %r13, %rdx movq %r12, %rcx movq -48(%rbp), %r8 ## 8-byte Reload movq -56(%rbp), %r9 ## 8-byte Reload callq *(%rax) movl %eax, %edi callq _SVN_ERR movq _SVN_NO_ERROR@GOTPCREL(%rip), %rax movq (%rax), %rax addq $72, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _SVN_NO_ERROR,8,3 ## @SVN_NO_ERROR .no_dead_strip _filter_file_changed .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function filter_file_changed _filter_file_changed: ; @filter_file_changed .cfi_startproc ; %bb.0: sub sp, sp, #144 .cfi_def_cfa_offset 144 stp x28, x27, [sp, #48] ; 16-byte Folded Spill stp x26, x25, [sp, #64] ; 16-byte Folded Spill stp x24, x23, [sp, #80] ; 16-byte Folded Spill stp x22, x21, [sp, #96] ; 16-byte Folded Spill stp x20, x19, [sp, #112] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str w7, [sp, #44] ; 4-byte Folded Spill str x6, [sp, #32] ; 8-byte Folded Spill mov x21, x5 mov x22, x4 mov x23, x3 mov x24, x2 mov x25, x1 mov x1, x0 ldp x27, x28, [x29, #16] ldp x8, x19, [x29, #32] ldr x20, [x8] ldr w0, [x20, #8] bl _svn_relpath_skip_ancestor mov x26, x0 cmp x0, #0 cset w0, ne bl _assert ldr x8, [x20] ldr x9, [x8] stp x8, x19, [sp, #16] stp x27, x28, [sp] mov x0, x26 mov x1, x25 mov x2, x24 mov x3, x23 mov x4, x22 mov x5, x21 ldr x6, [sp, #32] ; 8-byte Folded Reload ldr w7, [sp, #44] ; 4-byte Folded Reload blr x9 bl _SVN_ERR Lloh0: adrp x8, _SVN_NO_ERROR@GOTPAGE Lloh1: ldr x8, [x8, _SVN_NO_ERROR@GOTPAGEOFF] Lloh2: ldr x0, [x8] ldp x29, x30, [sp, #128] ; 16-byte Folded Reload ldp x20, x19, [sp, #112] ; 16-byte Folded Reload ldp x22, x21, [sp, #96] ; 16-byte Folded Reload ldp x24, x23, [sp, #80] ; 16-byte Folded Reload ldp x26, x25, [sp, #64] ; 16-byte Folded Reload ldp x28, x27, [sp, #48] ; 16-byte Folded Reload add sp, sp, #144 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _SVN_NO_ERROR,8,3 ; @SVN_NO_ERROR .no_dead_strip _filter_file_changed .subsections_via_symbols
AnghaBench/freebsd/contrib/subversion/subversion/libsvn_diff/extr_diff_tree.c_filter_file_changed.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function sdl_sound_update _sdl_sound_update: ## @sdl_sound_update .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 xorl %eax, %eax callq _audio_update movl %eax, %r14d movq _use_sound@GOTPCREL(%rip), %rax cmpq $0, (%rax) je LBB0_18 ## %bb.1: xorl %eax, %eax callq _SDL_LockAudio movq _sdl_sound@GOTPCREL(%rip), %r8 movq (%r8), %rcx testl %r14d, %r14d jle LBB0_17 ## %bb.2: movq _snd@GOTPCREL(%rip), %rax movq (%rax), %rax movq (%rax), %rdx movq 8(%rax), %rsi movl %r14d, %r10d cmpl $8, %r14d jae LBB0_4 ## %bb.3: xorl %edi, %edi LBB0_13: movq %rdi, %r9 notq %r9 addq %r10, %r9 movq %r10, %rax andq $3, %rax je LBB0_15 .p2align 4, 0x90 LBB0_14: ## =>This Inner Loop Header: Depth=1 movzwl (%rdx,%rdi,2), %ebx movw %bx, (%rcx) movzwl (%rsi,%rdi,2), %ebx movw %bx, 2(%rcx) addq $4, %rcx incq %rdi decq %rax jne LBB0_14 LBB0_15: cmpq $3, %r9 jb LBB0_17 .p2align 4, 0x90 LBB0_16: ## =>This Inner Loop Header: Depth=1 movzwl (%rdx,%rdi,2), %eax movw %ax, (%rcx) movzwl (%rsi,%rdi,2), %eax movw %ax, 2(%rcx) movzwl 2(%rdx,%rdi,2), %eax movw %ax, 4(%rcx) movzwl 2(%rsi,%rdi,2), %eax movw %ax, 6(%rcx) movzwl 4(%rdx,%rdi,2), %eax movw %ax, 8(%rcx) movzwl 4(%rsi,%rdi,2), %eax movw %ax, 10(%rcx) movzwl 6(%rdx,%rdi,2), %eax movw %ax, 12(%rcx) movzwl 6(%rsi,%rdi,2), %eax movw %ax, 14(%rcx) addq $16, %rcx addq $4, %rdi cmpq %rdi, %r10 jne LBB0_16 jmp LBB0_17 LBB0_18: popq %rbx popq %r14 popq %rbp retq LBB0_4: leaq (%rcx,%r10,4), %rdi leaq (%rdx,%r10,2), %rax leaq (%rsi,%r10,2), %rbx cmpq %rax, %rcx setb %r9b cmpq %rdi, %rdx setb %r11b cmpq %rbx, %rcx setb %al cmpq %rdi, %rsi setb %bl xorl %edi, %edi testb %r11b, %r9b jne LBB0_13 ## %bb.5: andb %bl, %al jne LBB0_13 ## %bb.6: movl %r10d, %edi andl $-8, %edi leaq -8(%rdi), %rax movq %rax, %r9 shrq $3, %r9 incq %r9 testq %rax, %rax je LBB0_7 ## %bb.8: movq %r9, %rax andq $-2, %rax xorl %ebx, %ebx .p2align 4, 0x90 LBB0_9: ## =>This Inner Loop Header: Depth=1 movq (%rdx,%rbx,2), %xmm0 ## xmm0 = mem[0],zero movq 8(%rdx,%rbx,2), %xmm1 ## xmm1 = mem[0],zero movq (%rsi,%rbx,2), %xmm2 ## xmm2 = mem[0],zero punpcklwd %xmm2, %xmm0 ## xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3] movq 8(%rsi,%rbx,2), %xmm2 ## xmm2 = mem[0],zero punpcklwd %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3] movdqu %xmm0, (%rcx,%rbx,4) movdqu %xmm1, 16(%rcx,%rbx,4) movq 16(%rdx,%rbx,2), %xmm0 ## xmm0 = mem[0],zero movq 24(%rdx,%rbx,2), %xmm1 ## xmm1 = mem[0],zero movq 16(%rsi,%rbx,2), %xmm2 ## xmm2 = mem[0],zero punpcklwd %xmm2, %xmm0 ## xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3] movq 24(%rsi,%rbx,2), %xmm2 ## xmm2 = mem[0],zero punpcklwd %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3] movdqu %xmm0, 32(%rcx,%rbx,4) movdqu %xmm1, 48(%rcx,%rbx,4) addq $16, %rbx addq $-2, %rax jne LBB0_9 ## %bb.10: testb $1, %r9b je LBB0_12 LBB0_11: movq (%rdx,%rbx,2), %xmm0 ## xmm0 = mem[0],zero movq 8(%rdx,%rbx,2), %xmm1 ## xmm1 = mem[0],zero movq (%rsi,%rbx,2), %xmm2 ## xmm2 = mem[0],zero punpcklwd %xmm2, %xmm0 ## xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1],xmm0[2],xmm2[2],xmm0[3],xmm2[3] movq 8(%rsi,%rbx,2), %xmm2 ## xmm2 = mem[0],zero punpcklwd %xmm2, %xmm1 ## xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1],xmm1[2],xmm2[2],xmm1[3],xmm2[3] leaq (,%rbx,4), %rax orq $16, %rax movdqu %xmm0, (%rcx,%rbx,4) movdqu %xmm1, (%rcx,%rax) LBB0_12: leaq (%rcx,%rdi,4), %rcx cmpq %r10, %rdi jne LBB0_13 LBB0_17: movq %rcx, (%r8) shll $2, %r14d addl %r14d, 8(%r8) xorl %eax, %eax popq %rbx popq %r14 popq %rbp jmp _SDL_UnlockAudio ## TAILCALL LBB0_7: xorl %ebx, %ebx testb $1, %r9b jne LBB0_11 jmp LBB0_12 .cfi_endproc ## -- End function .comm _use_sound,8,3 ## @use_sound .comm _sdl_sound,16,3 ## @sdl_sound .comm _snd,8,3 ## @snd .no_dead_strip _sdl_sound_update .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function sdl_sound_update _sdl_sound_update: ; @sdl_sound_update .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 bl _audio_update Lloh0: adrp x8, _use_sound@GOTPAGE Lloh1: ldr x8, [x8, _use_sound@GOTPAGEOFF] Lloh2: ldr x8, [x8] cbz x8, LBB0_4 ; %bb.1: mov x19, x0 bl _SDL_LockAudio Lloh3: adrp x8, _sdl_sound@GOTPAGE Lloh4: ldr x8, [x8, _sdl_sound@GOTPAGEOFF] ldr x9, [x8] cmp w19, #1 b.lt LBB0_12 ; %bb.2: Lloh5: adrp x10, _snd@GOTPAGE Lloh6: ldr x10, [x10, _snd@GOTPAGEOFF] Lloh7: ldr x10, [x10] ldp x11, x12, [x10] mov w10, w19 cmp w19, #16 b.hs LBB0_5 ; %bb.3: mov x13, #0 b LBB0_10 LBB0_4: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_5: mov x13, #0 lsl x14, x10, #1 add x15, x9, x10, lsl #2 add x16, x11, x14 add x14, x12, x14 cmp x9, x14 ccmp x12, x15, #2, lo cset w14, lo cmp x11, x15 ccmp x9, x16, #2, lo b.lo LBB0_10 ; %bb.6: tbnz w14, #0, LBB0_10 ; %bb.7: and x13, x10, #0xfffffff0 add x14, x9, x13, lsl #2 add x15, x11, #16 add x16, x12, #16 add x9, x9, #32 mov x17, x13 LBB0_8: ; =>This Inner Loop Header: Depth=1 ldp q0, q2, [x15, #-16] ldp q1, q3, [x16, #-16] sub x0, x9, #32 st2.8h { v0, v1 }, [x0] st2.8h { v2, v3 }, [x9] add x15, x15, #32 add x16, x16, #32 add x9, x9, #64 subs x17, x17, #16 b.ne LBB0_8 ; %bb.9: mov x9, x14 cmp x13, x10 b.eq LBB0_13 LBB0_10: lsl x14, x13, #1 add x12, x12, x14 add x11, x11, x14 sub x10, x10, x13 LBB0_11: ; =>This Inner Loop Header: Depth=1 ldrh w13, [x11], #2 strh w13, [x9] ldrh w13, [x12], #2 strh w13, [x9, #2] add x9, x9, #4 subs x10, x10, #1 b.ne LBB0_11 LBB0_12: mov x14, x9 LBB0_13: str x14, [x8] ldr w9, [x8, #8] add w9, w9, w19, lsl #2 str w9, [x8, #8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _SDL_UnlockAudio .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _use_sound,8,3 ; @use_sound .comm _sdl_sound,16,3 ; @sdl_sound .comm _snd,8,3 ; @snd .no_dead_strip _sdl_sound_update .subsections_via_symbols
AnghaBench/Provenance/Cores/Genesis-Plus-GX/PVGenesis/Genesis/GenesisCore/genplusgx_source/unused/win/extr_main.c_sdl_sound_update.c
anghabench
.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 pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 leaq L_.str(%rip), %rdi xorl %eax, %eax callq _printf leaq L_.str.1(%rip), %rdi leaq -48(%rbp), %rsi leaq -44(%rbp), %rdx xorl %eax, %eax callq _scanf movslq -48(%rbp), %rbx leaq (,%rbx,8), %rdi callq _malloc testq %rax, %rax je LBB0_19 ## %bb.1: movq %rax, %r13 testl %ebx, %ebx jle LBB0_14 ## %bb.2: movq %r13, -56(%rbp) ## 8-byte Spill movl -44(%rbp), %r14d leaq L_.str.3(%rip), %r15 xorl %r12d, %r12d jmp LBB0_3 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_3 Depth=1 incq %r12 movslq %ebx, %rax cmpq %rax, %r12 jge LBB0_8 LBB0_3: ## =>This Loop Header: Depth=1 ## Child Loop BB0_5 Depth 2 movq %rbx, -64(%rbp) ## 8-byte Spill movslq %r14d, %rbx leaq (,%rbx,4), %rdi callq _malloc movq %rax, %r13 movq -56(%rbp), %rax ## 8-byte Reload movq %r13, (%rax,%r12,8) testl %ebx, %ebx movq -64(%rbp), %rbx ## 8-byte Reload jle LBB0_7 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_5: ## Parent Loop BB0_3 Depth=1 ## => This Inner Loop Header: Depth=2 movq %r15, %rdi movq %r13, %rsi xorl %eax, %eax callq _scanf incq %rbx movslq -44(%rbp), %r14 addq $4, %r13 cmpq %r14, %rbx jl LBB0_5 ## %bb.6: ## in Loop: Header=BB0_3 Depth=1 movl -48(%rbp), %ebx jmp LBB0_7 LBB0_8: testl %ebx, %ebx movq -56(%rbp), %r13 ## 8-byte Reload jle LBB0_14 ## %bb.9: leaq L_.str.4(%rip), %r15 xorl %r14d, %r14d jmp LBB0_10 .p2align 4, 0x90 LBB0_13: ## in Loop: Header=BB0_10 Depth=1 incq %r14 movslq -48(%rbp), %rcx cmpq %rcx, %r14 jge LBB0_15 LBB0_10: ## =>This Loop Header: Depth=1 ## Child Loop BB0_12 Depth 2 movl $10, %edi callq _putchar movl -44(%rbp), %eax testl %eax, %eax jle LBB0_13 ## %bb.11: ## in Loop: Header=BB0_10 Depth=1 movq (%r13,%r14,8), %r12 xorl %ebx, %ebx .p2align 4, 0x90 LBB0_12: ## Parent Loop BB0_10 Depth=1 ## => This Inner Loop Header: Depth=2 movl (%r12,%rbx,4), %esi movq %r15, %rdi xorl %eax, %eax callq _printf incq %rbx movslq -44(%rbp), %rax cmpq %rax, %rbx jl LBB0_12 jmp LBB0_13 LBB0_14: movl -44(%rbp), %eax LBB0_15: testl %eax, %eax jle LBB0_18 ## %bb.16: xorl %ebx, %ebx .p2align 4, 0x90 LBB0_17: ## =>This Inner Loop Header: Depth=1 movq (%r13,%rbx,8), %rdi callq _free incq %rbx movslq -44(%rbp), %rax cmpq %rax, %rbx jl LBB0_17 LBB0_18: movq %r13, %rdi callq _free movl $10, %edi callq _putchar xorl %eax, %eax addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_19: leaq L_str(%rip), %rdi callq _puts xorl %edi, %edi callq _exit .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "Linhas x Colunas: " L_.str.1: ## @.str.1 .asciz "%i %i" L_.str.3: ## @.str.3 .asciz "%i" L_.str.4: ## @.str.4 .asciz " %i " L_str: ## @str .asciz "Erro! Mem\303\263ria insuficiente." .subsections_via_symbols
.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 x24, x23, [sp, #32] ; 16-byte Folded Spill stp x22, x21, [sp, #48] ; 16-byte Folded Spill stp x20, x19, [sp, #64] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _printf add x8, sp, #24 add x9, sp, #28 stp x9, x8, [sp] Lloh2: adrp x0, l_.str.1@PAGE Lloh3: add x0, x0, l_.str.1@PAGEOFF bl _scanf ldrsw x23, [sp, #28] lsl x0, x23, #3 bl _malloc cbz x0, LBB0_19 ; %bb.1: mov x19, x0 cmp w23, #1 b.lt LBB0_14 ; %bb.2: mov x22, #0 ldr w24, [sp, #24] Lloh4: adrp x20, l_.str.3@PAGE Lloh5: add x20, x20, l_.str.3@PAGEOFF b LBB0_4 LBB0_3: ; in Loop: Header=BB0_4 Depth=1 add x22, x22, #1 cmp x22, w23, sxtw b.ge LBB0_8 LBB0_4: ; =>This Loop Header: Depth=1 ; Child Loop BB0_6 Depth 2 sbfiz x0, x24, #2, #32 bl _malloc str x0, [x19, x22, lsl #3] cmp w24, #1 b.lt LBB0_3 ; %bb.5: ; in Loop: Header=BB0_4 Depth=1 mov x21, x0 mov x23, #0 LBB0_6: ; Parent Loop BB0_4 Depth=1 ; => This Inner Loop Header: Depth=2 str x21, [sp] mov x0, x20 bl _scanf add x23, x23, #1 ldrsw x24, [sp, #24] add x21, x21, #4 cmp x23, x24 b.lt LBB0_6 ; %bb.7: ; in Loop: Header=BB0_4 Depth=1 ldr w23, [sp, #28] ; kill: def $w24 killed $w24 killed $x24 def $x24 b LBB0_3 LBB0_8: cmp w23, #1 b.lt LBB0_14 ; %bb.9: mov x21, #0 Lloh6: adrp x20, l_.str.4@PAGE Lloh7: add x20, x20, l_.str.4@PAGEOFF b LBB0_11 LBB0_10: ; in Loop: Header=BB0_11 Depth=1 add x21, x21, #1 ldrsw x9, [sp, #28] cmp x21, x9 b.ge LBB0_15 LBB0_11: ; =>This Loop Header: Depth=1 ; Child Loop BB0_13 Depth 2 mov w0, #10 bl _putchar ldr w8, [sp, #24] cmp w8, #1 b.lt LBB0_10 ; %bb.12: ; in Loop: Header=BB0_11 Depth=1 mov x22, #0 ldr x23, [x19, x21, lsl #3] LBB0_13: ; Parent Loop BB0_11 Depth=1 ; => This Inner Loop Header: Depth=2 ldr w8, [x23, x22, lsl #2] str x8, [sp] mov x0, x20 bl _printf add x22, x22, #1 ldrsw x8, [sp, #24] cmp x22, x8 b.lt LBB0_13 b LBB0_10 LBB0_14: ldr w8, [sp, #24] LBB0_15: cmp w8, #1 b.lt LBB0_18 ; %bb.16: mov x20, #0 LBB0_17: ; =>This Inner Loop Header: Depth=1 ldr x0, [x19, x20, lsl #3] bl _free add x20, x20, #1 ldrsw x8, [sp, #24] cmp x20, x8 b.lt LBB0_17 LBB0_18: mov x0, x19 bl _free mov w0, #10 bl _putchar mov w0, #0 ldp x29, x30, [sp, #80] ; 16-byte Folded Reload ldp x20, x19, [sp, #64] ; 16-byte Folded Reload ldp x22, x21, [sp, #48] ; 16-byte Folded Reload ldp x24, x23, [sp, #32] ; 16-byte Folded Reload add sp, sp, #96 ret LBB0_19: Lloh8: adrp x0, l_str@PAGE Lloh9: add x0, x0, l_str@PAGEOFF bl _puts mov w0, #0 bl _exit .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpAdd Lloh8, Lloh9 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "Linhas x Colunas: " l_.str.1: ; @.str.1 .asciz "%i %i" l_.str.3: ; @.str.3 .asciz "%i" l_.str.4: ; @.str.4 .asciz " %i " l_str: ; @str .asciz "Erro! Mem\303\263ria insuficiente." .subsections_via_symbols
the_stack_data/546112.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function delta_apply _delta_apply: ## @delta_apply .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $40, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %r8, %r14 movl %esi, -60(%rbp) ## 4-byte Spill movq %rdi, -72(%rbp) ## 8-byte Spill movq %rdx, -56(%rbp) movl %ecx, -44(%rbp) leaq -56(%rbp), %rdi leaq -44(%rbp), %rsi callq _deltaGetInt movl %eax, %r13d movq -56(%rbp), %rsi movl $-1, %eax cmpb $10, (%rsi) jne LBB0_18 ## %bb.1: leaq -1(%rsi), %rcx movq %rcx, -56(%rbp) movl -44(%rbp), %ecx leal -1(%rcx), %edx movl %edx, -44(%rbp) cmpb $0, -1(%rsi) setne %dl cmpl $2, %ecx setge %cl andb %dl, %cl cmpb $1, %cl jne LBB0_18 ## %bb.2: xorl %ebx, %ebx leaq -44(%rbp), %r12 .p2align 4, 0x90 LBB0_3: ## =>This Inner Loop Header: Depth=1 leaq -56(%rbp), %rdi movq %r12, %rsi callq _deltaGetInt movl %eax, %r15d movq -56(%rbp), %rsi movzbl (%rsi), %eax cmpl $58, %eax je LBB0_12 ## %bb.4: ## in Loop: Header=BB0_3 Depth=1 cmpl $64, %eax jne LBB0_5 ## %bb.7: ## in Loop: Header=BB0_3 Depth=1 incq %rsi movq %rsi, -56(%rbp) decl -44(%rbp) leaq -56(%rbp), %rdi movq %r12, %rsi callq _deltaGetInt ## kill: def $eax killed $eax def $rax movl -44(%rbp), %ecx movq -56(%rbp), %rdx testl %ecx, %ecx js LBB0_9 ## %bb.8: ## in Loop: Header=BB0_3 Depth=1 cmpb $44, (%rdx) jne LBB0_17 LBB0_9: ## in Loop: Header=BB0_3 Depth=1 incq %rdx movq %rdx, -56(%rbp) decl %ecx movl %ecx, -44(%rbp) addl %r15d, %ebx cmpl %r13d, %ebx ja LBB0_17 ## %bb.10: ## in Loop: Header=BB0_3 Depth=1 leal (%rax,%r15), %ecx cmpl -60(%rbp), %ecx ## 4-byte Folded Reload ja LBB0_17 ## %bb.11: ## in Loop: Header=BB0_3 Depth=1 movl %eax, %esi addq -72(%rbp), %rsi ## 8-byte Folded Reload movq %r14, %rdi movl %r15d, %edx callq _memcpy movl %r15d, %eax movq -56(%rbp), %rdx movl -44(%rbp), %ecx jmp LBB0_15 .p2align 4, 0x90 LBB0_12: ## in Loop: Header=BB0_3 Depth=1 incq %rsi movq %rsi, -56(%rbp) movl -44(%rbp), %eax decl %eax movl %eax, -44(%rbp) addl %r15d, %ebx cmpl %r13d, %ebx ja LBB0_17 ## %bb.13: ## in Loop: Header=BB0_3 Depth=1 cmpl %eax, %r15d ja LBB0_17 ## %bb.14: ## in Loop: Header=BB0_3 Depth=1 movq %r14, %rdi movl %r15d, %edx callq _memcpy movl %r15d, %eax movq -56(%rbp), %rdx addq %rax, %rdx movq %rdx, -56(%rbp) movl -44(%rbp), %ecx subl %r15d, %ecx movl %ecx, -44(%rbp) LBB0_15: ## in Loop: Header=BB0_3 Depth=1 cmpb $0, (%rdx) je LBB0_17 ## %bb.16: ## in Loop: Header=BB0_3 Depth=1 addq %rax, %r14 testl %ecx, %ecx jg LBB0_3 LBB0_17: movl $-1, %eax LBB0_18: addq $40, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_5: cmpl $59, %eax movl $-1, %eax jne LBB0_18 ## %bb.6: movb $0, (%r14) cmpl %r13d, %ebx cmovel %ebx, %eax jmp LBB0_18 .cfi_endproc ## -- End function .no_dead_strip _delta_apply .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function delta_apply _delta_apply: ; @delta_apply .cfi_startproc ; %bb.0: sub sp, sp, #80 stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x4 mov x20, x1 mov x21, x0 str x2, [sp, #8] str w3, [sp, #4] add x0, sp, #8 add x1, sp, #4 bl _deltaGetInt ldr x8, [sp, #8] ldrb w9, [x8] cmp w9, #10 b.ne LBB0_2 ; %bb.1: sub x9, x8, #1 str x9, [sp, #8] ldr w9, [sp, #4] sub w10, w9, #1 str w10, [sp, #4] ldurb w8, [x8, #-1] cmp w8, #0 ccmp w9, #2, #8, ne b.ge LBB0_4 LBB0_2: mov w0, #-1 ; =0xffffffff LBB0_3: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload add sp, sp, #80 ret LBB0_4: mov x22, x0 mov w24, #0 ; =0x0 b LBB0_6 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 add x19, x19, x8 ldrb w8, [x9] cmp w8, #0 ccmp w10, #0, #4, ne b.le LBB0_2 LBB0_6: ; =>This Inner Loop Header: Depth=1 add x0, sp, #8 add x1, sp, #4 bl _deltaGetInt mov x23, x0 ldr x8, [sp, #8] ldrb w9, [x8] cmp w9, #58 b.eq LBB0_13 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 cmp w9, #64 b.ne LBB0_16 ; %bb.8: ; in Loop: Header=BB0_6 Depth=1 add x8, x8, #1 str x8, [sp, #8] ldr w8, [sp, #4] sub w8, w8, #1 str w8, [sp, #4] add x0, sp, #8 add x1, sp, #4 bl _deltaGetInt mov x8, x0 ldr w9, [sp, #4] ldr x10, [sp, #8] tbnz w9, #31, LBB0_10 ; %bb.9: ; in Loop: Header=BB0_6 Depth=1 ldrb w11, [x10] cmp w11, #44 b.ne LBB0_2 LBB0_10: ; in Loop: Header=BB0_6 Depth=1 add x10, x10, #1 str x10, [sp, #8] sub w9, w9, #1 str w9, [sp, #4] mov w0, #-1 ; =0xffffffff add w24, w23, w24 cmp w24, w22 b.hi LBB0_3 ; %bb.11: ; in Loop: Header=BB0_6 Depth=1 add w9, w8, w23 cmp w9, w20 b.hi LBB0_3 ; %bb.12: ; in Loop: Header=BB0_6 Depth=1 add x1, x21, w8, uxtw mov x0, x19 mov x2, x23 bl _memcpy mov w8, w23 ldr x9, [sp, #8] ldr w10, [sp, #4] b LBB0_5 LBB0_13: ; in Loop: Header=BB0_6 Depth=1 add x1, x8, #1 str x1, [sp, #8] ldr w8, [sp, #4] sub w8, w8, #1 str w8, [sp, #4] mov w0, #-1 ; =0xffffffff add w24, w23, w24 cmp w24, w22 b.hi LBB0_3 ; %bb.14: ; in Loop: Header=BB0_6 Depth=1 cmp w23, w8 b.hi LBB0_3 ; %bb.15: ; in Loop: Header=BB0_6 Depth=1 mov x0, x19 mov x2, x23 bl _memcpy mov w8, w23 ldr x9, [sp, #8] add x9, x9, x8 str x9, [sp, #8] ldr w10, [sp, #4] sub w10, w10, w23 str w10, [sp, #4] b LBB0_5 LBB0_16: cmp w9, #59 b.ne LBB0_2 ; %bb.17: strb wzr, [x19] cmp w24, w22 csinv w0, w24, wzr, eq b LBB0_3 .cfi_endproc ; -- End function .no_dead_strip _delta_apply .subsections_via_symbols
assembly_file_87746.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_key_count ## -- Begin function matrix_key_count .p2align 4, 0x90 _matrix_key_count: ## @matrix_key_count .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r12 pushq %rbx .cfi_offset %rbx, -48 .cfi_offset %r12, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq _MATRIX_ROWS@GOTPCREL(%rip), %r14 cmpq $0, (%r14) je LBB0_1 ## %bb.3: xorl %ebx, %ebx movq _matrix@GOTPCREL(%rip), %r12 xorl %r15d, %r15d .p2align 4, 0x90 LBB0_4: ## =>This Inner Loop Header: Depth=1 movq (%r12), %rax movl (%rax,%rbx,4), %edi callq _bitpop16 addq %rax, %r15 incq %rbx cmpq (%r14), %rbx jb LBB0_4 jmp LBB0_2 LBB0_1: xorl %r15d, %r15d LBB0_2: movq %r15, %rax popq %rbx popq %r12 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MATRIX_ROWS,8,3 ## @MATRIX_ROWS .comm _matrix,8,3 ## @matrix .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _matrix_key_count ; -- Begin function matrix_key_count .p2align 2 _matrix_key_count: ; @matrix_key_count .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 Lloh0: adrp x20, _MATRIX_ROWS@GOTPAGE Lloh1: ldr x20, [x20, _MATRIX_ROWS@GOTPAGEOFF] ldr x8, [x20] cbz x8, LBB0_3 ; %bb.1: mov x21, #0 mov x19, #0 Lloh2: adrp x22, _matrix@GOTPAGE Lloh3: ldr x22, [x22, _matrix@GOTPAGEOFF] LBB0_2: ; =>This Inner Loop Header: Depth=1 ldr x8, [x22] ldr w0, [x8, x21, lsl #2] bl _bitpop16 add x19, x0, x19 add x21, x21, #1 ldr x8, [x20] cmp x21, x8 b.lo LBB0_2 b LBB0_4 LBB0_3: mov x19, #0 LBB0_4: mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh0, Lloh1 .loh AdrpLdrGot Lloh2, Lloh3 .cfi_endproc ; -- End function .comm _MATRIX_ROWS,8,3 ; @MATRIX_ROWS .comm _matrix,8,3 ; @matrix .subsections_via_symbols
AnghaBench/qmk_firmware/keyboards/deltasplit75/extr_matrix.c_matrix_key_count.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _mrb_file_s_umask ## -- Begin function mrb_file_s_umask .p2align 4, 0x90 _mrb_file_s_umask: ## @mrb_file_s_umask .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rsi leaq -12(%rbp), %rdx callq _mrb_get_args testq %rax, %rax je LBB0_1 ## %bb.2: movl -12(%rbp), %edi callq _umask movl %eax, %ebx jmp LBB0_3 LBB0_1: xorl %edi, %edi callq _umask movl %eax, %ebx movl %eax, %edi callq _umask LBB0_3: movl %ebx, %edi callq _mrb_fixnum_value addq $8, %rsp popq %rbx popq %rbp retq .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 _mrb_file_s_umask ; -- Begin function mrb_file_s_umask .p2align 2 _mrb_file_s_umask: ; @mrb_file_s_umask .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF add x2, sp, #12 bl _mrb_get_args cbz x0, LBB0_2 ; %bb.1: ldr w0, [sp, #12] bl _umask mov x19, x0 b LBB0_3 LBB0_2: bl _umask mov x19, x0 bl _umask LBB0_3: mov x0, x19 bl _mrb_fixnum_value ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "|i" .subsections_via_symbols
AnghaBench/mruby/mrbgems/mruby-io/src/extr_file.c_mrb_file_s_umask.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function remote_ref_atom_parser _remote_ref_atom_parser: ## @remote_ref_atom_parser .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $56, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rcx, -72(%rbp) ## 8-byte Spill movq %rdx, %r15 movq %rsi, %r14 movq _STRING_LIST_INIT_DUP@GOTPCREL(%rip), %rax movups (%rax), %xmm0 movaps %xmm0, -64(%rbp) movq (%rsi), %rbx leaq L_.str(%rip), %rsi movq %rbx, %rdi callq _strcmp testl %eax, %eax je LBB0_2 ## %bb.1: leaq L_.str.1(%rip), %rsi movq %rbx, %rdi callq _starts_with testq %rax, %rax je LBB0_3 LBB0_2: movl $1, 8(%r14) LBB0_3: testq %r15, %r15 je LBB0_23 ## %bb.4: movl $0, 12(%r14) leaq -64(%rbp), %rdi movq %r15, -88(%rbp) ## 8-byte Spill movq %r15, %rsi movl $44, %edx movl $-1, %ecx callq _string_list_split movl -64(%rbp), %r12d testl %r12d, %r12d jle LBB0_21 ## %bb.5: leaq 20(%r14), %rax movq %rax, -80(%rbp) ## 8-byte Spill movl $1, %r15d leaq L_.str.2(%rip), %r13 jmp LBB0_6 .p2align 4, 0x90 LBB0_7: ## in Loop: Header=BB0_6 Depth=1 movq _RR_TRACK@GOTPCREL(%rip), %rax LBB0_8: ## in Loop: Header=BB0_6 Depth=1 movq (%rax), %rax movq %rax, 24(%r14) LBB0_20: ## in Loop: Header=BB0_6 Depth=1 movslq %r12d, %rax decq %r15 cmpq %rax, %r15 jg LBB0_21 LBB0_6: ## =>This Inner Loop Header: Depth=1 movq -56(%rbp), %rax movq -8(%rax,%r15,8), %rbx movq %rbx, %rdi movq %r13, %rsi callq _strcmp testl %eax, %eax je LBB0_7 ## %bb.9: ## in Loop: Header=BB0_6 Depth=1 movq %rbx, %rdi leaq L_.str.3(%rip), %rsi callq _strcmp testl %eax, %eax je LBB0_10 ## %bb.11: ## in Loop: Header=BB0_6 Depth=1 movq %rbx, %rdi leaq L_.str.4(%rip), %rsi callq _strcmp testl %eax, %eax je LBB0_12 ## %bb.13: ## in Loop: Header=BB0_6 Depth=1 movq %rbx, %rdi leaq L_.str.5(%rip), %rsi callq _strcmp testl %eax, %eax je LBB0_14 ## %bb.16: ## in Loop: Header=BB0_6 Depth=1 movq %rbx, %rdi leaq L_.str.6(%rip), %rsi callq _strcmp testl %eax, %eax je LBB0_17 ## %bb.18: ## in Loop: Header=BB0_6 Depth=1 movq _RR_REF@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 24(%r14) movq (%r14), %rdx movq -80(%rbp), %rdi ## 8-byte Reload movq -88(%rbp), %rsi ## 8-byte Reload movq -72(%rbp), %rcx ## 8-byte Reload callq _refname_atom_parser_internal testl %eax, %eax jne LBB0_24 ## %bb.19: ## in Loop: Header=BB0_6 Depth=1 movl -64(%rbp), %r12d jmp LBB0_20 .p2align 4, 0x90 LBB0_10: ## in Loop: Header=BB0_6 Depth=1 movq _RR_TRACKSHORT@GOTPCREL(%rip), %rax jmp LBB0_8 LBB0_12: ## in Loop: Header=BB0_6 Depth=1 movl $1, 12(%r14) jmp LBB0_20 LBB0_14: ## in Loop: Header=BB0_6 Depth=1 movq _RR_REMOTE_NAME@GOTPCREL(%rip), %rax jmp LBB0_15 LBB0_17: ## in Loop: Header=BB0_6 Depth=1 movq _RR_REMOTE_REF@GOTPCREL(%rip), %rax LBB0_15: ## in Loop: Header=BB0_6 Depth=1 movq (%rax), %rax movq %rax, 24(%r14) movl $1, 16(%r14) jmp LBB0_20 LBB0_21: leaq -64(%rbp), %rdi xorl %ebx, %ebx xorl %esi, %esi callq _string_list_clear LBB0_22: movl %ebx, %eax addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq LBB0_23: movq _RR_REF@GOTPCREL(%rip), %rax movq (%rax), %rax movq %rax, 24(%r14) movq (%r14), %rdx addq $20, %r14 movq %r14, %rdi xorl %esi, %esi movq -72(%rbp), %rcx ## 8-byte Reload addq $56, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp jmp _refname_atom_parser_internal ## TAILCALL LBB0_24: leaq -64(%rbp), %rdi xorl %esi, %esi callq _string_list_clear movl $-1, %ebx jmp LBB0_22 .cfi_endproc ## -- End function .comm _STRING_LIST_INIT_DUP,16,3 ## @STRING_LIST_INIT_DUP .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "push" L_.str.1: ## @.str.1 .asciz "push:" .comm _RR_REF,8,3 ## @RR_REF L_.str.2: ## @.str.2 .asciz "track" .comm _RR_TRACK,8,3 ## @RR_TRACK L_.str.3: ## @.str.3 .asciz "trackshort" .comm _RR_TRACKSHORT,8,3 ## @RR_TRACKSHORT L_.str.4: ## @.str.4 .asciz "nobracket" L_.str.5: ## @.str.5 .asciz "remotename" .comm _RR_REMOTE_NAME,8,3 ## @RR_REMOTE_NAME L_.str.6: ## @.str.6 .asciz "remoteref" .comm _RR_REMOTE_REF,8,3 ## @RR_REMOTE_REF .no_dead_strip _remote_ref_atom_parser .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function remote_ref_atom_parser _remote_ref_atom_parser: ; @remote_ref_atom_parser .cfi_startproc ; %bb.0: sub sp, sp, #128 stp x28, x27, [sp, #32] ; 16-byte Folded Spill stp x26, x25, [sp, #48] ; 16-byte Folded Spill stp x24, x23, [sp, #64] ; 16-byte Folded Spill stp x22, x21, [sp, #80] ; 16-byte Folded Spill stp x20, x19, [sp, #96] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 .cfi_offset w27, -88 .cfi_offset w28, -96 str x3, [sp, #8] ; 8-byte Folded Spill mov x21, x2 mov x20, x1 Lloh0: adrp x8, _STRING_LIST_INIT_DUP@GOTPAGE Lloh1: ldr x8, [x8, _STRING_LIST_INIT_DUP@GOTPAGEOFF] Lloh2: ldr q0, [x8] str q0, [sp, #16] ldr x22, [x1] Lloh3: adrp x1, l_.str@PAGE Lloh4: add x1, x1, l_.str@PAGEOFF mov x0, x22 bl _strcmp cbz w0, LBB0_2 ; %bb.1: Lloh5: adrp x1, l_.str.1@PAGE Lloh6: add x1, x1, l_.str.1@PAGEOFF mov x0, x22 bl _starts_with cbz x0, LBB0_3 LBB0_2: mov w8, #1 ; =0x1 str w8, [x20, #8] LBB0_3: cbz x21, LBB0_23 ; %bb.4: str wzr, [x20, #12] add x0, sp, #16 mov x1, x21 mov w2, #44 ; =0x2c mov w3, #-1 ; =0xffffffff bl _string_list_split ldr w19, [sp, #16] cmp w19, #1 b.lt LBB0_21 ; %bb.5: mov x28, #0 ; =0x0 Lloh7: adrp x22, l_.str.2@PAGE Lloh8: add x22, x22, l_.str.2@PAGEOFF Lloh9: adrp x26, _RR_TRACK@GOTPAGE Lloh10: ldr x26, [x26, _RR_TRACK@GOTPAGEOFF] Lloh11: adrp x23, l_.str.3@PAGE Lloh12: add x23, x23, l_.str.3@PAGEOFF Lloh13: adrp x24, l_.str.4@PAGE Lloh14: add x24, x24, l_.str.4@PAGEOFF mov w25, #1 ; =0x1 b LBB0_9 LBB0_6: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x26] LBB0_7: ; in Loop: Header=BB0_9 Depth=1 str x8, [x20, #24] LBB0_8: ; in Loop: Header=BB0_9 Depth=1 cmp x28, w19, sxtw sub x28, x28, #1 b.gt LBB0_21 LBB0_9: ; =>This Inner Loop Header: Depth=1 ldr x8, [sp, #24] ldr x27, [x8, x28, lsl #3] mov x0, x27 mov x1, x22 bl _strcmp cbz w0, LBB0_6 ; %bb.10: ; in Loop: Header=BB0_9 Depth=1 mov x0, x27 mov x1, x23 bl _strcmp cbz w0, LBB0_16 ; %bb.11: ; in Loop: Header=BB0_9 Depth=1 mov x0, x27 mov x1, x24 bl _strcmp cbz w0, LBB0_17 ; %bb.12: ; in Loop: Header=BB0_9 Depth=1 mov x0, x27 Lloh15: adrp x1, l_.str.5@PAGE Lloh16: add x1, x1, l_.str.5@PAGEOFF bl _strcmp cbz w0, LBB0_18 ; %bb.13: ; in Loop: Header=BB0_9 Depth=1 mov x0, x27 Lloh17: adrp x1, l_.str.6@PAGE Lloh18: add x1, x1, l_.str.6@PAGEOFF bl _strcmp cbz w0, LBB0_19 ; %bb.14: ; in Loop: Header=BB0_9 Depth=1 Lloh19: adrp x8, _RR_REF@GOTPAGE Lloh20: ldr x8, [x8, _RR_REF@GOTPAGEOFF] Lloh21: ldr x8, [x8] str x8, [x20, #24] ldr x2, [x20] add x0, x20, #20 mov x1, x21 ldr x3, [sp, #8] ; 8-byte Folded Reload bl _refname_atom_parser_internal cbnz w0, LBB0_24 ; %bb.15: ; in Loop: Header=BB0_9 Depth=1 ldr w19, [sp, #16] b LBB0_8 LBB0_16: ; in Loop: Header=BB0_9 Depth=1 Lloh22: adrp x8, _RR_TRACKSHORT@GOTPAGE Lloh23: ldr x8, [x8, _RR_TRACKSHORT@GOTPAGEOFF] Lloh24: ldr x8, [x8] b LBB0_7 LBB0_17: ; in Loop: Header=BB0_9 Depth=1 str w25, [x20, #12] b LBB0_8 LBB0_18: ; in Loop: Header=BB0_9 Depth=1 Lloh25: adrp x8, _RR_REMOTE_NAME@GOTPAGE Lloh26: ldr x8, [x8, _RR_REMOTE_NAME@GOTPAGEOFF] b LBB0_20 LBB0_19: ; in Loop: Header=BB0_9 Depth=1 Lloh27: adrp x8, _RR_REMOTE_REF@GOTPAGE Lloh28: ldr x8, [x8, _RR_REMOTE_REF@GOTPAGEOFF] LBB0_20: ; in Loop: Header=BB0_9 Depth=1 ldr x8, [x8] str x8, [x20, #24] str w25, [x20, #16] b LBB0_8 LBB0_21: add x0, sp, #16 mov w1, #0 ; =0x0 bl _string_list_clear mov w0, #0 ; =0x0 LBB0_22: ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 ret LBB0_23: Lloh29: adrp x8, _RR_REF@GOTPAGE Lloh30: ldr x8, [x8, _RR_REF@GOTPAGEOFF] Lloh31: ldr x8, [x8] str x8, [x20, #24] ldr x2, [x20] add x0, x20, #20 mov x1, #0 ; =0x0 ldr x3, [sp, #8] ; 8-byte Folded Reload ldp x29, x30, [sp, #112] ; 16-byte Folded Reload ldp x20, x19, [sp, #96] ; 16-byte Folded Reload ldp x22, x21, [sp, #80] ; 16-byte Folded Reload ldp x24, x23, [sp, #64] ; 16-byte Folded Reload ldp x26, x25, [sp, #48] ; 16-byte Folded Reload ldp x28, x27, [sp, #32] ; 16-byte Folded Reload add sp, sp, #128 b _refname_atom_parser_internal LBB0_24: add x0, sp, #16 mov w1, #0 ; =0x0 bl _string_list_clear mov w0, #-1 ; =0xffffffff b LBB0_22 .loh AdrpAdd Lloh3, Lloh4 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh5, Lloh6 .loh AdrpAdd Lloh13, Lloh14 .loh AdrpAdd Lloh11, Lloh12 .loh AdrpLdrGot Lloh9, Lloh10 .loh AdrpAdd Lloh7, Lloh8 .loh AdrpAdd Lloh15, Lloh16 .loh AdrpAdd Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh19, Lloh20, Lloh21 .loh AdrpLdrGotLdr Lloh22, Lloh23, Lloh24 .loh AdrpLdrGot Lloh25, Lloh26 .loh AdrpLdrGot Lloh27, Lloh28 .loh AdrpLdrGotLdr Lloh29, Lloh30, Lloh31 .cfi_endproc ; -- End function .comm _STRING_LIST_INIT_DUP,16,3 ; @STRING_LIST_INIT_DUP .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "push" l_.str.1: ; @.str.1 .asciz "push:" .comm _RR_REF,8,3 ; @RR_REF l_.str.2: ; @.str.2 .asciz "track" .comm _RR_TRACK,8,3 ; @RR_TRACK l_.str.3: ; @.str.3 .asciz "trackshort" .comm _RR_TRACKSHORT,8,3 ; @RR_TRACKSHORT l_.str.4: ; @.str.4 .asciz "nobracket" l_.str.5: ; @.str.5 .asciz "remotename" .comm _RR_REMOTE_NAME,8,3 ; @RR_REMOTE_NAME l_.str.6: ; @.str.6 .asciz "remoteref" .comm _RR_REMOTE_REF,8,3 ; @RR_REMOTE_REF .no_dead_strip _remote_ref_atom_parser .subsections_via_symbols
assembly_file_43498.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function apc_open _apc_open: ## @apc_open .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 .no_dead_strip _apc_open .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function apc_open _apc_open: ; @apc_open .cfi_startproc ; %bb.0: mov w0, #0 ret .cfi_endproc ; -- End function .no_dead_strip _apc_open .subsections_via_symbols
AnghaBench/linux/arch/sparc/kernel/extr_apc.c_apc_open.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function ngx_http_sub_filter_init _ngx_http_sub_filter_init: ## @ngx_http_sub_filter_init .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq _ngx_http_top_header_filter@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _ngx_http_next_header_filter@GOTPCREL(%rip), %rdx movl %ecx, (%rdx) movq _ngx_http_sub_header_filter@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) movq _ngx_http_top_body_filter@GOTPCREL(%rip), %rax movl (%rax), %ecx movq _ngx_http_next_body_filter@GOTPCREL(%rip), %rdx movl %ecx, (%rdx) movq _ngx_http_sub_body_filter@GOTPCREL(%rip), %rcx movl (%rcx), %ecx movl %ecx, (%rax) movq _NGX_OK@GOTPCREL(%rip), %rax movl (%rax), %eax popq %rbp retq .cfi_endproc ## -- End function .comm _ngx_http_top_header_filter,4,2 ## @ngx_http_top_header_filter .comm _ngx_http_next_header_filter,4,2 ## @ngx_http_next_header_filter .comm _ngx_http_sub_header_filter,4,2 ## @ngx_http_sub_header_filter .comm _ngx_http_top_body_filter,4,2 ## @ngx_http_top_body_filter .comm _ngx_http_next_body_filter,4,2 ## @ngx_http_next_body_filter .comm _ngx_http_sub_body_filter,4,2 ## @ngx_http_sub_body_filter .comm _NGX_OK,4,2 ## @NGX_OK .no_dead_strip _ngx_http_sub_filter_init .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function ngx_http_sub_filter_init _ngx_http_sub_filter_init: ; @ngx_http_sub_filter_init .cfi_startproc ; %bb.0: Lloh0: adrp x8, _ngx_http_top_header_filter@GOTPAGE Lloh1: ldr x8, [x8, _ngx_http_top_header_filter@GOTPAGEOFF] ldr w9, [x8] Lloh2: adrp x10, _ngx_http_next_header_filter@GOTPAGE Lloh3: ldr x10, [x10, _ngx_http_next_header_filter@GOTPAGEOFF] Lloh4: str w9, [x10] Lloh5: adrp x9, _ngx_http_sub_header_filter@GOTPAGE Lloh6: ldr x9, [x9, _ngx_http_sub_header_filter@GOTPAGEOFF] Lloh7: ldr w9, [x9] str w9, [x8] Lloh8: adrp x8, _ngx_http_top_body_filter@GOTPAGE Lloh9: ldr x8, [x8, _ngx_http_top_body_filter@GOTPAGEOFF] ldr w9, [x8] Lloh10: adrp x10, _ngx_http_next_body_filter@GOTPAGE Lloh11: ldr x10, [x10, _ngx_http_next_body_filter@GOTPAGEOFF] Lloh12: str w9, [x10] Lloh13: adrp x9, _ngx_http_sub_body_filter@GOTPAGE Lloh14: ldr x9, [x9, _ngx_http_sub_body_filter@GOTPAGEOFF] Lloh15: ldr w9, [x9] str w9, [x8] Lloh16: adrp x8, _NGX_OK@GOTPAGE Lloh17: ldr x8, [x8, _NGX_OK@GOTPAGEOFF] Lloh18: ldr w0, [x8] ret .loh AdrpLdrGotLdr Lloh16, Lloh17, Lloh18 .loh AdrpLdrGotLdr Lloh13, Lloh14, Lloh15 .loh AdrpLdrGotStr Lloh10, Lloh11, Lloh12 .loh AdrpLdrGot Lloh8, Lloh9 .loh AdrpLdrGotLdr Lloh5, Lloh6, Lloh7 .loh AdrpLdrGotStr Lloh2, Lloh3, Lloh4 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .comm _ngx_http_top_header_filter,4,2 ; @ngx_http_top_header_filter .comm _ngx_http_next_header_filter,4,2 ; @ngx_http_next_header_filter .comm _ngx_http_sub_header_filter,4,2 ; @ngx_http_sub_header_filter .comm _ngx_http_top_body_filter,4,2 ; @ngx_http_top_body_filter .comm _ngx_http_next_body_filter,4,2 ; @ngx_http_next_body_filter .comm _ngx_http_sub_body_filter,4,2 ; @ngx_http_sub_body_filter .comm _NGX_OK,4,2 ; @NGX_OK .no_dead_strip _ngx_http_sub_filter_init .subsections_via_symbols
AnghaBench/nginx/src/http/modules/extr_ngx_http_sub_filter_module.c_ngx_http_sub_filter_init.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function report_progress _report_progress: ## @report_progress .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp movq 8(%rdi), %rax testq %rax, %rax je LBB0_1 ## %bb.2: movl 20(%rdi), %r8d movl (%rdi), %ecx movl 16(%rdi), %edx movq %rsi, %rdi movl %r8d, %esi popq %rbp jmpq *%rax ## TAILCALL LBB0_1: popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _report_progress .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function report_progress _report_progress: ; @report_progress .cfi_startproc ; %bb.0: ldr x4, [x0, #8] cbz x4, LBB0_2 ; %bb.1: ldp w2, w8, [x0, #16] ldr w3, [x0] mov x0, x1 mov x1, x8 br x4 LBB0_2: ret .cfi_endproc ; -- End function .no_dead_strip _report_progress .subsections_via_symbols
AnghaBench/libgit2/src/extr_checkout.c_report_progress.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sys_msleep ## -- Begin function sys_msleep .p2align 4, 0x90 _sys_msleep: ## @sys_msleep .cfi_startproc ## %bb.0: testq %rdi, %rdi jle LBB0_4 ## %bb.1: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx subq $16, %rsp .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rdi, %rbx leaq -20(%rbp), %rdi xorl %esi, %esi callq _sys_sem_new movq _ERR_OK@GOTPCREL(%rip), %rcx cmpq (%rcx), %rax jne LBB0_3 ## %bb.2: leaq -20(%rbp), %r14 movq %r14, %rdi movq %rbx, %rsi callq _sys_arch_sem_wait movq %r14, %rdi callq _sys_sem_free LBB0_3: addq $16, %rsp popq %rbx popq %r14 popq %rbp LBB0_4: retq .cfi_endproc ## -- End function .comm _ERR_OK,8,3 ## @ERR_OK .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _sys_msleep ; -- Begin function sys_msleep .p2align 2 _sys_msleep: ; @sys_msleep .cfi_startproc ; %bb.0: cmp x0, #1 b.lt LBB0_4 ; %bb.1: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 add x0, sp, #12 mov w1, #0 bl _sys_sem_new Lloh0: adrp x8, _ERR_OK@GOTPAGE Lloh1: ldr x8, [x8, _ERR_OK@GOTPAGEOFF] Lloh2: ldr x8, [x8] cmp x0, x8 b.ne LBB0_3 ; %bb.2: add x0, sp, #12 mov x1, x19 bl _sys_arch_sem_wait add x0, sp, #12 bl _sys_sem_free LBB0_3: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 LBB0_4: .cfi_def_cfa wsp, 0 .cfi_same_value w30 .cfi_same_value w29 .cfi_same_value w19 .cfi_same_value w20 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .cfi_endproc ; -- End function .comm _ERR_OK,8,3 ; @ERR_OK .subsections_via_symbols
AnghaBench/reactos/sdk/lib/drivers/lwip/src/core/extr_sys.c_sys_msleep.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function r_RV _r_RV: ## @r_RV .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), %rax movq (%rax), %rcx xorl %eax, %eax cmpq 8(%rdi), %rcx setle %al popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _r_RV .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function r_RV _r_RV: ; @r_RV .cfi_startproc ; %bb.0: ldp x8, x9, [x0] ldr x8, [x8] cmp x8, x9 cset w0, le ret .cfi_endproc ; -- End function .no_dead_strip _r_RV .subsections_via_symbols
AnghaBench/postgres/src/backend/snowball/libstemmer/extr_stem_ISO_8859_1_french.c_r_RV.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _inet_recvmsg ## -- Begin function inet_recvmsg .p2align 4, 0x90 _inet_recvmsg: ## @inet_recvmsg .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %ecx, %r13d movq %rdx, %r14 movq %rsi, %r15 movq (%rdi), %r12 movl $0, -44(%rbp) movq _MSG_ERRQUEUE@GOTPCREL(%rip), %rax xorl %edi, %edi movl (%rax), %eax andl %ecx, %eax sete %dil callq _likely testq %rax, %rax je LBB0_2 ## %bb.1: movq %r12, %rdi callq _sock_rps_record_flow LBB0_2: movq (%r12), %rax movl (%rax), %edi movq _tcp_recvmsg@GOTPCREL(%rip), %rax movl (%rax), %esi movq _udp_recvmsg@GOTPCREL(%rip), %rax movl (%rax), %edx movq _MSG_DONTWAIT@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, %ebx andl %r13d, %ebx notl %eax andl %r13d, %eax subq $8, %rsp leaq -44(%rbp), %r10 movq %r12, %rcx movq %r15, %r8 movq %r14, %r9 pushq %r10 pushq %rax pushq %rbx callq _INDIRECT_CALL_2 addq $32, %rsp testl %eax, %eax js LBB0_4 ## %bb.3: movl -44(%rbp), %ecx movl %ecx, (%r15) LBB0_4: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .comm _MSG_ERRQUEUE,4,2 ## @MSG_ERRQUEUE .comm _tcp_recvmsg,4,2 ## @tcp_recvmsg .comm _udp_recvmsg,4,2 ## @udp_recvmsg .comm _MSG_DONTWAIT,4,2 ## @MSG_DONTWAIT .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _inet_recvmsg ; -- Begin function inet_recvmsg .p2align 2 _inet_recvmsg: ; @inet_recvmsg .cfi_startproc ; %bb.0: sub sp, sp, #64 .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x22, x3 mov x20, x2 mov x19, x1 ldr x21, [x0] str wzr, [sp, #12] Lloh0: adrp x8, _MSG_ERRQUEUE@GOTPAGE Lloh1: ldr x8, [x8, _MSG_ERRQUEUE@GOTPAGEOFF] Lloh2: ldr w8, [x8] tst w8, w3 cset w0, eq bl _likely cbz x0, LBB0_2 ; %bb.1: mov x0, x21 bl _sock_rps_record_flow LBB0_2: ldr x8, [x21] ldr w0, [x8] Lloh3: adrp x8, _tcp_recvmsg@GOTPAGE Lloh4: ldr x8, [x8, _tcp_recvmsg@GOTPAGEOFF] Lloh5: ldr w1, [x8] Lloh6: adrp x8, _udp_recvmsg@GOTPAGE Lloh7: ldr x8, [x8, _udp_recvmsg@GOTPAGEOFF] Lloh8: ldr w2, [x8] Lloh9: adrp x8, _MSG_DONTWAIT@GOTPAGE Lloh10: ldr x8, [x8, _MSG_DONTWAIT@GOTPAGEOFF] Lloh11: ldr w8, [x8] and w6, w8, w22 bic w7, w22, w8 add x8, sp, #12 str x8, [sp] mov x3, x21 mov x4, x19 mov x5, x20 bl _INDIRECT_CALL_2 tbnz w0, #31, LBB0_4 ; %bb.3: ldr w8, [sp, #12] str w8, [x19] LBB0_4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload add sp, sp, #64 ret .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh9, Lloh10, Lloh11 .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .cfi_endproc ; -- End function .comm _MSG_ERRQUEUE,4,2 ; @MSG_ERRQUEUE .comm _tcp_recvmsg,4,2 ; @tcp_recvmsg .comm _udp_recvmsg,4,2 ; @udp_recvmsg .comm _MSG_DONTWAIT,4,2 ; @MSG_DONTWAIT .subsections_via_symbols
AnghaBench/linux/net/ipv4/extr_af_inet.c_inet_recvmsg.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function grow_config _grow_config: ## @grow_config .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx pushq %rax .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %edi, %ebx movq _len_config@GOTPCREL(%rip), %r14 movq _size_config@GOTPCREL(%rip), %r15 movq _str_config@GOTPCREL(%rip), %r12 movl $4096, %r13d ## imm = 0x1000 .p2align 4, 0x90 LBB0_1: ## =>This Inner Loop Header: Depth=1 movl (%r14), %ecx addl %ebx, %ecx movl (%r15), %eax cmpl %eax, %ecx jle LBB0_4 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 leal (%rax,%rax), %esi testl %eax, %eax movq (%r12), %rdi cmovel %r13d, %esi movl %esi, (%r15) callq _realloc movq %rax, (%r12) testq %rax, %rax jne LBB0_1 ## %bb.3: callq _grow_config.cold.1 LBB0_4: addq $8, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .p2align 4, 0x90 ## -- Begin function grow_config.cold.1 _grow_config.cold.1: ## @grow_config.cold.1 .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 callq _perror pushq $1 popq %rdi callq _exit .cfi_endproc ## -- End function .comm _len_config,4,2 ## @len_config .comm _size_config,4,2 ## @size_config .comm _str_config,8,3 ## @str_config .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "fixdep:malloc" .no_dead_strip _grow_config .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function grow_config _grow_config: ; @grow_config .cfi_startproc ; %bb.0: stp x24, x23, [sp, #-64]! ; 16-byte Folded Spill .cfi_def_cfa_offset 64 stp x22, x21, [sp, #16] ; 16-byte Folded Spill stp x20, x19, [sp, #32] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 mov x19, x0 Lloh0: adrp x20, _len_config@GOTPAGE Lloh1: ldr x20, [x20, _len_config@GOTPAGEOFF] Lloh2: adrp x21, _size_config@GOTPAGE Lloh3: ldr x21, [x21, _size_config@GOTPAGEOFF] mov w22, #4096 Lloh4: adrp x23, _str_config@GOTPAGE Lloh5: ldr x23, [x23, _str_config@GOTPAGEOFF] LBB0_1: ; =>This Inner Loop Header: Depth=1 ldr w9, [x20] ldr w8, [x21] add w9, w9, w19 cmp w9, w8 b.le LBB0_4 ; %bb.2: ; in Loop: Header=BB0_1 Depth=1 ldr x0, [x23] lsl w9, w8, #1 cmp w8, #0 csel w1, w22, w9, eq str w1, [x21] bl _realloc str x0, [x23] cbnz x0, LBB0_1 ; %bb.3: bl _grow_config.cold.1 LBB0_4: ldp x29, x30, [sp, #48] ; 16-byte Folded Reload ldp x20, x19, [sp, #32] ; 16-byte Folded Reload ldp x22, x21, [sp, #16] ; 16-byte Folded Reload ldp x24, x23, [sp], #64 ; 16-byte Folded Reload ret .loh AdrpLdrGot Lloh4, Lloh5 .loh AdrpLdrGot Lloh2, Lloh3 .loh AdrpLdrGot Lloh0, Lloh1 .cfi_endproc ; -- End function .p2align 2 ; -- Begin function grow_config.cold.1 _grow_config.cold.1: ; @grow_config.cold.1 .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 Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF bl _perror mov w0, #1 bl _exit .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .comm _len_config,4,2 ; @len_config .comm _size_config,4,2 ; @size_config .comm _str_config,8,3 ; @str_config .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "fixdep:malloc" .no_dead_strip _grow_config .subsections_via_symbols
AnghaBench/fastsocket/kernel/scripts/basic/extr_fixdep.c_grow_config.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function armv8pmu_write_counter _armv8pmu_write_counter: ## @armv8pmu_write_counter .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %esi, %r14d movq %rdi, %rbx movl 4(%rdi), %edi callq _to_arm_pmu movl (%rbx), %r15d movq %rax, %rdi movl %r15d, %esi callq _armv8pmu_counter_valid testl %eax, %eax je LBB0_3 ## %bb.1: movq _ARMV8_IDX_CYCLE_COUNTER@GOTPCREL(%rip), %rax cmpl (%rax), %r15d jne LBB0_2 ## %bb.4: movq %rbx, %rdi callq _armv8pmu_event_is_64bit movq _pmccntr_el0@GOTPCREL(%rip), %rax movl (%rax), %esi movl %r14d, %edi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _write_sysreg ## TAILCALL LBB0_3: xorl %eax, %eax callq _smp_processor_id leaq L_.str(%rip), %rdi movl %eax, %esi movl %r15d, %edx addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _pr_err ## TAILCALL LBB0_2: movq %rbx, %rdi movl %r14d, %esi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmp _armv8pmu_write_hw_counter ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "CPU%u writing wrong counter %d\n" .comm _ARMV8_IDX_CYCLE_COUNTER,4,2 ## @ARMV8_IDX_CYCLE_COUNTER .comm _pmccntr_el0,4,2 ## @pmccntr_el0 .no_dead_strip _armv8pmu_write_counter .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function armv8pmu_write_counter _armv8pmu_write_counter: ; @armv8pmu_write_counter .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x1 mov x20, x0 ldr w0, [x0, #4] bl _to_arm_pmu ldr w21, [x20] mov x1, x21 bl _armv8pmu_counter_valid cbz w0, LBB0_3 ; %bb.1: Lloh0: adrp x8, _ARMV8_IDX_CYCLE_COUNTER@GOTPAGE Lloh1: ldr x8, [x8, _ARMV8_IDX_CYCLE_COUNTER@GOTPAGEOFF] Lloh2: ldr w8, [x8] mov x0, x20 cmp w21, w8 b.ne LBB0_4 ; %bb.2: bl _armv8pmu_event_is_64bit Lloh3: adrp x8, _pmccntr_el0@GOTPAGE Lloh4: ldr x8, [x8, _pmccntr_el0@GOTPAGEOFF] Lloh5: ldr w1, [x8] mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _write_sysreg LBB0_3: bl _smp_processor_id mov x1, x0 Lloh6: adrp x0, l_.str@PAGE Lloh7: add x0, x0, l_.str@PAGEOFF mov x2, x21 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _pr_err LBB0_4: mov x1, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload b _armv8pmu_write_hw_counter .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "CPU%u writing wrong counter %d\n" .comm _ARMV8_IDX_CYCLE_COUNTER,4,2 ; @ARMV8_IDX_CYCLE_COUNTER .comm _pmccntr_el0,4,2 ; @pmccntr_el0 .no_dead_strip _armv8pmu_write_counter .subsections_via_symbols
AnghaBench/linux/arch/arm64/kernel/extr_perf_event.c_armv8pmu_write_counter.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _func ## -- Begin function func .p2align 4, 0x90 _func: ## @func .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movl %edi, %ebx leaq L_.str(%rip), %rdi leaq -12(%rbp), %rsi xorl %eax, %eax callq _scanf movl -12(%rbp), %eax xorl %ecx, %ecx testl %eax, %eax setg %cl cmpl $2, %eax movl $2, %edx cmovll %ecx, %edx movl $3, %ecx cmovlel %edx, %ecx cmpl $4, %eax movl $4, %edx cmovll %ecx, %edx movl $5, %ecx cmovlel %edx, %ecx cmpl $6, %eax movl $6, %edx cmovll %ecx, %edx movl $7, %ecx cmovlel %edx, %ecx cmpl $8, %eax movl $8, %edx cmovll %ecx, %edx movl $9, %ecx cmovlel %edx, %ecx cmpl $10, %eax movl $10, %edx cmovll %ecx, %edx movl $11, %ecx cmovlel %edx, %ecx cmpl $12, %eax movl $12, %edx cmovll %ecx, %edx movl $13, %ecx cmovlel %edx, %ecx cmpl $14, %eax movl $14, %edx cmovll %ecx, %edx movl $15, %ecx cmovlel %edx, %ecx cmpl $16, %eax movl $16, %edx cmovll %ecx, %edx movl $17, %ecx cmovlel %edx, %ecx cmpl $18, %eax movl $18, %edx cmovll %ecx, %edx movl $19, %ecx cmovlel %edx, %ecx cmpl $20, %eax movl $20, %edx cmovll %ecx, %edx movl $21, %ecx cmovlel %edx, %ecx cmpl $22, %eax movl $22, %edx cmovll %ecx, %edx movl $23, %ecx cmovlel %edx, %ecx cmpl $24, %eax movl $24, %edx cmovll %ecx, %edx movl $25, %ecx cmovlel %edx, %ecx cmpl $26, %eax movl $26, %edx cmovll %ecx, %edx movl $27, %ecx cmovlel %edx, %ecx cmpl $28, %eax movl $28, %edx cmovll %ecx, %edx movl $29, %ecx cmovlel %edx, %ecx cmpl $30, %eax movl $30, %eax cmovll %ecx, %eax movl $31, %ecx cmovlel %eax, %ecx leal (%rcx,%rbx), %eax incl %eax addq $8, %rsp popq %rbx 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 pushq %rbx pushq %rax .cfi_offset %rbx, -24 leaq L_.str(%rip), %rbx leaq -12(%rbp), %rsi movq %rbx, %rdi xorl %eax, %eax callq _scanf movl -12(%rbp), %eax xorl %ecx, %ecx testl %eax, %eax setle %cl xorl $3, %ecx cmpl $2, %eax movl $4, %edx cmovll %ecx, %edx movl $5, %ecx cmovlel %edx, %ecx cmpl $4, %eax movl $6, %edx cmovll %ecx, %edx movl $7, %ecx cmovlel %edx, %ecx cmpl $6, %eax movl $8, %edx cmovll %ecx, %edx movl $9, %ecx cmovlel %edx, %ecx cmpl $8, %eax movl $10, %edx cmovll %ecx, %edx movl $11, %ecx cmovlel %edx, %ecx cmpl $10, %eax movl $12, %edx cmovll %ecx, %edx movl $13, %ecx cmovlel %edx, %ecx cmpl $12, %eax movl $14, %edx cmovll %ecx, %edx movl $15, %ecx cmovlel %edx, %ecx cmpl $14, %eax movl $16, %edx cmovll %ecx, %edx movl $17, %ecx cmovlel %edx, %ecx cmpl $16, %eax movl $18, %edx cmovll %ecx, %edx movl $19, %ecx cmovlel %edx, %ecx cmpl $18, %eax movl $20, %edx cmovll %ecx, %edx movl $21, %ecx cmovlel %edx, %ecx cmpl $20, %eax movl $22, %edx cmovll %ecx, %edx movl $23, %ecx cmovlel %edx, %ecx cmpl $22, %eax movl $24, %edx cmovll %ecx, %edx movl $25, %ecx cmovlel %edx, %ecx cmpl $24, %eax movl $26, %edx cmovll %ecx, %edx movl $27, %ecx cmovlel %edx, %ecx cmpl $26, %eax movl $28, %edx cmovll %ecx, %edx movl $29, %ecx cmovlel %edx, %ecx cmpl $28, %eax movl $30, %edx cmovll %ecx, %edx movl $31, %ecx cmovlel %edx, %ecx cmpl $30, %eax movl $32, %eax cmovll %ecx, %eax movl $33, %esi cmovlel %eax, %esi movq %rbx, %rdi xorl %eax, %eax callq _printf xorl %eax, %eax addq $8, %rsp popq %rbx popq %rbp retq .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 _func ; -- Begin function func .p2align 2 _func: ; @func .cfi_startproc ; %bb.0: sub sp, sp, #48 .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 mov x19, x0 add x8, sp, #12 str x8, [sp] Lloh0: adrp x0, l_.str@PAGE Lloh1: add x0, x0, l_.str@PAGEOFF bl _scanf ldr w8, [sp, #12] cmp w8, #0 cset w9, gt mov w10, #2 cmp w8, #2 csel w9, w9, w10, lt mov w10, #3 cmp w8, #3 csel w9, w9, w10, lt mov w10, #4 cmp w8, #4 csel w9, w9, w10, lt mov w10, #5 cmp w8, #5 csel w9, w9, w10, lt mov w10, #6 cmp w8, #6 csel w9, w9, w10, lt mov w10, #7 cmp w8, #7 csel w9, w9, w10, lt mov w10, #8 cmp w8, #8 csel w9, w9, w10, lt mov w10, #9 cmp w8, #9 csel w9, w9, w10, lt mov w10, #10 cmp w8, #10 csel w9, w9, w10, lt mov w10, #11 cmp w8, #11 csel w9, w9, w10, lt mov w10, #12 cmp w8, #12 csel w9, w9, w10, lt mov w10, #13 cmp w8, #13 csel w9, w9, w10, lt mov w10, #14 cmp w8, #14 csel w9, w9, w10, lt mov w10, #15 cmp w8, #15 csel w9, w9, w10, lt mov w10, #16 cmp w8, #16 csel w9, w9, w10, lt mov w10, #17 cmp w8, #17 csel w9, w9, w10, lt mov w10, #18 cmp w8, #18 csel w9, w9, w10, lt mov w10, #19 cmp w8, #19 csel w9, w9, w10, lt mov w10, #20 cmp w8, #20 csel w9, w9, w10, lt mov w10, #21 cmp w8, #21 csel w9, w9, w10, lt mov w10, #22 cmp w8, #22 csel w9, w9, w10, lt mov w10, #23 cmp w8, #23 csel w9, w9, w10, lt mov w10, #24 cmp w8, #24 csel w9, w9, w10, lt mov w10, #25 cmp w8, #25 csel w9, w9, w10, lt mov w10, #26 cmp w8, #26 csel w9, w9, w10, lt mov w10, #27 cmp w8, #27 csel w9, w9, w10, lt mov w10, #28 cmp w8, #28 csel w9, w9, w10, lt mov w10, #29 cmp w8, #29 csel w9, w9, w10, lt mov w10, #30 cmp w8, #30 csel w9, w9, w10, lt mov w10, #31 cmp w8, #31 csel w8, w9, w10, lt add w8, w8, w19 add w0, w8, #1 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh0, Lloh1 .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 x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 add x8, sp, #12 str x8, [sp] Lloh2: adrp x19, l_.str@PAGE Lloh3: add x19, x19, l_.str@PAGEOFF mov x0, x19 bl _scanf ldr w8, [sp, #12] cmp w8, #1 mov w9, #2 cinc w9, w9, ge mov w10, #4 cmp w8, #2 csel w9, w9, w10, lt mov w10, #5 cmp w8, #3 csel w9, w9, w10, lt mov w10, #6 cmp w8, #4 csel w9, w9, w10, lt mov w10, #7 cmp w8, #5 csel w9, w9, w10, lt mov w10, #8 cmp w8, #6 csel w9, w9, w10, lt mov w10, #9 cmp w8, #7 csel w9, w9, w10, lt mov w10, #10 cmp w8, #8 csel w9, w9, w10, lt mov w10, #11 cmp w8, #9 csel w9, w9, w10, lt mov w10, #12 cmp w8, #10 csel w9, w9, w10, lt mov w10, #13 cmp w8, #11 csel w9, w9, w10, lt mov w10, #14 cmp w8, #12 csel w9, w9, w10, lt mov w10, #15 cmp w8, #13 csel w9, w9, w10, lt mov w10, #16 cmp w8, #14 csel w9, w9, w10, lt mov w10, #17 cmp w8, #15 csel w9, w9, w10, lt mov w10, #18 cmp w8, #16 csel w9, w9, w10, lt mov w10, #19 cmp w8, #17 csel w9, w9, w10, lt mov w10, #20 cmp w8, #18 csel w9, w9, w10, lt mov w10, #21 cmp w8, #19 csel w9, w9, w10, lt mov w10, #22 cmp w8, #20 csel w9, w9, w10, lt mov w10, #23 cmp w8, #21 csel w9, w9, w10, lt mov w10, #24 cmp w8, #22 csel w9, w9, w10, lt mov w10, #25 cmp w8, #23 csel w9, w9, w10, lt mov w10, #26 cmp w8, #24 csel w9, w9, w10, lt mov w10, #27 cmp w8, #25 csel w9, w9, w10, lt mov w10, #28 cmp w8, #26 csel w9, w9, w10, lt mov w10, #29 cmp w8, #27 csel w9, w9, w10, lt mov w10, #30 cmp w8, #28 csel w9, w9, w10, lt mov w10, #31 cmp w8, #29 csel w9, w9, w10, lt mov w10, #32 cmp w8, #30 csel w9, w9, w10, lt mov w10, #33 cmp w8, #31 csel w8, w9, w10, lt str x8, [sp] mov x0, x19 bl _printf mov w0, #0 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload add sp, sp, #48 ret .loh AdrpAdd Lloh2, Lloh3 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "%d" .subsections_via_symbols
the_stack_data/220456455.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _filter ## -- Begin function filter .p2align 4, 0x90 _filter: ## @filter .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp popq %rbp retq .cfi_endproc ## -- End function .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .globl _filter ; -- Begin function filter .p2align 2 _filter: ; @filter .cfi_startproc ; %bb.0: ret .cfi_endproc ; -- End function .subsections_via_symbols
the_stack_data/215767234.c
stack
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function destroy_no_thread _destroy_no_thread: ## @destroy_no_thread .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq (%rdi), %rax movq 8(%rdi), %rbx callq *(%rax) movq (%rbx), %rax movl (%rax), %edi testl %edi, %edi js LBB0_2 ## %bb.1: callq _close movq (%rbx), %rax LBB0_2: movl 4(%rax), %edi testl %edi, %edi js LBB0_4 ## %bb.3: callq _close LBB0_4: leaq 12(%rbx), %rdi callq _pthread_cond_destroy addq $8, %rbx movq %rbx, %rdi addq $8, %rsp popq %rbx popq %rbp jmp _pthread_mutex_destroy ## TAILCALL .cfi_endproc ## -- End function .no_dead_strip _destroy_no_thread .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function destroy_no_thread _destroy_no_thread: ; @destroy_no_thread .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 ldp x8, x19, [x0] ldr x8, [x8] blr x8 ldr x8, [x19] ldr w0, [x8] tbnz w0, #31, LBB0_2 ; %bb.1: bl _close ldr x8, [x19] LBB0_2: ldr w0, [x8, #4] tbnz w0, #31, LBB0_4 ; %bb.3: bl _close LBB0_4: add x0, x19, #12 bl _pthread_cond_destroy add x0, x19, #8 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _pthread_mutex_destroy .cfi_endproc ; -- End function .no_dead_strip _destroy_no_thread .subsections_via_symbols
AnghaBench/mpv/audio/out/extr_push.c_destroy_no_thread.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function proc_pid _proc_pid: ## @proc_pid .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp callq _PROC_I movq (%rax), %rax popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _proc_pid .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function proc_pid _proc_pid: ; @proc_pid .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 _PROC_I ldr x0, [x0] ldp x29, x30, [sp], #16 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _proc_pid .subsections_via_symbols
AnghaBench/linux/fs/proc/extr_internal.h_proc_pid.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function iser_create_send_desc _iser_create_send_desc: ## @iser_create_send_desc .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r14 pushq %rbx .cfi_offset %rbx, -32 .cfi_offset %r14, -24 movq %rsi, %rbx movq (%rdi), %r14 movl 8(%r14), %edi movl 20(%rsi), %esi movq _ISER_HEADERS_LEN@GOTPCREL(%rip), %rax movl (%rax), %edx movq _DMA_TO_DEVICE@GOTPCREL(%rip), %rax movl (%rax), %ecx callq _ib_dma_sync_single_for_cpu leaq 16(%rbx), %rdi xorl %esi, %esi movl $4, %edx callq _memset movq _ISER_VER@GOTPCREL(%rip), %rax movl (%rax), %eax movl %eax, 16(%rbx) movl $1, (%rbx) movq 8(%rbx), %rax movq (%r14), %rcx movq (%rcx), %rcx cmpq %rcx, (%rax) jne LBB0_2 ## %bb.1: popq %rbx popq %r14 popq %rbp retq LBB0_2: movq %rcx, (%rax) leaq L_.str(%rip), %rdi movq %rbx, %rsi popq %rbx popq %r14 popq %rbp jmp _iser_dbg ## TAILCALL .cfi_endproc ## -- End function .comm _ISER_HEADERS_LEN,4,2 ## @ISER_HEADERS_LEN .comm _DMA_TO_DEVICE,4,2 ## @DMA_TO_DEVICE .comm _ISER_VER,4,2 ## @ISER_VER .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "sdesc %p lkey mismatch, fixing\n" .no_dead_strip _iser_create_send_desc .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function iser_create_send_desc _iser_create_send_desc: ; @iser_create_send_desc .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x1 ldr x20, [x0] ldr w0, [x20, #8] ldr w1, [x1, #20] Lloh0: adrp x8, _ISER_HEADERS_LEN@GOTPAGE Lloh1: ldr x8, [x8, _ISER_HEADERS_LEN@GOTPAGEOFF] Lloh2: ldr w2, [x8] Lloh3: adrp x8, _DMA_TO_DEVICE@GOTPAGE Lloh4: ldr x8, [x8, _DMA_TO_DEVICE@GOTPAGEOFF] Lloh5: ldr w3, [x8] bl _ib_dma_sync_single_for_cpu add x0, x19, #16 mov w1, #0 mov w2, #4 bl _memset Lloh6: adrp x8, _ISER_VER@GOTPAGE Lloh7: ldr x8, [x8, _ISER_VER@GOTPAGEOFF] Lloh8: ldr w8, [x8] str w8, [x19, #16] mov w8, #1 str w8, [x19] ldr x8, [x19, #8] ldr x10, [x8] ldr x9, [x20] ldr x9, [x9] cmp x10, x9 b.ne LBB0_2 ; %bb.1: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_2: str x9, [x8] Lloh9: adrp x0, l_.str@PAGE Lloh10: add x0, x0, l_.str@PAGEOFF mov x1, x19 ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _iser_dbg .loh AdrpLdrGotLdr Lloh6, Lloh7, Lloh8 .loh AdrpLdrGotLdr Lloh3, Lloh4, Lloh5 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpAdd Lloh9, Lloh10 .cfi_endproc ; -- End function .comm _ISER_HEADERS_LEN,4,2 ; @ISER_HEADERS_LEN .comm _DMA_TO_DEVICE,4,2 ; @DMA_TO_DEVICE .comm _ISER_VER,4,2 ; @ISER_VER .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "sdesc %p lkey mismatch, fixing\n" .no_dead_strip _iser_create_send_desc .subsections_via_symbols
AnghaBench/fastsocket/kernel/drivers/infiniband/ulp/iser/extr_iser_initiator.c_iser_create_send_desc.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 4, 0x90 ## -- Begin function roff_setstrn _roff_setstrn: ## @roff_setstrn .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %r13 pushq %r12 pushq %rbx subq $24, %rsp .cfi_offset %rbx, -56 .cfi_offset %r12, -48 .cfi_offset %r13, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movl %r9d, -44(%rbp) ## 4-byte Spill movq %r8, %r15 movq %rcx, %r12 movq %rdx, %r14 movq %rsi, %r13 movq %rdi, -56(%rbp) ## 8-byte Spill movq (%rdi), %rbx jmp LBB0_1 .p2align 4, 0x90 LBB0_4: ## in Loop: Header=BB0_1 Depth=1 movq 16(%rbx), %rbx LBB0_1: ## =>This Inner Loop Header: Depth=1 testq %rbx, %rbx je LBB0_5 ## %bb.2: ## in Loop: Header=BB0_1 Depth=1 cmpq %r14, 24(%rbx) jne LBB0_4 ## %bb.3: ## in Loop: Header=BB0_1 Depth=1 movl 32(%rbx), %edi movq %r13, %rsi movq %r14, %rdx callq _strncmp testq %rax, %rax jne LBB0_4 ## %bb.6: movl -44(%rbp), %r13d ## 4-byte Reload testl %r13d, %r13d jne LBB0_8 ## %bb.7: movq (%rbx), %rdi callq _free xorps %xmm0, %xmm0 movups %xmm0, (%rbx) jmp LBB0_8 LBB0_5: movl $40, %edi callq _mandoc_malloc movq %rax, %rbx movq %r13, %rdi movq %r14, %rsi callq _mandoc_strndup movl %eax, 32(%rbx) movq %r14, 24(%rbx) xorps %xmm0, %xmm0 movups %xmm0, (%rbx) movq -56(%rbp), %rcx ## 8-byte Reload movq (%rcx), %rax movq %rax, 16(%rbx) movq %rbx, (%rcx) movl -44(%rbp), %r13d ## 4-byte Reload LBB0_8: testq %r12, %r12 je LBB0_20 ## %bb.9: xorl %esi, %esi cmpl $2, %r13d setge %sil notq %rsi addq %r15, %rsi movq (%rbx), %rdi testq %rdi, %rdi je LBB0_10 ## %bb.11: movq 8(%rbx), %r14 addq %r14, %rsi callq _mandoc_realloc movq %rax, (%rbx) movslq %r14d, %rcx jmp LBB0_12 LBB0_10: movq %rsi, %rdi callq _mandoc_malloc movq %rax, (%rbx) movb $0, (%rax) movq (%rbx), %rax xorl %ecx, %ecx LBB0_12: addq %rcx, %rax testl %r15d, %r15d jle LBB0_17 ## %bb.13: xorl %ecx, %ecx jmp LBB0_14 .p2align 4, 0x90 LBB0_16: ## in Loop: Header=BB0_14 Depth=1 incl %ecx movb %sil, (%rax) incq %rax cmpl %r15d, %ecx jge LBB0_17 LBB0_14: ## =>This Inner Loop Header: Depth=1 movslq %ecx, %rdx movzbl (%r12,%rdx), %esi cmpb $92, %sil jne LBB0_16 ## %bb.15: ## in Loop: Header=BB0_14 Depth=1 leaq 1(%rdx), %rcx cmpb $92, 1(%r12,%rdx) cmovel %ecx, %edx movslq %edx, %rcx movzbl (%r12,%rcx), %esi movl %edx, %ecx jmp LBB0_16 LBB0_17: cmpl $2, %r13d jl LBB0_19 ## %bb.18: movb $10, (%rax) incq %rax LBB0_19: movb $0, (%rax) subl (%rbx), %eax cltq movq %rax, 8(%rbx) LBB0_20: addq $24, %rsp popq %rbx popq %r12 popq %r13 popq %r14 popq %r15 popq %rbp retq .cfi_endproc ## -- End function .no_dead_strip _roff_setstrn .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 15, 0 sdk_version 15, 5 .p2align 2 ; -- Begin function roff_setstrn _roff_setstrn: ; @roff_setstrn .cfi_startproc ; %bb.0: stp x26, x25, [sp, #-80]! ; 16-byte Folded Spill stp x24, x23, [sp, #16] ; 16-byte Folded Spill stp x22, x21, [sp, #32] ; 16-byte Folded Spill stp x20, x19, [sp, #48] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 .cfi_offset w23, -56 .cfi_offset w24, -64 .cfi_offset w25, -72 .cfi_offset w26, -80 mov x20, x5 mov x21, x4 mov x22, x3 mov x24, x2 mov x25, x1 mov x23, x0 ldr x19, [x0] cbnz x19, LBB0_6 LBB0_1: mov w0, #40 ; =0x28 bl _mandoc_malloc mov x19, x0 mov x0, x25 mov x1, x24 bl _mandoc_strndup str w0, [x19, #32] stp xzr, xzr, [x19] ldr x8, [x23] stp x8, x24, [x19, #16] str x19, [x23] LBB0_2: cbz x22, LBB0_19 ; %bb.3: cmp w20, #1 mov x8, #-2 ; =0xfffffffffffffffe cinc x8, x8, le add x0, x8, x21 ldr x8, [x19] cbz x8, LBB0_10 ; %bb.4: ldr x23, [x19, #8] add x1, x23, x0 mov x0, x8 bl _mandoc_realloc str x0, [x19] sxtw x8, w23 b LBB0_11 LBB0_5: ; in Loop: Header=BB0_6 Depth=1 ldr x19, [x19, #16] cbz x19, LBB0_1 LBB0_6: ; =>This Inner Loop Header: Depth=1 ldr x8, [x19, #24] cmp x8, x24 b.ne LBB0_5 ; %bb.7: ; in Loop: Header=BB0_6 Depth=1 ldr w0, [x19, #32] mov x1, x25 mov x2, x24 bl _strncmp cbnz x0, LBB0_5 ; %bb.8: cbnz w20, LBB0_2 ; %bb.9: ldr x0, [x19] bl _free stp xzr, xzr, [x19] b LBB0_2 LBB0_10: bl _mandoc_malloc mov x8, #0 ; =0x0 str x0, [x19] strb wzr, [x0] ldr x0, [x19] LBB0_11: add x8, x0, x8 cmp w21, #1 b.lt LBB0_16 ; %bb.12: mov w9, #0 ; =0x0 b LBB0_14 LBB0_13: ; in Loop: Header=BB0_14 Depth=1 add w9, w9, #1 strb w10, [x8], #1 cmp w9, w21 b.ge LBB0_16 LBB0_14: ; =>This Inner Loop Header: Depth=1 sxtw x11, w9 ldrb w10, [x22, x11] cmp w10, #92 b.ne LBB0_13 ; %bb.15: ; in Loop: Header=BB0_14 Depth=1 add x10, x11, #1 ldrb w11, [x22, x10] cmp w11, #92 csel w9, w10, w9, eq ldrb w10, [x22, w9, sxtw] b LBB0_13 LBB0_16: cmp w20, #1 b.le LBB0_18 ; %bb.17: mov w9, #10 ; =0xa strb w9, [x8], #1 LBB0_18: strb wzr, [x8] ldr w9, [x19] sub w8, w8, w9 sxtw x8, w8 str x8, [x19, #8] LBB0_19: ldp x29, x30, [sp, #64] ; 16-byte Folded Reload ldp x20, x19, [sp, #48] ; 16-byte Folded Reload ldp x22, x21, [sp, #32] ; 16-byte Folded Reload ldp x24, x23, [sp, #16] ; 16-byte Folded Reload ldp x26, x25, [sp], #80 ; 16-byte Folded Reload ret .cfi_endproc ; -- End function .no_dead_strip _roff_setstrn .subsections_via_symbols
assembly_file_186037.c
assembly_dataset
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function set_terminal_mode _set_terminal_mode: ## @set_terminal_mode .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %rbx pushq %rax .cfi_offset %rbx, -24 movq %rdi, %rbx leaq L_.str(%rip), %rsi callq _strcmp testq %rax, %rax je LBB0_1 ## %bb.2: leaq L_.str.2(%rip), %rsi movq %rbx, %rdi callq _strcmp testq %rax, %rax je LBB0_3 ## %bb.5: addq $8, %rsp popq %rbx popq %rbp retq LBB0_1: leaq L_.str.1(%rip), %rsi jmp LBB0_4 LBB0_3: leaq L_.str.3(%rip), %rsi LBB0_4: movq _stderr@GOTPCREL(%rip), %rax movl (%rax), %edi addq $8, %rsp popq %rbx popq %rbp jmp _fprintf ## TAILCALL .cfi_endproc ## -- End function .section __TEXT,__cstring,cstring_literals L_.str: ## @.str .asciz "xterm" .comm _stderr,4,2 ## @stderr L_.str.1: ## @.str.1 .asciz "\033[=T" L_.str.2: ## @.str.2 .asciz "cons25" L_.str.3: ## @.str.3 .asciz "\033[=1T" .no_dead_strip _set_terminal_mode .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function set_terminal_mode _set_terminal_mode: ; @set_terminal_mode .cfi_startproc ; %bb.0: stp x20, x19, [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 w19, -24 .cfi_offset w20, -32 mov x19, x0 Lloh0: adrp x1, l_.str@PAGE Lloh1: add x1, x1, l_.str@PAGEOFF bl _strcmp cbz x0, LBB0_3 ; %bb.1: Lloh2: adrp x1, l_.str.2@PAGE Lloh3: add x1, x1, l_.str.2@PAGEOFF mov x0, x19 bl _strcmp cbz x0, LBB0_4 ; %bb.2: ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload ret LBB0_3: Lloh4: adrp x1, l_.str.1@PAGE Lloh5: add x1, x1, l_.str.1@PAGEOFF b LBB0_5 LBB0_4: Lloh6: adrp x1, l_.str.3@PAGE Lloh7: add x1, x1, l_.str.3@PAGEOFF LBB0_5: Lloh8: adrp x8, _stderr@GOTPAGE Lloh9: ldr x8, [x8, _stderr@GOTPAGEOFF] Lloh10: ldr w0, [x8] ldp x29, x30, [sp, #16] ; 16-byte Folded Reload ldp x20, x19, [sp], #32 ; 16-byte Folded Reload b _fprintf .loh AdrpAdd Lloh0, Lloh1 .loh AdrpAdd Lloh2, Lloh3 .loh AdrpAdd Lloh4, Lloh5 .loh AdrpAdd Lloh6, Lloh7 .loh AdrpLdrGotLdr Lloh8, Lloh9, Lloh10 .cfi_endproc ; -- End function .section __TEXT,__cstring,cstring_literals l_.str: ; @.str .asciz "xterm" .comm _stderr,4,2 ; @stderr l_.str.1: ; @.str.1 .asciz "\033[=T" l_.str.2: ; @.str.2 .asciz "cons25" l_.str.3: ; @.str.3 .asciz "\033[=1T" .no_dead_strip _set_terminal_mode .subsections_via_symbols
AnghaBench/freebsd/usr.sbin/vidcontrol/extr_vidcontrol.c_set_terminal_mode.c
anghabench
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 4, 0x90 ## -- Begin function visorchipset_initiate_device_pause_resume _visorchipset_initiate_device_pause_resume: ## @visorchipset_initiate_device_pause_resume .cfi_startproc ## %bb.0: pushq %rbp .cfi_def_cfa_offset 16 .cfi_offset %rbp, -16 movq %rsp, %rbp .cfi_def_cfa_register %rbp pushq %r15 pushq %r14 pushq %rbx pushq %rax .cfi_offset %rbx, -40 .cfi_offset %r14, -32 .cfi_offset %r15, -24 movq %rdi, %rbx movl 8(%rdi), %edi testl %edi, %edi je LBB0_1 ## %bb.2: cmpl $0, (%rbx) jne LBB0_4 ## %bb.3: cmpl $0, 4(%rbx) je LBB0_6 LBB0_4: movq _EBUSY@GOTPCREL(%rip), %rcx xorl %eax, %eax subl (%rcx), %eax jmp LBB0_5 LBB0_1: xorl %eax, %eax LBB0_5: addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp retq LBB0_6: movl %esi, %r14d callq _to_visor_driver movq %rax, %r15 testl %r14d, %r14d je LBB0_9 ## %bb.7: movl $1, (%rbx) movq (%r15), %rax movq _pause_state_change_complete@GOTPCREL(%rip), %rcx jmp LBB0_8 LBB0_9: movq %rbx, %rdi callq _publish_vbus_dev_info movl $1, 4(%rbx) movq 8(%r15), %rax movq _resume_state_change_complete@GOTPCREL(%rip), %rcx LBB0_8: movl (%rcx), %esi movq %rbx, %rdi addq $8, %rsp popq %rbx popq %r14 popq %r15 popq %rbp jmpq *%rax ## TAILCALL .cfi_endproc ## -- End function .comm _EBUSY,4,2 ## @EBUSY .comm _pause_state_change_complete,4,2 ## @pause_state_change_complete .comm _resume_state_change_complete,4,2 ## @resume_state_change_complete .no_dead_strip _visorchipset_initiate_device_pause_resume .subsections_via_symbols
.section __TEXT,__text,regular,pure_instructions .build_version macos, 13, 0 sdk_version 13, 3 .p2align 2 ; -- Begin function visorchipset_initiate_device_pause_resume _visorchipset_initiate_device_pause_resume: ; @visorchipset_initiate_device_pause_resume .cfi_startproc ; %bb.0: stp x22, x21, [sp, #-48]! ; 16-byte Folded Spill .cfi_def_cfa_offset 48 stp x20, x19, [sp, #16] ; 16-byte Folded Spill 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 .cfi_offset w19, -24 .cfi_offset w20, -32 .cfi_offset w21, -40 .cfi_offset w22, -48 mov x19, x0 ldr w0, [x0, #8] cbz w0, LBB0_4 ; %bb.1: ldr w8, [x19] cbnz w8, LBB0_3 ; %bb.2: ldr w8, [x19, #4] cbz w8, LBB0_5 LBB0_3: Lloh0: adrp x8, _EBUSY@GOTPAGE Lloh1: ldr x8, [x8, _EBUSY@GOTPAGEOFF] Lloh2: ldr w8, [x8] neg w0, w8 LBB0_4: ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload ret LBB0_5: mov x20, x1 bl _to_visor_driver mov x21, x0 cbz w20, LBB0_7 ; %bb.6: mov w8, #1 str w8, [x19] ldr x2, [x21] Lloh3: adrp x8, _pause_state_change_complete@GOTPAGE Lloh4: ldr x8, [x8, _pause_state_change_complete@GOTPAGEOFF] b LBB0_8 LBB0_7: mov x0, x19 bl _publish_vbus_dev_info mov w8, #1 str w8, [x19, #4] ldr x2, [x21, #8] Lloh5: adrp x8, _resume_state_change_complete@GOTPAGE Lloh6: ldr x8, [x8, _resume_state_change_complete@GOTPAGEOFF] LBB0_8: ldr w1, [x8] mov x0, x19 ldp x29, x30, [sp, #32] ; 16-byte Folded Reload ldp x20, x19, [sp, #16] ; 16-byte Folded Reload ldp x22, x21, [sp], #48 ; 16-byte Folded Reload br x2 .loh AdrpLdrGotLdr Lloh0, Lloh1, Lloh2 .loh AdrpLdrGot Lloh3, Lloh4 .loh AdrpLdrGot Lloh5, Lloh6 .cfi_endproc ; -- End function .comm _EBUSY,4,2 ; @EBUSY .comm _pause_state_change_complete,4,2 ; @pause_state_change_complete .comm _resume_state_change_complete,4,2 ; @resume_state_change_complete .no_dead_strip _visorchipset_initiate_device_pause_resume .subsections_via_symbols
AnghaBench/linux/drivers/visorbus/extr_visorbus_main.c_visorchipset_initiate_device_pause_resume.c
anghabench