	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dump_object
_dump_object:                           ## @dump_object
	.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
	movq	_DISPLAY_FILENAME@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	8(%rbx), %rsi
	leaq	L_.str(%rip), %rdi
	callq	_printf
LBB0_2:
	movq	_ELF_C_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	xorl	%edx, %edx
	callq	_elf_begin
	movq	%rax, 16(%rbx)
	testq	%rax, %rax
	je	LBB0_12
## %bb.3:
	movq	%rax, %rdi
	callq	_elf_kind
	cmpl	$130, %eax
	je	LBB0_8
## %bb.4:
	cmpl	$129, %eax
	je	LBB0_10
## %bb.5:
	cmpl	$128, %eax
	jne	LBB0_9
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_7
LBB0_12:
	movl	$-1, %edi
	callq	_elf_errmsg
	leaq	L_.str.1(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_warnx                          ## TAILCALL
LBB0_8:
	movq	%rbx, %rdi
	movl	%r14d, %esi
	callq	_dump_ar
	jmp	LBB0_11
LBB0_10:
	movq	%rbx, %rdi
	callq	_dump_elf
LBB0_11:
	movq	16(%rbx), %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_elf_end                        ## TAILCALL
LBB0_9:
	leaq	L_.str.3(%rip), %rdi
LBB0_7:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_warnx                          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DISPLAY_FILENAME,4,2           ## @DISPLAY_FILENAME
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\nFile: %s\n"

	.comm	_ELF_C_READ,4,2                 ## @ELF_C_READ
L_.str.1:                               ## @.str.1
	.asciz	"elf_begin() failed: %s"

L_.str.2:                               ## @.str.2
	.asciz	"Not an ELF file."

L_.str.3:                               ## @.str.3
	.asciz	"Internal: libelf returned unknown elf kind."

	.no_dead_strip	_dump_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dump_object
_dump_object:                           ; @dump_object
	.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	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _DISPLAY_FILENAME@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DISPLAY_FILENAME@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x1, [x19, #8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	bl	_printf
LBB0_2:
Lloh5:
	adrp	x8, _ELF_C_READ@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ELF_C_READ@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, #0
	bl	_elf_begin
	str	x0, [x19, #16]
	cbz	x0, LBB0_7
; %bb.3:
	bl	_elf_kind
	cmp	w0, #130
	b.eq	LBB0_8
; %bb.4:
	cmp	w0, #129
	b.eq	LBB0_9
; %bb.5:
	cmp	w0, #128
	b.ne	LBB0_11
; %bb.6:
Lloh8:
	adrp	x0, l_.str.2@PAGE
Lloh9:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_12
LBB0_7:
	mov	w0, #-1
	bl	_elf_errmsg
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp]
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_warnx
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
LBB0_8:
	mov	x0, x19
	mov	x1, x20
	bl	_dump_ar
	b	LBB0_10
LBB0_9:
	mov	x0, x19
	bl	_dump_elf
LBB0_10:
	ldr	x0, [x19, #16]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_elf_end
LBB0_11:
Lloh12:
	adrp	x0, l_.str.3@PAGE
Lloh13:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_12:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	b	_warnx
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_DISPLAY_FILENAME,4,2           ; @DISPLAY_FILENAME
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\nFile: %s\n"

	.comm	_ELF_C_READ,4,2                 ; @ELF_C_READ
l_.str.1:                               ; @.str.1
	.asciz	"elf_begin() failed: %s"

l_.str.2:                               ; @.str.2
	.asciz	"Not an ELF file."

l_.str.3:                               ; @.str.3
	.asciz	"Internal: libelf returned unknown elf kind."

	.no_dead_strip	_dump_object
.subsections_via_symbols
