	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idma32_initialize_chan
_idma32_initialize_chan:                ## @idma32_initialize_chan
	.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	%rdi, %r15
	movq	_IDMA32C_CFGL_DST_BURST_ALIGN@GOTPCREL(%rip), %rax
	movq	_IDMA32C_CFGL_SRC_BURST_ALIGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r14d
	orl	(%rax), %r14d
	movl	(%rdi), %edi
	andl	$15, %edi
	callq	_IDMA32C_CFGH_DST_PER
	movl	%eax, %ebx
	movl	4(%r15), %edi
	andl	$15, %edi
	callq	_IDMA32C_CFGH_SRC_PER
	orl	%eax, %ebx
	movl	(%r15), %edi
	shrl	$4, %edi
	andl	$3, %edi
	callq	_IDMA32C_CFGH_DST_PER_EXT
	orl	%eax, %ebx
	movl	4(%r15), %edi
	shrl	$4, %edi
	andl	$3, %edi
	callq	_IDMA32C_CFGH_SRC_PER_EXT
	orl	%eax, %ebx
	movq	_CFG_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r14d, %edx
	callq	_channel_writel
	movq	_CFG_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_channel_writel                 ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IDMA32C_CFGL_DST_BURST_ALIGN,4,2 ## @IDMA32C_CFGL_DST_BURST_ALIGN
	.comm	_IDMA32C_CFGL_SRC_BURST_ALIGN,4,2 ## @IDMA32C_CFGL_SRC_BURST_ALIGN
	.comm	_CFG_LO,4,2                     ## @CFG_LO
	.comm	_CFG_HI,4,2                     ## @CFG_HI
	.no_dead_strip	_idma32_initialize_chan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idma32_initialize_chan
_idma32_initialize_chan:                ; @idma32_initialize_chan
	.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	x19, x0
Lloh0:
	adrp	x8, _IDMA32C_CFGL_DST_BURST_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDMA32C_CFGL_DST_BURST_ALIGN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _IDMA32C_CFGL_SRC_BURST_ALIGN@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IDMA32C_CFGL_SRC_BURST_ALIGN@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w20, w9, w8
	ldr	w8, [x0]
	and	w0, w8, #0xf
	bl	_IDMA32C_CFGH_DST_PER
	mov	x21, x0
	ldr	w8, [x19, #4]
	and	w0, w8, #0xf
	bl	_IDMA32C_CFGH_SRC_PER
	orr	w21, w0, w21
	ldr	w8, [x19]
	ubfx	w0, w8, #4, #2
	bl	_IDMA32C_CFGH_DST_PER_EXT
	orr	w21, w21, w0
	ldr	w8, [x19, #4]
	ubfx	w0, w8, #4, #2
	bl	_IDMA32C_CFGH_SRC_PER_EXT
	orr	w21, w21, w0
Lloh6:
	adrp	x8, _CFG_LO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CFG_LO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x20
	bl	_channel_writel
Lloh9:
	adrp	x8, _CFG_HI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CFG_HI@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x19
	mov	x2, x21
	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	_channel_writel
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_IDMA32C_CFGL_DST_BURST_ALIGN,4,2 ; @IDMA32C_CFGL_DST_BURST_ALIGN
	.comm	_IDMA32C_CFGL_SRC_BURST_ALIGN,4,2 ; @IDMA32C_CFGL_SRC_BURST_ALIGN
	.comm	_CFG_LO,4,2                     ; @CFG_LO
	.comm	_CFG_HI,4,2                     ; @CFG_HI
	.no_dead_strip	_idma32_initialize_chan
.subsections_via_symbols
