	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vortex_adb_init
_vortex_adb_init:                       ## @vortex_adb_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	%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	%rdi, -48(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %edi
	movq	_VORTEX_ADB_SR@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%ebx, %ebx
	xorl	%edx, %edx
	callq	_hwwrite
	movq	_VORTEX_ADB_RTBASE_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_3
## %bb.1:
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r15d
	movslq	%ebx, %rbx
	movq	_VORTEX_ADB_RTBASE@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	addq	%rbx, %r12
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_hwread
	movq	_ROUTE_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%r15d, %edi
	movq	%r12, %rsi
	movl	%eax, %edx
	callq	_hwwrite
	incq	%r13
	movslq	(%r14), %rax
	addl	$4, %ebx
	cmpq	%rax, %r13
	jl	LBB0_2
LBB0_3:
	movq	_VORTEX_ADB_CHNBASE_COUNT@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_6
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%r12d, %r12d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %r15d
	movslq	%ebx, %rbx
	movq	_VORTEX_ADB_CHNBASE@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	addq	%rbx, %r13
	movl	%r15d, %edi
	movq	%r13, %rsi
	callq	_hwread
	movq	_ROUTE_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%r15d, %edi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_hwwrite
	incq	%r12
	movslq	(%r14), %rax
	addl	$4, %ebx
	cmpq	%rax, %r12
	jl	LBB0_5
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_VORTEX_ADB_SR,8,3              ## @VORTEX_ADB_SR
	.comm	_VORTEX_ADB_RTBASE_COUNT,4,2    ## @VORTEX_ADB_RTBASE_COUNT
	.comm	_VORTEX_ADB_RTBASE,8,3          ## @VORTEX_ADB_RTBASE
	.comm	_ROUTE_MASK,4,2                 ## @ROUTE_MASK
	.comm	_VORTEX_ADB_CHNBASE_COUNT,4,2   ## @VORTEX_ADB_CHNBASE_COUNT
	.comm	_VORTEX_ADB_CHNBASE,8,3         ## @VORTEX_ADB_CHNBASE
	.no_dead_strip	_vortex_adb_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vortex_adb_init
_vortex_adb_init:                       ; @vortex_adb_init
	.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	x19, x0
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _VORTEX_ADB_SR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VORTEX_ADB_SR@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	mov	w2, #0
	bl	_hwwrite
Lloh3:
	adrp	x23, _VORTEX_ADB_RTBASE_COUNT@GOTPAGE
Lloh4:
	ldr	x23, [x23, _VORTEX_ADB_RTBASE_COUNT@GOTPAGEOFF]
	ldr	w8, [x23]
Lloh5:
	adrp	x22, _ROUTE_MASK@GOTPAGE
Lloh6:
	ldr	x22, [x22, _ROUTE_MASK@GOTPAGEOFF]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	mov	w24, #0
	mov	x25, #0
Lloh7:
	adrp	x26, _VORTEX_ADB_RTBASE@GOTPAGE
Lloh8:
	ldr	x26, [x26, _VORTEX_ADB_RTBASE@GOTPAGEOFF]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w20, [x19]
	ldr	x8, [x26]
	add	x21, x8, w24, sxtw
	mov	x0, x20
	mov	x1, x21
	bl	_hwread
	ldr	w8, [x22]
	orr	w2, w8, w0
	mov	x0, x20
	mov	x1, x21
	bl	_hwwrite
	add	x25, x25, #1
	ldrsw	x8, [x23]
	add	w24, w24, #4
	cmp	x25, x8
	b.lt	LBB0_2
LBB0_3:
Lloh9:
	adrp	x23, _VORTEX_ADB_CHNBASE_COUNT@GOTPAGE
Lloh10:
	ldr	x23, [x23, _VORTEX_ADB_CHNBASE_COUNT@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.4:
	mov	w24, #0
	mov	x25, #0
Lloh11:
	adrp	x26, _VORTEX_ADB_CHNBASE@GOTPAGE
Lloh12:
	ldr	x26, [x26, _VORTEX_ADB_CHNBASE@GOTPAGEOFF]
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w20, [x19]
	ldr	x8, [x26]
	add	x21, x8, w24, sxtw
	mov	x0, x20
	mov	x1, x21
	bl	_hwread
	ldr	w8, [x22]
	orr	w2, w8, w0
	mov	x0, x20
	mov	x1, x21
	bl	_hwwrite
	add	x25, x25, #1
	ldrsw	x8, [x23]
	add	w24, w24, #4
	cmp	x25, x8
	b.lt	LBB0_5
LBB0_6:
	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	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_VORTEX_ADB_SR,8,3              ; @VORTEX_ADB_SR
	.comm	_VORTEX_ADB_RTBASE_COUNT,4,2    ; @VORTEX_ADB_RTBASE_COUNT
	.comm	_VORTEX_ADB_RTBASE,8,3          ; @VORTEX_ADB_RTBASE
	.comm	_ROUTE_MASK,4,2                 ; @ROUTE_MASK
	.comm	_VORTEX_ADB_CHNBASE_COUNT,4,2   ; @VORTEX_ADB_CHNBASE_COUNT
	.comm	_VORTEX_ADB_CHNBASE,8,3         ; @VORTEX_ADB_CHNBASE
	.no_dead_strip	_vortex_adb_init
.subsections_via_symbols
