	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vortex_wt_connect
_vortex_wt_connect:                     ## @vortex_wt_connect
	.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
	movl	%esi, %r13d
	movq	%rdi, %r12
	xorl	%r14d, %r14d
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%r14
	cmpq	$6, %r14
	je	LBB0_4
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	24(%r12), %esi
	movq	_VORTEX_RESOURCE_MIXIN@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r12, %rdi
	movl	%r13d, %edx
	callq	_vortex_adb_checkinout
	movl	%eax, %r15d
	movq	(%r12), %rax
	movl	%r15d, (%rax,%r14,4)
	leal	32(%r14), %esi
	xorl	%edi, %edi
	callq	_ADB_WTOUT
	movl	%r13d, %ebx
	movl	%eax, %r13d
	movl	%r15d, %edi
	callq	_ADB_MIXIN
	movq	%r12, %rdi
	movl	%ebx, %esi
	movl	$17, %edx
	movl	%r13d, %ecx
	movl	%ebx, %r13d
	movl	%eax, %r8d
	callq	_vortex_route
	movq	16(%r12), %rax
	movl	%r14d, %ebx
	andl	$1, %ebx
	movl	(%rax,%rbx,4), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	xorl	%r8d, %r8d
	callq	_vortex_connection_mixin_mix
	movq	%r12, %rdi
	callq	_VORTEX_IS_QUAD
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	16(%r12), %rax
	orl	$2, %ebx
	movl	(%rax,%rbx,4), %ecx
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	%r15d, %edx
	xorl	%r8d, %r8d
	callq	_vortex_connection_mixin_mix
	jmp	LBB0_3
LBB0_4:
	movq	_NR_WT@GOTPCREL(%rip), %r15
	cmpl	$0, (%r15)
	jle	LBB0_7
## %bb.5:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r12), %r14d
	movl	%ebx, %edi
	callq	_WT_RUN
	movl	%r14d, %edi
	movl	%eax, %esi
	movl	$1, %edx
	callq	_hwwrite
	incl	%ebx
	cmpl	(%r15), %ebx
	jl	LBB0_6
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VORTEX_RESOURCE_MIXIN,4,2      ## @VORTEX_RESOURCE_MIXIN
	.comm	_NR_WT,4,2                      ## @NR_WT
	.comm	_NR_WTBLOCKS,4,2                ## @NR_WTBLOCKS
	.comm	_NR_WTROUTES,4,2                ## @NR_WTROUTES
	.no_dead_strip	_vortex_wt_connect
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vortex_wt_connect
_vortex_wt_connect:                     ; @vortex_wt_connect
	.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	x20, x1
	mov	x19, x0
	mov	x23, #0
Lloh0:
	adrp	x24, _VORTEX_RESOURCE_MIXIN@GOTPAGE
Lloh1:
	ldr	x24, [x24, _VORTEX_RESOURCE_MIXIN@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x23, x23, #1
	cmp	x23, #6
	b.eq	LBB0_4
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x19, #24]
	ldr	w3, [x24]
	mov	x0, x19
	mov	x2, x20
	bl	_vortex_adb_checkinout
	mov	x21, x0
	ldr	x8, [x19]
	str	w0, [x8, x23, lsl #2]
	add	w1, w23, #32
	mov	w0, #0
	bl	_ADB_WTOUT
	mov	x22, x0
	mov	x0, x21
	bl	_ADB_MIXIN
	mov	x4, x0
	mov	x0, x19
	mov	x1, x20
	mov	w2, #17
	mov	x3, x22
	bl	_vortex_route
	ldr	x8, [x19, #16]
	and	w22, w23, #0x1
	ldr	w3, [x8, w22, uxtw #2]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w4, #0
	bl	_vortex_connection_mixin_mix
	mov	x0, x19
	bl	_VORTEX_IS_QUAD
	cbz	x0, LBB0_1
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #16]
	orr	w9, w22, #0x2
	ldr	w3, [x8, w9, uxtw #2]
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	mov	w4, #0
	bl	_vortex_connection_mixin_mix
	b	LBB0_1
LBB0_4:
Lloh2:
	adrp	x22, _NR_WT@GOTPAGE
Lloh3:
	ldr	x22, [x22, _NR_WT@GOTPAGEOFF]
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_7
; %bb.5:
	mov	w20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w21, [x19, #8]
	mov	x0, x20
	bl	_WT_RUN
	mov	x1, x0
	mov	x0, x21
	mov	w2, #1
	bl	_hwwrite
	add	w20, w20, #1
	ldr	w8, [x22]
	cmp	w20, w8
	b.lt	LBB0_6
LBB0_7:
	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 AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_VORTEX_RESOURCE_MIXIN,4,2      ; @VORTEX_RESOURCE_MIXIN
	.comm	_NR_WT,4,2                      ; @NR_WT
	.comm	_NR_WTBLOCKS,4,2                ; @NR_WTBLOCKS
	.comm	_NR_WTROUTES,4,2                ; @NR_WTROUTES
	.no_dead_strip	_vortex_wt_connect
.subsections_via_symbols
