	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsp_dma02                      ## -- Begin function dsp_dma02
	.p2align	4, 0x90
_dsp_dma02:                             ## @dsp_dma02
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rdi, %r14
	movzbl	%sil, %ebx
	movl	%esi, %r15d
	shrl	$8, %r15d
	andl	$3, %r15d
	shrl	$15, %esi
	andl	$7, %esi
	movl	$1, %r12d
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_8:
	movl	%esi, %r12d
	testl	%ebx, %ebx
	jne	LBB0_10
	jmp	LBB0_12
LBB0_1:
	testl	%ebx, %ebx
	je	LBB0_12
## %bb.2:
	movq	(%r14), %rax
	movq	(%rax,%r15,8), %rax
	movl	16(%r14), %edi
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rcx
	movq	(%rcx,%r15,8), %rcx
	movl	(%rcx,%rax,4), %esi
	shll	$2, %edi
	callq	_MappedMemoryWriteLong
	movq	(%r14), %rcx
	movl	(%rcx,%r15,8), %eax
	incl	%eax
	andl	$63, %eax
	movq	%rax, (%rcx,%r15,8)
	movl	16(%r14), %edi
	incl	%edi
	movl	%edi, 16(%r14)
	decl	%ebx
	jne	LBB0_3
	jmp	LBB0_12
LBB0_4:
	movl	$2, %r12d
	testl	%ebx, %ebx
	jne	LBB0_10
	jmp	LBB0_12
LBB0_5:
	movl	$8, %r12d
	testl	%ebx, %ebx
	jne	LBB0_10
	jmp	LBB0_12
LBB0_6:
	movl	$16, %r12d
LBB0_9:
	testl	%ebx, %ebx
	je	LBB0_12
LBB0_10:
	movq	(%r14), %rax
	movq	(%rax,%r15,8), %rax
	movl	16(%r14), %edi
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rcx
	movq	(%rcx,%r15,8), %rcx
	movl	(%rcx,%rax,4), %esi
	shll	$2, %edi
	callq	_MappedMemoryWriteLong
	movq	(%r14), %rcx
	movl	(%rcx,%r15,8), %eax
	incl	%eax
	movl	16(%r14), %edi
	addl	%r12d, %edi
	movl	%edi, 16(%r14)
	andl	$63, %eax
	movq	%rax, (%rcx,%r15,8)
	decl	%ebx
	jne	LBB0_11
LBB0_12:
	movq	$0, 24(%r14)
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movl	$32, %r12d
	testl	%ebx, %ebx
	jne	LBB0_10
	jmp	LBB0_12
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_1
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_6
	.long	L0_0_set_7
	.end_data_region
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dsp_dma02                      ; -- Begin function dsp_dma02
	.p2align	2
_dsp_dma02:                             ; @dsp_dma02
	.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
	and	w20, w1, #0xff
	ubfx	w8, w1, #8, #2
	ubfx	w9, w1, #15, #3
	mov	w21, #1
	mov	x19, x0
Lloh0:
	adrp	x10, lJTI0_0@PAGE
Lloh1:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_1
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_1:
	mov	x21, x9
	cbnz	w20, LBB0_9
	b	LBB0_11
LBB0_2:
	cbz	w20, LBB0_11
; %bb.3:
	ldr	x9, [x19]
	ldr	x9, [x9, x8, lsl #3]
	ldr	w10, [x19, #16]
	lsl	x21, x8, #3
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x21]
	ldr	w1, [x8, x9, lsl #2]
	lsl	w0, w10, #2
	bl	_MappedMemoryWriteLong
	ldr	x8, [x19]
	ldr	w9, [x8, x21]
	add	w9, w9, #1
	and	x9, x9, #0x3f
	str	x9, [x8, x21]
	ldr	w8, [x19, #16]
	add	w10, w8, #1
	str	w10, [x19, #16]
	subs	w20, w20, #1
	b.ne	LBB0_4
	b	LBB0_11
LBB0_5:
	mov	w21, #2
	cbnz	w20, LBB0_9
	b	LBB0_11
LBB0_6:
	mov	w21, #8
	cbnz	w20, LBB0_9
	b	LBB0_11
LBB0_7:
	mov	w21, #16
LBB0_8:
	cbz	w20, LBB0_11
LBB0_9:
	ldr	x9, [x19]
	ldr	x10, [x9, x8, lsl #3]
	ldr	w9, [x19, #16]
	lsl	x22, x8, #3
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	ldr	x8, [x8, x22]
	ldr	w1, [x8, x10, lsl #2]
	lsl	w0, w9, #2
	bl	_MappedMemoryWriteLong
	ldr	x8, [x19]
	ldr	w9, [x8, x22]
	add	w10, w9, #1
	ldr	w9, [x19, #16]
	add	w9, w9, w21
	str	w9, [x19, #16]
	and	x10, x10, #0x3f
	str	x10, [x8, x22]
	subs	w20, w20, #1
	b.ne	LBB0_10
LBB0_11:
	str	xzr, [x19, #24]
	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
LBB0_12:
	mov	w21, #32
	cbnz	w20, LBB0_9
	b	LBB0_11
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_8-LBB0_1)>>2
	.byte	(LBB0_5-LBB0_1)>>2
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_6-LBB0_1)>>2
	.byte	(LBB0_7-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
                                        ; -- End function
.subsections_via_symbols
