	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx23885_shutdown
_cx23885_shutdown:                      ## @cx23885_shutdown
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	movq	_DEV_CNTRL2@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	_IR_CNTRL_REG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	_VID_A_DMA_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	_VID_B_DMA_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	_VID_C_DMA_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	_AUD_INT_DMA_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	_AUD_EXT_DMA_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	_UART_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	%rbx, %rdi
	callq	_cx23885_irq_disable_all
	movq	_VID_A_INT_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	_VID_B_INT_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	_VID_C_INT_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	_AUDIO_INT_INT_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_cx_write
	movq	_AUDIO_EXT_INT_MSK@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cx_write                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DEV_CNTRL2,4,2                 ## @DEV_CNTRL2
	.comm	_IR_CNTRL_REG,4,2               ## @IR_CNTRL_REG
	.comm	_VID_A_DMA_CTL,4,2              ## @VID_A_DMA_CTL
	.comm	_VID_B_DMA_CTL,4,2              ## @VID_B_DMA_CTL
	.comm	_VID_C_DMA_CTL,4,2              ## @VID_C_DMA_CTL
	.comm	_AUD_INT_DMA_CTL,4,2            ## @AUD_INT_DMA_CTL
	.comm	_AUD_EXT_DMA_CTL,4,2            ## @AUD_EXT_DMA_CTL
	.comm	_UART_CTL,4,2                   ## @UART_CTL
	.comm	_VID_A_INT_MSK,4,2              ## @VID_A_INT_MSK
	.comm	_VID_B_INT_MSK,4,2              ## @VID_B_INT_MSK
	.comm	_VID_C_INT_MSK,4,2              ## @VID_C_INT_MSK
	.comm	_AUDIO_INT_INT_MSK,4,2          ## @AUDIO_INT_INT_MSK
	.comm	_AUDIO_EXT_INT_MSK,4,2          ## @AUDIO_EXT_INT_MSK
	.no_dead_strip	_cx23885_shutdown
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx23885_shutdown
_cx23885_shutdown:                      ; @cx23885_shutdown
	.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, x0
Lloh0:
	adrp	x8, _DEV_CNTRL2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DEV_CNTRL2@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
Lloh3:
	adrp	x8, _IR_CNTRL_REG@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IR_CNTRL_REG@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
Lloh6:
	adrp	x8, _VID_A_DMA_CTL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VID_A_DMA_CTL@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
Lloh9:
	adrp	x8, _VID_B_DMA_CTL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _VID_B_DMA_CTL@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
Lloh12:
	adrp	x8, _VID_C_DMA_CTL@GOTPAGE
Lloh13:
	ldr	x8, [x8, _VID_C_DMA_CTL@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
Lloh15:
	adrp	x8, _AUD_INT_DMA_CTL@GOTPAGE
Lloh16:
	ldr	x8, [x8, _AUD_INT_DMA_CTL@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
Lloh18:
	adrp	x8, _AUD_EXT_DMA_CTL@GOTPAGE
Lloh19:
	ldr	x8, [x8, _AUD_EXT_DMA_CTL@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
Lloh21:
	adrp	x8, _UART_CTL@GOTPAGE
Lloh22:
	ldr	x8, [x8, _UART_CTL@GOTPAGEOFF]
Lloh23:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
	mov	x0, x19
	bl	_cx23885_irq_disable_all
Lloh24:
	adrp	x8, _VID_A_INT_MSK@GOTPAGE
Lloh25:
	ldr	x8, [x8, _VID_A_INT_MSK@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
Lloh27:
	adrp	x8, _VID_B_INT_MSK@GOTPAGE
Lloh28:
	ldr	x8, [x8, _VID_B_INT_MSK@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
Lloh30:
	adrp	x8, _VID_C_INT_MSK@GOTPAGE
Lloh31:
	ldr	x8, [x8, _VID_C_INT_MSK@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
Lloh33:
	adrp	x8, _AUDIO_INT_INT_MSK@GOTPAGE
Lloh34:
	ldr	x8, [x8, _AUDIO_INT_INT_MSK@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_cx_write
Lloh36:
	adrp	x8, _AUDIO_EXT_INT_MSK@GOTPAGE
Lloh37:
	ldr	x8, [x8, _AUDIO_EXT_INT_MSK@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx_write
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.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	_DEV_CNTRL2,4,2                 ; @DEV_CNTRL2
	.comm	_IR_CNTRL_REG,4,2               ; @IR_CNTRL_REG
	.comm	_VID_A_DMA_CTL,4,2              ; @VID_A_DMA_CTL
	.comm	_VID_B_DMA_CTL,4,2              ; @VID_B_DMA_CTL
	.comm	_VID_C_DMA_CTL,4,2              ; @VID_C_DMA_CTL
	.comm	_AUD_INT_DMA_CTL,4,2            ; @AUD_INT_DMA_CTL
	.comm	_AUD_EXT_DMA_CTL,4,2            ; @AUD_EXT_DMA_CTL
	.comm	_UART_CTL,4,2                   ; @UART_CTL
	.comm	_VID_A_INT_MSK,4,2              ; @VID_A_INT_MSK
	.comm	_VID_B_INT_MSK,4,2              ; @VID_B_INT_MSK
	.comm	_VID_C_INT_MSK,4,2              ; @VID_C_INT_MSK
	.comm	_AUDIO_INT_INT_MSK,4,2          ; @AUDIO_INT_INT_MSK
	.comm	_AUDIO_EXT_INT_MSK,4,2          ; @AUDIO_EXT_INT_MSK
	.no_dead_strip	_cx23885_shutdown
.subsections_via_symbols
