	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function daio_mgr_commit_write
_daio_mgr_commit_write:                 ## @daio_mgr_commit_write
	.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	%rsi, %r15
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
	xorl	%r12d, %r12d
	xorl	%ebx, %ebx
	jmp	LBB0_1
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_1 Depth=1
	incq	%rbx
	addq	$64, %r12
	cmpq	$8, %rbx
	je	LBB0_6
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	$1, %r13d
	movl	%ebx, %ecx
	shll	%cl, %r13d
	movl	16(%r15), %eax
	btl	%ebx, %eax
	movl	%r13d, %r14d
	notl	%r14d
	jae	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	movq	_AUDIO_IO_TX_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hw_write_20kx
	andl	%r14d, 16(%r15)
	movl	$1, %edi
	callq	_mdelay
LBB0_3:                                 ##   in Loop: Header=BB0_1 Depth=1
	testl	%r13d, 20(%r15)
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,4), %edx
	movq	_AUDIO_IO_RX_CTL@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	addq	%r12, %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hw_write_20kx
	andl	%r14d, 20(%r15)
	movl	$1, %edi
	callq	_mdelay
	jmp	LBB0_5
LBB0_6:
	cmpq	$0, 24(%r15)
	je	LBB0_8
## %bb.7:
	movq	_AUDIO_IO_AIM@GOTPCREL(%rip), %rax
	movslq	32(%r15), %rsi
	shlq	$2, %rsi
	addq	(%rax), %rsi
	movl	36(%r15), %edx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_hw_write_20kx
	movq	$0, 24(%r15)
LBB0_8:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_AUDIO_IO_TX_CTL,8,3            ## @AUDIO_IO_TX_CTL
	.comm	_AUDIO_IO_RX_CTL,8,3            ## @AUDIO_IO_RX_CTL
	.comm	_AUDIO_IO_AIM,8,3               ## @AUDIO_IO_AIM
	.no_dead_strip	_daio_mgr_commit_write
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function daio_mgr_commit_write
_daio_mgr_commit_write:                 ; @daio_mgr_commit_write
	.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, x1
	mov	x20, x0
	mov	x21, #0
	mov	x22, #0
	mov	w23, #1
Lloh0:
	adrp	x24, _AUDIO_IO_RX_CTL@GOTPAGE
Lloh1:
	ldr	x24, [x24, _AUDIO_IO_RX_CTL@GOTPAGEOFF]
Lloh2:
	adrp	x25, _AUDIO_IO_TX_CTL@GOTPAGE
Lloh3:
	ldr	x25, [x25, _AUDIO_IO_TX_CTL@GOTPAGEOFF]
	b	LBB0_2
LBB0_1:                                 ;   in Loop: Header=BB0_2 Depth=1
	add	x22, x22, #1
	add	x21, x21, #64
	cmp	x22, #8
	b.eq	LBB0_6
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w8, [x19, #16]
	lsl	w26, w23, w22
	tst	w8, w26
	b.eq	LBB0_4
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19]
	ldr	w2, [x8, x22, lsl #2]
	ldr	x8, [x25]
	add	x1, x21, x8
	mov	x0, x20
	bl	_hw_write_20kx
	ldr	w8, [x19, #16]
	bic	w8, w8, w26
	str	w8, [x19, #16]
	mov	w0, #1
	bl	_mdelay
LBB0_4:                                 ;   in Loop: Header=BB0_2 Depth=1
	ldr	w8, [x19, #20]
	tst	w8, w26
	b.eq	LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_2 Depth=1
	ldr	x8, [x19, #8]
	ldr	w2, [x8, x22, lsl #2]
	ldr	x8, [x24]
	add	x1, x21, x8
	mov	x0, x20
	bl	_hw_write_20kx
	ldr	w8, [x19, #20]
	bic	w8, w8, w26
	str	w8, [x19, #20]
	mov	w0, #1
	bl	_mdelay
	b	LBB0_1
LBB0_6:
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.7:
Lloh4:
	adrp	x8, _AUDIO_IO_AIM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _AUDIO_IO_AIM@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	ldp	w9, w2, [x19, #32]
                                        ; kill: def $w9 killed $w9 def $x9
	sxtw	x9, w9
	add	x1, x8, x9, lsl #2
	mov	x0, x20
	bl	_hw_write_20kx
	str	xzr, [x19, #24]
LBB0_8:
	mov	w0, #0
	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	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_AUDIO_IO_TX_CTL,8,3            ; @AUDIO_IO_TX_CTL
	.comm	_AUDIO_IO_RX_CTL,8,3            ; @AUDIO_IO_RX_CTL
	.comm	_AUDIO_IO_AIM,8,3               ; @AUDIO_IO_AIM
	.no_dead_strip	_daio_mgr_commit_write
.subsections_via_symbols
