	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ta_prepare_mod_chash
_ta_prepare_mod_chash:                  ## @ta_prepare_mod_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r15
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movl	(%rbx), %ecx
	movl	%ecx, %eax
	shrl	$16, %eax
	movl	%eax, (%r15)
	movzwl	(%rbx), %edi
	movl	%edi, 4(%r15)
	cmpl	$65536, %ecx                    ## imm = 0x10000
	jb	LBB0_5
## %bb.1:
	shll	$2, %eax
	movq	_M_IPFW@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rcx
	movq	_M_ZERO@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movl	%eax, %edi
	callq	_malloc
	movq	%rax, %r14
	cmpl	$0, (%r15)
	jle	LBB0_4
## %bb.2:
	xorl	%r12d, %r12d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_SLIST_INIT
	incq	%r12
	movslq	(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_3
LBB0_4:
	movq	%r14, 16(%r15)
	movl	4(%r15), %edi
LBB0_5:
	testl	%edi, %edi
	jle	LBB0_10
## %bb.6:
	shll	$2, %edi
	movq	_M_IPFW@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_M_WAITOK@GOTPCREL(%rip), %rax
	movq	_M_ZERO@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	callq	_malloc
	movq	%rax, %r14
	cmpl	$0, 4(%r15)
	jle	LBB0_9
## %bb.7:
	xorl	%r12d, %r12d
	movq	%r14, %rbx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	callq	_SLIST_INIT
	incq	%r12
	movslq	4(%r15), %rax
	addq	$4, %rbx
	cmpq	%rax, %r12
	jl	LBB0_8
LBB0_9:
	movq	%r14, 8(%r15)
LBB0_10:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	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
	.no_dead_strip	_ta_prepare_mod_chash
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ta_prepare_mod_chash
_ta_prepare_mod_chash:                  ; @ta_prepare_mod_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	x20, x1
	mov	x19, x0
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	ldr	w10, [x20]
	lsr	w9, w10, #16
	str	w9, [x19]
	ldrh	w8, [x20]
Lloh0:
	adrp	x22, _M_IPFW@GOTPAGE
Lloh1:
	ldr	x22, [x22, _M_IPFW@GOTPAGEOFF]
	str	w8, [x19, #4]
Lloh2:
	adrp	x23, _M_WAITOK@GOTPAGE
Lloh3:
	ldr	x23, [x23, _M_WAITOK@GOTPAGEOFF]
Lloh4:
	adrp	x24, _M_ZERO@GOTPAGE
Lloh5:
	ldr	x24, [x24, _M_ZERO@GOTPAGEOFF]
	cmp	w10, #16, lsl #12               ; =65536
	b.lo	LBB0_5
; %bb.1:
	lsl	w0, w9, #2
	ldr	w1, [x22]
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w2, w9, w8
	bl	_malloc
	mov	x20, x0
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_4
; %bb.2:
	mov	x25, #0
	mov	x21, x20
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_SLIST_INIT
	add	x25, x25, #1
	ldrsw	x8, [x19]
	add	x21, x21, #4
	cmp	x25, x8
	b.lt	LBB0_3
LBB0_4:
	str	x20, [x19, #16]
	ldr	w8, [x19, #4]
LBB0_5:
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.6:
	lsl	w0, w8, #2
	ldr	w1, [x22]
	ldr	w8, [x23]
	ldr	w9, [x24]
	orr	w2, w9, w8
	bl	_malloc
	mov	x20, x0
	ldr	w8, [x19, #4]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.7:
	mov	x22, #0
	mov	x21, x20
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_SLIST_INIT
	add	x22, x22, #1
	ldrsw	x8, [x19, #4]
	add	x21, x21, #4
	cmp	x22, x8
	b.lt	LBB0_8
LBB0_9:
	str	x20, [x19, #8]
LBB0_10:
	mov	w0, #0
	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 AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.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
	.no_dead_strip	_ta_prepare_mod_chash
.subsections_via_symbols
