	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function vortex_codec_init
_vortex_codec_init:                     ## @vortex_codec_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, %r14
	xorl	%r12d, %r12d
	movq	_VORTEX_CODEC_CHN@GOTPCREL(%rip), %r15
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	(%r15), %rsi
	addq	%r12, %rsi
	movl	%ebx, %edx
	callq	_hwwrite
	movl	$2, %edi
	callq	_msleep
	decq	%rbx
	addq	$4, %r12
	cmpq	$-32, %rbx
	jne	LBB0_1
## %bb.2:
	movl	(%r14), %edi
	movq	_VORTEX_CODEC_CTRL@GOTPCREL(%rip), %r12
	movq	(%r12), %rsi
	movl	$168, %edx
	callq	_hwwrite
	movl	$2, %edi
	callq	_msleep
	movl	(%r14), %edi
	movq	(%r12), %rsi
	movl	$32936, %edx                    ## imm = 0x80A8
	callq	_hwwrite
	movl	$2, %edi
	callq	_msleep
	movl	(%r14), %edi
	movq	(%r12), %rsi
	movl	$33000, %edx                    ## imm = 0x80E8
	callq	_hwwrite
	movl	$2, %edi
	callq	_msleep
	movl	(%r14), %edi
	movq	(%r12), %rsi
	movl	$32936, %edx                    ## imm = 0x80A8
	callq	_hwwrite
	movl	$2, %edi
	callq	_msleep
	movl	(%r14), %edi
	movq	(%r12), %rsi
	movl	$168, %edx
	callq	_hwwrite
	movl	$2, %edi
	callq	_msleep
	movl	(%r14), %edi
	movq	(%r12), %rsi
	movl	$232, %edx
	callq	_hwwrite
	xorl	%r13d, %r13d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14), %edi
	movq	(%r15), %rsi
	addq	%r13, %rsi
	movl	%ebx, %edx
	callq	_hwwrite
	movl	$5, %edi
	callq	_msleep
	decq	%rbx
	addq	$4, %r13
	cmpq	$-32, %rbx
	jne	LBB0_3
## %bb.4:
	movl	(%r14), %edi
	movq	(%r12), %rsi
	movl	$232, %edx
	callq	_hwwrite
	movl	$1, %edi
	callq	_msleep
	movl	(%r14), %r14d
	movq	_VORTEX_CODEC_EN@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movl	%r14d, %edi
	movq	%rbx, %rsi
	callq	_hwread
	movq	_EN_CODEC@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hwwrite                        ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VORTEX_CODEC_CHN,8,3           ## @VORTEX_CODEC_CHN
	.comm	_VORTEX_CODEC_CTRL,8,3          ## @VORTEX_CODEC_CTRL
	.comm	_VORTEX_CODEC_EN,8,3            ## @VORTEX_CODEC_EN
	.comm	_EN_CODEC,4,2                   ## @EN_CODEC
	.no_dead_strip	_vortex_codec_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function vortex_codec_init
_vortex_codec_init:                     ; @vortex_codec_init
	.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	x19, x0
	mov	x22, #0
	mov	x20, #0
Lloh0:
	adrp	x21, _VORTEX_CODEC_CHN@GOTPAGE
Lloh1:
	ldr	x21, [x21, _VORTEX_CODEC_CHN@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	x8, [x21]
	add	x1, x22, x8
	mov	x2, x20
	bl	_hwwrite
	mov	w0, #2
	bl	_msleep
	sub	x20, x20, #1
	add	x22, x22, #4
	cmn	x20, #32
	b.ne	LBB0_1
; %bb.2:
	ldr	w0, [x19]
Lloh2:
	adrp	x22, _VORTEX_CODEC_CTRL@GOTPAGE
Lloh3:
	ldr	x22, [x22, _VORTEX_CODEC_CTRL@GOTPAGEOFF]
	ldr	x1, [x22]
	mov	w2, #168
	bl	_hwwrite
	mov	w0, #2
	bl	_msleep
	ldr	w0, [x19]
	ldr	x1, [x22]
	mov	w2, #32936
	bl	_hwwrite
	mov	w0, #2
	bl	_msleep
	ldr	w0, [x19]
	ldr	x1, [x22]
	mov	w2, #33000
	bl	_hwwrite
	mov	w0, #2
	bl	_msleep
	ldr	w0, [x19]
	ldr	x1, [x22]
	mov	w2, #32936
	bl	_hwwrite
	mov	w0, #2
	bl	_msleep
	ldr	w0, [x19]
	ldr	x1, [x22]
	mov	w2, #168
	bl	_hwwrite
	mov	w0, #2
	bl	_msleep
	ldr	w0, [x19]
	ldr	x1, [x22]
	mov	w2, #232
	bl	_hwwrite
	mov	x23, #0
	mov	x20, #0
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x19]
	ldr	x8, [x21]
	add	x1, x23, x8
	mov	x2, x20
	bl	_hwwrite
	mov	w0, #5
	bl	_msleep
	sub	x20, x20, #1
	add	x23, x23, #4
	cmn	x20, #32
	b.ne	LBB0_3
; %bb.4:
	ldr	w0, [x19]
	ldr	x1, [x22]
	mov	w2, #232
	bl	_hwwrite
	mov	w0, #1
	bl	_msleep
	ldr	w19, [x19]
Lloh4:
	adrp	x8, _VORTEX_CODEC_EN@GOTPAGE
Lloh5:
	ldr	x8, [x8, _VORTEX_CODEC_EN@GOTPAGEOFF]
Lloh6:
	ldr	x20, [x8]
	mov	x0, x19
	mov	x1, x20
	bl	_hwread
Lloh7:
	adrp	x8, _EN_CODEC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EN_CODEC@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w2, w8, w0
	mov	x0, x19
	mov	x1, x20
	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
	b	_hwwrite
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_VORTEX_CODEC_CHN,8,3           ; @VORTEX_CODEC_CHN
	.comm	_VORTEX_CODEC_CTRL,8,3          ; @VORTEX_CODEC_CTRL
	.comm	_VORTEX_CODEC_EN,8,3            ; @VORTEX_CODEC_EN
	.comm	_EN_CODEC,4,2                   ; @EN_CODEC
	.no_dead_strip	_vortex_codec_init
.subsections_via_symbols
