	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function idma64_chan_init
_idma64_chan_init:                      ## @idma64_chan_init
	.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	$1, %edi
	callq	_IDMA64C_CFGH_SRC_PER
	movl	%eax, %ebx
	xorl	%edi, %edi
	callq	_IDMA64C_CFGH_DST_PER
	orl	%eax, %ebx
	movq	_IDMA64C_CFGL_DST_BURST_ALIGN@GOTPCREL(%rip), %rax
	movq	_IDMA64C_CFGL_SRC_BURST_ALIGN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	movq	_CFG_LO@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	callq	_channel_writel
	movq	_CFG_HI@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	callq	_channel_writel
	movq	_XFER@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MASK
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_channel_set_bit
	movq	_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_MASK
	movl	(%r15), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_channel_set_bit
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_idma64_on                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_IDMA64C_CFGL_DST_BURST_ALIGN,4,2 ## @IDMA64C_CFGL_DST_BURST_ALIGN
	.comm	_IDMA64C_CFGL_SRC_BURST_ALIGN,4,2 ## @IDMA64C_CFGL_SRC_BURST_ALIGN
	.comm	_CFG_LO,4,2                     ## @CFG_LO
	.comm	_CFG_HI,4,2                     ## @CFG_HI
	.comm	_XFER,4,2                       ## @XFER
	.comm	_ERROR,4,2                      ## @ERROR
	.no_dead_strip	_idma64_chan_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function idma64_chan_init
_idma64_chan_init:                      ; @idma64_chan_init
	.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
	mov	w0, #1
	bl	_IDMA64C_CFGH_SRC_PER
	mov	x21, x0
	mov	w0, #0
	bl	_IDMA64C_CFGH_DST_PER
	orr	w21, w0, w21
Lloh0:
	adrp	x8, _IDMA64C_CFGL_DST_BURST_ALIGN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _IDMA64C_CFGL_DST_BURST_ALIGN@GOTPAGEOFF]
Lloh2:
	adrp	x9, _IDMA64C_CFGL_SRC_BURST_ALIGN@GOTPAGE
Lloh3:
	ldr	x9, [x9, _IDMA64C_CFGL_SRC_BURST_ALIGN@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	ldr	w9, [x9]
	orr	w2, w9, w8
Lloh6:
	adrp	x8, _CFG_LO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _CFG_LO@GOTPAGEOFF]
Lloh8:
	ldr	w1, [x8]
	mov	x0, x20
	bl	_channel_writel
Lloh9:
	adrp	x8, _CFG_HI@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CFG_HI@GOTPAGEOFF]
Lloh11:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x21
	bl	_channel_writel
Lloh12:
	adrp	x8, _XFER@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XFER@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_MASK
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x19
	bl	_channel_set_bit
Lloh15:
	adrp	x8, _ERROR@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERROR@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	bl	_MASK
	mov	x1, x0
	ldr	w2, [x20]
	mov	x0, x19
	bl	_channel_set_bit
	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	_idma64_on
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_IDMA64C_CFGL_DST_BURST_ALIGN,4,2 ; @IDMA64C_CFGL_DST_BURST_ALIGN
	.comm	_IDMA64C_CFGL_SRC_BURST_ALIGN,4,2 ; @IDMA64C_CFGL_SRC_BURST_ALIGN
	.comm	_CFG_LO,4,2                     ; @CFG_LO
	.comm	_CFG_HI,4,2                     ; @CFG_HI
	.comm	_XFER,4,2                       ; @XFER
	.comm	_ERROR,4,2                      ; @ERROR
	.no_dead_strip	_idma64_chan_init
.subsections_via_symbols
