	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ta_init_chash
_ta_init_chash:                         ## @ta_init_chash
	.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	%rcx, %r12
	movq	%rdx, %r15
	movq	%rsi, -48(%rbp)                 ## 8-byte Spill
	movq	_M_IPFW@GOTPCREL(%rip), %r13
	movl	(%r13), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	orl	(%rax), %edx
	movl	$32, %edi
	callq	_malloc
	movq	%rax, %r14
	movabsq	$549755813920, %rax             ## imm = 0x8000000020
	movq	%rax, (%r14)
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_chash_parse_opts
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movl	%eax, %r12d
	movl	(%r13), %esi
	movq	%r14, %rdi
	callq	_free
	jmp	LBB0_15
LBB0_2:
	movq	%r15, %r12
	movabsq	$549755814016, %rax             ## imm = 0x8000000080
	movq	%rax, 8(%r14)
	movl	(%r13), %esi
	movl	(%rbx), %edx
	movq	_M_WAITOK@GOTPCREL(%rip), %r15
	orl	(%r15), %edx
	movl	$512, %edi                      ## imm = 0x200
	callq	_malloc
	movq	%rax, 24(%r14)
	movl	12(%r14), %edi
	shll	$2, %edi
	movl	(%r13), %esi
	movl	(%rbx), %edx
	orl	(%r15), %edx
	callq	_malloc
	movq	%rax, 16(%r14)
	movl	8(%r14), %edi
	testl	%edi, %edi
	movq	-48(%rbp), %r13                 ## 8-byte Reload
	jle	LBB0_5
## %bb.3:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rdi
	addq	%r15, %rdi
	callq	_SLIST_INIT
	incq	%rbx
	movslq	8(%r14), %rdi
	addq	$4, %r15
	cmpq	%rdi, %rbx
	jl	LBB0_4
LBB0_5:
	cmpl	$0, 12(%r14)
	jle	LBB0_9
## %bb.6:
	xorl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r14), %rdi
	addq	%r15, %rdi
	callq	_SLIST_INIT
	incq	%rbx
	movslq	12(%r14), %rax
	addq	$4, %r15
	cmpq	%rax, %rbx
	jl	LBB0_7
## %bb.8:
	movl	8(%r14), %edi
LBB0_9:
	movq	%r14, (%r13)
	movups	16(%r14), %xmm0
	movups	%xmm0, 8(%r12)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_ta_log2
	movl	%eax, %r15d
	shll	$8, %r15d
	movl	12(%r14), %edi
	callq	_ta_log2
	orl	%r15d, %eax
	movl	4(%r14), %ecx
	cmpl	$64, %ecx
	jne	LBB0_11
## %bb.10:
	movl	(%r14), %ecx
	shll	$24, %ecx
	movl	$536870912, %edx                ## imm = 0x20000000
	subl	%ecx, %edx
	orl	%edx, %eax
	orl	$4194304, %eax                  ## imm = 0x400000
	movl	%eax, (%r12)
	movq	_ta_lookup_chash_64@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_11:
	movl	(%r14), %esi
	shll	$24, %esi
	movl	$536870912, %edx                ## imm = 0x20000000
	subl	%esi, %edx
	testb	$7, %cl
	je	LBB0_12
## %bb.13:
	shll	$16, %ecx
	orl	%eax, %ecx
	orl	%edx, %ecx
	movl	%ecx, (%r12)
	movq	_ta_lookup_chash_slow@GOTPCREL(%rip), %rax
	jmp	LBB0_14
LBB0_12:
	shll	$13, %ecx
	orl	%eax, %ecx
	orl	%edx, %ecx
	movl	%ecx, (%r12)
	movq	_ta_lookup_chash_aligned@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %eax
	movl	%eax, 4(%r12)
	xorl	%r12d, %r12d
LBB0_15:
	movl	%r12d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_M_IPFW,4,2                     ## @M_IPFW
	.comm	_M_WAITOK,4,2                   ## @M_WAITOK
	.comm	_M_ZERO,4,2                     ## @M_ZERO
	.comm	_ta_lookup_chash_64,4,2         ## @ta_lookup_chash_64
	.comm	_ta_lookup_chash_aligned,4,2    ## @ta_lookup_chash_aligned
	.comm	_ta_lookup_chash_slow,4,2       ## @ta_lookup_chash_slow
	.no_dead_strip	_ta_init_chash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function ta_init_chash
lCPI0_0:
	.long	32                              ; 0x20
	.long	128                             ; 0x80
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_ta_init_chash:                         ; @ta_init_chash
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x19, x2
	mov	x21, x1
Lloh0:
	adrp	x23, _M_IPFW@GOTPAGE
Lloh1:
	ldr	x23, [x23, _M_IPFW@GOTPAGEOFF]
Lloh2:
	adrp	x24, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x24, [x24, _M_WAITOK@GOTPAGEOFF]
	ldr	w1, [x23]
	ldr	w8, [x24]
Lloh4:
	adrp	x25, _M_ZERO@GOTPAGE
Lloh5:
	ldr	x25, [x25, _M_ZERO@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w2, w9, w8
	mov	w0, #32
	bl	_malloc
	mov	x20, x0
Lloh6:
	adrp	x8, lCPI0_0@PAGE
Lloh7:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x0]
	mov	x1, x22
	bl	_chash_parse_opts
	cbz	w0, LBB0_2
; %bb.1:
	mov	x22, x0
	ldr	w1, [x23]
	mov	x0, x20
	bl	_free
	b	LBB0_15
LBB0_2:
	movi.2s	v0, #128
	str	d0, [x20, #8]
	ldr	w1, [x23]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w2, w9, w8
	mov	w0, #512
	bl	_malloc
	str	x0, [x20, #24]
	ldr	w8, [x20, #12]
	lsl	w0, w8, #2
	ldr	w1, [x23]
	ldr	w8, [x24]
	ldr	w9, [x25]
	orr	w2, w9, w8
	bl	_malloc
	str	x0, [x20, #16]
	ldr	w0, [x20, #8]
	cmp	w0, #1
	b.lt	LBB0_5
; %bb.3:
	mov	x22, #0
	mov	x23, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #24]
	add	x0, x8, x22
	bl	_SLIST_INIT
	add	x23, x23, #1
	ldrsw	x0, [x20, #8]
	add	x22, x22, #4
	cmp	x23, x0
	b.lt	LBB0_4
LBB0_5:
	ldr	w8, [x20, #12]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.6:
	mov	x22, #0
	mov	x23, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	add	x0, x8, x22
	bl	_SLIST_INIT
	add	x23, x23, #1
	ldrsw	x8, [x20, #12]
	add	x22, x22, #4
	cmp	x23, x8
	b.lt	LBB0_7
; %bb.8:
	ldr	w0, [x20, #8]
LBB0_9:
	str	x20, [x21]
	ldp	x9, x8, [x20, #16]
	stp	x9, x8, [x19, #8]
                                        ; kill: def $w0 killed $w0 killed $x0
	bl	_ta_log2
	mov	x21, x0
	ldr	w0, [x20, #12]
	bl	_ta_log2
	orr	w8, w0, w21, lsl #8
	ldr	w9, [x20, #4]
	cmp	w9, #64
	b.ne	LBB0_11
; %bb.10:
	mov	w22, #0
	ldr	w9, [x20]
	mov	w10, #536870912
	sub	w9, w10, w9, lsl #24
	orr	w8, w8, w9
	orr	w8, w8, #0x400000
	str	w8, [x19]
Lloh8:
	adrp	x8, _ta_lookup_chash_64@GOTPAGE
Lloh9:
	ldr	x8, [x8, _ta_lookup_chash_64@GOTPAGEOFF]
	b	LBB0_14
LBB0_11:
	ldr	w10, [x20]
	mov	w11, #536870912
	sub	w10, w11, w10, lsl #24
	mov	w22, #0
	and	w11, w9, #0x7
	cbz	w11, LBB0_13
; %bb.12:
	orr	w8, w8, w9, lsl #16
	orr	w8, w8, w10
	str	w8, [x19]
Lloh10:
	adrp	x8, _ta_lookup_chash_slow@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ta_lookup_chash_slow@GOTPAGEOFF]
	b	LBB0_14
LBB0_13:
	orr	w8, w8, w9, lsl #13
	orr	w8, w8, w10
	str	w8, [x19]
Lloh12:
	adrp	x8, _ta_lookup_chash_aligned@GOTPAGE
Lloh13:
	ldr	x8, [x8, _ta_lookup_chash_aligned@GOTPAGEOFF]
LBB0_14:
	ldr	w8, [x8]
	str	w8, [x19, #4]
LBB0_15:
	mov	x0, x22
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdr	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.cfi_endproc
                                        ; -- End function
	.comm	_M_IPFW,4,2                     ; @M_IPFW
	.comm	_M_WAITOK,4,2                   ; @M_WAITOK
	.comm	_M_ZERO,4,2                     ; @M_ZERO
	.comm	_ta_lookup_chash_64,4,2         ; @ta_lookup_chash_64
	.comm	_ta_lookup_chash_aligned,4,2    ; @ta_lookup_chash_aligned
	.comm	_ta_lookup_chash_slow,4,2       ; @ta_lookup_chash_slow
	.no_dead_strip	_ta_init_chash
.subsections_via_symbols
