	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_mips_elf_adjust_dynamic_symbol ## -- Begin function _bfd_mips_elf_adjust_dynamic_symbol
	.p2align	4, 0x90
__bfd_mips_elf_adjust_dynamic_symbol:   ## @_bfd_mips_elf_adjust_dynamic_symbol
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_mips_elf_hash_table
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_elf_hash_table
	movq	8(%rax), %r15
	testq	%r15, %r15
	je	LBB0_6
## %bb.1:
	movl	$1, %edi
	cmpq	$0, 40(%rbx)
	jne	LBB0_7
## %bb.2:
	cmpq	$0, 8(%rbx)
	jne	LBB0_7
## %bb.3:
	cmpq	$0, 64(%rbx)
	je	LBB0_6
## %bb.4:
	cmpq	$0, 56(%rbx)
	movl	$0, %edi
	je	LBB0_7
## %bb.5:
	xorl	%edi, %edi
	cmpl	$0, 52(%rbx)
	sete	%dil
	jmp	LBB0_7
LBB0_6:
	xorl	%edi, %edi
LBB0_7:
	callq	_BFD_ASSERT
	cmpl	$0, 4(%r12)
	je	LBB0_12
LBB0_8:
	cmpl	$0, 8(%rbx)
	je	LBB0_17
LBB0_9:
	movq	(%rbx), %rax
	movq	_STT_FUNC@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_20
## %bb.10:
	cmpq	$0, 40(%rbx)
	jne	LBB0_20
## %bb.11:
	movl	$0, 24(%rbx)
	jmp	LBB0_22
LBB0_12:
	movq	(%rbx), %rdx
	testq	%rdx, %rdx
	je	LBB0_8
## %bb.13:
	movq	16(%rbx), %rax
	movq	_bfd_link_hash_defweak@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.14:
	cmpl	$0, 52(%rbx)
	jne	LBB0_8
LBB0_15:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_mips_elf_allocate_dynamic_relocations
	cmpq	$0, 16(%rbx)
	je	LBB0_8
## %bb.16:
	movq	_DF_TEXTREL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r12)
	jmp	LBB0_8
LBB0_17:
	cmpq	$0, 40(%rbx)
	je	LBB0_9
## %bb.18:
	movq	%r12, %rdi
	callq	_elf_hash_table
	cmpl	$0, (%rax)
	je	LBB0_22
## %bb.19:
	cmpl	$0, 52(%rbx)
	je	LBB0_23
LBB0_20:
	movq	8(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movq	(%rax), %rax
	movq	_bfd_link_hash_defined@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_bfd_link_hash_defweak@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %edi
	callq	_BFD_ASSERT
	movq	8(%rbx), %rax
	movq	16(%rax), %rcx
	movq	%rcx, 32(%rbx)
	movl	8(%rax), %eax
	movl	%eax, 24(%rbx)
LBB0_22:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_23:
	movq	%r15, %rdi
	callq	_MIPS_ELF_STUB_SECTION_NAME
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_bfd_get_section_by_name
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movq	%r15, 32(%rbx)
	movl	(%r15), %eax
	movl	%eax, 24(%rbx)
	movl	%eax, 48(%rbx)
	addl	(%r14), %eax
	movl	%eax, (%r15)
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_bfd_link_hash_defweak,8,3      ## @bfd_link_hash_defweak
	.comm	_DF_TEXTREL,4,2                 ## @DF_TEXTREL
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_STT_FUNC,8,3                   ## @STT_FUNC
	.comm	_bfd_link_hash_defined,8,3      ## @bfd_link_hash_defined
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_mips_elf_adjust_dynamic_symbol ; -- Begin function _bfd_mips_elf_adjust_dynamic_symbol
	.p2align	2
__bfd_mips_elf_adjust_dynamic_symbol:   ; @_bfd_mips_elf_adjust_dynamic_symbol
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x22, x0
	bl	_mips_elf_hash_table
	mov	x20, x0
	mov	x0, x22
	bl	_elf_hash_table
	ldr	x21, [x0, #8]
	cbz	x21, LBB0_7
; %bb.1:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_4
LBB0_3:
	mov	w0, #1
	b	LBB0_8
LBB0_4:
	ldr	x8, [x19, #64]
	cbz	x8, LBB0_7
; %bb.5:
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_7
; %bb.6:
	ldr	w8, [x19, #52]
	cmp	w8, #0
	cset	w0, eq
	b	LBB0_8
LBB0_7:
	mov	w0, #0
LBB0_8:
	bl	_BFD_ASSERT
	ldr	w8, [x22, #4]
	cbz	w8, LBB0_13
LBB0_9:
	ldr	w8, [x19, #8]
	cbz	w8, LBB0_18
LBB0_10:
	ldr	x8, [x19]
Lloh0:
	adrp	x9, _STT_FUNC@GOTPAGE
Lloh1:
	ldr	x9, [x9, _STT_FUNC@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_21
; %bb.11:
	ldr	x8, [x19, #40]
	cbnz	x8, LBB0_21
; %bb.12:
	str	wzr, [x19, #24]
	b	LBB0_23
LBB0_13:
	ldr	x2, [x19]
	cbz	x2, LBB0_9
; %bb.14:
	ldr	x8, [x19, #16]
Lloh3:
	adrp	x9, _bfd_link_hash_defweak@GOTPAGE
Lloh4:
	ldr	x9, [x9, _bfd_link_hash_defweak@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_16
; %bb.15:
	ldr	w8, [x19, #52]
	cbnz	w8, LBB0_9
LBB0_16:
	mov	x0, x21
	mov	x1, x22
	bl	_mips_elf_allocate_dynamic_relocations
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_9
; %bb.17:
Lloh6:
	adrp	x8, _DF_TEXTREL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DF_TEXTREL@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	ldr	w9, [x22]
	orr	w8, w9, w8
	str	w8, [x22]
	b	LBB0_9
LBB0_18:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_10
; %bb.19:
	mov	x0, x22
	bl	_elf_hash_table
	ldr	w8, [x0]
	cbz	w8, LBB0_23
; %bb.20:
	ldr	w8, [x19, #52]
	cbz	w8, LBB0_24
LBB0_21:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_23
; %bb.22:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _bfd_link_hash_defined@GOTPAGE
Lloh10:
	ldr	x9, [x9, _bfd_link_hash_defined@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
Lloh12:
	adrp	x9, _bfd_link_hash_defweak@GOTPAGE
Lloh13:
	ldr	x9, [x9, _bfd_link_hash_defweak@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ccmp	x8, x9, #4, ne
	cset	w0, eq
	bl	_BFD_ASSERT
	ldr	x8, [x19, #8]
	ldr	x9, [x8, #16]
	str	x9, [x19, #32]
	ldr	w8, [x8, #8]
	str	w8, [x19, #24]
LBB0_23:
Lloh15:
	adrp	x8, _TRUE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_24:
	mov	x0, x21
	bl	_MIPS_ELF_STUB_SECTION_NAME
	mov	x1, x0
	mov	x0, x21
	bl	_bfd_get_section_by_name
	mov	x21, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	str	x21, [x19, #32]
	ldr	w8, [x21]
	str	w8, [x19, #24]
	str	w8, [x19, #48]
	ldr	w9, [x20]
	add	w8, w8, w9
	str	w8, [x21]
	b	LBB0_23
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_bfd_link_hash_defweak,8,3      ; @bfd_link_hash_defweak
	.comm	_DF_TEXTREL,4,2                 ; @DF_TEXTREL
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_STT_FUNC,8,3                   ; @STT_FUNC
	.comm	_bfd_link_hash_defined,8,3      ; @bfd_link_hash_defined
.subsections_via_symbols
