	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_elf64_slurp_reloc_table
_mips_elf64_slurp_reloc_table:          ## @mips_elf64_slurp_reloc_table
	.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
	movl	%ecx, %r15d
	movq	%rdx, %r14
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movq	%rsi, %rdi
	callq	_elf_section_data
	movq	_TRUE@GOTPCREL(%rip), %r12
	cmpq	$0, 32(%rbx)
	je	LBB0_1
LBB0_18:
	movl	(%r12), %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.11:
	cmpq	$0, 24(%rbx)
	je	LBB0_18
## %bb.12:
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r13
	addq	$8, %r13
	movq	%r13, %rdi
	callq	_NUM_SHDR_ENTRIES
	movl	%eax, %r14d
	xorl	%eax, %eax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	xorl	%eax, %eax
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_13
LBB0_2:
	movq	_SEC_RELOC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%rbx)
	je	LBB0_18
## %bb.3:
	cmpq	$0, 8(%rbx)
	je	LBB0_18
## %bb.4:
	movq	%rax, %rdi
	addq	$16, %rdi
	movq	%rdi, -88(%rbp)                 ## 8-byte Spill
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	callq	_NUM_SHDR_ENTRIES
	movl	%eax, %r13d
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	testq	%rdi, %rdi
	movq	%rdi, %rax
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_5
## %bb.6:
	callq	_NUM_SHDR_ENTRIES
                                        ## kill: def $eax killed $eax def $rax
	jmp	LBB0_7
LBB0_5:
	xorl	%eax, %eax
LBB0_7:
	movq	-48(%rbp), %r12                 ## 8-byte Reload
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movq	%r13, %r14
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addl	%r13d, %eax
	cltq
	xorl	%edi, %edi
	cmpq	%rax, 8(%rbx)
	sete	%dil
	callq	_BFD_ASSERT
	movq	16(%rbx), %rcx
	movq	-88(%rbp), %r13                 ## 8-byte Reload
	cmpq	(%r13), %rcx
	sete	%al
	je	LBB0_10
## %bb.8:
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	testq	%rdx, %rdx
	je	LBB0_10
## %bb.9:
	cmpq	(%rdx), %rcx
	sete	%al
LBB0_10:
	movzbl	%al, %edi
	callq	_BFD_ASSERT
	movq	-72(%rbp), %rax                 ## 8-byte Reload
LBB0_13:
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	addl	%r14d, %eax
	shll	$2, %eax
	leal	(%rax,%rax,2), %esi
	movq	%r12, %rdi
	callq	_bfd_alloc
	movq	%r12, %rdi
	movq	_FALSE@GOTPCREL(%rip), %r12
	testq	%rax, %rax
	je	LBB0_18
## %bb.14:
	movq	%r14, %rcx
	movq	%rax, %r14
	movq	$0, 8(%rbx)
	movl	%r15d, (%rsp)
	movq	%rbx, %rsi
	movq	%r13, %rdx
	movq	%rcx, %r13
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	%rax, %r8
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	callq	_mips_elf64_slurp_one_reloc_table
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_17
## %bb.16:
	leal	(%r13,%r13,2), %eax
	cltq
	leaq	(%r14,%rax,4), %r8
	movl	%r15d, (%rsp)
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movq	-72(%rbp), %rcx                 ## 8-byte Reload
                                        ## kill: def $ecx killed $ecx killed $rcx
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	callq	_mips_elf64_slurp_one_reloc_table
	testl	%eax, %eax
	je	LBB0_18
LBB0_17:
	movq	%r14, 32(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %r12
	jmp	LBB0_18
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SEC_RELOC,4,2                  ## @SEC_RELOC
	.comm	_FALSE,4,2                      ## @FALSE
	.no_dead_strip	_mips_elf64_slurp_reloc_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_elf64_slurp_reloc_table
_mips_elf64_slurp_reloc_table:          ; @mips_elf64_slurp_reloc_table
	.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	x20, x3
	mov	x21, x2
	mov	x19, x1
	mov	x22, x0
	mov	x0, x1
	bl	_elf_section_data
	ldr	x8, [x19, #32]
	cbz	x8, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_2:
	ldr	w0, [x8]
	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_3:
	mov	x23, x0
	cbz	w20, LBB0_6
; %bb.4:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_1
; %bb.5:
	add	x26, x23, #8
	mov	x0, x26
	bl	_NUM_SHDR_ENTRIES
	mov	x24, x0
	mov	x25, #0
	mov	w27, #0
	b	LBB0_15
LBB0_6:
	ldr	w8, [x19]
Lloh2:
	adrp	x9, _SEC_RELOC@GOTPAGE
Lloh3:
	ldr	x9, [x9, _SEC_RELOC@GOTPAGEOFF]
Lloh4:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_1
; %bb.7:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_1
; %bb.8:
	add	x26, x23, #16
	mov	x0, x26
	bl	_NUM_SHDR_ENTRIES
	mov	x24, x0
	ldr	x25, [x23]
	cbz	x25, LBB0_10
; %bb.9:
	mov	x0, x25
	bl	_NUM_SHDR_ENTRIES
	mov	x27, x0
	b	LBB0_11
LBB0_10:
	mov	w27, #0
LBB0_11:
	ldr	x8, [x19, #8]
	add	w9, w27, w24
	cmp	x8, w9, sxtw
	cset	w0, eq
	bl	_BFD_ASSERT
	ldr	x8, [x19, #16]
	ldr	x9, [x26]
	cmp	x8, x9
	cset	w0, eq
	b.eq	LBB0_14
; %bb.12:
	cbz	x25, LBB0_14
; %bb.13:
	ldr	x9, [x25]
	cmp	x8, x9
	cset	w0, eq
LBB0_14:
	bl	_BFD_ASSERT
LBB0_15:
	add	w8, w27, w24
	add	w8, w8, w8, lsl #1
	lsl	w1, w8, #2
	mov	x0, x22
	bl	_bfd_alloc
	cbz	x0, LBB0_20
; %bb.16:
	mov	x28, x0
	str	xzr, [x19, #8]
	mov	x0, x22
	mov	x1, x19
	mov	x2, x26
	mov	x3, x24
	mov	x4, x28
	mov	x5, x21
	mov	x6, x20
	bl	_mips_elf64_slurp_one_reloc_table
	cbz	w0, LBB0_20
; %bb.17:
	ldr	x8, [x23]
	cbz	x8, LBB0_19
; %bb.18:
	add	w8, w24, w24, lsl #1
	add	x4, x28, w8, sxtw #2
	mov	x0, x22
	mov	x1, x19
	mov	x2, x25
	mov	x3, x27
	mov	x5, x21
	mov	x6, x20
	bl	_mips_elf64_slurp_one_reloc_table
	cbz	w0, LBB0_20
LBB0_19:
	str	x28, [x19, #32]
	b	LBB0_1
LBB0_20:
Lloh5:
	adrp	x8, _FALSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SEC_RELOC,4,2                  ; @SEC_RELOC
	.comm	_FALSE,4,2                      ; @FALSE
	.no_dead_strip	_mips_elf64_slurp_reloc_table
.subsections_via_symbols
