	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_chan_set_dst_loop_size
_fsl_chan_set_dst_loop_size:            ## @fsl_chan_set_dst_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %r14
	callq	_get_mr
	movl	%eax, %ebx
	cmpl	$8, %r15d
	ja	LBB0_5
## %bb.1:
	movl	$278, %eax                      ## imm = 0x116
	btl	%r15d, %eax
	jae	LBB0_2
## %bb.4:
	movq	_FSL_DMA_MR_DAHTS_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
	movq	_FSL_DMA_MR_DAHE@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%r15d, %edi
	callq	___ilog2
	shll	$16, %eax
	orl	%eax, %ebx
	jmp	LBB0_5
LBB0_2:
	testl	%r15d, %r15d
	jne	LBB0_5
## %bb.3:
	movq	_FSL_DMA_MR_DAHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, %ebx
LBB0_5:
	movq	%r14, %rdi
	movl	%ebx, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_set_mr                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FSL_DMA_MR_DAHE,4,2            ## @FSL_DMA_MR_DAHE
	.comm	_FSL_DMA_MR_DAHTS_MASK,4,2      ## @FSL_DMA_MR_DAHTS_MASK
	.no_dead_strip	_fsl_chan_set_dst_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_dst_loop_size
_fsl_chan_set_dst_loop_size:            ; @fsl_chan_set_dst_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
	mov	x20, x1
	mov	x19, x0
	bl	_get_mr
	mov	x1, x0
	cmp	w20, #8
	b.hi	LBB0_5
; %bb.1:
	mov	w8, #1
	lsl	w8, w8, w20
	mov	w9, #278
	tst	w8, w9
	b.eq	LBB0_3
; %bb.2:
Lloh0:
	adrp	x8, _FSL_DMA_MR_DAHTS_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FSL_DMA_MR_DAHTS_MASK@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	bic	w21, w1, w8
Lloh3:
	adrp	x8, _FSL_DMA_MR_DAHE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _FSL_DMA_MR_DAHE@GOTPAGEOFF]
Lloh5:
	ldr	w22, [x8]
	mov	x0, x20
	bl	___ilog2
	orr	w8, w21, w22
	orr	w1, w8, w0, lsl #16
	b	LBB0_5
LBB0_3:
	cbnz	w20, LBB0_5
; %bb.4:
Lloh6:
	adrp	x8, _FSL_DMA_MR_DAHE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _FSL_DMA_MR_DAHE@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bic	w1, w1, w8
LBB0_5:
	mov	x0, x19
	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	_set_mr
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_FSL_DMA_MR_DAHE,4,2            ; @FSL_DMA_MR_DAHE
	.comm	_FSL_DMA_MR_DAHTS_MASK,4,2      ; @FSL_DMA_MR_DAHTS_MASK
	.no_dead_strip	_fsl_chan_set_dst_loop_size
.subsections_via_symbols
