	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coff_object_p                  ## -- Begin function coff_object_p
	.p2align	4, 0x90
_coff_object_p:                         ## @coff_object_p
	.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	%r12
	pushq	%rbx
	subq	$32, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r12
	callq	_bfd_coff_filhsz
	movq	%rax, %rbx
	movq	%r12, %rdi
	callq	_bfd_coff_aoutsz
	movq	%rax, %r14
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_bfd_alloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r12, %rdx
	callq	_bfd_bread
	cmpq	%rbx, %rax
	jne	LBB0_6
## %bb.2:
	leaq	-48(%rbp), %rbx
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	_bfd_coff_swap_filehdr_in
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_bfd_release
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_bfd_coff_bad_format_hook
	testl	%eax, %eax
	je	LBB0_4
## %bb.3:
	movq	-48(%rbp), %rax
	cmpq	%r14, %rax
	jle	LBB0_12
LBB0_4:
	movq	_bfd_error_wrong_format@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
	jmp	LBB0_10
LBB0_6:
	xorl	%eax, %eax
	callq	_bfd_get_error
	movq	_bfd_error_system_call@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_8
## %bb.7:
	movq	_bfd_error_wrong_format@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
LBB0_8:
	movq	%r12, %rdi
	movq	%r15, %rsi
LBB0_9:
	callq	_bfd_release
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	addq	$32, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	movl	-40(%rbp), %r15d
	testq	%rax, %rax
	je	LBB0_16
## %bb.13:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_bfd_alloc
	testq	%rax, %rax
	je	LBB0_10
## %bb.14:
	movq	%rax, %rbx
	movq	-48(%rbp), %rsi
	movq	%rax, %rdi
	movq	%r12, %rdx
	callq	_bfd_bread
	cmpq	-48(%rbp), %rax
	jne	LBB0_19
## %bb.15:
	leaq	-56(%rbp), %r14
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movq	%r14, %rdx
	callq	_bfd_coff_swap_aouthdr_in
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_bfd_release
	movq	-48(%rbp), %rax
	testq	%rax, %rax
	cmoveq	%rax, %r14
	jmp	LBB0_17
LBB0_16:
	xorl	%r14d, %r14d
LBB0_17:
	leaq	-48(%rbp), %rdx
	movq	%r12, %rdi
	movl	%r15d, %esi
	movq	%r14, %rcx
	callq	_coff_real_object_p
	jmp	LBB0_11
LBB0_19:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	jmp	LBB0_9
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_error_system_call,8,3      ## @bfd_error_system_call
	.comm	_bfd_error_wrong_format,4,2     ## @bfd_error_wrong_format
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_coff_object_p                  ; -- Begin function coff_object_p
	.p2align	2
_coff_object_p:                         ; @coff_object_p
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	bl	_bfd_coff_filhsz
	mov	x22, x0
	mov	x0, x19
	bl	_bfd_coff_aoutsz
	mov	x21, x0
	mov	x0, x19
	mov	x1, x22
	bl	_bfd_alloc
	cbz	x0, LBB0_10
; %bb.1:
	mov	x20, x0
	mov	x1, x22
	mov	x2, x19
	bl	_bfd_bread
	cmp	x0, x22
	b.ne	LBB0_5
; %bb.2:
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x20
	bl	_bfd_coff_swap_filehdr_in
	mov	x0, x19
	mov	x1, x20
	bl	_bfd_release
	add	x1, sp, #16
	mov	x0, x19
	bl	_bfd_coff_bad_format_hook
	cbz	w0, LBB0_4
; %bb.3:
	ldr	x8, [sp, #16]
	cmp	x8, x21
	b.le	LBB0_11
LBB0_4:
Lloh0:
	adrp	x8, _bfd_error_wrong_format@GOTPAGE
Lloh1:
	ldr	x8, [x8, _bfd_error_wrong_format@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_bfd_set_error
	b	LBB0_9
LBB0_5:
	bl	_bfd_get_error
Lloh3:
	adrp	x8, _bfd_error_system_call@GOTPAGE
Lloh4:
	ldr	x8, [x8, _bfd_error_system_call@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:
Lloh6:
	adrp	x8, _bfd_error_wrong_format@GOTPAGE
Lloh7:
	ldr	x8, [x8, _bfd_error_wrong_format@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	bl	_bfd_set_error
LBB0_7:
	mov	x0, x19
	mov	x1, x20
LBB0_8:
	bl	_bfd_release
LBB0_9:
	mov	x0, #0
LBB0_10:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
	ldr	w20, [sp, #24]
	cbz	x8, LBB0_15
; %bb.12:
	mov	x0, x19
	mov	x1, x21
	bl	_bfd_alloc
	cbz	x0, LBB0_10
; %bb.13:
	mov	x21, x0
	ldr	x1, [sp, #16]
	mov	x2, x19
	bl	_bfd_bread
	ldr	x8, [sp, #16]
	cmp	x0, x8
	b.ne	LBB0_17
; %bb.14:
	add	x22, sp, #8
	add	x2, sp, #8
	mov	x0, x19
	mov	x1, x21
	bl	_bfd_coff_swap_aouthdr_in
	mov	x0, x19
	mov	x1, x21
	bl	_bfd_release
	ldr	x8, [sp, #16]
	cmp	x8, #0
	csel	x3, xzr, x22, eq
	b	LBB0_16
LBB0_15:
	mov	x3, #0
LBB0_16:
	add	x2, sp, #16
	mov	x0, x19
	mov	x1, x20
	bl	_coff_real_object_p
	b	LBB0_10
LBB0_17:
	mov	x0, x19
	mov	x1, x21
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_error_system_call,8,3      ; @bfd_error_system_call
	.comm	_bfd_error_wrong_format,4,2     ; @bfd_error_wrong_format
.subsections_via_symbols
