	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_coff_read_internal_relocs ## -- Begin function _bfd_coff_read_internal_relocs
	.p2align	4, 0x90
__bfd_coff_read_internal_relocs:        ## @_bfd_coff_read_internal_relocs
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_coff_section_data
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_coff_section_data
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	movq	%r12, %rdi
	movq	%rbx, %rsi
	callq	_coff_section_data
	movq	(%rax), %rax
	testq	%r15, %r15
	je	LBB0_30
## %bb.3:
	movl	(%rbx), %edx
	shll	$2, %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
	callq	_memcpy
	movq	%r14, %rax
	jmp	LBB0_30
LBB0_4:
	movq	%r12, %rdi
	callq	_bfd_coff_relsz
	movl	(%rbx), %r15d
	imull	%eax, %r15d
	testq	%r13, %r13
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	je	LBB0_6
## %bb.5:
	xorl	%ecx, %ecx
	jmp	LBB0_7
LBB0_6:
	movl	%r15d, %edi
	callq	_bfd_malloc
	movq	%rax, %r13
	movq	%rax, %rcx
	testq	%rax, %rax
	je	LBB0_11
LBB0_7:
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movl	16(%rbx), %esi
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_27
## %bb.8:
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_bfd_bread
	cmpl	%r15d, %eax
	jne	LBB0_27
## %bb.9:
	testq	%r14, %r14
	je	LBB0_12
LBB0_10:
	xorl	%ecx, %ecx
	jmp	LBB0_13
LBB0_11:
	xorl	%r13d, %r13d
	cmpl	$0, (%rbx)
	movl	$0, %ecx
	movl	$0, %eax
	jg	LBB0_30
	jmp	LBB0_7
LBB0_12:
	movl	(%rbx), %edi
	shll	$2, %edi
	callq	_bfd_malloc
	movq	%rax, %r14
	movq	%rax, %rcx
	testq	%rax, %rax
	je	LBB0_26
LBB0_13:
	movq	%rcx, -80(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movslq	(%rbx), %rax
	movslq	-52(%rbp), %r15                 ## 4-byte Folded Reload
	imulq	%r15, %rax
	testl	%eax, %eax
	jle	LBB0_16
## %bb.14:
	leaq	(,%rax,4), %r14
	addq	%r13, %r14
	shlq	$2, %r15
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_bfd_coff_swap_reloc_in
	addq	$4, %rbx
	addq	%r15, %r13
	cmpq	%r14, %r13
	jb	LBB0_15
LBB0_16:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_18
## %bb.17:
	callq	_free
LBB0_18:
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_25
## %bb.19:
	testq	%rbx, %rbx
	je	LBB0_25
## %bb.20:
	movq	%r12, %rdi
	movq	-72(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %rsi
	callq	_coff_section_data
	testq	%rax, %rax
	jne	LBB0_23
## %bb.21:
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_bfd_zalloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_31
## %bb.22:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_coff_section_data
	movq	$0, 8(%rax)
LBB0_23:
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_coff_section_data
	movq	%rbx, (%rax)
LBB0_25:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_30
LBB0_26:
	cmpl	$0, (%rbx)
	jle	LBB0_32
LBB0_27:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	testq	%rdi, %rdi
	je	LBB0_29
LBB0_28:
	callq	_free
LBB0_29:
	xorl	%eax, %eax
LBB0_30:
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	movq	%rbx, %rdi
	jmp	LBB0_28
LBB0_32:
	xorl	%r14d, %r14d
	jmp	LBB0_10
	.cfi_endproc
                                        ## -- End function
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_coff_read_internal_relocs ; -- Begin function _bfd_coff_read_internal_relocs
	.p2align	2
__bfd_coff_read_internal_relocs:        ; @_bfd_coff_read_internal_relocs
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x24, x5
	mov	x25, x4
	mov	x22, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
	bl	_coff_section_data
	cbz	x0, LBB0_4
; %bb.1:
	mov	x0, x20
	mov	x1, x19
	bl	_coff_section_data
	ldr	x8, [x0]
	cbz	x8, LBB0_4
; %bb.2:
	mov	x0, x20
	mov	x1, x19
	bl	_coff_section_data
	ldr	x23, [x0]
	cbz	x25, LBB0_29
; %bb.3:
	ldr	w8, [x19]
	lsl	w2, w8, #2
	mov	x0, x24
	mov	x1, x23
	bl	_memcpy
	mov	x23, x24
	b	LBB0_29
LBB0_4:
	mov	x0, x20
	bl	_bfd_coff_relsz
	mov	x26, x0
	ldr	w8, [x19]
	mul	w27, w8, w0
	cbz	x22, LBB0_6
; %bb.5:
	mov	x25, #0
	b	LBB0_7
LBB0_6:
	mov	x0, x27
	bl	_bfd_malloc
	mov	x22, x0
	mov	x25, x0
	cbz	x0, LBB0_11
LBB0_7:
	ldr	w1, [x19, #16]
Lloh0:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_bfd_seek
	cbnz	x0, LBB0_25
; %bb.8:
	mov	x0, x22
	mov	x1, x27
	mov	x2, x20
	bl	_bfd_bread
	cmp	w0, w27
	b.ne	LBB0_25
; %bb.9:
	cbz	x24, LBB0_12
; %bb.10:
	mov	x27, #0
	mov	x23, x24
	b	LBB0_13
LBB0_11:
	mov	x23, #0
	ldr	w8, [x19]
	cmp	w8, #0
	b.gt	LBB0_29
	b	LBB0_7
LBB0_12:
	ldr	w8, [x19]
	lsl	w0, w8, #2
	bl	_bfd_malloc
	mov	x23, x0
	mov	x27, x0
	cbz	x0, LBB0_24
LBB0_13:
	ldr	w8, [x19]
	mul	w8, w8, w26
	cmp	w8, #1
	b.lt	LBB0_16
; %bb.14:
	sbfiz	x26, x26, #2, #32
	mov	x24, x23
	add	x28, x22, w8, sxtw #2
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	mov	x0, x20
	mov	x1, x22
	mov	x2, x24
	bl	_bfd_coff_swap_reloc_in
	add	x24, x24, #4
	add	x22, x22, x26
	cmp	x22, x28
	b.lo	LBB0_15
LBB0_16:
	cbz	x25, LBB0_18
; %bb.17:
	mov	x0, x25
	bl	_free
LBB0_18:
	cbz	x21, LBB0_29
; %bb.19:
	cbz	x27, LBB0_29
; %bb.20:
	mov	x0, x20
	mov	x1, x19
	bl	_coff_section_data
	cbnz	x0, LBB0_23
; %bb.21:
	mov	x0, x20
	mov	w1, #4
	bl	_bfd_zalloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_30
; %bb.22:
	mov	x0, x20
	mov	x1, x19
	bl	_coff_section_data
	str	xzr, [x0, #8]
LBB0_23:
	mov	x0, x20
	mov	x1, x19
	bl	_coff_section_data
	str	x27, [x0]
	b	LBB0_29
LBB0_24:
	ldr	w8, [x19]
	cmp	w8, #0
	b.le	LBB0_31
LBB0_25:
	cbz	x25, LBB0_28
; %bb.26:
	mov	x0, x25
LBB0_27:
	bl	_free
LBB0_28:
	mov	x23, #0
LBB0_29:
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_30:
	mov	x0, x27
	b	LBB0_27
LBB0_31:
	mov	x23, #0
	mov	x27, #0
	b	LBB0_13
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
.subsections_via_symbols
