	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmac_transfer_one
_dmac_transfer_one:                     ## @dmac_transfer_one
	.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, %r15
	movq	%rdi, %r14
	movl	(%rsi), %ebx
	shrl	$10, %ebx
	andl	$3, %ebx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rbx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_1:
	movl	4(%r15), %edi
	movq	%r14, %rsi
	callq	_p32x_sh2_read8
	movl	8(%r15), %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_p32x_sh2_write8
LBB0_2:
	movl	4(%r15), %edi
	movq	%r14, %rsi
	callq	_p32x_sh2_read16
	movl	8(%r15), %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_p32x_sh2_write16
	jmp	LBB0_9
LBB0_8:
	movl	4(%r15), %edi
	movq	%r14, %rsi
	callq	_p32x_sh2_read32
	movl	8(%r15), %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_p32x_sh2_write32
LBB0_9:
	decq	16(%r15)
	movl	$1, %eax
	movl	%ebx, %ecx
	shll	%cl, %eax
	movl	(%r15), %ecx
	testl	$32768, %ecx                    ## imm = 0x8000
	jne	LBB0_10
## %bb.11:
	testl	$16384, %ecx                    ## imm = 0x4000
	jne	LBB0_12
LBB0_13:
	testl	$8192, %ecx                     ## imm = 0x2000
	jne	LBB0_14
LBB0_15:
	testl	$4096, %ecx                     ## imm = 0x1000
	jne	LBB0_16
	jmp	LBB0_17
LBB0_10:
	subl	%eax, 8(%r15)
	testl	$16384, %ecx                    ## imm = 0x4000
	je	LBB0_13
LBB0_12:
	addl	%eax, 8(%r15)
	testl	$8192, %ecx                     ## imm = 0x2000
	je	LBB0_15
LBB0_14:
	subl	%eax, 4(%r15)
	testl	$4096, %ecx                     ## imm = 0x1000
	je	LBB0_17
LBB0_16:
	addl	%eax, 4(%r15)
	jmp	LBB0_17
LBB0_3:
	movl	4(%r15), %edi
	movq	%r14, %rsi
	callq	_p32x_sh2_read32
	movl	8(%r15), %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_p32x_sh2_write32
	movl	4(%r15), %edi
	addl	$4, %edi
	movq	%r14, %rsi
	callq	_p32x_sh2_read32
	movl	8(%r15), %edi
	addl	$4, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_p32x_sh2_write32
	movl	4(%r15), %edi
	addl	$8, %edi
	movq	%r14, %rsi
	callq	_p32x_sh2_read32
	movl	8(%r15), %edi
	addl	$8, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_p32x_sh2_write32
	movl	4(%r15), %edi
	addl	$12, %edi
	movq	%r14, %rsi
	callq	_p32x_sh2_read32
	movl	8(%r15), %edi
	addl	$12, %edi
	movl	%eax, %esi
	movq	%r14, %rdx
	callq	_p32x_sh2_write32
	addl	$16, 4(%r15)
	movl	(%r15), %eax
	testl	$32768, %eax                    ## imm = 0x8000
	je	LBB0_5
## %bb.4:
	addl	$-16, 8(%r15)
LBB0_5:
	testl	$16384, %eax                    ## imm = 0x4000
	je	LBB0_7
## %bb.6:
	addl	$16, 8(%r15)
LBB0_7:
	addq	$-4, 16(%r15)
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_1, LBB0_1-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
LJTI0_0:
	.long	L0_0_set_1
	.long	L0_0_set_2
	.long	L0_0_set_8
	.long	L0_0_set_3
	.end_data_region
                                        ## -- End function
	.no_dead_strip	_dmac_transfer_one
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmac_transfer_one
_dmac_transfer_one:                     ; @dmac_transfer_one
	.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
	ldr	w8, [x1]
	ubfx	w21, w8, #10, #2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, lJTI0_0@PAGE
Lloh1:
	add	x8, x8, lJTI0_0@PAGEOFF
	adr	x9, LBB0_1
	ldrb	w10, [x8, x21]
	add	x9, x9, x10, lsl #2
	br	x9
LBB0_1:
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_p32x_sh2_read8
	mov	x1, x0
	ldr	w0, [x19, #8]
	mov	x2, x20
	bl	_p32x_sh2_write8
LBB0_2:
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_p32x_sh2_read16
	mov	x1, x0
	ldr	w0, [x19, #8]
	mov	x2, x20
	bl	_p32x_sh2_write16
	b	LBB0_4
LBB0_3:
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_p32x_sh2_read32
	mov	x1, x0
	ldr	w0, [x19, #8]
	mov	x2, x20
	bl	_p32x_sh2_write32
LBB0_4:
	ldr	x8, [x19, #16]
	sub	x8, x8, #1
	str	x8, [x19, #16]
	mov	w8, #1
	lsl	w8, w8, w21
	ldr	w9, [x19]
	tbnz	w9, #15, LBB0_8
; %bb.5:
	tbnz	w9, #14, LBB0_9
LBB0_6:
	tbnz	w9, #13, LBB0_10
LBB0_7:
	tbnz	w9, #12, LBB0_11
	b	LBB0_17
LBB0_8:
	ldr	w10, [x19, #8]
	sub	w10, w10, w8
	str	w10, [x19, #8]
	tbz	w9, #14, LBB0_6
LBB0_9:
	ldr	w10, [x19, #8]
	add	w10, w10, w8
	str	w10, [x19, #8]
	tbz	w9, #13, LBB0_7
LBB0_10:
	ldr	w10, [x19, #4]
	sub	w10, w10, w8
	str	w10, [x19, #4]
	tbz	w9, #12, LBB0_17
LBB0_11:
	ldr	w9, [x19, #4]
	add	w8, w9, w8
	str	w8, [x19, #4]
	b	LBB0_17
LBB0_12:
	ldr	w0, [x19, #4]
	mov	x1, x20
	bl	_p32x_sh2_read32
	mov	x1, x0
	ldr	w0, [x19, #8]
	mov	x2, x20
	bl	_p32x_sh2_write32
	ldr	w8, [x19, #4]
	add	w0, w8, #4
	mov	x1, x20
	bl	_p32x_sh2_read32
	mov	x1, x0
	ldr	w8, [x19, #8]
	add	w0, w8, #4
	mov	x2, x20
	bl	_p32x_sh2_write32
	ldr	w8, [x19, #4]
	add	w0, w8, #8
	mov	x1, x20
	bl	_p32x_sh2_read32
	mov	x1, x0
	ldr	w8, [x19, #8]
	add	w0, w8, #8
	mov	x2, x20
	bl	_p32x_sh2_write32
	ldr	w8, [x19, #4]
	add	w0, w8, #12
	mov	x1, x20
	bl	_p32x_sh2_read32
	mov	x1, x0
	ldr	w8, [x19, #8]
	add	w0, w8, #12
	mov	x2, x20
	bl	_p32x_sh2_write32
	ldp	w8, w9, [x19]
	add	w9, w9, #16
	str	w9, [x19, #4]
	tbz	w8, #15, LBB0_14
; %bb.13:
	ldr	w9, [x19, #8]
	sub	w9, w9, #16
	str	w9, [x19, #8]
LBB0_14:
	tbz	w8, #14, LBB0_16
; %bb.15:
	ldr	w8, [x19, #8]
	add	w8, w8, #16
	str	w8, [x19, #8]
LBB0_16:
	ldr	x8, [x19, #16]
	sub	x8, x8, #4
	str	x8, [x19, #16]
LBB0_17:
	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 AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_1-LBB0_1)>>2
	.byte	(LBB0_2-LBB0_1)>>2
	.byte	(LBB0_3-LBB0_1)>>2
	.byte	(LBB0_12-LBB0_1)>>2
                                        ; -- End function
	.no_dead_strip	_dmac_transfer_one
.subsections_via_symbols
