	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hw_daio_init
_hw_daio_init:                          ## @hw_daio_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_SPOCTL@GOTPCREL(%rip), %r15
	movl	(%r15), %esi
	xorl	%edx, %edx
	callq	_hw_write_20kx
	movl	(%r14), %eax
	cmpl	$4, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$2, %eax
	jne	LBB0_2
## %bb.3:
	movl	$69, %r14d
	movl	$-1811676154, %edx              ## imm = 0x94040406
	jmp	LBB0_5
LBB0_4:
	movl	$133, %r14d
	movl	$-1811676153, %edx              ## imm = 0x94040407
	jmp	LBB0_5
LBB0_2:
	movl	$5, %r14d
	movl	$-1811676155, %edx              ## imm = 0x94040405
LBB0_5:
	movq	_I2SCTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_hw_write_20kx
	movl	(%r15), %esi
	movq	%rbx, %rdi
	movl	%r14d, %edx
	callq	_hw_write_20kx
	movq	_SPICTL@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	_hw_write_20kx
	movl	$1, %edi
	callq	_mdelay
	movl	(%r14), %esi
	movq	%rbx, %rdi
	movl	$168430090, %edx                ## imm = 0xA0A0A0A
	callq	_hw_write_20kx
	movl	$1, %edi
	callq	_mdelay
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SPOCTL,4,2                     ## @SPOCTL
	.comm	_I2SCTL,4,2                     ## @I2SCTL
	.comm	_SPICTL,4,2                     ## @SPICTL
	.no_dead_strip	_hw_daio_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hw_daio_init
_hw_daio_init:                          ; @hw_daio_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, x1
	mov	x20, x0
	mov	w21, #1029
	movk	w21, #37892, lsl #16
Lloh0:
	adrp	x22, _SPOCTL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SPOCTL@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w2, #0
	bl	_hw_write_20kx
	ldr	w8, [x19]
	mov	w9, #5
	add	w10, w21, #2
	mov	w11, #133
	mov	w12, #69
	cmp	w8, #2
	csel	w9, w9, w12, ne
	cinc	w12, w21, eq
	cmp	w8, #4
	csel	w2, w10, w12, eq
	csel	w19, w11, w9, eq
Lloh2:
	adrp	x8, _I2SCTL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _I2SCTL@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_hw_write_20kx
	ldr	w1, [x22]
	mov	x0, x20
	mov	x2, x19
	bl	_hw_write_20kx
Lloh5:
	adrp	x19, _SPICTL@GOTPAGE
Lloh6:
	ldr	x19, [x19, _SPICTL@GOTPAGEOFF]
	ldr	w1, [x19]
	mov	x0, x20
	mov	w2, #0
	bl	_hw_write_20kx
	mov	w0, #1
	bl	_mdelay
	ldr	w1, [x19]
	mov	x0, x20
	mov	w2, #2570
	movk	w2, #2570, lsl #16
	bl	_hw_write_20kx
	mov	w0, #1
	bl	_mdelay
	mov	w0, #0
	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	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SPOCTL,4,2                     ; @SPOCTL
	.comm	_I2SCTL,4,2                     ; @I2SCTL
	.comm	_SPICTL,4,2                     ; @SPICTL
	.no_dead_strip	_hw_daio_init
.subsections_via_symbols
