	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vortex_wt_init
_vortex_wt_init:                        ## @vortex_wt_init
	.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	%rdi, %r14
	movq	_NR_WT@GOTPCREL(%rip), %r15
	movl	(%r15), %ecx
	movq	_NR_WT_PB@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	testl	%eax, %eax
	jle	LBB0_3
## %bb.1:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$12, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_vortex_wt_SetReg
	movq	%r14, %rdi
	movl	$10, %esi
	movl	%ebx, %edx
	movl	$6818, %ecx                     ## imm = 0x1AA2
	callq	_vortex_wt_SetReg
	movq	%r14, %rdi
	movl	$9, %esi
	movl	%ebx, %edx
	movl	$268435456, %ecx                ## imm = 0x10000000
	callq	_vortex_wt_SetReg
	movq	%r14, %rdi
	movl	$8, %esi
	movl	%ebx, %edx
	movl	$8585216, %ecx                  ## imm = 0x830000
	callq	_vortex_wt_SetReg
	movq	%r14, %rdi
	movl	$5, %esi
	movl	%ebx, %edx
	movl	$8585216, %ecx                  ## imm = 0x830000
	callq	_vortex_wt_SetReg
	incl	%ebx
	movl	(%r15), %ecx
	movl	(%r12), %esi
	movl	%ecx, %eax
	cltd
	idivl	%esi
	cmpl	%eax, %ebx
	jl	LBB0_2
LBB0_3:
	testl	%ecx, %ecx
	jle	LBB0_7
## %bb.4:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$4, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_vortex_wt_SetReg
	movq	%r14, %rdi
	movl	$3, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_vortex_wt_SetReg
	movq	%r14, %rdi
	movl	$2, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_vortex_wt_SetReg
	movq	%r14, %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_vortex_wt_SetReg
	movq	%r14, %rdi
	movl	$11, %esi
	movl	%ebx, %edx
	xorl	%ecx, %ecx
	callq	_vortex_wt_SetReg
	incl	%ebx
	movl	(%r15), %ecx
	cmpl	%ecx, %ebx
	jl	LBB0_5
## %bb.6:
	movl	(%r12), %esi
LBB0_7:
	movl	%ecx, %eax
	cltd
	idivl	%esi
	testl	%eax, %eax
	jle	LBB0_10
## %bb.8:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r14, %rdi
	movl	$10, %esi
	movl	%ebx, %edx
	movl	$6819, %ecx                     ## imm = 0x1AA3
	callq	_vortex_wt_SetReg
	incl	%ebx
	movl	(%r15), %eax
	cltd
	idivl	(%r12)
	cmpl	%eax, %ebx
	jl	LBB0_9
LBB0_10:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_NR_WT,4,2                      ## @NR_WT
	.comm	_NR_WT_PB,4,2                   ## @NR_WT_PB
	.no_dead_strip	_vortex_wt_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vortex_wt_init
_vortex_wt_init:                        ; @vortex_wt_init
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
Lloh0:
	adrp	x21, _NR_WT@GOTPAGE
Lloh1:
	ldr	x21, [x21, _NR_WT@GOTPAGEOFF]
	ldr	w8, [x21]
Lloh2:
	adrp	x22, _NR_WT_PB@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NR_WT_PB@GOTPAGEOFF]
	ldr	w9, [x22]
	sdiv	w10, w8, w9
	cmp	w10, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w20, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #12
	mov	x2, x20
	mov	w3, #0
	bl	_vortex_wt_SetReg
	mov	x0, x19
	mov	w1, #10
	mov	x2, x20
	mov	w3, #6818
	bl	_vortex_wt_SetReg
	mov	x0, x19
	mov	w1, #9
	mov	x2, x20
	mov	w3, #268435456
	bl	_vortex_wt_SetReg
	mov	x0, x19
	mov	w1, #8
	mov	x2, x20
	mov	w3, #8585216
	bl	_vortex_wt_SetReg
	mov	x0, x19
	mov	w1, #5
	mov	x2, x20
	mov	w3, #8585216
	bl	_vortex_wt_SetReg
	add	w20, w20, #1
	ldr	w8, [x21]
	ldr	w9, [x22]
	sdiv	w10, w8, w9
	cmp	w20, w10
	b.lt	LBB0_2
LBB0_3:
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.4:
	mov	w20, #0
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #4
	mov	x2, x20
	mov	w3, #0
	bl	_vortex_wt_SetReg
	mov	x0, x19
	mov	w1, #3
	mov	x2, x20
	mov	w3, #0
	bl	_vortex_wt_SetReg
	mov	x0, x19
	mov	w1, #2
	mov	x2, x20
	mov	w3, #0
	bl	_vortex_wt_SetReg
	mov	x0, x19
	mov	w1, #1
	mov	x2, x20
	mov	w3, #0
	bl	_vortex_wt_SetReg
	mov	x0, x19
	mov	w1, #11
	mov	x2, x20
	mov	w3, #0
	bl	_vortex_wt_SetReg
	add	w20, w20, #1
	ldr	w8, [x21]
	cmp	w20, w8
	b.lt	LBB0_5
; %bb.6:
	ldr	w9, [x22]
LBB0_7:
	sdiv	w8, w8, w9
	cmp	w8, #1
	b.lt	LBB0_10
; %bb.8:
	mov	w20, #0
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x19
	mov	w1, #10
	mov	x2, x20
	mov	w3, #6819
	bl	_vortex_wt_SetReg
	add	w20, w20, #1
	ldr	w8, [x21]
	ldr	w9, [x22]
	sdiv	w8, w8, w9
	cmp	w20, w8
	b.lt	LBB0_9
LBB0_10:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_NR_WT,4,2                      ; @NR_WT
	.comm	_NR_WT_PB,4,2                   ; @NR_WT_PB
	.no_dead_strip	_vortex_wt_init
.subsections_via_symbols
