	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdma_start
_cdma_start:                            ## @cdma_start
	.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
	movq	%rdi, %rbx
	callq	_cdma_to_channel
	cmpl	$0, (%rbx)
	jne	LBB0_2
## %bb.1:
	movq	%rax, %r14
	movl	8(%rbx), %eax
	movl	%eax, 4(%rbx)
	movq	24(%rbx), %r12
	movq	16(%rbx), %r15
	addq	$4, %r15
	movq	_HOST1X_CHANNEL_DMACTRL_DMASTOP@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HOST1X_CHANNEL_DMACTRL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_host1x_ch_writel
	movq	%r12, %rdi
	callq	_lower_32_bits
	movq	_HOST1X_CHANNEL_DMASTART@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_host1x_ch_writel
	movl	8(%rbx), %esi
	movq	_HOST1X_CHANNEL_DMAPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	callq	_host1x_ch_writel
	movq	%r15, %rdi
	callq	_lower_32_bits
	movq	_HOST1X_CHANNEL_DMAEND@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	callq	_host1x_ch_writel
	movq	_HOST1X_CHANNEL_DMACTRL_DMAGETRST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_HOST1X_CHANNEL_DMACTRL_DMASTOP@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movq	_HOST1X_CHANNEL_DMACTRL_DMAINITGET@GOTPCREL(%rip), %rax
	orl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r14, %rdi
	callq	_host1x_ch_writel
	movl	(%r13), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_host1x_ch_writel
	movl	$1, (%rbx)
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_HOST1X_CHANNEL_DMACTRL_DMASTOP,4,2 ## @HOST1X_CHANNEL_DMACTRL_DMASTOP
	.comm	_HOST1X_CHANNEL_DMACTRL,4,2     ## @HOST1X_CHANNEL_DMACTRL
	.comm	_HOST1X_CHANNEL_DMASTART,4,2    ## @HOST1X_CHANNEL_DMASTART
	.comm	_HOST1X_CHANNEL_DMAPUT,4,2      ## @HOST1X_CHANNEL_DMAPUT
	.comm	_HOST1X_CHANNEL_DMAEND,4,2      ## @HOST1X_CHANNEL_DMAEND
	.comm	_HOST1X_CHANNEL_DMACTRL_DMAGETRST,4,2 ## @HOST1X_CHANNEL_DMACTRL_DMAGETRST
	.comm	_HOST1X_CHANNEL_DMACTRL_DMAINITGET,4,2 ## @HOST1X_CHANNEL_DMACTRL_DMAINITGET
	.comm	_HOST1X_CHANNEL_DMAEND_HI,4,2   ## @HOST1X_CHANNEL_DMAEND_HI
	.comm	_HOST1X_CHANNEL_DMAPUT_HI,4,2   ## @HOST1X_CHANNEL_DMAPUT_HI
	.comm	_HOST1X_CHANNEL_DMASTART_HI,4,2 ## @HOST1X_CHANNEL_DMASTART_HI
	.no_dead_strip	_cdma_start
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdma_start
_cdma_start:                            ; @cdma_start
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x0
	bl	_cdma_to_channel
	ldr	w8, [x19]
	cbnz	w8, LBB0_2
; %bb.1:
	mov	x20, x0
	ldr	w8, [x19, #8]
	str	w8, [x19, #4]
	ldp	x8, x21, [x19, #16]
	add	x22, x8, #4
Lloh0:
	adrp	x23, _HOST1X_CHANNEL_DMACTRL_DMASTOP@GOTPAGE
Lloh1:
	ldr	x23, [x23, _HOST1X_CHANNEL_DMACTRL_DMASTOP@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh2:
	adrp	x24, _HOST1X_CHANNEL_DMACTRL@GOTPAGE
Lloh3:
	ldr	x24, [x24, _HOST1X_CHANNEL_DMACTRL@GOTPAGEOFF]
	ldr	w2, [x24]
	bl	_host1x_ch_writel
	mov	x0, x21
	bl	_lower_32_bits
	mov	x1, x0
Lloh4:
	adrp	x8, _HOST1X_CHANNEL_DMASTART@GOTPAGE
Lloh5:
	ldr	x8, [x8, _HOST1X_CHANNEL_DMASTART@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_host1x_ch_writel
	ldr	w1, [x19, #8]
Lloh7:
	adrp	x8, _HOST1X_CHANNEL_DMAPUT@GOTPAGE
Lloh8:
	ldr	x8, [x8, _HOST1X_CHANNEL_DMAPUT@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_host1x_ch_writel
	mov	x0, x22
	bl	_lower_32_bits
	mov	x1, x0
Lloh10:
	adrp	x8, _HOST1X_CHANNEL_DMAEND@GOTPAGE
Lloh11:
	ldr	x8, [x8, _HOST1X_CHANNEL_DMAEND@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	mov	x0, x20
	bl	_host1x_ch_writel
	ldr	w8, [x23]
Lloh13:
	adrp	x9, _HOST1X_CHANNEL_DMACTRL_DMAGETRST@GOTPAGE
Lloh14:
	ldr	x9, [x9, _HOST1X_CHANNEL_DMACTRL_DMAGETRST@GOTPAGEOFF]
Lloh15:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh16:
	adrp	x9, _HOST1X_CHANNEL_DMACTRL_DMAINITGET@GOTPAGE
Lloh17:
	ldr	x9, [x9, _HOST1X_CHANNEL_DMACTRL_DMAINITGET@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	orr	w1, w8, w9
	ldr	w2, [x24]
	mov	x0, x20
	bl	_host1x_ch_writel
	ldr	w2, [x24]
	mov	x0, x20
	mov	w1, #0
	bl	_host1x_ch_writel
	mov	w8, #1
	str	w8, [x19]
LBB0_2:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_HOST1X_CHANNEL_DMACTRL_DMASTOP,4,2 ; @HOST1X_CHANNEL_DMACTRL_DMASTOP
	.comm	_HOST1X_CHANNEL_DMACTRL,4,2     ; @HOST1X_CHANNEL_DMACTRL
	.comm	_HOST1X_CHANNEL_DMASTART,4,2    ; @HOST1X_CHANNEL_DMASTART
	.comm	_HOST1X_CHANNEL_DMAPUT,4,2      ; @HOST1X_CHANNEL_DMAPUT
	.comm	_HOST1X_CHANNEL_DMAEND,4,2      ; @HOST1X_CHANNEL_DMAEND
	.comm	_HOST1X_CHANNEL_DMACTRL_DMAGETRST,4,2 ; @HOST1X_CHANNEL_DMACTRL_DMAGETRST
	.comm	_HOST1X_CHANNEL_DMACTRL_DMAINITGET,4,2 ; @HOST1X_CHANNEL_DMACTRL_DMAINITGET
	.comm	_HOST1X_CHANNEL_DMAEND_HI,4,2   ; @HOST1X_CHANNEL_DMAEND_HI
	.comm	_HOST1X_CHANNEL_DMAPUT_HI,4,2   ; @HOST1X_CHANNEL_DMAPUT_HI
	.comm	_HOST1X_CHANNEL_DMASTART_HI,4,2 ; @HOST1X_CHANNEL_DMASTART_HI
	.no_dead_strip	_cdma_start
.subsections_via_symbols
