	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_chan_set_src_loop_size
_fsl_chan_set_src_loop_size:            ## @fsl_chan_set_src_loop_size
	.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
	cmpl	$8, %esi
	ja	LBB0_6
## %bb.1:
	movl	%esi, %r12d
	movq	%rdi, %r14
	movl	$278, %eax                      ## imm = 0x116
	btl	%esi, %eax
	jae	LBB0_2
## %bb.5:
	movq	(%r14), %r15
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	$32, %edx
	callq	_DMA_IN
	movl	%eax, %ebx
	movq	_FSL_DMA_MR_SAHE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%r12d, %edi
	callq	___ilog2
	shll	$14, %eax
	orl	%eax, %ebx
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	jmp	LBB0_4
LBB0_2:
	testl	%r12d, %r12d
	jne	LBB0_6
## %bb.3:
	movq	(%r14), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	movl	$32, %edx
	callq	_DMA_IN
	movq	_FSL_DMA_MR_SAHE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	notl	%edx
	andl	%eax, %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
LBB0_4:
	movl	$32, %ecx
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_DMA_OUT                        ## TAILCALL
LBB0_6:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_DMA_MR_SAHE,4,2            ## @FSL_DMA_MR_SAHE
	.no_dead_strip	_fsl_chan_set_src_loop_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_chan_set_src_loop_size
_fsl_chan_set_src_loop_size:            ; @fsl_chan_set_src_loop_size
	.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
	cmp	w1, #8
	b.hi	LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	mov	w8, #1
	lsl	w8, w8, w1
	mov	w9, #278
	tst	w8, w9
	b.eq	LBB0_3
; %bb.2:
	ldr	x21, [x19]
	mov	x0, x19
	mov	x1, x21
	mov	w2, #32
	bl	_DMA_IN
Lloh0:
	adrp	x8, _FSL_DMA_MR_SAHE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FSL_DMA_MR_SAHE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	orr	w22, w8, w0
	mov	x0, x20
	bl	___ilog2
	orr	w2, w22, w0, lsl #14
	mov	x0, x19
	mov	x1, x21
	b	LBB0_5
LBB0_3:
	cbnz	w20, LBB0_6
; %bb.4:
	ldr	x20, [x19]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #32
	bl	_DMA_IN
Lloh3:
	adrp	x8, _FSL_DMA_MR_SAHE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FSL_DMA_MR_SAHE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	bic	w2, w0, w8
	mov	x0, x19
	mov	x1, x20
LBB0_5:
	mov	w3, #32
	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
	b	_DMA_OUT
LBB0_6:
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_DMA_MR_SAHE,4,2            ; @FSL_DMA_MR_SAHE
	.no_dead_strip	_fsl_chan_set_src_loop_size
.subsections_via_symbols
