	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_elf
_dump_elf:                              ## @dump_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movl	24(%rdi), %edi
	leaq	16(%rbx), %rsi
	callq	_gelf_getehdr
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movl	24(%rbx), %edi
	callq	_gelf_getclass
	movl	%eax, 28(%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	%r14
	popq	%r15
	popq	%rbp
	jmp	_warnx                          ## TAILCALL
LBB0_5:
	movq	16(%rbx), %rax
	movq	_EI_DATA@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	(%rax,%rcx,8), %rax
	movq	_ELFDATA2MSB@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	__decode_lsb@GOTPCREL(%rip), %rax
	cmoveq	__decode_msb@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	__read_lsb@GOTPCREL(%rip), %rcx
	cmoveq	__read_msb@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, 8(%rbx)
	movl	%eax, 4(%rbx)
	movl	(%rbx), %eax
	movq	_RE_H@GOTPCREL(%rip), %r14
	movl	(%r14), %ecx
	notl	%ecx
	testl	%ecx, %eax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	callq	_load_sections
	movl	(%rbx), %eax
LBB0_7:
	movq	_RE_VV@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	jne	LBB0_9
## %bb.8:
	movq	_RE_S@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
LBB0_9:
	movq	%rbx, %rdi
	callq	_search_ver
	movl	(%rbx), %eax
LBB0_10:
	testl	%eax, (%r14)
	je	LBB0_12
## %bb.11:
	movq	%rbx, %rdi
	callq	_dump_ehdr
	movl	(%rbx), %eax
LBB0_12:
	movq	_RE_L@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_14
## %bb.13:
	movq	%rbx, %rdi
	callq	_dump_phdr
	movl	(%rbx), %eax
LBB0_14:
	movq	_RE_SS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_16
## %bb.15:
	movq	%rbx, %rdi
	callq	_dump_shdr
	movl	(%rbx), %eax
LBB0_16:
	movq	_RE_G@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_18
## %bb.17:
	movq	%rbx, %rdi
	callq	_dump_section_groups
	movl	(%rbx), %eax
LBB0_18:
	movq	_RE_D@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_20
## %bb.19:
	movq	%rbx, %rdi
	callq	_dump_dynamic
	movl	(%rbx), %eax
LBB0_20:
	movq	_RE_R@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_22
## %bb.21:
	movq	%rbx, %rdi
	callq	_dump_reloc
	movl	(%rbx), %eax
LBB0_22:
	movq	_RE_S@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_24
## %bb.23:
	movq	%rbx, %rdi
	callq	_dump_symtabs
	movl	(%rbx), %eax
LBB0_24:
	movq	_RE_N@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_26
## %bb.25:
	movq	%rbx, %rdi
	callq	_dump_notes
	movl	(%rbx), %eax
LBB0_26:
	movq	_RE_II@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_28
## %bb.27:
	movq	%rbx, %rdi
	callq	_dump_hash
	movl	(%rbx), %eax
LBB0_28:
	movq	_RE_X@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_30
## %bb.29:
	movq	%rbx, %rdi
	callq	_hex_dump
	movl	(%rbx), %eax
LBB0_30:
	movq	_RE_P@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_32
## %bb.31:
	movq	%rbx, %rdi
	callq	_str_dump
	movl	(%rbx), %eax
LBB0_32:
	testl	%eax, (%r15)
	je	LBB0_34
## %bb.33:
	movq	%rbx, %rdi
	callq	_dump_ver
	movl	(%rbx), %eax
LBB0_34:
	movq	_RE_AA@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_36
## %bb.35:
	movq	%rbx, %rdi
	callq	_dump_arch_specific_info
	movl	(%rbx), %eax
LBB0_36:
	movq	_RE_W@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_38
## %bb.37:
	movq	%rbx, %rdi
	callq	_dump_dwarf
	movl	(%rbx), %eax
LBB0_38:
	movl	(%r14), %ecx
	notl	%ecx
	testl	%ecx, %eax
	je	LBB0_39
## %bb.40:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_unload_sections                ## TAILCALL
LBB0_39:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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	_EI_DATA,8,3                    ## @EI_DATA
	.comm	_ELFDATA2MSB,8,3                ## @ELFDATA2MSB
	.comm	__read_msb,4,2                  ## @_read_msb
	.comm	__decode_msb,4,2                ## @_decode_msb
	.comm	__read_lsb,4,2                  ## @_read_lsb
	.comm	__decode_lsb,4,2                ## @_decode_lsb
	.comm	_RE_H,4,2                       ## @RE_H
	.comm	_RE_VV,4,2                      ## @RE_VV
	.comm	_RE_S,4,2                       ## @RE_S
	.comm	_RE_L,4,2                       ## @RE_L
	.comm	_RE_SS,4,2                      ## @RE_SS
	.comm	_RE_G,4,2                       ## @RE_G
	.comm	_RE_D,4,2                       ## @RE_D
	.comm	_RE_R,4,2                       ## @RE_R
	.comm	_RE_N,4,2                       ## @RE_N
	.comm	_RE_II,4,2                      ## @RE_II
	.comm	_RE_X,4,2                       ## @RE_X
	.comm	_RE_P,4,2                       ## @RE_P
	.comm	_RE_AA,4,2                      ## @RE_AA
	.comm	_RE_W,4,2                       ## @RE_W
	.no_dead_strip	_dump_elf
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_elf
_dump_elf:                              ; @dump_elf
	.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, #24]
	add	x1, x19, #16
	bl	_gelf_getehdr
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x19, #24]
	bl	_gelf_getclass
	str	w0, [x19, #28]
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, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_warnx
LBB0_5:
	ldr	x8, [x19, #16]
Lloh7:
	adrp	x9, _EI_DATA@GOTPAGE
Lloh8:
	ldr	x9, [x9, _EI_DATA@GOTPAGEOFF]
Lloh9:
	ldr	x9, [x9]
	ldr	x8, [x8, x9, lsl #3]
Lloh10:
	adrp	x9, _ELFDATA2MSB@GOTPAGE
Lloh11:
	ldr	x9, [x9, _ELFDATA2MSB@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x10, __decode_msb@GOTPAGE
Lloh14:
	ldr	x10, [x10, __decode_msb@GOTPAGEOFF]
Lloh15:
	adrp	x11, __decode_lsb@GOTPAGE
Lloh16:
	ldr	x11, [x11, __decode_lsb@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x10, x11, eq
Lloh17:
	adrp	x9, __read_msb@GOTPAGE
Lloh18:
	ldr	x9, [x9, __read_msb@GOTPAGEOFF]
	ldr	w8, [x8]
Lloh19:
	adrp	x10, __read_lsb@GOTPAGE
Lloh20:
	ldr	x10, [x10, __read_lsb@GOTPAGEOFF]
	csel	x9, x9, x10, eq
	ldr	w9, [x9]
	stp	w8, w9, [x19, #4]
	ldr	w8, [x19]
Lloh21:
	adrp	x20, _RE_H@GOTPAGE
Lloh22:
	ldr	x20, [x20, _RE_H@GOTPAGEOFF]
	ldr	w9, [x20]
	bics	wzr, w8, w9
	b.eq	LBB0_7
; %bb.6:
	mov	x0, x19
	bl	_load_sections
	ldr	w8, [x19]
LBB0_7:
Lloh23:
	adrp	x21, _RE_VV@GOTPAGE
Lloh24:
	ldr	x21, [x21, _RE_VV@GOTPAGEOFF]
	ldr	w9, [x21]
Lloh25:
	adrp	x22, _RE_S@GOTPAGE
Lloh26:
	ldr	x22, [x22, _RE_S@GOTPAGEOFF]
	tst	w9, w8
	b.ne	LBB0_9
; %bb.8:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_search_ver
	ldr	w8, [x19]
LBB0_10:
	ldr	w9, [x20]
	tst	w9, w8
	b.eq	LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_dump_ehdr
	ldr	w8, [x19]
LBB0_12:
Lloh27:
	adrp	x9, _RE_L@GOTPAGE
Lloh28:
	ldr	x9, [x9, _RE_L@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_14
; %bb.13:
	mov	x0, x19
	bl	_dump_phdr
	ldr	w8, [x19]
LBB0_14:
Lloh30:
	adrp	x9, _RE_SS@GOTPAGE
Lloh31:
	ldr	x9, [x9, _RE_SS@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_16
; %bb.15:
	mov	x0, x19
	bl	_dump_shdr
	ldr	w8, [x19]
LBB0_16:
Lloh33:
	adrp	x9, _RE_G@GOTPAGE
Lloh34:
	ldr	x9, [x9, _RE_G@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
	mov	x0, x19
	bl	_dump_section_groups
	ldr	w8, [x19]
LBB0_18:
Lloh36:
	adrp	x9, _RE_D@GOTPAGE
Lloh37:
	ldr	x9, [x9, _RE_D@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_20
; %bb.19:
	mov	x0, x19
	bl	_dump_dynamic
	ldr	w8, [x19]
LBB0_20:
Lloh39:
	adrp	x9, _RE_R@GOTPAGE
Lloh40:
	ldr	x9, [x9, _RE_R@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_22
; %bb.21:
	mov	x0, x19
	bl	_dump_reloc
	ldr	w8, [x19]
LBB0_22:
	ldr	w9, [x22]
	tst	w9, w8
	b.eq	LBB0_24
; %bb.23:
	mov	x0, x19
	bl	_dump_symtabs
	ldr	w8, [x19]
LBB0_24:
Lloh42:
	adrp	x9, _RE_N@GOTPAGE
Lloh43:
	ldr	x9, [x9, _RE_N@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_26
; %bb.25:
	mov	x0, x19
	bl	_dump_notes
	ldr	w8, [x19]
LBB0_26:
Lloh45:
	adrp	x9, _RE_II@GOTPAGE
Lloh46:
	ldr	x9, [x9, _RE_II@GOTPAGEOFF]
Lloh47:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_28
; %bb.27:
	mov	x0, x19
	bl	_dump_hash
	ldr	w8, [x19]
LBB0_28:
Lloh48:
	adrp	x9, _RE_X@GOTPAGE
Lloh49:
	ldr	x9, [x9, _RE_X@GOTPAGEOFF]
Lloh50:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_30
; %bb.29:
	mov	x0, x19
	bl	_hex_dump
	ldr	w8, [x19]
LBB0_30:
Lloh51:
	adrp	x9, _RE_P@GOTPAGE
Lloh52:
	ldr	x9, [x9, _RE_P@GOTPAGEOFF]
Lloh53:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_32
; %bb.31:
	mov	x0, x19
	bl	_str_dump
	ldr	w8, [x19]
LBB0_32:
	ldr	w9, [x21]
	tst	w9, w8
	b.eq	LBB0_34
; %bb.33:
	mov	x0, x19
	bl	_dump_ver
	ldr	w8, [x19]
LBB0_34:
Lloh54:
	adrp	x9, _RE_AA@GOTPAGE
Lloh55:
	ldr	x9, [x9, _RE_AA@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_36
; %bb.35:
	mov	x0, x19
	bl	_dump_arch_specific_info
	ldr	w8, [x19]
LBB0_36:
Lloh57:
	adrp	x9, _RE_W@GOTPAGE
Lloh58:
	ldr	x9, [x9, _RE_W@GOTPAGEOFF]
Lloh59:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_38
; %bb.37:
	mov	x0, x19
	bl	_dump_dwarf
	ldr	w8, [x19]
LBB0_38:
	ldr	w9, [x20]
	bics	wzr, w8, w9
	b.eq	LBB0_40
; %bb.39:
	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	_unload_sections
LBB0_40:
	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
	.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 AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.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	_EI_DATA,8,3                    ; @EI_DATA
	.comm	_ELFDATA2MSB,8,3                ; @ELFDATA2MSB
	.comm	__read_msb,4,2                  ; @_read_msb
	.comm	__decode_msb,4,2                ; @_decode_msb
	.comm	__read_lsb,4,2                  ; @_read_lsb
	.comm	__decode_lsb,4,2                ; @_decode_lsb
	.comm	_RE_H,4,2                       ; @RE_H
	.comm	_RE_VV,4,2                      ; @RE_VV
	.comm	_RE_S,4,2                       ; @RE_S
	.comm	_RE_L,4,2                       ; @RE_L
	.comm	_RE_SS,4,2                      ; @RE_SS
	.comm	_RE_G,4,2                       ; @RE_G
	.comm	_RE_D,4,2                       ; @RE_D
	.comm	_RE_R,4,2                       ; @RE_R
	.comm	_RE_N,4,2                       ; @RE_N
	.comm	_RE_II,4,2                      ; @RE_II
	.comm	_RE_X,4,2                       ; @RE_X
	.comm	_RE_P,4,2                       ; @RE_P
	.comm	_RE_AA,4,2                      ; @RE_AA
	.comm	_RE_W,4,2                       ; @RE_W
	.no_dead_strip	_dump_elf
.subsections_via_symbols
