	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mips_elf_adjust_addend
_mips_elf_adjust_addend:                ## @mips_elf_adjust_addend
	.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, %r13
	movq	%r8, %r14
	movq	%rcx, %rbx
	movq	%rdx, %r12
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r15
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%rdx, %rdi
	movq	%r9, %rsi
	movq	%r8, %rdx
	callq	_mips_elf_local_relocation_p
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movl	4(%r13), %esi
	movq	%r15, %rdi
	callq	_ELF_R_TYPE
	movq	_R_MIPS16_GPREL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.2:
	movq	_R_MIPS_GPREL16@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.3:
	movq	_R_MIPS_GPREL32@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	je	LBB0_5
## %bb.4:
	movq	_R_MIPS_LITERAL@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_6
LBB0_5:
	movq	%r12, %rdi
	callq	__bfd_get_gp_value
	addl	%eax, (%r13)
	movq	%r15, %rdi
	callq	__bfd_get_gp_value
	subl	%eax, (%r13)
LBB0_6:
	movl	4(%r13), %esi
	movq	%r15, %rdi
	callq	_ELF_R_SYM
	movl	%eax, %r12d
	leaq	(%rbx,%r12,4), %rbx
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpl	$0, (%rax)
	jne	LBB0_8
## %bb.7:
	movq	(%r14,%r12,8), %rax
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rdx
	movq	%r15, %rdi
	movq	%rbx, %rsi
	movq	%r13, %rcx
	callq	__bfd_elf_rela_local_sym
LBB0_8:
	movl	(%rbx), %edi
	callq	_ELF_ST_TYPE
	movq	_STT_SECTION@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_10
## %bb.9:
	movq	(%r14,%r12,8), %rax
	movl	(%rax), %eax
	addl	%eax, (%r13)
LBB0_10:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_R_MIPS16_GPREL,4,2             ## @R_MIPS16_GPREL
	.comm	_R_MIPS_GPREL16,4,2             ## @R_MIPS_GPREL16
	.comm	_R_MIPS_GPREL32,4,2             ## @R_MIPS_GPREL32
	.comm	_R_MIPS_LITERAL,4,2             ## @R_MIPS_LITERAL
	.comm	_STT_SECTION,8,3                ## @STT_SECTION
	.no_dead_strip	_mips_elf_adjust_addend
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mips_elf_adjust_addend
_mips_elf_adjust_addend:                ; @mips_elf_adjust_addend
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x24, x2
	mov	x23, x1
	mov	x21, x0
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	mov	x0, x2
	mov	x1, x5
	mov	x2, x4
	bl	_mips_elf_local_relocation_p
	cbz	x0, LBB0_7
; %bb.1:
	ldr	w1, [x19, #4]
	mov	x0, x21
	bl	_ELF_R_TYPE
Lloh3:
	adrp	x8, _R_MIPS16_GPREL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _R_MIPS16_GPREL@GOTPAGEOFF]
Lloh5:
	adrp	x9, _R_MIPS_GPREL16@GOTPAGE
Lloh6:
	ldr	x9, [x9, _R_MIPS_GPREL16@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _R_MIPS_GPREL32@GOTPAGE
Lloh10:
	ldr	x10, [x10, _R_MIPS_GPREL32@GOTPAGEOFF]
Lloh11:
	adrp	x11, _R_MIPS_LITERAL@GOTPAGE
Lloh12:
	ldr	x11, [x11, _R_MIPS_LITERAL@GOTPAGEOFF]
Lloh13:
	ldr	w10, [x10]
Lloh14:
	ldr	w11, [x11]
	cmp	w0, w8
	ccmp	w0, w9, #4, ne
	ccmp	w0, w10, #4, ne
	ccmp	w0, w11, #4, ne
	b.ne	LBB0_3
; %bb.2:
	mov	x0, x24
	bl	__bfd_get_gp_value
	ldr	w8, [x19]
	add	w8, w8, w0
	str	w8, [x19]
	mov	x0, x21
	bl	__bfd_get_gp_value
	ldr	w8, [x19]
	sub	w8, w8, w0
	str	w8, [x19]
LBB0_3:
	ldr	w1, [x19, #4]
	mov	x0, x21
	bl	_ELF_R_SYM
	mov	w24, w0
	add	x22, x22, w0, uxtw #2
	ldr	w8, [x23]
	cbnz	w8, LBB0_5
; %bb.4:
	ldr	x8, [x20, x24, lsl #3]
	str	x8, [sp, #8]
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, x22
	mov	x3, x19
	bl	__bfd_elf_rela_local_sym
LBB0_5:
	ldr	w0, [x22]
	bl	_ELF_ST_TYPE
Lloh15:
	adrp	x8, _STT_SECTION@GOTPAGE
Lloh16:
	ldr	x8, [x8, _STT_SECTION@GOTPAGEOFF]
Lloh17:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_7
; %bb.6:
	ldr	x8, [x20, x24, lsl #3]
	ldr	w8, [x8]
	ldr	w9, [x19]
	add	w8, w9, w8
	str	w8, [x19]
LBB0_7:
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh13
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh7
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_R_MIPS16_GPREL,4,2             ; @R_MIPS16_GPREL
	.comm	_R_MIPS_GPREL16,4,2             ; @R_MIPS_GPREL16
	.comm	_R_MIPS_GPREL32,4,2             ; @R_MIPS_GPREL32
	.comm	_R_MIPS_LITERAL,4,2             ; @R_MIPS_LITERAL
	.comm	_STT_SECTION,8,3                ; @STT_SECTION
	.no_dead_strip	_mips_elf_adjust_addend
.subsections_via_symbols
