	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dma_callback
_dma_callback:                          ## @dma_callback
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_stop_audio@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_2
## %bb.1:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_2:
	movq	_gx_audio_data@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	(%rcx,%rax,8), %rdi
	movq	_CHUNK_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movq	%rax, (%rbx)
	incq	%rax
	movq	_BLOCKS@GOTPCREL(%rip), %rdx
	movslq	(%rdx), %rdx
	decq	%rdx
	andq	%rax, %rdx
	movq	%rdx, 8(%rbx)
	movq	(%rcx,%rdx,8), %rdi
	movl	(%r14), %esi
	callq	_DCFlushRange
	movq	8(%rbx), %rax
	movq	16(%rbx), %rcx
	movl	(%rcx,%rax,8), %edi
	movl	(%r14), %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_AIInitDMA                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_gx_audio_data,8,3              ## @gx_audio_data
	.comm	_stop_audio,8,3                 ## @stop_audio
	.comm	_CHUNK_SIZE,4,2                 ## @CHUNK_SIZE
	.comm	_BLOCKS,4,2                     ## @BLOCKS
	.no_dead_strip	_dma_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dma_callback
_dma_callback:                          ; @dma_callback
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, _stop_audio@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stop_audio@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh3:
	adrp	x8, _gx_audio_data@GOTPAGE
Lloh4:
	ldr	x8, [x8, _gx_audio_data@GOTPAGEOFF]
Lloh5:
	ldr	x19, [x8]
	ldr	x8, [x19, #16]
	ldr	x9, [x19]
	ldr	x0, [x8, x9, lsl #3]
Lloh6:
	adrp	x20, _CHUNK_SIZE@GOTPAGE
Lloh7:
	ldr	x20, [x20, _CHUNK_SIZE@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	w1, #0
	bl	_memset
	ldp	x8, x9, [x19, #8]
	add	x10, x8, #1
Lloh8:
	adrp	x11, _BLOCKS@GOTPAGE
Lloh9:
	ldr	x11, [x11, _BLOCKS@GOTPAGEOFF]
Lloh10:
	ldrsw	x11, [x11]
	sub	x11, x11, #1
	and	x10, x10, x11
	stp	x8, x10, [x19]
	ldr	x0, [x9, x10, lsl #3]
	ldr	w1, [x20]
	bl	_DCFlushRange
	ldp	x9, x8, [x19, #8]
	ldr	x0, [x8, x9, lsl #3]
	ldr	w1, [x20]
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_AIInitDMA
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_gx_audio_data,8,3              ; @gx_audio_data
	.comm	_stop_audio,8,3                 ; @stop_audio
	.comm	_CHUNK_SIZE,4,2                 ; @CHUNK_SIZE
	.comm	_BLOCKS,4,2                     ; @BLOCKS
	.no_dead_strip	_dma_callback
.subsections_via_symbols
