	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsl_edma_fill_tcd
_fsl_edma_fill_tcd:                     ## @fsl_edma_fill_tcd
	.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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r15d
	movl	%ecx, %r13d
	movl	%edx, %r12d
	movq	%rdi, %rbx
	movl	64(%rbp), %r14d
	movl	%esi, %edi
	callq	_cpu_to_le32
	movq	%rax, 80(%rbx)
	movl	%r12d, %edi
	callq	_cpu_to_le32
	movq	%rax, 72(%rbx)
	movl	%r13d, %edi
	callq	_cpu_to_le16
	movq	%rax, 64(%rbx)
	movl	%r15d, %edi
	callq	_cpu_to_le16
	movq	%rax, 56(%rbx)
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_cpu_to_le32
	movq	%rax, 48(%rbx)
	movl	16(%rbp), %edi
	callq	_cpu_to_le32
	movq	%rax, 40(%rbx)
	movl	24(%rbp), %edi
	callq	_EDMA_TCD_CITER_CITER
	movl	%eax, %edi
	callq	_cpu_to_le16
	movq	%rax, 32(%rbx)
	movl	40(%rbp), %edi
	callq	_cpu_to_le16
	movq	%rax, 24(%rbx)
	movl	48(%rbp), %edi
	callq	_cpu_to_le32
	movq	%rax, 16(%rbx)
	movl	32(%rbp), %edi
	callq	_EDMA_TCD_BITER_BITER
	movl	%eax, %edi
	callq	_cpu_to_le16
	movl	56(%rbp), %edx
	movq	%rax, 8(%rbx)
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movq	_EDMA_TCD_CSR_INT_MAJOR@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
LBB0_2:
	movl	72(%rbp), %eax
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	movq	_EDMA_TCD_CSR_D_REQ@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
LBB0_4:
	orl	%edx, %r14d
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	_EDMA_TCD_CSR_E_SG@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_6:
	orl	%eax, %r14d
	movl	%r14d, %edi
	callq	_cpu_to_le16
	movq	%rax, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EDMA_TCD_CSR_INT_MAJOR,4,2     ## @EDMA_TCD_CSR_INT_MAJOR
	.comm	_EDMA_TCD_CSR_D_REQ,4,2         ## @EDMA_TCD_CSR_D_REQ
	.comm	_EDMA_TCD_CSR_E_SG,4,2          ## @EDMA_TCD_CSR_E_SG
	.no_dead_strip	_fsl_edma_fill_tcd
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsl_edma_fill_tcd
_fsl_edma_fill_tcd:                     ; @fsl_edma_fill_tcd
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x7
	mov	x22, x6
	mov	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x26, x2
	mov	x19, x0
	ldr	w8, [x29, #36]
	str	w8, [sp, #12]                   ; 4-byte Folded Spill
	ldr	w8, [x29, #32]
	str	w8, [sp, #8]                    ; 4-byte Folded Spill
	ldr	w8, [x29, #28]
	str	w8, [sp, #4]                    ; 4-byte Folded Spill
	ldp	w28, w27, [x29, #20]
	ldr	w20, [x29, #16]
	mov	x0, x1
	bl	_cpu_to_le32
	str	x0, [x19, #80]
	mov	x0, x26
	bl	_cpu_to_le32
	str	x0, [x19, #72]
	mov	x0, x25
	bl	_cpu_to_le16
	str	x0, [x19, #64]
	mov	x0, x24
	bl	_cpu_to_le16
	str	x0, [x19, #56]
	mov	x0, x23
	bl	_cpu_to_le32
	str	x0, [x19, #48]
	mov	x0, x22
	bl	_cpu_to_le32
	str	x0, [x19, #40]
	mov	x0, x21
	bl	_EDMA_TCD_CITER_CITER
	bl	_cpu_to_le16
	str	x0, [x19, #32]
	mov	x0, x28
	bl	_cpu_to_le16
	str	x0, [x19, #24]
	mov	x0, x27
	bl	_cpu_to_le32
	str	x0, [x19, #16]
	mov	x0, x20
	bl	_EDMA_TCD_BITER_BITER
	bl	_cpu_to_le16
	str	x0, [x19, #8]
Lloh0:
	adrp	x8, _EDMA_TCD_CSR_INT_MAJOR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EDMA_TCD_CSR_INT_MAJOR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldp	w9, w10, [sp, #4]               ; 8-byte Folded Reload
	cmp	w9, #0
	csel	w8, wzr, w8, eq
Lloh3:
	adrp	x9, _EDMA_TCD_CSR_D_REQ@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EDMA_TCD_CSR_D_REQ@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w10, #0
	csel	w9, wzr, w9, eq
	orr	w8, w9, w8
Lloh6:
	adrp	x9, _EDMA_TCD_CSR_E_SG@GOTPAGE
Lloh7:
	ldr	x9, [x9, _EDMA_TCD_CSR_E_SG@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	ldr	w10, [sp, #12]                  ; 4-byte Folded Reload
	cmp	w10, #0
	csel	w9, wzr, w9, eq
	orr	w0, w8, w9
	bl	_cpu_to_le16
	str	x0, [x19]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_EDMA_TCD_CSR_INT_MAJOR,4,2     ; @EDMA_TCD_CSR_INT_MAJOR
	.comm	_EDMA_TCD_CSR_D_REQ,4,2         ; @EDMA_TCD_CSR_D_REQ
	.comm	_EDMA_TCD_CSR_E_SG,4,2          ; @EDMA_TCD_CSR_E_SG
	.no_dead_strip	_fsl_edma_fill_tcd
.subsections_via_symbols
