	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx23885_start_vbi_dma
_cx23885_start_vbi_dma:                 ## @cx23885_start_vbi_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	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	_SRAM_CH02@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	shlq	$2, %rsi
	addq	(%rdi), %rsi
	movl	(%rdx), %ecx
	movl	4(%rdx), %edx
	callq	_cx23885_sram_channel_setup
	movl	$1, (%r14)
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	_cx23885_irq_add_enable
	movq	_VID_A_INT_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$34, %esi
	callq	_cx_set
	movq	_DEV_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$32, %esi
	callq	_cx_set
	movq	_VID_A_DMA_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$34, %esi
	callq	_cx_set
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SRAM_CH02,8,3                  ## @SRAM_CH02
	.comm	_VID_A_INT_MSK,4,2              ## @VID_A_INT_MSK
	.comm	_DEV_CNTRL2,4,2                 ## @DEV_CNTRL2
	.comm	_VID_A_DMA_CTL,4,2              ## @VID_A_DMA_CTL
	.no_dead_strip	_cx23885_start_vbi_dma
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx23885_start_vbi_dma
_cx23885_start_vbi_dma:                 ; @cx23885_start_vbi_dma
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _SRAM_CH02@GOTPAGE
Lloh1:
	ldr	x9, [x9, _SRAM_CH02@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x8, x9, lsl #2
	ldp	w3, w8, [x2]
	mov	x2, x8
	bl	_cx23885_sram_channel_setup
	mov	w8, #1
	str	w8, [x19]
	mov	x0, x20
	mov	w1, #1
	bl	_cx23885_irq_add_enable
Lloh3:
	adrp	x8, _VID_A_INT_MSK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _VID_A_INT_MSK@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #34
	bl	_cx_set
Lloh6:
	adrp	x8, _DEV_CNTRL2@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DEV_CNTRL2@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #32
	bl	_cx_set
Lloh9:
	adrp	x8, _VID_A_DMA_CTL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VID_A_DMA_CTL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	w1, #34
	bl	_cx_set
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SRAM_CH02,8,3                  ; @SRAM_CH02
	.comm	_VID_A_INT_MSK,4,2              ; @VID_A_INT_MSK
	.comm	_DEV_CNTRL2,4,2                 ; @DEV_CNTRL2
	.comm	_VID_A_DMA_CTL,4,2              ; @VID_A_DMA_CTL
	.no_dead_strip	_cx23885_start_vbi_dma
.subsections_via_symbols
