	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function read_object
_read_object:                           ## @read_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	%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, %r12
	xorl	%edi, %edi
	testq	%r12, %r12
	setne	%dil
	callq	_assert
	movq	_nm_opts@GOTPCREL(%rip), %rax
	movl	20(%rax), %edi
	movq	%r12, %rsi
	callq	_fileargs_open
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movl	%eax, %r15d
	movq	_ELF_C_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movl	%r15d, %edi
	movl	%r14d, %esi
	xorl	%edx, %edx
	callq	_elf_begin
	testq	%rax, %rax
	je	LBB0_3
## %bb.7:
	movq	%rax, %r13
	movl	$1, %ebx
	movl	$1, %edi
	callq	_assert
	movq	%r13, %rdi
	callq	_elf_kind
	movq	_ELF_K_NONE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.5(%rip), %rdi
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_warnx
	movq	%r13, %rdi
	callq	_elf_end
	movl	%r15d, %edi
	jmp	LBB0_20
LBB0_1:
	leaq	L_.str.1(%rip), %rdi
	movq	%r12, %rsi
	callq	_warn
	movl	$1, %ebx
	jmp	LBB0_21
LBB0_3:
	xorl	%eax, %eax
	callq	_elf_errno
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	%eax, %edi
	callq	_elf_errmsg
	leaq	L_.str.2(%rip), %rdi
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_warnx
	jmp	LBB0_6
LBB0_9:
	movq	_ELF_K_AR@GOTPCREL(%rip), %rcx
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	cmpq	(%rcx), %rax
	movl	%r14d, %ebx
	jne	LBB0_15
## %bb.10:
	movq	_nm_opts@GOTPCREL(%rip), %r14
	movq	(%r14), %rax
	movq	_PRINT_NAME_MULTI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.11:
	movq	8(%r14), %rax
	movq	_sym_elem_print_all@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_13
## %bb.12:
	leaq	L_.str.6(%rip), %rdi
	movq	%r12, %rsi
	callq	_printf
LBB0_13:
	cmpl	$1, 16(%r14)
	jne	LBB0_15
## %bb.14:
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_print_ar_index
LBB0_15:
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdx
	movl	%r15d, %r13d
	movl	%r15d, %edi
	movl	%ebx, %esi
	movq	%rdx, %r12
	callq	_elf_begin
	testq	%rax, %rax
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_16
## %bb.17:
	movq	%rax, %r14
	xorl	%ebx, %ebx
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_read_elf
	orl	%eax, %ebx
	movq	%r14, %rdi
	callq	_elf_next
	movl	%eax, %r15d
	movq	%r14, %rdi
	callq	_elf_end
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	%r15d, %esi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_elf_begin
	movq	%rax, %r14
	testq	%rax, %rax
	jne	LBB0_18
	jmp	LBB0_19
LBB0_5:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_warnx
LBB0_6:
	movl	%r15d, %edi
	callq	_close
	movl	$1, %ebx
	jmp	LBB0_21
LBB0_16:
	xorl	%ebx, %ebx
LBB0_19:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_elf_end
	movl	-44(%rbp), %edi                 ## 4-byte Reload
LBB0_20:
	callq	_close
LBB0_21:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_nm_opts,24,3                   ## @nm_opts
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"'%s'"

	.comm	_ELF_C_READ,4,2                 ## @ELF_C_READ
L_.str.2:                               ## @.str.2
	.asciz	"elf_begin error: %s"

L_.str.3:                               ## @.str.3
	.asciz	"elf_begin error"

	.comm	_ELF_K_NONE,8,3                 ## @ELF_K_NONE
L_.str.5:                               ## @.str.5
	.asciz	"%s: File format not recognized"

	.comm	_ELF_K_AR,8,3                   ## @ELF_K_AR
	.comm	_PRINT_NAME_MULTI,8,3           ## @PRINT_NAME_MULTI
	.comm	_sym_elem_print_all,8,3         ## @sym_elem_print_all
L_.str.6:                               ## @.str.6
	.asciz	"\n%s:\n"

	.no_dead_strip	_read_object
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function read_object
_read_object:                           ; @read_object
	.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, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x24, _nm_opts@GOTPAGE
Lloh1:
	ldr	x24, [x24, _nm_opts@GOTPAGEOFF]
	ldr	w0, [x24, #20]
	mov	x1, x20
	bl	_fileargs_open
	cmn	w0, #1
	b.eq	LBB0_4
; %bb.1:
	mov	x19, x0
Lloh2:
	adrp	x8, _ELF_C_READ@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ELF_C_READ@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
	mov	x1, x23
	mov	x2, #0
	bl	_elf_begin
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	mov	w0, #1
	bl	_assert
	mov	x0, x21
	bl	_elf_kind
Lloh5:
	adrp	x8, _ELF_K_NONE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ELF_K_NONE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.3:
	str	x20, [sp]
Lloh8:
	adrp	x0, l_.str.5@PAGE
Lloh9:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_warnx
	mov	x0, x21
	bl	_elf_end
	b	LBB0_18
LBB0_4:
Lloh10:
	adrp	x0, l_.str.1@PAGE
Lloh11:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x20
	bl	_warn
	mov	w23, #1
	b	LBB0_21
LBB0_5:
	bl	_elf_errno
	cbz	w0, LBB0_16
; %bb.6:
	bl	_elf_errmsg
	str	x0, [sp]
Lloh12:
	adrp	x0, l_.str.2@PAGE
Lloh13:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_17
LBB0_7:
	mov	x22, x0
Lloh14:
	adrp	x8, _ELF_K_AR@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ELF_K_AR@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_13
; %bb.8:
	ldr	x8, [x24]
Lloh17:
	adrp	x9, _PRINT_NAME_MULTI@GOTPAGE
Lloh18:
	ldr	x9, [x9, _PRINT_NAME_MULTI@GOTPAGEOFF]
Lloh19:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.9:
	ldr	x8, [x24, #8]
Lloh20:
	adrp	x9, _sym_elem_print_all@GOTPAGE
Lloh21:
	ldr	x9, [x9, _sym_elem_print_all@GOTPAGEOFF]
Lloh22:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_11
; %bb.10:
Lloh23:
	adrp	x0, l_.str.6@PAGE
Lloh24:
	add	x0, x0, l_.str.6@PAGEOFF
	mov	x1, x20
	bl	_printf
LBB0_11:
	ldr	w8, [x24, #16]
	cmp	w8, #1
	b.ne	LBB0_13
; %bb.12:
	mov	x0, x19
	mov	x1, x21
	bl	_print_ar_index
LBB0_13:
	mov	x0, x19
	mov	x1, x23
	mov	x2, x21
	bl	_elf_begin
	cbz	x0, LBB0_19
; %bb.14:
	mov	x24, x0
	mov	w23, #0
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x24
	mov	x1, x20
	mov	x2, x22
	bl	_read_elf
	orr	w23, w0, w23
	mov	x0, x24
	bl	_elf_next
	mov	x25, x0
	mov	x0, x24
	bl	_elf_end
	mov	x0, x19
	mov	x1, x25
	mov	x2, x21
	bl	_elf_begin
	mov	x24, x0
	cbnz	x0, LBB0_15
	b	LBB0_20
LBB0_16:
Lloh25:
	adrp	x0, l_.str.3@PAGE
Lloh26:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_17:
	bl	_warnx
LBB0_18:
	mov	x0, x19
	bl	_close
	mov	w23, #1
	b	LBB0_21
LBB0_19:
	mov	w23, #0
LBB0_20:
	mov	x0, x21
	bl	_elf_end
	mov	x0, x19
	bl	_close
LBB0_21:
	mov	x0, 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	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_nm_opts,24,3                   ; @nm_opts
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"'%s'"

	.comm	_ELF_C_READ,4,2                 ; @ELF_C_READ
l_.str.2:                               ; @.str.2
	.asciz	"elf_begin error: %s"

l_.str.3:                               ; @.str.3
	.asciz	"elf_begin error"

	.comm	_ELF_K_NONE,8,3                 ; @ELF_K_NONE
l_.str.5:                               ; @.str.5
	.asciz	"%s: File format not recognized"

	.comm	_ELF_K_AR,8,3                   ; @ELF_K_AR
	.comm	_PRINT_NAME_MULTI,8,3           ; @PRINT_NAME_MULTI
	.comm	_sym_elem_print_all,8,3         ; @sym_elem_print_all
l_.str.6:                               ; @.str.6
	.asciz	"\n%s:\n"

	.no_dead_strip	_read_object
.subsections_via_symbols
