	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function elf_print_elf
_elf_print_elf:                         ## @elf_print_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
	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
	leaq	12(%rbx), %rsi
	callq	_gelf_getehdr
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movl	4(%rbx), %edi
	callq	_gelf_getclass
	movl	%eax, 8(%rbx)
	movq	_ELFCLASSNONE@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_5
## %bb.4:
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_2
LBB0_1:
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str(%rip), %rdi
LBB0_2:
	movl	%eax, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_warnx                          ## TAILCALL
LBB0_5:
	movq	_ED_SHDR@GOTPCREL(%rip), %r13
	movq	_ED_DYN@GOTPCREL(%rip), %r12
	movl	(%r12), %ecx
	orl	(%r13), %ecx
	movq	_ED_REL@GOTPCREL(%rip), %r15
	orl	(%r15), %ecx
	movq	_ED_GOT@GOTPCREL(%rip), %r14
	orl	(%r14), %ecx
	movq	_ED_SYMTAB@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_ED_SYMVER@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	(%rbx), %eax
	movq	_ED_NOTE@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	movq	_ED_HASH@GOTPCREL(%rip), %rdx
	orl	(%rdx), %ecx
	testl	%eax, %ecx
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_load_sections
	movl	(%rbx), %eax
LBB0_7:
	movq	_ED_EHDR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	callq	_elf_print_ehdr
	movl	(%rbx), %eax
LBB0_9:
	movq	_ED_PHDR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_11
## %bb.10:
	movq	%rbx, %rdi
	callq	_elf_print_phdr
	movl	(%rbx), %eax
LBB0_11:
	movq	_ED_INTERP@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	callq	_elf_print_interp
	movl	(%rbx), %eax
LBB0_13:
	testl	%eax, (%r13)
	je	LBB0_15
## %bb.14:
	movq	%rbx, %rdi
	callq	_elf_print_shdr
	movl	(%rbx), %eax
LBB0_15:
	testl	%eax, (%r12)
	je	LBB0_17
## %bb.16:
	movq	%rbx, %rdi
	callq	_elf_print_dynamic
	movl	(%rbx), %eax
LBB0_17:
	testl	%eax, (%r15)
	je	LBB0_19
## %bb.18:
	movq	%rbx, %rdi
	callq	_elf_print_reloc
	movl	(%rbx), %eax
LBB0_19:
	testl	%eax, (%r14)
	je	LBB0_21
## %bb.20:
	movq	%rbx, %rdi
	callq	_elf_print_got
	movl	(%rbx), %eax
LBB0_21:
	movq	_ED_SYMTAB@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_23
## %bb.22:
	movq	%rbx, %rdi
	callq	_elf_print_symtabs
	movl	(%rbx), %eax
LBB0_23:
	movq	_ED_SYMVER@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
## %bb.24:
	movq	%rbx, %rdi
	callq	_elf_print_symver
	movl	(%rbx), %eax
LBB0_25:
	movq	_ED_NOTE@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.26:
	movq	%rbx, %rdi
	callq	_elf_print_note
	movl	(%rbx), %eax
LBB0_27:
	movq	_ED_HASH@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.28:
	movq	%rbx, %rdi
	callq	_elf_print_hash
	movl	(%rbx), %eax
LBB0_29:
	movq	_ED_CHECKSUM@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_31
## %bb.30:
	movq	%rbx, %rdi
	callq	_elf_print_checksum
LBB0_31:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_unload_sections                ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gelf_getehdr failed: %s"

	.comm	_ELFCLASSNONE,4,2               ## @ELFCLASSNONE
L_.str.1:                               ## @.str.1
	.asciz	"gelf_getclass failed: %s"

	.comm	_ED_SHDR,4,2                    ## @ED_SHDR
	.comm	_ED_DYN,4,2                     ## @ED_DYN
	.comm	_ED_REL,4,2                     ## @ED_REL
	.comm	_ED_GOT,4,2                     ## @ED_GOT
	.comm	_ED_SYMTAB,4,2                  ## @ED_SYMTAB
	.comm	_ED_SYMVER,4,2                  ## @ED_SYMVER
	.comm	_ED_NOTE,4,2                    ## @ED_NOTE
	.comm	_ED_HASH,4,2                    ## @ED_HASH
	.comm	_ED_EHDR,4,2                    ## @ED_EHDR
	.comm	_ED_PHDR,4,2                    ## @ED_PHDR
	.comm	_ED_INTERP,4,2                  ## @ED_INTERP
	.comm	_ED_CHECKSUM,4,2                ## @ED_CHECKSUM
	.no_dead_strip	_elf_print_elf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function elf_print_elf
_elf_print_elf:                         ; @elf_print_elf
	.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
	mov	x19, x0
	ldr	w0, [x0, #4]
	add	x1, x19, #12
	bl	_gelf_getehdr
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #4]
	bl	_gelf_getclass
	str	w0, [x19, #8]
Lloh0:
	adrp	x8, _ELFCLASSNONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ELFCLASSNONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.2:
	mov	w0, #-1
	bl	_elf_errmsg
	mov	x1, x0
Lloh3:
	adrp	x0, l_.str.1@PAGE
Lloh4:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_4
LBB0_3:
	mov	w0, #-1
	bl	_elf_errmsg
	mov	x1, x0
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
LBB0_4:
	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
	b	_warnx
LBB0_5:
	ldr	w8, [x19]
Lloh7:
	adrp	x27, _ED_SHDR@GOTPAGE
Lloh8:
	ldr	x27, [x27, _ED_SHDR@GOTPAGEOFF]
	ldr	w9, [x27]
Lloh9:
	adrp	x26, _ED_DYN@GOTPAGE
Lloh10:
	ldr	x26, [x26, _ED_DYN@GOTPAGEOFF]
	ldr	w10, [x26]
Lloh11:
	adrp	x25, _ED_REL@GOTPAGE
Lloh12:
	ldr	x25, [x25, _ED_REL@GOTPAGEOFF]
	orr	w9, w10, w9
	ldr	w10, [x25]
	orr	w9, w9, w10
Lloh13:
	adrp	x24, _ED_GOT@GOTPAGE
Lloh14:
	ldr	x24, [x24, _ED_GOT@GOTPAGEOFF]
	ldr	w10, [x24]
	orr	w9, w9, w10
Lloh15:
	adrp	x23, _ED_SYMTAB@GOTPAGE
Lloh16:
	ldr	x23, [x23, _ED_SYMTAB@GOTPAGEOFF]
	ldr	w10, [x23]
Lloh17:
	adrp	x22, _ED_SYMVER@GOTPAGE
Lloh18:
	ldr	x22, [x22, _ED_SYMVER@GOTPAGEOFF]
	orr	w9, w9, w10
	ldr	w10, [x22]
	orr	w9, w9, w10
Lloh19:
	adrp	x21, _ED_NOTE@GOTPAGE
Lloh20:
	ldr	x21, [x21, _ED_NOTE@GOTPAGEOFF]
	ldr	w10, [x21]
	orr	w9, w9, w10
Lloh21:
	adrp	x20, _ED_HASH@GOTPAGE
Lloh22:
	ldr	x20, [x20, _ED_HASH@GOTPAGEOFF]
	ldr	w10, [x20]
	orr	w9, w9, w10
	tst	w9, w8
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_load_sections
	ldr	w8, [x19]
LBB0_7:
Lloh23:
	adrp	x9, _ED_EHDR@GOTPAGE
Lloh24:
	ldr	x9, [x9, _ED_EHDR@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.8:
	mov	x0, x19
	bl	_elf_print_ehdr
	ldr	w8, [x19]
LBB0_9:
Lloh26:
	adrp	x9, _ED_PHDR@GOTPAGE
Lloh27:
	ldr	x9, [x9, _ED_PHDR@GOTPAGEOFF]
Lloh28:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x19
	bl	_elf_print_phdr
	ldr	w8, [x19]
LBB0_11:
Lloh29:
	adrp	x9, _ED_INTERP@GOTPAGE
Lloh30:
	ldr	x9, [x9, _ED_INTERP@GOTPAGEOFF]
Lloh31:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_13
; %bb.12:
	mov	x0, x19
	bl	_elf_print_interp
	ldr	w8, [x19]
LBB0_13:
	ldr	w9, [x27]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.14:
	mov	x0, x19
	bl	_elf_print_shdr
	ldr	w8, [x19]
LBB0_15:
	ldr	w9, [x26]
	tst	w9, w8
	b.eq	LBB0_17
; %bb.16:
	mov	x0, x19
	bl	_elf_print_dynamic
	ldr	w8, [x19]
LBB0_17:
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_19
; %bb.18:
	mov	x0, x19
	bl	_elf_print_reloc
	ldr	w8, [x19]
LBB0_19:
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_21
; %bb.20:
	mov	x0, x19
	bl	_elf_print_got
	ldr	w8, [x19]
LBB0_21:
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.22:
	mov	x0, x19
	bl	_elf_print_symtabs
	ldr	w8, [x19]
LBB0_23:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.24:
	mov	x0, x19
	bl	_elf_print_symver
	ldr	w8, [x19]
LBB0_25:
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.26:
	mov	x0, x19
	bl	_elf_print_note
	ldr	w8, [x19]
LBB0_27:
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.28:
	mov	x0, x19
	bl	_elf_print_hash
	ldr	w8, [x19]
LBB0_29:
Lloh32:
	adrp	x9, _ED_CHECKSUM@GOTPAGE
Lloh33:
	ldr	x9, [x9, _ED_CHECKSUM@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_31
; %bb.30:
	mov	x0, x19
	bl	_elf_print_checksum
LBB0_31:
	mov	x0, x19
	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
	b	_unload_sections
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gelf_getehdr failed: %s"

	.comm	_ELFCLASSNONE,4,2               ; @ELFCLASSNONE
l_.str.1:                               ; @.str.1
	.asciz	"gelf_getclass failed: %s"

	.comm	_ED_SHDR,4,2                    ; @ED_SHDR
	.comm	_ED_DYN,4,2                     ; @ED_DYN
	.comm	_ED_REL,4,2                     ; @ED_REL
	.comm	_ED_GOT,4,2                     ; @ED_GOT
	.comm	_ED_SYMTAB,4,2                  ; @ED_SYMTAB
	.comm	_ED_SYMVER,4,2                  ; @ED_SYMVER
	.comm	_ED_NOTE,4,2                    ; @ED_NOTE
	.comm	_ED_HASH,4,2                    ; @ED_HASH
	.comm	_ED_EHDR,4,2                    ; @ED_EHDR
	.comm	_ED_PHDR,4,2                    ; @ED_PHDR
	.comm	_ED_INTERP,4,2                  ; @ED_INTERP
	.comm	_ED_CHECKSUM,4,2                ; @ED_CHECKSUM
	.no_dead_strip	_elf_print_elf
.subsections_via_symbols
