	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function sunos_canonicalize_dynamic_symtab
LCPI0_0:
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	1                               ## 0x1
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
	.byte	0                               ## 0x0
LCPI0_1:
	.quad	8                               ## 0x8
	.quad	8                               ## 0x8
LCPI0_2:
	.quad	16                              ## 0x10
	.quad	16                              ## 0x10
LCPI0_3:
	.quad	24                              ## 0x18
	.quad	24                              ## 0x18
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	4, 0x90
_sunos_canonicalize_dynamic_symtab:     ## @sunos_canonicalize_dynamic_symtab
	.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	%rsi, %rbx
	movq	%rdi, %r15
	callq	_sunos_slurp_dynamic_symtab
	movq	$-1, %r14
	testl	%eax, %eax
	je	LBB0_31
## %bb.1:
	movq	%r15, %rdi
	callq	_obj_aout_dynamic_info
	movq	%rax, %r12
	leaq	8(%rax), %r13
	cmpq	$0, 8(%rax)
	jne	LBB0_4
## %bb.2:
	movq	(%r12), %rsi
	movq	56(%r12), %rax
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	shlq	$2, %rsi
	movq	%r15, %rdi
	callq	_bfd_alloc
	movq	%rax, 8(%r12)
	movq	(%r12), %rcx
	testq	%rax, %rax
	je	LBB0_19
LBB0_3:
	movq	-48(%rbp), %r9                  ## 8-byte Reload
	movq	16(%r12), %r8
	movq	24(%r12), %rdx
	movq	_TRUE@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	movl	%esi, (%rsp)
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	_aout_32_translate_symbol_table
	testl	%eax, %eax
	je	LBB0_28
LBB0_4:
	movq	(%r12), %r14
	testq	%r14, %r14
	je	LBB0_15
## %bb.5:
	cmpq	$4, %r14
	jb	LBB0_8
## %bb.6:
	leaq	16(%r12), %rax
	cmpq	%rbx, %rax
	jbe	LBB0_21
## %bb.7:
	leaq	(%rbx,%r14,8), %rax
	addq	$8, %r12
	cmpq	%rax, %r12
	jae	LBB0_21
LBB0_8:
	xorl	%eax, %eax
LBB0_9:
	movl	%r14d, %edx
	subl	%eax, %edx
	movq	%rax, %r8
	notq	%r8
	addq	%r14, %r8
	andq	$7, %rdx
	je	LBB0_13
## %bb.10:
	leaq	(,%rax,4), %rsi
	negq	%rdx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	addq	%rsi, %rcx
	movq	%rcx, (%rbx)
	addq	$8, %rbx
	decq	%rdi
	addq	$4, %rsi
	cmpq	%rdi, %rdx
	jne	LBB0_11
## %bb.12:
	subq	%rdi, %rax
LBB0_13:
	cmpq	$7, %r8
	jb	LBB0_15
## %bb.16:
	leaq	(,%rax,4), %rcx
	xorl	%edx, %edx
	movq	%rbx, %rdi
	.p2align	4, 0x90
LBB0_17:                                ## =>This Inner Loop Header: Depth=1
	movq	%rdi, %rsi
	movq	(%r13), %rdi
	addq	%rcx, %rdi
	addq	%rdx, %rdi
	movq	%rdi, (%rbx,%rdx,2)
	movq	(%r13), %rdi
	addq	%rcx, %rdi
	addq	%rdx, %rdi
	addq	$4, %rdi
	movq	%rdi, 8(%rbx,%rdx,2)
	movq	(%r13), %rdi
	addq	%rcx, %rdi
	addq	%rdx, %rdi
	addq	$8, %rdi
	movq	%rdi, 16(%rbx,%rdx,2)
	movq	(%r13), %rdi
	addq	%rcx, %rdi
	addq	%rdx, %rdi
	addq	$12, %rdi
	movq	%rdi, 24(%rbx,%rdx,2)
	movq	(%r13), %rdi
	addq	%rcx, %rdi
	addq	%rdx, %rdi
	addq	$16, %rdi
	movq	%rdi, 32(%rbx,%rdx,2)
	movq	(%r13), %rdi
	addq	%rcx, %rdi
	addq	%rdx, %rdi
	addq	$20, %rdi
	movq	%rdi, 40(%rbx,%rdx,2)
	movq	(%r13), %rdi
	addq	%rcx, %rdi
	addq	%rdx, %rdi
	addq	$24, %rdi
	movq	%rdi, 48(%rbx,%rdx,2)
	movq	(%r13), %rdi
	addq	%rcx, %rdi
	addq	%rdx, %rdi
	addq	$28, %rdi
	movq	%rdi, 56(%rbx,%rdx,2)
	addq	$8, %rax
	leaq	(%rbx,%rdx,2), %rdi
	addq	$64, %rdi
	addq	$32, %rdx
	cmpq	%rax, %r14
	jne	LBB0_17
## %bb.18:
	addq	$64, %rsi
	movq	%rsi, %r13
	jmp	LBB0_30
LBB0_19:
	testq	%rcx, %rcx
	jne	LBB0_31
## %bb.20:
	xorl	%ecx, %ecx
	jmp	LBB0_3
LBB0_21:
	movq	%r14, %rax
	andq	$-4, %rax
	leaq	-4(%rax), %rdx
	movq	%rdx, %rcx
	shrq	$2, %rcx
	incq	%rcx
	testq	%rdx, %rdx
	je	LBB0_32
## %bb.22:
	movq	%rcx, %rsi
	andq	$-2, %rsi
	movq	(%r13), %xmm0                   ## xmm0 = mem[0],zero
	pshufd	$68, %xmm0, %xmm1               ## xmm1 = xmm0[0,1,0,1]
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edx, %edx
	movdqa	LCPI0_1(%rip), %xmm2            ## xmm2 = [8,8]
	movdqa	LCPI0_2(%rip), %xmm3            ## xmm3 = [16,16]
	movdqa	LCPI0_3(%rip), %xmm4            ## xmm4 = [24,24]
	.p2align	4, 0x90
LBB0_23:                                ## =>This Inner Loop Header: Depth=1
	movdqa	%xmm0, %xmm5
	psllq	$2, %xmm5
	paddq	%xmm1, %xmm5
	movdqa	%xmm5, %xmm6
	paddq	%xmm2, %xmm6
	movdqu	%xmm5, (%rbx,%rdx,8)
	movdqu	%xmm6, 16(%rbx,%rdx,8)
	movdqa	%xmm5, %xmm6
	paddq	%xmm3, %xmm6
	paddq	%xmm4, %xmm5
	movdqu	%xmm6, 32(%rbx,%rdx,8)
	movdqu	%xmm5, 48(%rbx,%rdx,8)
	addq	$8, %rdx
	paddq	%xmm2, %xmm0
	addq	$-2, %rsi
	jne	LBB0_23
## %bb.24:
	testb	$1, %cl
	je	LBB0_26
LBB0_25:
	movq	(%r13), %xmm1                   ## xmm1 = mem[0],zero
	pshufd	$68, %xmm1, %xmm1               ## xmm1 = xmm1[0,1,0,1]
	psllq	$2, %xmm0
	paddq	%xmm1, %xmm0
	movdqa	LCPI0_1(%rip), %xmm1            ## xmm1 = [8,8]
	paddq	%xmm0, %xmm1
	movdqu	%xmm0, (%rbx,%rdx,8)
	movdqu	%xmm1, 16(%rbx,%rdx,8)
LBB0_26:
	leaq	(%rbx,%rax,8), %rbx
	cmpq	%rax, %r14
	jne	LBB0_9
LBB0_15:
	movq	%rbx, %r13
LBB0_30:
	movq	$0, (%r13)
LBB0_31:
	movq	%r14, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	(%r13), %rsi
	testq	%rsi, %rsi
	je	LBB0_31
## %bb.29:
	movq	%r15, %rdi
	callq	_bfd_release
	movq	$-1, %r14
	jmp	LBB0_30
LBB0_32:
	movdqa	LCPI0_0(%rip), %xmm0            ## xmm0 = [0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0]
	xorl	%edx, %edx
	testb	$1, %cl
	jne	LBB0_25
	jmp	LBB0_26
	.cfi_endproc
                                        ## -- End function
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_BYTES_IN_WORD,4,2              ## @BYTES_IN_WORD
	.comm	_HASH_ENTRY_SIZE,8,3            ## @HASH_ENTRY_SIZE
	.comm	_SEEK_SET,4,2                   ## @SEEK_SET
	.no_dead_strip	_sunos_canonicalize_dynamic_symtab
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ; -- Begin function sunos_canonicalize_dynamic_symtab
lCPI0_0:
	.quad	0                               ; 0x0
	.quad	1                               ; 0x1
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_sunos_canonicalize_dynamic_symtab:     ; @sunos_canonicalize_dynamic_symtab
	.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	x19, x1
	mov	x20, x0
	bl	_sunos_slurp_dynamic_symtab
	cbz	w0, LBB0_20
; %bb.1:
	mov	x0, x20
	bl	_obj_aout_dynamic_info
	mov	x21, x0
	mov	x23, x0
	ldr	x8, [x23, #8]!
	cbnz	x8, LBB0_4
; %bb.2:
	ldr	x22, [x21, #56]
	ldr	x8, [x21]
	lsl	x1, x8, #2
	mov	x0, x20
	bl	_bfd_alloc
	mov	x1, x0
	str	x0, [x21, #8]
	ldr	x3, [x21]
	cbz	x0, LBB0_14
LBB0_3:
	ldp	x4, x2, [x21, #16]
Lloh0:
	adrp	x8, _TRUE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh2:
	ldr	w6, [x8]
	mov	x0, x20
	mov	x5, x22
	bl	_aout_32_translate_symbol_table
	cbz	w0, LBB0_18
LBB0_4:
	ldr	x0, [x21]
	cbz	x0, LBB0_12
; %bb.5:
	cmp	x0, #8
	b.lo	LBB0_8
; %bb.6:
	add	x8, x21, #16
	cmp	x8, x19
	b.ls	LBB0_15
; %bb.7:
	add	x8, x19, x0, lsl #3
	add	x9, x21, #8
	cmp	x9, x8
	b.hs	LBB0_15
LBB0_8:
	mov	x8, #0
	mov	x9, x19
LBB0_9:
	lsl	x10, x8, #2
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x23]
	add	x11, x11, x10
	str	x11, [x9], #8
	add	x8, x8, #1
	add	x10, x10, #4
	cmp	x0, x8
	b.ne	LBB0_10
LBB0_11:
	mov	x23, x9
	b	LBB0_13
LBB0_12:
	mov	x23, x19
LBB0_13:
	str	xzr, [x23]
	b	LBB0_21
LBB0_14:
	cbnz	x3, LBB0_20
	b	LBB0_3
LBB0_15:
	and	x8, x0, #0xfffffffffffffff8
	add	x9, x19, x8, lsl #3
	ld1r.2d	{ v0 }, [x23]
Lloh3:
	adrp	x10, lCPI0_0@PAGE
Lloh4:
	ldr	q1, [x10, lCPI0_0@PAGEOFF]
	add	x10, x19, #32
	mov	w11, #24
	dup.2d	v2, x11
	mov	w11, #16
	dup.2d	v3, x11
	mov	w11, #8
	dup.2d	v4, x11
	mov	x11, x8
LBB0_16:                                ; =>This Inner Loop Header: Depth=1
	shl.2d	v5, v1, #2
	add.2d	v6, v0, v5
	add.2d	v5, v5, v0
	add.2d	v7, v5, v4
	add.2d	v16, v5, v3
	add.2d	v5, v5, v2
	stp	q6, q7, [x10, #-32]
	stp	q16, q5, [x10], #64
	add.2d	v1, v1, v4
	subs	x11, x11, #8
	b.ne	LBB0_16
; %bb.17:
	cmp	x0, x8
	b.ne	LBB0_9
	b	LBB0_11
LBB0_18:
	ldr	x1, [x23]
	cbz	x1, LBB0_20
; %bb.19:
	mov	x0, x20
	bl	_bfd_release
	mov	x0, #-1
	b	LBB0_13
LBB0_20:
	mov	x0, #-1
LBB0_21:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdr	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_BYTES_IN_WORD,4,2              ; @BYTES_IN_WORD
	.comm	_HASH_ENTRY_SIZE,8,3            ; @HASH_ENTRY_SIZE
	.comm	_SEEK_SET,4,2                   ; @SEEK_SET
	.no_dead_strip	_sunos_canonicalize_dynamic_symtab
.subsections_via_symbols
