	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flite_hw_set_output_dma        ## -- Begin function flite_hw_set_output_dma
	.p2align	4, 0x90
_flite_hw_set_output_dma:               ## @flite_hw_set_output_dma
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_FLITE_REG_CIGCTRL@GOTPCREL(%rip), %r12
	movq	(%r12), %rdi
	addq	(%rbx), %rdi
	callq	_readl
	movq	_FLITE_REG_CIGCTRL_ODMA_DISABLE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	testl	%r15d, %r15d
	je	LBB0_1
## %bb.2:
	notl	%edi
	andl	%edi, %eax
	movq	(%r12), %rsi
	addq	(%rbx), %rsi
	movl	%eax, %edi
	callq	_writel
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_flite_hw_set_out_order
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_flite_hw_set_dma_window
	movq	%rbx, %rdi
	xorl	%esi, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_flite_hw_set_pack12            ## TAILCALL
LBB0_1:
	orl	%eax, %edi
	movq	(%r12), %rsi
	addq	(%rbx), %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_writel                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_FLITE_REG_CIGCTRL,8,3          ## @FLITE_REG_CIGCTRL
	.comm	_FLITE_REG_CIGCTRL_ODMA_DISABLE,4,2 ## @FLITE_REG_CIGCTRL_ODMA_DISABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_flite_hw_set_output_dma        ; -- Begin function flite_hw_set_output_dma
	.p2align	2
_flite_hw_set_output_dma:               ; @flite_hw_set_output_dma
	.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	x21, x2
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x22, _FLITE_REG_CIGCTRL@GOTPAGE
Lloh1:
	ldr	x22, [x22, _FLITE_REG_CIGCTRL@GOTPAGEOFF]
	ldr	x9, [x22]
	add	x0, x9, x8
	bl	_readl
Lloh2:
	adrp	x8, _FLITE_REG_CIGCTRL_ODMA_DISABLE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _FLITE_REG_CIGCTRL_ODMA_DISABLE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cbz	w21, LBB0_2
; %bb.1:
	bic	w0, w0, w8
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x1, x9, x8
	bl	_writel
	mov	x0, x19
	mov	x1, x20
	bl	_flite_hw_set_out_order
	mov	x0, x19
	mov	x1, x20
	bl	_flite_hw_set_dma_window
	mov	x0, x19
	mov	w1, #0
	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	_flite_hw_set_pack12
LBB0_2:
	orr	w0, w8, w0
	ldr	x8, [x19]
	ldr	x9, [x22]
	add	x1, x9, x8
	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	_writel
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_FLITE_REG_CIGCTRL,8,3          ; @FLITE_REG_CIGCTRL
	.comm	_FLITE_REG_CIGCTRL_ODMA_DISABLE,4,2 ; @FLITE_REG_CIGCTRL_ODMA_DISABLE
.subsections_via_symbols
