	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function denali_setup_dma64
_denali_setup_dma64:                    ## @denali_setup_dma64
	.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	%ecx, %r12d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	_DENALI_MAP10@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	callq	_DENALI_BANK
	movl	%eax, %r13d
	movq	(%r14), %rcx
	testl	%r12d, %r12d
	je	LBB0_1
## %bb.2:
	movl	$8, %edi
	movq	%rcx, %r12
	callq	_BIT
	movl	%eax, %edx
	movq	%r12, %rcx
	orl	$20979713, %edx                 ## imm = 0x1402001
	jmp	LBB0_3
LBB0_1:
	movl	$20979713, %edx                 ## imm = 0x1402001
LBB0_3:
	orl	-44(%rbp), %ebx                 ## 4-byte Folded Reload
	orl	%r13d, %ebx
	movq	%r14, %rdi
	movl	%ebx, %esi
	callq	*%rcx
	movq	(%r14), %r12
	movl	%r15d, %edi
	callq	_lower_32_bits
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	*%r12
	movq	(%r14), %r12
	movl	%r15d, %edi
	callq	_upper_32_bits
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	movq	%r12, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DENALI_MAP10,4,2               ## @DENALI_MAP10
	.no_dead_strip	_denali_setup_dma64
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function denali_setup_dma64
_denali_setup_dma64:                    ; @denali_setup_dma64
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x24, x3
	mov	x22, x2
	mov	x20, x1
	mov	x19, x0
	mov	w21, #8193
	movk	w21, #320, lsl #16
Lloh0:
	adrp	x8, _DENALI_MAP10@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DENALI_MAP10@GOTPAGEOFF]
Lloh2:
	ldr	w25, [x8]
	bl	_DENALI_BANK
	mov	x23, x0
	ldr	x26, [x19]
	cbz	w24, LBB0_2
; %bb.1:
	mov	w0, #8
	bl	_BIT
	orr	w21, w0, w21
LBB0_2:
	orr	w8, w25, w22
	orr	w22, w8, w23
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	blr	x26
	ldr	x21, [x19]
	mov	x0, x20
	bl	_lower_32_bits
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	blr	x21
	ldr	x0, [x19]
	str	x0, [sp, #8]                    ; 8-byte Folded Spill
	mov	x0, x20
	bl	_upper_32_bits
	mov	x2, x0
	mov	x0, x19
	mov	x1, x22
	ldr	x3, [sp, #8]                    ; 8-byte Folded Reload
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	br	x3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DENALI_MAP10,4,2               ; @DENALI_MAP10
	.no_dead_strip	_denali_setup_dma64
.subsections_via_symbols
