	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sunos_finish_dynamic_link
_sunos_finish_dynamic_link:             ## @sunos_finish_dynamic_link
	.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	$296, %rsp                      ## imm = 0x128
	.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, %r14
	movq	%rsi, %rdi
	callq	_sunos_hash_table
	cmpl	$0, 20(%rax)
	jne	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_sunos_hash_table
	cmpl	$0, 16(%rax)
	je	LBB0_34
LBB0_2:
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_sunos_hash_table
	movq	8(%rax), %r13
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	xorl	%edi, %edi
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_7
## %bb.3:
	cmpq	$0, (%rax)
	je	LBB0_7
## %bb.4:
	movq	8(%rax), %r15
	movq	24(%rax), %rcx
	addq	(%rcx), %r15
	movq	32(%rax), %rbx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_GET_WORD
	leaq	(%rax,%r15), %rsi
	movq	%r13, %rdi
	movq	%rbx, %rdx
	callq	_PUT_WORD
	addq	$1632, %rbx                     ## imm = 0x660
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_GET_WORD
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	addq	%r15, %rax
	movq	%r13, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_PUT_WORD
	leaq	544(%rbx), %r12
	movq	%r13, %rdi
	movq	%r12, %rsi
	callq	_GET_WORD
	leaq	(%rax,%r15), %rsi
	movq	%r13, %rdi
	movq	%r12, %rdx
	callq	_PUT_WORD
	addq	$2176, %rbx                     ## imm = 0x880
	jmp	LBB0_5
LBB0_7:
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_9
LBB0_11:
	xorl	%esi, %esi
	jmp	LBB0_12
LBB0_9:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	cmpq	$0, (%rax)
	je	LBB0_11
## %bb.10:
	movq	8(%rax), %rsi
	movq	24(%rax), %rax
	addq	8(%rax), %rsi
LBB0_12:
	movq	32(%rbx), %rdx
	movq	%r13, %rdi
	callq	_PUT_WORD
	movq	8(%r13), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
## %bb.13:
	movq	_SEC_HAS_CONTENTS@GOTPCREL(%rip), %r15
	jmp	LBB0_17
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_17 Depth=1
	cmpq	%r14, 16(%rax)
	sete	%al
LBB0_15:                                ##   in Loop: Header=BB0_17 Depth=1
	movzbl	%al, %edi
	callq	_BFD_ASSERT
	movq	24(%rbx), %rsi
	movq	32(%rbx), %rdx
	movq	(%rbx), %r8
	movq	8(%rbx), %rcx
	movq	%r14, %rdi
	callq	_bfd_set_section_contents
	testl	%eax, %eax
	je	LBB0_35
LBB0_16:                                ##   in Loop: Header=BB0_17 Depth=1
	movq	40(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_21
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r15), %eax
	testl	%eax, 16(%rbx)
	je	LBB0_16
## %bb.18:                              ##   in Loop: Header=BB0_17 Depth=1
	cmpq	$0, 32(%rbx)
	je	LBB0_16
## %bb.19:                              ##   in Loop: Header=BB0_17 Depth=1
	movq	24(%rbx), %rax
	testq	%rax, %rax
	jne	LBB0_14
## %bb.20:                              ##   in Loop: Header=BB0_17 Depth=1
	xorl	%eax, %eax
	jmp	LBB0_15
LBB0_21:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	cmpq	$0, (%rbx)
	jle	LBB0_34
## %bb.22:
	movl	$3, %esi
	movq	%r13, %rdi
	callq	_PUT_WORD
	movq	8(%rbx), %rax
	movq	24(%rbx), %rcx
	movq	8(%rcx), %rcx
	leaq	(%rcx,%rax), %rsi
	addq	$136, %rsi
	movq	%r13, %rdi
	callq	_PUT_WORD
	movq	24(%rbx), %rax
	movq	8(%rax), %rax
	movq	_EXTERNAL_SUN4_DYNAMIC_DEBUGGER_SIZE@GOTPCREL(%rip), %r12
	movq	(%r12), %rcx
	addq	8(%rbx), %rax
	leaq	(%rcx,%rax), %rsi
	addq	$136, %rsi
	movq	%r13, %rdi
	callq	_PUT_WORD
	movq	8(%rbx), %rcx
	movq	24(%rbx), %rsi
	leaq	-328(%rbp), %rdx
	movl	$136, %r8d
	movq	%r14, %rdi
	callq	_bfd_set_section_contents
	testl	%eax, %eax
	je	LBB0_35
## %bb.23:
	xorl	%ebx, %ebx
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_PUT_WORD
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_27
## %bb.24:
	cmpq	$0, (%rax)
	je	LBB0_26
## %bb.25:
	movq	8(%rax), %rbx
	movq	24(%rax), %rax
	addq	(%rax), %rbx
	jmp	LBB0_27
LBB0_26:
	xorl	%ebx, %ebx
LBB0_27:
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_PUT_WORD
	leaq	L_.str.3(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_31
## %bb.28:
	cmpq	$0, (%rax)
	je	LBB0_31
## %bb.29:
	movq	8(%rax), %rsi
	movq	24(%rax), %rax
	addq	(%rax), %rsi
	jmp	LBB0_32
LBB0_31:
	xorl	%esi, %esi
LBB0_32:
	movq	%r13, %rdi
	callq	_PUT_WORD
	leaq	L_.str.2(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movq	8(%rbx), %rsi
	movq	24(%rbx), %rax
	addq	8(%rax), %rsi
	movq	%r13, %rdi
	callq	_PUT_WORD
	leaq	L_.str.4(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movq	8(%rbx), %rsi
	movq	24(%rbx), %rax
	addq	8(%rax), %rsi
	movq	%r13, %rdi
	callq	_PUT_WORD
	movq	(%rbx), %rsi
	movq	%r13, %rdi
	callq	_PUT_WORD
	leaq	L_.str.5(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movslq	20(%rbx), %r15
	movq	%r13, %rdi
	callq	_obj_reloc_entry_size
	cltq
	imulq	%r15, %rax
	xorl	%edi, %edi
	cmpq	%rax, (%rbx)
	sete	%dil
	callq	_BFD_ASSERT
	movq	8(%rbx), %rsi
	movq	24(%rbx), %rax
	addq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_PUT_WORD
	leaq	L_.str.6(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movq	8(%rbx), %rsi
	movq	24(%rbx), %rax
	addq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_PUT_WORD
	leaq	L_.str.7(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movq	8(%rbx), %rsi
	movq	24(%rbx), %rax
	addq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_PUT_WORD
	movq	%r13, %rdi
	xorl	%esi, %esi
	callq	_PUT_WORD
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_sunos_hash_table
	movq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_PUT_WORD
	leaq	L_.str.8(%rip), %rsi
	movq	%r13, %rdi
	callq	_bfd_get_section_by_name
	movq	%rax, %rbx
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_BFD_ASSERT
	movq	8(%rbx), %rsi
	movq	24(%rbx), %rax
	addq	(%rax), %rsi
	movq	%r13, %rdi
	callq	_PUT_WORD
	movq	(%rbx), %rsi
	movq	-184(%rbp), %rdx
	movq	%r13, %rdi
	callq	_PUT_WORD
	movq	%r14, %rdi
	callq	_obj_textsec
	movl	(%rax), %edi
	movl	$8192, %esi                     ## imm = 0x2000
	callq	_BFD_ALIGN
	movq	-192(%rbp), %rdx
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_PUT_WORD
	movq	(%r12), %rax
	movq	-48(%rbp), %rdx                 ## 8-byte Reload
	movq	8(%rdx), %rcx
	movq	24(%rdx), %rsi
	leaq	136(%rcx,%rax), %rcx
	leaq	-192(%rbp), %rdx
	movl	$136, %r8d
	movq	%r14, %rdi
	callq	_bfd_set_section_contents
	testl	%eax, %eax
	je	LBB0_35
## %bb.33:
	movq	_DYNAMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%r14)
LBB0_34:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_36
LBB0_35:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_36:
	movl	(%rax), %eax
	addq	$296, %rsp                      ## imm = 0x128
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".dynamic"

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

L_.str.2:                               ## @.str.2
	.asciz	".got"

	.comm	_SEC_HAS_CONTENTS,4,2           ## @SEC_HAS_CONTENTS
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_EXTERNAL_SUN4_DYNAMIC_DEBUGGER_SIZE,8,3 ## @EXTERNAL_SUN4_DYNAMIC_DEBUGGER_SIZE
L_.str.3:                               ## @.str.3
	.asciz	".rules"

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

L_.str.5:                               ## @.str.5
	.asciz	".dynrel"

L_.str.6:                               ## @.str.6
	.asciz	".hash"

L_.str.7:                               ## @.str.7
	.asciz	".dynsym"

L_.str.8:                               ## @.str.8
	.asciz	".dynstr"

	.comm	_DYNAMIC,4,2                    ## @DYNAMIC
	.no_dead_strip	_sunos_finish_dynamic_link
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sunos_finish_dynamic_link
_sunos_finish_dynamic_link:             ; @sunos_finish_dynamic_link
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x26, x25, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	mov	x22, x1
	mov	x19, x0
	mov	x0, x1
	bl	_sunos_hash_table
	ldr	w8, [x0, #20]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x0, x22
	bl	_sunos_hash_table
	ldr	w8, [x0, #16]
	cbz	w8, LBB0_32
LBB0_2:
	mov	x0, x22
	bl	_sunos_hash_table
	ldr	x21, [x0, #8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x21
	bl	_bfd_get_section_by_name
	mov	x20, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
Lloh2:
	adrp	x1, l_.str.1@PAGE
Lloh3:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_7
; %bb.3:
	ldr	x8, [x0]
	cbz	x8, LBB0_7
; %bb.4:
	ldp	x8, x23, [x0, #24]
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	add	x25, x9, x8
	mov	x0, x21
	mov	x1, x23
	bl	_GET_WORD
	add	x1, x0, x25
	mov	x0, x21
	mov	x2, x23
	bl	_PUT_WORD
	add	x23, x23, #1632
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	mov	x1, x23
	bl	_GET_WORD
	cbz	x0, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x1, x0, x25
	mov	x0, x21
	mov	x2, x23
	bl	_PUT_WORD
	add	x24, x23, #544
	mov	x0, x21
	mov	x1, x24
	bl	_GET_WORD
	add	x1, x0, x25
	mov	x0, x21
	mov	x2, x24
	bl	_PUT_WORD
	add	x23, x23, #2176
	b	LBB0_5
LBB0_7:
Lloh4:
	adrp	x1, l_.str.2@PAGE
Lloh5:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_bfd_get_section_by_name
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x22]
	cbz	x8, LBB0_9
LBB0_8:
	mov	x1, #0
	b	LBB0_11
LBB0_9:
	ldr	x8, [x20]
	cbz	x8, LBB0_8
; %bb.10:
	ldr	x8, [x20, #24]
	ldr	x8, [x8, #8]
	ldr	x9, [x20, #8]
	add	x1, x9, x8
LBB0_11:
	ldr	x2, [x23, #32]
	mov	x0, x21
	bl	_PUT_WORD
	ldr	x23, [x21, #8]
	cbz	x23, LBB0_20
; %bb.12:
Lloh6:
	adrp	x24, _SEC_HAS_CONTENTS@GOTPAGE
Lloh7:
	ldr	x24, [x24, _SEC_HAS_CONTENTS@GOTPAGEOFF]
	b	LBB0_16
LBB0_13:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x8, #16]
	cmp	x8, x19
	cset	w0, eq
LBB0_14:                                ;   in Loop: Header=BB0_16 Depth=1
	bl	_BFD_ASSERT
	ldp	x1, x2, [x23, #24]
	ldp	x4, x3, [x23]
	mov	x0, x19
	bl	_bfd_set_section_contents
	cbz	w0, LBB0_33
LBB0_15:                                ;   in Loop: Header=BB0_16 Depth=1
	ldr	x23, [x23, #40]
	cbz	x23, LBB0_20
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x23, #16]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.17:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x23, #32]
	cbz	x8, LBB0_15
; %bb.18:                               ;   in Loop: Header=BB0_16 Depth=1
	ldr	x8, [x23, #24]
	cbnz	x8, LBB0_13
; %bb.19:                               ;   in Loop: Header=BB0_16 Depth=1
	mov	w0, #0
	b	LBB0_14
LBB0_20:
	ldr	x8, [x20]
	cmp	x8, #1
	b.lt	LBB0_32
; %bb.21:
	mov	x0, x21
	mov	w1, #3
	bl	_PUT_WORD
	ldr	x8, [x20, #24]
	ldr	x8, [x8, #8]
	ldr	x9, [x20, #8]
	add	x8, x8, x9
	add	x1, x8, #136
	mov	x0, x21
	bl	_PUT_WORD
	ldr	x8, [x20, #24]
	ldr	x8, [x8, #8]
	ldr	x9, [x20, #8]
Lloh8:
	adrp	x24, _EXTERNAL_SUN4_DYNAMIC_DEBUGGER_SIZE@GOTPAGE
Lloh9:
	ldr	x24, [x24, _EXTERNAL_SUN4_DYNAMIC_DEBUGGER_SIZE@GOTPAGEOFF]
	ldr	x10, [x24]
	add	x8, x8, x9
	add	x8, x8, x10
	add	x1, x8, #136
	mov	x0, x21
	bl	_PUT_WORD
	ldr	x1, [x20, #24]
	ldr	x3, [x20, #8]
	add	x2, sp, #136
	mov	x0, x19
	mov	w4, #136
	bl	_bfd_set_section_contents
	cbz	w0, LBB0_33
; %bb.22:
	mov	x0, x21
	mov	x1, #0
	bl	_PUT_WORD
Lloh10:
	adrp	x1, l_.str.1@PAGE
Lloh11:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_25
; %bb.23:
	ldr	x8, [x0]
	cbz	x8, LBB0_25
; %bb.24:
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	add	x1, x9, x8
	b	LBB0_26
LBB0_25:
	mov	x1, #0
LBB0_26:
	mov	x0, x21
	bl	_PUT_WORD
Lloh12:
	adrp	x1, l_.str.3@PAGE
Lloh13:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x0, x21
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_29
; %bb.27:
	ldr	x8, [x0]
	cbz	x8, LBB0_29
; %bb.28:
	ldr	x8, [x0, #24]
	ldr	x8, [x8]
	ldr	x9, [x0, #8]
	add	x1, x9, x8
	b	LBB0_30
LBB0_29:
	mov	x1, #0
LBB0_30:
	mov	x0, x21
	bl	_PUT_WORD
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	bl	_bfd_get_section_by_name
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x23, #24]
	ldr	x8, [x8, #8]
	ldr	x9, [x23, #8]
	add	x1, x9, x8
	mov	x0, x21
	bl	_PUT_WORD
Lloh16:
	adrp	x1, l_.str.4@PAGE
Lloh17:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x21
	bl	_bfd_get_section_by_name
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x23, #24]
	ldr	x8, [x8, #8]
	ldr	x9, [x23, #8]
	add	x1, x9, x8
	mov	x0, x21
	bl	_PUT_WORD
	ldr	x1, [x23]
	mov	x0, x21
	bl	_PUT_WORD
Lloh18:
	adrp	x1, l_.str.5@PAGE
Lloh19:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x21
	bl	_bfd_get_section_by_name
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldrsw	x25, [x23, #20]
	mov	x0, x21
	bl	_obj_reloc_entry_size
                                        ; kill: def $w0 killed $w0 def $x0
	sxtw	x8, w0
	mul	x8, x8, x25
	ldr	x9, [x23]
	cmp	x9, x8
	cset	w0, eq
	bl	_BFD_ASSERT
	ldr	x8, [x23, #24]
	ldr	x8, [x8]
	ldr	x9, [x23, #8]
	add	x1, x9, x8
	mov	x0, x21
	bl	_PUT_WORD
Lloh20:
	adrp	x1, l_.str.6@PAGE
Lloh21:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x21
	bl	_bfd_get_section_by_name
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x23, #24]
	ldr	x8, [x8]
	ldr	x9, [x23, #8]
	add	x1, x9, x8
	mov	x0, x21
	bl	_PUT_WORD
Lloh22:
	adrp	x1, l_.str.7@PAGE
Lloh23:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	x0, x21
	bl	_bfd_get_section_by_name
	mov	x23, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x23, #24]
	ldr	x8, [x8]
	ldr	x9, [x23, #8]
	add	x1, x9, x8
	mov	x0, x21
	bl	_PUT_WORD
	mov	x0, x21
	mov	x1, #0
	bl	_PUT_WORD
	mov	x0, x22
	bl	_sunos_hash_table
	ldr	x1, [x0]
	mov	x0, x21
	bl	_PUT_WORD
Lloh24:
	adrp	x1, l_.str.8@PAGE
Lloh25:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x21
	bl	_bfd_get_section_by_name
	mov	x22, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_BFD_ASSERT
	ldr	x8, [x22, #24]
	ldr	x8, [x8]
	ldr	x9, [x22, #8]
	add	x1, x9, x8
	mov	x0, x21
	bl	_PUT_WORD
	ldr	x1, [x22]
	ldr	x2, [sp, #8]
	mov	x0, x21
	bl	_PUT_WORD
	mov	x0, x19
	bl	_obj_textsec
	ldr	w0, [x0]
	mov	w1, #8192
	bl	_BFD_ALIGN
	mov	x1, x0
	ldr	x2, [sp]
	mov	x0, x21
	bl	_PUT_WORD
	ldr	x8, [x20, #8]
	ldr	x9, [x24]
	add	x8, x8, x9
	add	x3, x8, #136
	ldr	x1, [x20, #24]
	mov	x2, sp
	mov	x0, x19
	mov	w4, #136
	bl	_bfd_set_section_contents
	cbz	w0, LBB0_33
; %bb.31:
Lloh26:
	adrp	x8, _DYNAMIC@GOTPAGE
Lloh27:
	ldr	x8, [x8, _DYNAMIC@GOTPAGEOFF]
Lloh28:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_32:
Lloh29:
	adrp	x8, _TRUE@GOTPAGE
Lloh30:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_34
LBB0_33:
Lloh31:
	adrp	x8, _FALSE@GOTPAGE
Lloh32:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_34:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh29, Lloh30
	.loh AdrpLdrGot	Lloh31, Lloh32
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".dynamic"

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

l_.str.2:                               ; @.str.2
	.asciz	".got"

	.comm	_SEC_HAS_CONTENTS,4,2           ; @SEC_HAS_CONTENTS
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_EXTERNAL_SUN4_DYNAMIC_DEBUGGER_SIZE,8,3 ; @EXTERNAL_SUN4_DYNAMIC_DEBUGGER_SIZE
l_.str.3:                               ; @.str.3
	.asciz	".rules"

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

l_.str.5:                               ; @.str.5
	.asciz	".dynrel"

l_.str.6:                               ; @.str.6
	.asciz	".hash"

l_.str.7:                               ; @.str.7
	.asciz	".dynsym"

l_.str.8:                               ; @.str.8
	.asciz	".dynstr"

	.comm	_DYNAMIC,4,2                    ; @DYNAMIC
	.no_dead_strip	_sunos_finish_dynamic_link
.subsections_via_symbols
