	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function xcoff_read_internal_relocs
_xcoff_read_internal_relocs:            ## @xcoff_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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r15
	movq	%rcx, %r13
	movq	%rdx, %r14
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_coff_section_data
	testq	%rax, %rax
	je	LBB0_17
## %bb.1:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_coff_section_data
	cmpq	$0, (%rax)
	je	LBB0_2
LBB0_17:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movq	%r14, %rdx
	movq	%r13, %rcx
	movq	%r15, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__bfd_coff_read_internal_relocs ## TAILCALL
LBB0_2:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_xcoff_section_data
	testq	%rax, %rax
	je	LBB0_17
## %bb.3:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_xcoff_section_data
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_17
## %bb.4:
	movq	%rbx, %rdi
	movq	%rax, %rsi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	callq	_coff_section_data
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testq	%rax, %rax
	je	LBB0_7
## %bb.5:
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	callq	_coff_section_data
	testq	%r14, %r14
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	je	LBB0_10
## %bb.6:
	cmpq	$0, (%rax)
	je	LBB0_8
	jmp	LBB0_10
LBB0_7:
	testq	%r14, %r14
	je	LBB0_10
LBB0_8:
	cmpq	$0, (%rcx)
	jle	LBB0_10
## %bb.9:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %r8
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%r13, %rcx
	xorl	%r9d, %r9d
	callq	__bfd_coff_read_internal_relocs
	testq	%rax, %rax
	movl	$0, %eax
	je	LBB0_19
LBB0_10:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_coff_section_data
	testq	%rax, %rax
	je	LBB0_17
## %bb.11:
	movq	%rbx, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_coff_section_data
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.12:
	movq	8(%r12), %r14
	subq	8(%rcx), %r14
	movq	%rbx, %rdi
	callq	_bfd_coff_relsz
	movq	%rax, %rcx
	orq	%r14, %rax
	shrq	$32, %rax
	je	LBB0_13
## %bb.14:
	movq	%r14, %rax
	xorl	%edx, %edx
	divq	%rcx
	movq	%rax, %r14
	jmp	LBB0_15
LBB0_13:
	movl	%r14d, %eax
	xorl	%edx, %edx
	divl	%ecx
	movl	%eax, %r14d
LBB0_15:
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_coff_section_data
	shlq	$2, %r14
	addq	(%rax), %r14
	testq	%r15, %r15
	je	LBB0_16
## %bb.18:
	movl	(%r12), %edx
	shll	$2, %edx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_memcpy
	movq	%rbx, %rax
	jmp	LBB0_19
LBB0_16:
	movq	%r14, %rax
LBB0_19:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_FALSE,8,3                      ## @FALSE
	.no_dead_strip	_xcoff_read_internal_relocs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function xcoff_read_internal_relocs
_xcoff_read_internal_relocs:            ; @xcoff_read_internal_relocs
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x23, x3
	mov	x24, x2
	mov	x21, x1
	mov	x22, x0
	bl	_coff_section_data
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x21
	bl	_coff_section_data
	ldr	x8, [x0]
	cbz	x8, LBB0_3
LBB0_2:
	mov	x0, x22
	mov	x1, x21
	mov	x2, x24
	mov	x3, x23
	mov	x4, x20
	mov	x5, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	b	__bfd_coff_read_internal_relocs
LBB0_3:
	mov	x0, x22
	mov	x1, x21
	bl	_xcoff_section_data
	cbz	x0, LBB0_2
; %bb.4:
	mov	x0, x22
	mov	x1, x21
	bl	_xcoff_section_data
	ldr	x25, [x0]
	cbz	x25, LBB0_2
; %bb.5:
	mov	x0, x22
	mov	x1, x25
	bl	_coff_section_data
	cbz	x0, LBB0_8
; %bb.6:
	mov	x0, x22
	mov	x1, x25
	bl	_coff_section_data
	cbz	x24, LBB0_11
; %bb.7:
	ldr	x8, [x0]
	cbz	x8, LBB0_9
	b	LBB0_11
LBB0_8:
	cbz	x24, LBB0_11
LBB0_9:
	ldr	x8, [x25]
	cmp	x8, #1
	b.lt	LBB0_11
; %bb.10:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	x2, [x8]
Lloh3:
	adrp	x8, _FALSE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh5:
	ldr	x4, [x8]
	mov	x0, x22
	mov	x1, x25
	mov	x3, x23
	mov	x5, #0
	bl	__bfd_coff_read_internal_relocs
	cbz	x0, LBB0_15
LBB0_11:
	mov	x0, x22
	mov	x1, x25
	bl	_coff_section_data
	cbz	x0, LBB0_2
; %bb.12:
	mov	x0, x22
	mov	x1, x25
	bl	_coff_section_data
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.13:
	ldr	x8, [x21, #8]
	ldr	x9, [x25, #8]
	sub	x23, x8, x9
	mov	x0, x22
	bl	_bfd_coff_relsz
	udiv	x23, x23, x0
	mov	x0, x22
	mov	x1, x25
	bl	_coff_section_data
	ldr	x8, [x0]
	add	x1, x8, x23, lsl #2
	cbz	x20, LBB0_16
; %bb.14:
	ldr	w8, [x21]
	lsl	w2, w8, #2
	mov	x0, x19
	bl	_memcpy
	b	LBB0_17
LBB0_15:
	mov	x19, #0
	b	LBB0_17
LBB0_16:
	mov	x19, x1
LBB0_17:
	mov	x0, x19
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_FALSE,8,3                      ; @FALSE
	.no_dead_strip	_xcoff_read_internal_relocs
.subsections_via_symbols
