	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function coff_read_word
_coff_read_word:                        ## @coff_read_word
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rsi, %rbx
	movq	%rdi, %rdx
	leaq	-10(%rbp), %rdi
	movl	$2, %esi
	callq	_bfd_bread
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movzbl	-9(%rbp), %ecx
	shll	$8, %ecx
	xorl	%edx, %edx
	cmpl	$1, %eax
	cmovnel	%ecx, %edx
	movzbl	-10(%rbp), %ecx
	orl	%ecx, %edx
	movl	%edx, (%rbx)
	movq	_pelength@GOTPCREL(%rip), %rcx
	addl	%eax, (%rcx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_1:
	movl	$0, (%rbx)
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_pelength,4,2                   ## @pelength
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_coff_read_word
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function coff_read_word
_coff_read_word:                        ; @coff_read_word
	.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	x19, x1
	mov	x2, x0
	add	x0, sp, #14
	mov	w1, #2
	bl	_bfd_bread
	cmp	w0, #0
	b.le	LBB0_2
; %bb.1:
	ldrb	w8, [sp, #14]
	ldrb	w9, [sp, #15]
	lsl	w9, w9, #8
	cmp	w0, #1
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
Lloh0:
	adrp	x9, _pelength@GOTPAGE
Lloh1:
	ldr	x9, [x9, _pelength@GOTPAGEOFF]
	str	w8, [x19]
	ldr	w8, [x9]
	add	w8, w8, w0
	str	w8, [x9]
Lloh2:
	adrp	x8, _TRUE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:
	str	wzr, [x19]
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_pelength,4,2                   ; @pelength
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_coff_read_word
.subsections_via_symbols
