	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sunos_add_dynamic_symbols
_sunos_add_dynamic_symbols:             ## @sunos_add_dynamic_symbols
	.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	$168, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r12
	movq	%rcx, %r13
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	(%rsi), %rax
	movq	(%rax), %rax
	cmpq	(%rdi), %rax
	jne	LBB0_5
## %bb.1:
	movq	_DYNAMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r14)
	je	LBB0_3
## %bb.2:
	cmpq	$0, 8(%r15)
	sete	%al
	jmp	LBB0_4
LBB0_3:
	xorl	%eax, %eax
LBB0_4:
	movzbl	%al, %edx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_sunos_create_dynamic_sections
	testl	%eax, %eax
	je	LBB0_53
LBB0_5:
	movq	_DYNAMIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r14)
	je	LBB0_9
## %bb.6:
	movq	%r13, -152(%rbp)                ## 8-byte Spill
	movq	%r12, -144(%rbp)                ## 8-byte Spill
	movq	%r15, -184(%rbp)                ## 8-byte Spill
	movq	%r15, %rdi
	callq	_sunos_hash_table
	movq	8(%rax), %r15
	cmpq	%r14, %r15
	je	LBB0_10
## %bb.7:
	movq	$0, 16(%r14)
LBB0_8:
	movq	-184(%rbp), %rax                ## 8-byte Reload
	cmpq	$0, 8(%rax)
	je	LBB0_15
LBB0_9:
	movq	_TRUE@GOTPCREL(%rip), %rax
	jmp	LBB0_54
LBB0_10:
	movq	16(%r14), %r12
	testq	%r12, %r12
	je	LBB0_8
## %bb.11:
	movq	_SEC_LINKER_CREATED@GOTPCREL(%rip), %r13
	jmp	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_13 Depth=1
	movq	8(%r12), %r12
	testq	%r12, %r12
	je	LBB0_8
LBB0_13:                                ## =>This Inner Loop Header: Depth=1
	movl	(%r13), %eax
	testl	%eax, (%r12)
	jne	LBB0_12
## %bb.14:                              ##   in Loop: Header=BB0_13 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bfd_section_list_remove
	jmp	LBB0_12
LBB0_15:
	movq	(%rax), %rax
	movq	(%rax), %rax
	cmpq	(%r14), %rax
	jne	LBB0_48
## %bb.16:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_49
LBB0_17:
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_get_section_by_name
	testq	%rax, %rax
	je	LBB0_51
LBB0_18:
	movq	%r14, %rdi
	callq	_sunos_slurp_dynamic_symtab
	testl	%eax, %eax
	je	LBB0_53
## %bb.19:
	movq	%r14, %rdi
	callq	_obj_aout_dynamic_info
	movq	24(%rax), %rcx
	movq	%rcx, (%rbx)
	movl	(%rax), %ecx
	movq	-152(%rbp), %rdx                ## 8-byte Reload
	movl	%ecx, (%rdx)
	movq	8(%rax), %rcx
	movq	-144(%rbp), %rdx                ## 8-byte Reload
	movq	%rcx, (%rdx)
	movq	16(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.20:
	leaq	-60(%rbp), %r15
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	leaq	-64(%rbp), %r12
	movq	%r14, -176(%rbp)                ## 8-byte Spill
LBB0_21:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_31 Depth 2
                                        ##     Child Loop BB0_46 Depth 2
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_bfd_seek
	testq	%rax, %rax
	jne	LBB0_53
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	movl	$16, %esi
	movq	%r14, %rdx
	callq	_bfd_bread
	cmpl	$16, %eax
	jne	LBB0_53
## %bb.23:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_bfd_get_32
	movq	%rax, %rbx
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_bfd_get_32
	movq	%rax, %r12
	movq	%r14, %rdi
	leaq	-56(%rbp), %rsi
	callq	_bfd_get_16
	movq	%rax, -168(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	leaq	-54(%rbp), %rsi
	callq	_bfd_get_16
	movq	%rax, -200(%rbp)                ## 8-byte Spill
	movq	%r14, %rdi
	leaq	-52(%rbp), %rsi
	callq	_bfd_get_32
	movq	%rax, %r13
	movq	%r14, %rdi
	movl	$24, %esi
	callq	_bfd_alloc
	testq	%rax, %rax
	je	LBB0_53
## %bb.24:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rax, %r15
	movq	%r14, 16(%rax)
	movl	$31, %edi
	callq	_bfd_malloc
	testq	%rax, %rax
	je	LBB0_53
## %bb.25:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r15, -152(%rbp)                ## 8-byte Spill
	movq	%rax, %r15
	testl	$-2147483648, %r12d             ## imm = 0x80000000
	je	LBB0_27
## %bb.26:                              ##   in Loop: Header=BB0_21 Depth=1
	movw	$27693, (%rax)                  ## imm = 0x6C2D
	movq	%rax, %r15
	addq	$2, %r15
LBB0_27:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	_bfd_seek
	testq	%rax, %rax
	movq	-184(%rbp), %r12                ## 8-byte Reload
	jne	LBB0_56
## %bb.28:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r13, -160(%rbp)                ## 8-byte Spill
	movl	$30, %ecx
	jmp	LBB0_31
LBB0_29:                                ##   in Loop: Header=BB0_31 Depth=2
	addl	%ebx, %ebx
	addq	%rax, %r13
	movq	%rax, -144(%rbp)                ## 8-byte Spill
	movq	%r13, %r15
	movq	%rbx, %rcx
LBB0_30:                                ##   in Loop: Header=BB0_31 Depth=2
	movzbl	-129(%rbp), %eax
	movb	%al, (%r15)
	incq	%r15
	cmpb	$0, -129(%rbp)
	leaq	L_.str.2(%rip), %r13
	je	LBB0_34
LBB0_31:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rcx, %r14
	leaq	-129(%rbp), %rdi
	movl	$1, %esi
	movq	-176(%rbp), %rdx                ## 8-byte Reload
	callq	_bfd_bread
	cmpl	$1, %eax
	jne	LBB0_56
## %bb.32:                              ##   in Loop: Header=BB0_31 Depth=2
	movq	%r15, %r13
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	subq	%rbx, %r13
	movq	%r14, %rcx
	cmpl	%r13d, %ecx
	jg	LBB0_30
## %bb.33:                              ##   in Loop: Header=BB0_31 Depth=2
	leal	(%rcx,%rcx), %esi
	incl	%esi
	movq	%rbx, %r14
	movq	%rbx, %rdi
	movq	%rcx, %rbx
	callq	_bfd_realloc
	testq	%rax, %rax
	jne	LBB0_29
	jmp	LBB0_57
LBB0_34:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-168(%rbp), %rax                ## 8-byte Reload
	testw	%ax, %ax
	je	LBB0_37
## %bb.35:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rcx, -192(%rbp)                ## 8-byte Spill
	movzwl	%ax, %edx
	leaq	-96(%rbp), %rdi
	movq	%r13, %rsi
	callq	_sprintf
	movq	-200(%rbp), %rax                ## 8-byte Reload
	testw	%ax, %ax
	movq	-176(%rbp), %r14                ## 8-byte Reload
	je	LBB0_38
## %bb.36:                              ##   in Loop: Header=BB0_21 Depth=1
	movzwl	%ax, %edx
	leaq	-128(%rbp), %rdi
	movq	%r13, %rsi
	callq	_sprintf
	jmp	LBB0_39
LBB0_37:                                ##   in Loop: Header=BB0_21 Depth=1
	movb	$0, (%r15)
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	movq	-176(%rbp), %r14                ## 8-byte Reload
	jmp	LBB0_44
LBB0_38:                                ##   in Loop: Header=BB0_21 Depth=1
	movb	$0, -128(%rbp)
LBB0_39:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r15, %rbx
	subq	-144(%rbp), %rbx                ## 8-byte Folded Reload
	leaq	-96(%rbp), %r12
	movq	%r12, %rdi
	callq	_strlen
	movslq	%eax, %r13
	movq	%rbx, -168(%rbp)                ## 8-byte Spill
	addq	%rbx, %r13
	leaq	-128(%rbp), %rdi
	callq	_strlen
	cltq
	addq	%r13, %rax
	movslq	-192(%rbp), %rcx                ## 4-byte Folded Reload
	cmpq	%rcx, %rax
	jge	LBB0_41
## %bb.40:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rsi
	leaq	-128(%rbp), %r12
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	jmp	LBB0_43
LBB0_41:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r12, %rdi
	callq	_strlen
	movl	%eax, %r12d
	leaq	-128(%rbp), %rbx
	movq	%rbx, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	movq	-168(%rbp), %r15                ## 8-byte Reload
	addl	%r15d, %r12d
	leal	(%rax,%r12), %esi
	incl	%esi
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	callq	_bfd_realloc
	testq	%rax, %rax
	leaq	-96(%rbp), %rsi
	movq	%rbx, %r12
	movq	-160(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_59
## %bb.42:                              ##   in Loop: Header=BB0_21 Depth=1
	addq	%rax, %r15
	movq	%rax, -144(%rbp)                ## 8-byte Spill
LBB0_43:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	%r15, %rdi
	callq	_strcpy
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strcat
LBB0_44:                                ##   in Loop: Header=BB0_21 Depth=1
	movq	-144(%rbp), %r13                ## 8-byte Reload
	movq	%r13, %rdi
	callq	_strlen
                                        ## kill: def $eax killed $eax def $rax
	leal	1(%rax), %esi
	movq	%r14, %rdi
	callq	_bfd_alloc
	testq	%rax, %rax
	leaq	-60(%rbp), %r15
	je	LBB0_59
## %bb.45:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	%rax, %r12
	movq	%rax, %rdi
	movq	%r13, %rsi
	callq	_strcpy
	movq	%r13, %rdi
	callq	_free
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movq	%r12, (%rax)
	movq	$0, 8(%rax)
	movq	-184(%rbp), %rdi                ## 8-byte Reload
	callq	_sunos_hash_table
	.p2align	4, 0x90
LBB0_46:                                ##   Parent Loop BB0_21 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%rax, %rcx
	movq	(%rax), %rdx
	leaq	8(%rdx), %rax
	testq	%rdx, %rdx
	jne	LBB0_46
## %bb.47:                              ##   in Loop: Header=BB0_21 Depth=1
	movq	-152(%rbp), %rax                ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%rbx, %rbx
	movq	_SEEK_SET@GOTPCREL(%rip), %rax
	leaq	-64(%rbp), %r12
	jne	LBB0_21
	jmp	LBB0_9
LBB0_48:
	movq	_bfd_error_invalid_operation@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_bfd_set_error
LBB0_53:
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_54:
	movl	(%rax), %eax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_60
## %bb.55:
	addq	$168, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_49:
	movq	_SEC_ALLOC@GOTPCREL(%rip), %rax
	movq	_SEC_LOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_SEC_HAS_CONTENTS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_SEC_IN_MEMORY@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_SEC_READONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_make_section_with_flags
	testq	%rax, %rax
	je	LBB0_53
## %bb.50:
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	$2, %edx
	callq	_bfd_set_section_alignment
	testl	%eax, %eax
	jne	LBB0_17
	jmp	LBB0_53
LBB0_51:
	movq	_SEC_ALLOC@GOTPCREL(%rip), %rax
	movq	_SEC_LOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_SEC_HAS_CONTENTS@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_SEC_IN_MEMORY@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	movq	_SEC_READONLY@GOTPCREL(%rip), %rax
	orl	(%rax), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%r15, %rdi
	callq	_bfd_make_section_with_flags
	testq	%rax, %rax
	je	LBB0_53
## %bb.52:
	movq	%r15, %rdi
	movq	%rax, %rsi
	movl	$2, %edx
	callq	_bfd_set_section_alignment
	testl	%eax, %eax
	jne	LBB0_18
	jmp	LBB0_53
LBB0_56:
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	jmp	LBB0_58
LBB0_57:
	movq	%r14, %rdi
LBB0_58:
	callq	_free
	jmp	LBB0_53
LBB0_59:
	movq	%r13, %rdi
	jmp	LBB0_58
LBB0_60:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_DYNAMIC,4,2                    ## @DYNAMIC
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SEC_LINKER_CREATED,4,2         ## @SEC_LINKER_CREATED
	.comm	_bfd_error_invalid_operation,4,2 ## @bfd_error_invalid_operation
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	".need"

	.comm	_SEC_ALLOC,4,2                  ## @SEC_ALLOC
	.comm	_SEC_LOAD,4,2                   ## @SEC_LOAD
	.comm	_SEC_HAS_CONTENTS,4,2           ## @SEC_HAS_CONTENTS
	.comm	_SEC_IN_MEMORY,4,2              ## @SEC_IN_MEMORY
	.comm	_SEC_READONLY,4,2               ## @SEC_READONLY
L_.str.1:                               ## @.str.1
	.asciz	".rules"

	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
L_.str.2:                               ## @.str.2
	.asciz	".%d"

	.no_dead_strip	_sunos_add_dynamic_symbols
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sunos_add_dynamic_symbols
_sunos_add_dynamic_symbols:             ; @sunos_add_dynamic_symbols
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #224
	.cfi_def_cfa_offset 224
	stp	x28, x27, [sp, #128]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #144]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #160]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #176]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #192]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #208]            ; 16-byte Folded Spill
	add	x29, sp, #208
	.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	x21, x4
	mov	x22, x3
	mov	x23, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
	ldr	x8, [x1]
	ldr	x8, [x8]
	ldr	x9, [x0]
Lloh3:
	adrp	x24, _DYNAMIC@GOTPAGE
Lloh4:
	ldr	x24, [x24, _DYNAMIC@GOTPAGEOFF]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.1:
	ldr	w8, [x20, #8]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.2:
	ldr	x8, [x19, #8]
	cmp	x8, #0
	cset	w2, eq
	b	LBB0_4
LBB0_3:
	mov	w2, #0
LBB0_4:
	mov	x0, x20
	mov	x1, x19
	bl	_sunos_create_dynamic_sections
	cbz	w0, LBB0_48
LBB0_5:
	ldr	w8, [x20, #8]
	ldr	w9, [x24]
	tst	w9, w8
	b.eq	LBB0_9
; %bb.6:
	mov	x0, x19
	bl	_sunos_hash_table
	ldr	x24, [x0, #8]
	cmp	x24, x20
	b.eq	LBB0_10
; %bb.7:
	str	xzr, [x20, #16]
LBB0_8:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_15
LBB0_9:
Lloh5:
	adrp	x8, _TRUE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
	b	LBB0_49
LBB0_10:
	ldr	x25, [x20, #16]
	cbz	x25, LBB0_8
; %bb.11:
Lloh7:
	adrp	x26, _SEC_LINKER_CREATED@GOTPAGE
Lloh8:
	ldr	x26, [x26, _SEC_LINKER_CREATED@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	ldr	x25, [x25, #8]
	cbz	x25, LBB0_8
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x25]
	ldr	w9, [x26]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x0, x20
	mov	x1, x25
	bl	_bfd_section_list_remove
	b	LBB0_12
LBB0_15:
	ldr	x8, [x19]
	ldr	x8, [x8]
	ldr	x9, [x20]
	cmp	x8, x9
	b.ne	LBB0_47
; %bb.16:
Lloh9:
	adrp	x1, l_.str@PAGE
Lloh10:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_51
LBB0_17:
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_bfd_get_section_by_name
	cbz	x0, LBB0_53
LBB0_18:
	mov	x0, x20
	bl	_sunos_slurp_dynamic_symtab
	cbz	w0, LBB0_48
; %bb.19:
	mov	x0, x20
	bl	_obj_aout_dynamic_info
	ldr	x8, [x0, #24]
	str	x8, [x23]
	ldr	w8, [x0]
	str	w8, [x22]
	ldr	x8, [x0, #8]
	str	x8, [x21]
	ldr	x26, [x0, #16]
	cbz	x26, LBB0_9
; %bb.20:
	add	x8, sp, #104
	add	x28, x8, #4
	add	x25, x8, #8
	add	x21, x8, #10
	add	x27, x8, #12
Lloh13:
	adrp	x22, _SEEK_SET@GOTPAGE
Lloh14:
	ldr	x22, [x22, _SEEK_SET@GOTPAGEOFF]
	stp	x25, x28, [sp, #24]             ; 16-byte Folded Spill
	stp	x27, x21, [sp, #8]              ; 16-byte Folded Spill
LBB0_21:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_31 Depth 2
                                        ;     Child Loop BB0_45 Depth 2
	ldr	w2, [x22]
	mov	x0, x20
	mov	x1, x26
	bl	_bfd_seek
	cbnz	x0, LBB0_48
; %bb.22:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x0, sp, #104
	mov	w1, #16
	mov	x2, x20
	bl	_bfd_bread
	cmp	w0, #16
	b.ne	LBB0_48
; %bb.23:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x1, sp, #104
	mov	x0, x20
	bl	_bfd_get_32
	mov	x23, x0
	mov	x0, x20
	mov	x1, x28
	bl	_bfd_get_32
	mov	x24, x0
	mov	x0, x20
	mov	x1, x25
	bl	_bfd_get_16
	mov	x22, x0
	mov	x0, x20
	mov	x1, x21
	bl	_bfd_get_16
	mov	x21, x0
	mov	x0, x20
	mov	x1, x27
	bl	_bfd_get_32
	mov	x26, x0
	mov	x0, x20
	mov	w1, #24
	bl	_bfd_alloc
	cbz	x0, LBB0_48
; %bb.24:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x27, x0
	str	x20, [x0, #16]
	mov	w0, #31
	bl	_bfd_malloc
	cbz	x0, LBB0_48
; %bb.25:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x25, x0
	mov	x28, x0
	tbz	w24, #31, LBB0_27
; %bb.26:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x28, x25
	mov	w8, #27693
	strh	w8, [x28], #2
LBB0_27:                                ;   in Loop: Header=BB0_21 Depth=1
Lloh15:
	adrp	x8, _SEEK_SET@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SEEK_SET@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x23
	bl	_bfd_seek
	cbnz	x0, LBB0_55
; %bb.28:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	w23, #30
	b	LBB0_31
LBB0_29:                                ;   in Loop: Header=BB0_31 Depth=2
	lsl	w23, w23, #1
	add	x28, x0, x24
	mov	x25, x0
LBB0_30:                                ;   in Loop: Header=BB0_31 Depth=2
	ldrb	w8, [sp, #43]
	strb	w8, [x28], #1
	ldrb	w8, [sp, #43]
	cbz	w8, LBB0_34
LBB0_31:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	add	x0, sp, #43
	mov	w1, #1
	mov	x2, x20
	bl	_bfd_bread
	cmp	w0, #1
	b.ne	LBB0_55
; %bb.32:                               ;   in Loop: Header=BB0_31 Depth=2
	sub	x24, x28, x25
	cmp	w23, w24
	b.gt	LBB0_30
; %bb.33:                               ;   in Loop: Header=BB0_31 Depth=2
	mov	w1, #1
	bfi	w1, w23, #1, #31
	mov	x0, x25
	bl	_bfd_realloc
	cbnz	x0, LBB0_29
	b	LBB0_55
LBB0_34:                                ;   in Loop: Header=BB0_21 Depth=1
	tst	x22, #0xffff
	b.eq	LBB0_37
; %bb.35:                               ;   in Loop: Header=BB0_21 Depth=1
	and	w2, w22, #0xffff
	add	x0, sp, #74
Lloh18:
	adrp	x22, l_.str.2@PAGE
Lloh19:
	add	x22, x22, l_.str.2@PAGEOFF
	mov	x1, x22
	bl	_sprintf
	tst	x21, #0xffff
	b.eq	LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_21 Depth=1
	and	w2, w21, #0xffff
	add	x0, sp, #44
	mov	x1, x22
	bl	_sprintf
	b	LBB0_39
LBB0_37:                                ;   in Loop: Header=BB0_21 Depth=1
	strb	wzr, [x28]
	b	LBB0_43
LBB0_38:                                ;   in Loop: Header=BB0_21 Depth=1
	strb	wzr, [sp, #44]
LBB0_39:                                ;   in Loop: Header=BB0_21 Depth=1
	sub	x22, x28, x25
	add	x0, sp, #74
	bl	_strlen
	add	x21, x22, w0, sxtw
	add	x0, sp, #44
	bl	_strlen
	add	x8, x21, w0, sxtw
	cmp	x8, w23, sxtw
	b.lt	LBB0_42
; %bb.40:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x0, sp, #74
	bl	_strlen
	mov	x21, x0
	add	x0, sp, #44
	bl	_strlen
	add	w8, w22, w21
	add	w8, w8, w0
	add	w1, w8, #1
	mov	x0, x25
	bl	_bfd_realloc
	cbz	x0, LBB0_55
; %bb.41:                               ;   in Loop: Header=BB0_21 Depth=1
	add	x28, x0, x22
	mov	x25, x0
LBB0_42:                                ;   in Loop: Header=BB0_21 Depth=1
	add	x1, sp, #74
	mov	x0, x28
	bl	_strcpy
	add	x1, sp, #44
	mov	x0, x28
	bl	_strcat
LBB0_43:                                ;   in Loop: Header=BB0_21 Depth=1
Lloh20:
	adrp	x22, _SEEK_SET@GOTPAGE
Lloh21:
	ldr	x22, [x22, _SEEK_SET@GOTPAGEOFF]
	mov	x0, x25
	bl	_strlen
	add	w1, w0, #1
	mov	x0, x20
	bl	_bfd_alloc
	ldr	x28, [sp, #32]                  ; 8-byte Folded Reload
	cbz	x0, LBB0_55
; %bb.44:                               ;   in Loop: Header=BB0_21 Depth=1
	mov	x21, x0
	mov	x1, x25
	bl	_strcpy
	mov	x0, x25
	bl	_free
	stp	x21, xzr, [x27]
	mov	x0, x19
	bl	_sunos_hash_table
LBB0_45:                                ;   Parent Loop BB0_21 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x8, x0
	ldr	x9, [x0]
	add	x0, x9, #8
	cbnz	x9, LBB0_45
; %bb.46:                               ;   in Loop: Header=BB0_21 Depth=1
	str	x27, [x8]
	ldp	x21, x25, [sp, #16]             ; 16-byte Folded Reload
	ldr	x27, [sp, #8]                   ; 8-byte Folded Reload
	cbnz	x26, LBB0_21
	b	LBB0_9
LBB0_47:
Lloh22:
	adrp	x8, _bfd_error_invalid_operation@GOTPAGE
Lloh23:
	ldr	x8, [x8, _bfd_error_invalid_operation@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
	bl	_bfd_set_error
LBB0_48:
Lloh25:
	adrp	x8, _FALSE@GOTPAGE
Lloh26:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
LBB0_49:
	ldr	w0, [x8]
	ldur	x8, [x29, #-88]
Lloh27:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh28:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh29:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_56
; %bb.50:
	ldp	x29, x30, [sp, #208]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #192]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #176]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #160]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #144]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #128]            ; 16-byte Folded Reload
	add	sp, sp, #224
	ret
LBB0_51:
Lloh30:
	adrp	x8, _SEC_ALLOC@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SEC_ALLOC@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
Lloh33:
	adrp	x9, _SEC_LOAD@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SEC_LOAD@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh36:
	adrp	x9, _SEC_HAS_CONTENTS@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SEC_HAS_CONTENTS@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh39:
	adrp	x9, _SEC_IN_MEMORY@GOTPAGE
Lloh40:
	ldr	x9, [x9, _SEC_IN_MEMORY@GOTPAGEOFF]
Lloh41:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh42:
	adrp	x9, _SEC_READONLY@GOTPAGE
Lloh43:
	ldr	x9, [x9, _SEC_READONLY@GOTPAGEOFF]
Lloh44:
	ldr	w9, [x9]
	orr	w2, w8, w9
Lloh45:
	adrp	x1, l_.str@PAGE
Lloh46:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x24
	bl	_bfd_make_section_with_flags
	cbz	x0, LBB0_48
; %bb.52:
	mov	x1, x0
	mov	x0, x24
	mov	w2, #2
	bl	_bfd_set_section_alignment
	cbnz	w0, LBB0_17
	b	LBB0_48
LBB0_53:
Lloh47:
	adrp	x8, _SEC_ALLOC@GOTPAGE
Lloh48:
	ldr	x8, [x8, _SEC_ALLOC@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
Lloh50:
	adrp	x9, _SEC_LOAD@GOTPAGE
Lloh51:
	ldr	x9, [x9, _SEC_LOAD@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh53:
	adrp	x9, _SEC_HAS_CONTENTS@GOTPAGE
Lloh54:
	ldr	x9, [x9, _SEC_HAS_CONTENTS@GOTPAGEOFF]
Lloh55:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh56:
	adrp	x9, _SEC_IN_MEMORY@GOTPAGE
Lloh57:
	ldr	x9, [x9, _SEC_IN_MEMORY@GOTPAGEOFF]
Lloh58:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh59:
	adrp	x9, _SEC_READONLY@GOTPAGE
Lloh60:
	ldr	x9, [x9, _SEC_READONLY@GOTPAGEOFF]
Lloh61:
	ldr	w9, [x9]
	orr	w2, w8, w9
Lloh62:
	adrp	x1, l_.str.1@PAGE
Lloh63:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x24
	bl	_bfd_make_section_with_flags
	cbz	x0, LBB0_48
; %bb.54:
	mov	x1, x0
	mov	x0, x24
	mov	w2, #2
	bl	_bfd_set_section_alignment
	cbnz	w0, LBB0_18
	b	LBB0_48
LBB0_55:
	mov	x0, x25
	bl	_free
	b	LBB0_48
LBB0_56:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpLdrGotLdr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh53, Lloh54, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.cfi_endproc
                                        ; -- End function
	.comm	_DYNAMIC,4,2                    ; @DYNAMIC
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SEC_LINKER_CREATED,4,2         ; @SEC_LINKER_CREATED
	.comm	_bfd_error_invalid_operation,4,2 ; @bfd_error_invalid_operation
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	".need"

	.comm	_SEC_ALLOC,4,2                  ; @SEC_ALLOC
	.comm	_SEC_LOAD,4,2                   ; @SEC_LOAD
	.comm	_SEC_HAS_CONTENTS,4,2           ; @SEC_HAS_CONTENTS
	.comm	_SEC_IN_MEMORY,4,2              ; @SEC_IN_MEMORY
	.comm	_SEC_READONLY,4,2               ; @SEC_READONLY
l_.str.1:                               ; @.str.1
	.asciz	".rules"

	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
l_.str.2:                               ; @.str.2
	.asciz	".%d"

	.no_dead_strip	_sunos_add_dynamic_symbols
.subsections_via_symbols
