	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_elf64_write_rela
_mips_elf64_write_rela:                 ## @mips_elf64_write_rela
	.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	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r14
	movq	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, %r13
	movl	(%rcx), %esi
	imull	4(%rdx), %esi
	movl	%esi, (%rdx)
	movq	%rdi, -72(%rbp)                 ## 8-byte Spill
	callq	_bfd_alloc
	movq	%rax, 8(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%r13, -56(%rbp)                 ## 8-byte Spill
	cmpl	$0, (%r13)
	je	LBB0_2
## %bb.4:
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%r15, -128(%rbp)                ## 8-byte Spill
	movq	%r14, -136(%rbp)                ## 8-byte Spill
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	xorl	%ebx, %ebx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	-72(%rbp), %r13                 ## 8-byte Reload
	movq	%r13, %rdi
	leaq	-120(%rbp), %rsi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_mips_elf64_swap_reloca_out
	addq	$4, %rbx
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movl	%r14d, %ebx
	cmpl	(%r15), %r14d
	jae	LBB0_25
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movl	%ebx, %ecx
	movq	_DYNAMIC@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	movq	_EXEC_P@GOTPCREL(%rip), %rsi
	orl	(%rsi), %edx
	movq	(%rax,%rcx,8), %r12
	movq	(%r12), %rax
	testl	%edx, (%r13)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	8(%r15), %rax
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	movq	%rax, -120(%rbp)
	movq	16(%r12), %rax
	movq	(%rax), %rax
	movq	%rax, -88(%rbp)
	cmpq	-80(%rbp), %rax                 ## 8-byte Folded Reload
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	8(%rax), %edi
	callq	_bfd_is_abs_section
	movq	-88(%rbp), %r14
	testq	%rax, %rax
	je	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_5 Depth=1
	cmpq	$0, (%r14)
	je	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	leaq	-88(%rbp), %rsi
	callq	__bfd_elf_symbol_from_bfd_symbol
	movq	%r14, -80(%rbp)                 ## 8-byte Spill
	movl	%eax, %ecx
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	jns	LBB0_13
	jmp	LBB0_28
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_5 Depth=1
	movl	-44(%rbp), %ecx                 ## 4-byte Reload
	jmp	LBB0_13
LBB0_11:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	_STN_UNDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_13:                                ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, -112(%rbp)
	movl	24(%r12), %eax
	movl	%eax, -92(%rbp)
	movq	_RSS_UNDEF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -96(%rbp)
	movq	16(%r12), %rax
	movq	(%rax), %rax
	movq	16(%rax), %rax
	movq	(%rax), %rax
	cmpq	8(%r13), %rax
	je	LBB0_15
## %bb.14:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	__bfd_elf_validate_reloc
	testl	%eax, %eax
	je	LBB0_28
LBB0_15:                                ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r12), %rax
	movl	(%rax), %eax
	movl	%eax, -108(%rbp)
	movq	_R_MIPS_NONE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)
	movl	%eax, -100(%rbp)
	leal	1(%rbx), %r14d
	cmpl	(%r15), %r14d
	jae	LBB0_24
## %bb.16:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r15), %rax
	movl	%r14d, %ecx
	movq	(%rax,%rcx,8), %r13
	movq	(%r13), %rax
	cmpq	(%r12), %rax
	jne	LBB0_24
## %bb.17:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r13), %rax
	movq	(%rax), %rax
	movl	8(%rax), %edi
	callq	_bfd_is_abs_section
	testq	%rax, %rax
	je	LBB0_24
## %bb.18:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r13), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	jne	LBB0_24
## %bb.19:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, -104(%rbp)
	movq	%rbx, %rax
	leal	2(%rbx), %r14d
	cmpl	(%r15), %r14d
	jae	LBB0_24
## %bb.20:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r15), %rax
	movl	%r14d, %ecx
	movq	(%rax,%rcx,8), %r13
	movq	(%r13), %rax
	cmpq	(%r12), %rax
	jne	LBB0_24
## %bb.21:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r13), %rax
	movq	(%rax), %rax
	movl	8(%rax), %edi
	callq	_bfd_is_abs_section
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r13), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	jne	LBB0_24
## %bb.23:                              ##   in Loop: Header=BB0_5 Depth=1
	movq	8(%r13), %rax
	movl	(%rax), %eax
	movl	%eax, -100(%rbp)
	addl	$3, %ebx
	movl	%ebx, %r14d
	jmp	LBB0_24
LBB0_3:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	jmp	LBB0_27
LBB0_2:
	movq	%rax, %rcx
	jmp	LBB0_26
LBB0_25:
	movq	-128(%rbp), %rax                ## 8-byte Reload
	movq	8(%rax), %rcx
	movq	-144(%rbp), %r12                ## 8-byte Reload
	movq	-64(%rbp), %rax                 ## 8-byte Reload
LBB0_26:
	subq	%rcx, %rax
	sarq	$2, %rax
	movslq	(%r12), %rcx
	xorl	%edi, %edi
	cmpq	%rcx, %rax
	sete	%dil
	callq	_BFD_ASSERT
	jmp	LBB0_27
LBB0_28:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-136(%rbp), %rcx                ## 8-byte Reload
	movl	%eax, (%rcx)
LBB0_27:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_EXEC_P,4,2                     ## @EXEC_P
	.comm	_DYNAMIC,4,2                    ## @DYNAMIC
	.comm	_STN_UNDEF,4,2                  ## @STN_UNDEF
	.comm	_RSS_UNDEF,4,2                  ## @RSS_UNDEF
	.comm	_R_MIPS_NONE,8,3                ## @R_MIPS_NONE
	.no_dead_strip	_mips_elf64_write_rela
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_elf64_write_rela
_mips_elf64_write_rela:                 ; @mips_elf64_write_rela
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x28, x27, [sp, #64]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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, x4
	mov	x19, x3
	mov	x21, x2
	mov	x23, x1
	mov	x24, x0
	ldr	w8, [x2, #4]
	ldr	w9, [x3]
	mul	w1, w9, w8
	str	w1, [x2]
	bl	_bfd_alloc
	str	x0, [x21, #8]
	cbz	x0, LBB0_23
; %bb.1:
	mov	x22, x0
	ldr	w8, [x23]
	cbz	w8, LBB0_24
; %bb.2:
	stp	x20, x19, [sp, #8]              ; 16-byte Folded Spill
	mov	w27, #0
	mov	w25, #0
	mov	x19, #0
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #32
	mov	x0, x24
	mov	x2, x22
	bl	_mips_elf64_swap_reloca_out
	add	x22, x22, #4
	ldr	w8, [x23]
	mov	x27, x20
	cmp	w20, w8
	b.hs	LBB0_25
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x23, #16]
	ldr	x26, [x8, w27, uxtw #3]
	ldr	w9, [x24]
Lloh0:
	adrp	x8, _EXEC_P@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EXEC_P@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x10, _DYNAMIC@GOTPAGE
Lloh4:
	ldr	x10, [x10, _DYNAMIC@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	orr	w10, w10, w8
	ldr	x8, [x26]
	tst	w10, w9
	b.eq	LBB0_6
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x9, [x23, #8]
	add	x8, x9, x8
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x8, [sp, #32]
	ldr	x8, [x26, #16]
	ldr	x8, [x8]
	str	x8, [sp, #24]
	cmp	x8, x19
	b.eq	LBB0_10
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x8, #8]
	bl	_bfd_is_abs_section
	ldr	x20, [sp, #24]
	cbz	x0, LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x20]
	cbz	x8, LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x1, sp, #24
	mov	x0, x24
	bl	__bfd_elf_symbol_from_bfd_symbol
	mov	x25, x0
	mov	x19, x20
	mov	x8, x0
	tbz	w0, #31, LBB0_12
	b	LBB0_27
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x8, x25
	b	LBB0_12
LBB0_11:                                ;   in Loop: Header=BB0_4 Depth=1
Lloh6:
	adrp	x8, _STN_UNDEF@GOTPAGE
Lloh7:
	ldr	x8, [x8, _STN_UNDEF@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
LBB0_12:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w9, [x26, #24]
	str	w9, [sp, #60]
Lloh9:
	adrp	x9, _RSS_UNDEF@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RSS_UNDEF@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	str	w8, [sp, #40]
	str	w9, [sp, #56]
	ldr	x8, [x26, #16]
	ldr	x8, [x8]
	ldr	x8, [x8, #16]
	ldr	x8, [x8]
	ldr	x9, [x24, #8]
	cmp	x8, x9
	b.eq	LBB0_14
; %bb.13:                               ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x24
	mov	x1, x26
	bl	__bfd_elf_validate_reloc
	cbz	w0, LBB0_27
LBB0_14:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26, #8]
	ldr	w8, [x8]
Lloh12:
	adrp	x9, _R_MIPS_NONE@GOTPAGE
Lloh13:
	ldr	x9, [x9, _R_MIPS_NONE@GOTPAGEOFF]
Lloh14:
	ldr	w9, [x9]
	stp	w8, w9, [sp, #44]
	str	w9, [sp, #52]
	add	w20, w27, #1
	ldr	w8, [x23]
	cmp	w20, w8
	b.hs	LBB0_3
; %bb.15:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #16]
	ldr	x28, [x8, w20, uxtw #3]
	ldr	x8, [x28]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.16:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28, #16]
	ldr	x8, [x8]
	ldr	w0, [x8, #8]
	bl	_bfd_is_abs_section
	cbz	x0, LBB0_3
; %bb.17:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.18:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28, #8]
	ldr	w8, [x8]
	str	w8, [sp, #48]
	add	w20, w27, #2
	ldr	w8, [x23]
	cmp	w20, w8
	b.hs	LBB0_3
; %bb.19:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x23, #16]
	ldr	x28, [x8, w20, uxtw #3]
	ldr	x8, [x28]
	ldr	x9, [x26]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.20:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28, #16]
	ldr	x8, [x8]
	ldr	w0, [x8, #8]
	bl	_bfd_is_abs_section
	cbz	x0, LBB0_3
; %bb.21:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28, #16]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.22:                               ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x28, #8]
	ldr	w8, [x8]
	str	w8, [sp, #52]
	add	w20, w27, #3
	b	LBB0_3
LBB0_23:
Lloh15:
	adrp	x8, _TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	str	w8, [x20]
	b	LBB0_28
LBB0_24:
	mov	x8, x22
	b	LBB0_26
LBB0_25:
	ldr	x8, [x21, #8]
	ldr	x19, [sp, #16]                  ; 8-byte Folded Reload
LBB0_26:
	sub	x8, x22, x8
	ldrsw	x9, [x19]
	cmp	x9, x8, asr #2
	cset	w0, eq
	bl	_BFD_ASSERT
	b	LBB0_28
LBB0_27:
Lloh18:
	adrp	x8, _TRUE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh20:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]                    ; 8-byte Folded Reload
	str	w8, [x9]
LBB0_28:
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_EXEC_P,4,2                     ; @EXEC_P
	.comm	_DYNAMIC,4,2                    ; @DYNAMIC
	.comm	_STN_UNDEF,4,2                  ; @STN_UNDEF
	.comm	_RSS_UNDEF,4,2                  ; @RSS_UNDEF
	.comm	_R_MIPS_NONE,8,3                ; @R_MIPS_NONE
	.no_dead_strip	_mips_elf64_write_rela
.subsections_via_symbols
