	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function denali_setup_dma32
_denali_setup_dma32:                    ## @denali_setup_dma32
	.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, %r13d
	movl	%edx, %r12d
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movq	_DENALI_MAP10@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	callq	_DENALI_BANK
	movl	%eax, %r14d
	movq	(%rbx), %rcx
	testl	%r13d, %r13d
	je	LBB0_1
## %bb.2:
	movl	$8, %edi
	movq	%rcx, %r13
	callq	_BIT
	movl	%eax, %edx
	movq	%r13, %rcx
	orl	$8193, %edx                     ## imm = 0x2001
	jmp	LBB0_3
LBB0_1:
	movl	$8193, %edx                     ## imm = 0x2001
LBB0_3:
	orl	-44(%rbp), %r14d                ## 4-byte Folded Reload
	orl	%r14d, %r12d
	movq	%rbx, %rdi
	movl	%r12d, %esi
	callq	*%rcx
	movl	%r15d, %esi
	sarl	$8, %esi
	andl	$-256, %esi
	orl	%r14d, %esi
	movq	%rbx, %rdi
	movl	$8704, %edx                     ## imm = 0x2200
	callq	*(%rbx)
	movzwl	%r15w, %esi
	shll	$8, %esi
	orl	%r14d, %esi
	movq	%rbx, %rdi
	movl	$8960, %edx                     ## imm = 0x2300
	callq	*(%rbx)
	movq	(%rbx), %rax
	orl	$81920, %r14d                   ## imm = 0x14000
	movq	%rbx, %rdi
	movl	%r14d, %esi
	movl	$9216, %edx                     ## imm = 0x2400
	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_dma32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function denali_setup_dma32
_denali_setup_dma32:                    ; @denali_setup_dma32
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
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]
	mov	w22, #8193
	cbz	w24, LBB0_2
; %bb.1:
	mov	w0, #8
	bl	_BIT
	orr	w22, w0, w22
LBB0_2:
	orr	w23, w23, w25
	orr	w1, w23, w21
	mov	x0, x19
	mov	x2, x22
	blr	x26
	ldr	x8, [x19]
	asr	w9, w20, #8
	and	w9, w9, #0xffffff00
	orr	w1, w23, w9
	mov	x0, x19
	mov	w2, #8704
	blr	x8
	ldr	x8, [x19]
	ubfiz	w9, w20, #8, #16
	orr	w1, w23, w9
	mov	x0, x19
	mov	w2, #8960
	blr	x8
	ldr	x3, [x19]
	mov	w8, #16384
	movk	w8, #1, lsl #16
	orr	w1, w23, w8
	mov	x0, x19
	mov	w2, #9216
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	br	x3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_DENALI_MAP10,4,2               ; @DENALI_MAP10
	.no_dead_strip	_denali_setup_dma32
.subsections_via_symbols
