	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_elf                     ## -- Begin function handle_elf
	.p2align	4, 0x90
_handle_elf:                            ## @handle_elf
	.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	%rsi, %r12
	movq	%rdi, %r14
	movq	%rsi, %rdi
	callq	_fileno
	movl	%eax, %ebx
	leaq	-48(%rbp), %rsi
	movl	%eax, %edi
	callq	_fstat
	movl	$1, %r15d
	testq	%rax, %rax
	js	LBB0_17
## %bb.1:
	movq	_entire_file@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.2:
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%ebx, %edi
	xorl	%esi, %esi
	callq	_lseek
	movq	_ELF_C_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	xorl	%edx, %edx
	callq	_elf_begin
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_elf_kind
	movq	_ELF_K_ELF@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_3
## %bb.5:
	leaq	-96(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_gelf_getehdr
	testq	%rax, %rax
	je	LBB0_6
## %bb.7:
	cmpq	$0, -96(%rbp)
	jne	LBB0_10
## %bb.8:
	movq	-88(%rbp), %rax
	movq	_ET_CORE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	callq	_elf_end
	movl	-48(%rbp), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_handle_binary
	movl	%eax, %r15d
	jmp	LBB0_17
LBB0_3:
	movq	%rbx, %rdi
	callq	_elf_end
LBB0_4:
	movl	-48(%rbp), %edx
	movq	%r14, %rdi
	movq	%r12, %rsi
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_handle_binary                  ## TAILCALL
LBB0_10:
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	xorl	%r14d, %r14d
	leaq	-80(%rbp), %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_elf_nextscn
	testq	%rax, %rax
	je	LBB0_16
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_gelf_getshdr
	testq	%rax, %rax
	je	LBB0_11
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-80(%rbp), %rax
	movq	_SHT_NOBITS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_11
## %bb.14:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_SHF_ALLOC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -72(%rbp)
	je	LBB0_11
## %bb.15:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	-68(%rbp), %ecx
	movl	-64(%rbp), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rsi
	callq	_find_strings
	movl	%eax, %r15d
	jmp	LBB0_11
LBB0_16:
	movq	%rbx, %rdi
	callq	_elf_end
	jmp	LBB0_17
LBB0_6:
	movq	%rbx, %rdi
	callq	_elf_end
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rsi
	callq	_warnx
LBB0_17:
	movl	%r15d, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_entire_file,8,3                ## @entire_file
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.comm	_ELF_C_READ,4,2                 ## @ELF_C_READ
	.comm	_ELF_K_ELF,8,3                  ## @ELF_K_ELF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s: ELF file could not be processed"

	.comm	_ET_CORE,8,3                    ## @ET_CORE
	.comm	_SHT_NOBITS,8,3                 ## @SHT_NOBITS
	.comm	_SHF_ALLOC,4,2                  ## @SHF_ALLOC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_handle_elf                     ; -- Begin function handle_elf
	.p2align	2
_handle_elf:                            ; @handle_elf
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	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
	mov	x20, x1
	mov	x19, x0
	mov	x0, x1
	bl	_fileno
	mov	x21, x0
	add	x1, sp, #40
	bl	_fstat
	tbnz	x0, #63, LBB0_17
; %bb.1:
Lloh0:
	adrp	x8, _entire_file@GOTPAGE
Lloh1:
	ldr	x8, [x8, _entire_file@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbnz	x8, LBB0_8
; %bb.2:
Lloh3:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x21
	mov	w1, #0
	bl	_lseek
Lloh6:
	adrp	x8, _ELF_C_READ@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ELF_C_READ@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	bl	_elf_begin
	mov	x21, x0
	bl	_elf_kind
Lloh9:
	adrp	x8, _ELF_K_ELF@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ELF_K_ELF@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
	add	x1, sp, #24
	mov	x0, x21
	bl	_gelf_getehdr
	cbz	x0, LBB0_16
; %bb.4:
	ldr	x8, [sp, #24]
	cbnz	x8, LBB0_9
; %bb.5:
	ldr	x8, [sp, #32]
Lloh12:
	adrp	x9, _ET_CORE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _ET_CORE@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_9
; %bb.6:
	mov	x0, x21
	bl	_elf_end
	ldr	w2, [sp, #40]
	mov	x0, x19
	mov	x1, x20
	bl	_handle_binary
	mov	x22, x0
	b	LBB0_18
LBB0_7:
	mov	x0, x21
	bl	_elf_end
LBB0_8:
	ldr	w2, [sp, #40]
	mov	x0, x19
	mov	x1, x20
	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
	add	sp, sp, #128
	b	_handle_binary
LBB0_9:
	mov	x23, #0
	mov	w22, #0
Lloh15:
	adrp	x24, _SHT_NOBITS@GOTPAGE
Lloh16:
	ldr	x24, [x24, _SHT_NOBITS@GOTPAGEOFF]
Lloh17:
	adrp	x25, _SHF_ALLOC@GOTPAGE
Lloh18:
	ldr	x25, [x25, _SHF_ALLOC@GOTPAGEOFF]
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_elf_nextscn
	cbz	x0, LBB0_15
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x23, x0
	mov	x1, sp
	bl	_gelf_getshdr
	cbz	x0, LBB0_10
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [sp]
	ldr	x9, [x24]
	cmp	x8, x9
	b.eq	LBB0_10
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [sp, #8]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	ldp	w3, w2, [sp, #12]
	mov	x0, x19
	mov	x1, x20
	bl	_find_strings
	mov	x22, x0
	b	LBB0_10
LBB0_15:
	mov	x0, x21
	bl	_elf_end
	b	LBB0_18
LBB0_16:
	mov	x0, x21
	bl	_elf_end
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x19
	bl	_warnx
LBB0_17:
	mov	w22, #1
LBB0_18:
	mov	x0, x22
	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
	add	sp, sp, #128
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_entire_file,8,3                ; @entire_file
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.comm	_ELF_C_READ,4,2                 ; @ELF_C_READ
	.comm	_ELF_K_ELF,8,3                  ; @ELF_K_ELF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s: ELF file could not be processed"

	.comm	_ET_CORE,8,3                    ; @ET_CORE
	.comm	_SHT_NOBITS,8,3                 ; @SHT_NOBITS
	.comm	_SHF_ALLOC,4,2                  ; @SHF_ALLOC
.subsections_via_symbols
