	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_sparc_elf_finish_dynamic_sections ## -- Begin function _bfd_sparc_elf_finish_dynamic_sections
	.p2align	4, 0x90
__bfd_sparc_elf_finish_dynamic_sections: ## @_bfd_sparc_elf_finish_dynamic_sections
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rdi
	callq	__bfd_sparc_elf_hash_table
	movq	%rax, %r13
	movq	32(%rax), %r14
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, %r15
	movq	%rbx, %rdi
	callq	_elf_hash_table
	cmpq	$0, (%rax)
	je	LBB0_14
## %bb.1:
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, %r12
	testq	%rax, %rax
	setne	%al
	testq	%r15, %r15
	setne	%cl
	andb	%al, %cl
	movzbl	%cl, %edi
	callq	_BFD_ASSERT
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	movq	%r14, %rdx
	movq	%r15, %rcx
	movq	%r12, %r8
	callq	_sparc_finish_dyn
	testl	%eax, %eax
	je	LBB0_2
## %bb.3:
	cmpq	$0, (%r12)
	jle	LBB0_10
## %bb.4:
	cmpq	$0, 16(%r13)
	je	LBB0_8
## %bb.5:
	cmpq	$0, (%rbx)
	je	LBB0_7
## %bb.6:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_sparc_vxworks_finish_shared_plt
	jmp	LBB0_10
LBB0_2:
	movq	_FALSE@GOTPCREL(%rip), %rbx
	jmp	LBB0_21
LBB0_8:
	movq	8(%r12), %rdi
	movl	24(%r13), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ABI_64_P
	testl	%eax, %eax
	jne	LBB0_10
## %bb.9:
	movq	_SPARC_NOP@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movq	(%r12), %rax
	movq	8(%r12), %rcx
	leaq	(%rcx,%rax), %rdx
	addq	$-4, %rdx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_bfd_put_32
	jmp	LBB0_10
LBB0_7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_sparc_vxworks_finish_exec_plt
LBB0_10:
	xorl	%ebx, %ebx
	cmpq	$0, 16(%r13)
	jne	LBB0_13
## %bb.11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_ABI_64_P
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movl	8(%r13), %ebx
LBB0_13:
	movq	24(%r12), %rdi
	callq	_elf_section_data
	movl	%ebx, (%rax)
LBB0_14:
	movq	(%r13), %rax
	movq	_TRUE@GOTPCREL(%rip), %rbx
	testq	%rax, %rax
	je	LBB0_21
## %bb.15:
	cmpq	$0, (%rax)
	jle	LBB0_20
## %bb.16:
	testq	%r15, %r15
	je	LBB0_17
## %bb.18:
	movq	16(%r15), %rdx
	movq	24(%r15), %rcx
	addq	(%rcx), %rdx
	jmp	LBB0_19
LBB0_17:
	xorl	%edx, %edx
LBB0_19:
	movl	16(%rax), %ecx
	movq	%r13, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_SPARC_ELF_PUT_WORD
	cmpq	$0, (%r13)
	je	LBB0_21
LBB0_20:
	movq	%r13, %rdi
	callq	_SPARC_ELF_WORD_BYTES
	movl	%eax, %r14d
	movq	(%r13), %rax
	movq	8(%rax), %rdi
	callq	_elf_section_data
	movl	%r14d, (%rax)
LBB0_21:
	movl	(%rbx), %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".dynamic"

L_.str.1:                               ## @.str.1
	.asciz	".plt"

	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_SPARC_NOP,8,3                  ## @SPARC_NOP
	.comm	_TRUE,4,2                       ## @TRUE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__bfd_sparc_elf_finish_dynamic_sections ; -- Begin function _bfd_sparc_elf_finish_dynamic_sections
	.p2align	2
__bfd_sparc_elf_finish_dynamic_sections: ; @_bfd_sparc_elf_finish_dynamic_sections
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x23, x1
	mov	x20, x0
	mov	x0, x1
	bl	__bfd_sparc_elf_hash_table
	mov	x19, x0
	ldr	x24, [x0, #32]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_bfd_get_section_by_name
	mov	x21, x0
	mov	x0, x23
	bl	_elf_hash_table
	ldr	x8, [x0]
	cbz	x8, LBB0_15
; %bb.1:
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_bfd_get_section_by_name
	mov	x22, x0
	cmp	x0, #0
	ccmp	x21, #0, #4, ne
	cset	w0, ne
	bl	_BFD_ASSERT
	mov	x0, x20
	mov	x1, x23
	mov	x2, x24
	mov	x3, x21
	mov	x4, x22
	bl	_sparc_finish_dyn
	cbz	w0, LBB0_6
; %bb.2:
	ldr	x8, [x22]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.3:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_7
; %bb.4:
	ldr	x8, [x23]
	cbz	x8, LBB0_11
; %bb.5:
	mov	x0, x20
	mov	x1, x23
	bl	_sparc_vxworks_finish_shared_plt
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_10
	b	LBB0_12
LBB0_6:
Lloh4:
	adrp	x8, _FALSE@GOTPAGE
Lloh5:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
	b	LBB0_23
LBB0_7:
	ldr	x0, [x22, #8]
	ldr	w2, [x19, #24]
	mov	w1, #0
	bl	_memset
	mov	x0, x20
	bl	_ABI_64_P
	cbnz	w0, LBB0_9
; %bb.8:
Lloh6:
	adrp	x8, _SPARC_NOP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _SPARC_NOP@GOTPAGEOFF]
Lloh8:
	ldr	x1, [x8]
	ldp	x9, x8, [x22]
	add	x8, x8, x9
	sub	x2, x8, #4
	mov	x0, x20
	bl	_bfd_put_32
LBB0_9:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_12
LBB0_10:
	mov	w23, #0
	b	LBB0_14
LBB0_11:
	mov	x0, x20
	mov	x1, x23
	bl	_sparc_vxworks_finish_exec_plt
	ldr	x8, [x19, #16]
	cbnz	x8, LBB0_10
LBB0_12:
	mov	x0, x20
	bl	_ABI_64_P
	cbz	w0, LBB0_10
; %bb.13:
	ldr	w23, [x19, #8]
LBB0_14:
	ldr	x0, [x22, #24]
	bl	_elf_section_data
	str	w23, [x0]
LBB0_15:
	ldr	x8, [x19]
	cbz	x8, LBB0_22
; %bb.16:
	ldr	x9, [x8]
	cmp	x9, #1
	b.lt	LBB0_21
; %bb.17:
	cbz	x21, LBB0_19
; %bb.18:
	ldp	x10, x9, [x21, #16]
	ldr	x9, [x9]
	add	x2, x10, x9
	b	LBB0_20
LBB0_19:
	mov	x2, #0
LBB0_20:
	ldr	w3, [x8, #16]
	mov	x0, x19
	mov	x1, x20
	bl	_SPARC_ELF_PUT_WORD
	ldr	x8, [x19]
	cbz	x8, LBB0_22
LBB0_21:
	mov	x0, x19
	bl	_SPARC_ELF_WORD_BYTES
	mov	x20, x0
	ldr	x8, [x19]
	ldr	x0, [x8, #8]
	bl	_elf_section_data
	str	w20, [x0]
LBB0_22:
Lloh9:
	adrp	x8, _TRUE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
LBB0_23:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".dynamic"

l_.str.1:                               ; @.str.1
	.asciz	".plt"

	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_SPARC_NOP,8,3                  ; @SPARC_NOP
	.comm	_TRUE,4,2                       ; @TRUE
.subsections_via_symbols
