	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ciintf_deinit
_ciintf_deinit:                         ## @ciintf_deinit
	.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
	leaq	8(%rdi), %r15
	movq	8(%rdi), %r14
	cmpq	$0, 24(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_MASK_03@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_SAA7146_IER_DISABLE
	movq	_SAA7146_GPIO_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	xorl	%esi, %esi
	callq	_saa7146_setgpio
	leaq	16(%rbx), %rdi
	callq	_tasklet_kill
LBB0_2:
	movq	_DEBICICTL@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movq	_DEBIADDR_CICONTROL@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	$1, %ecx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	callq	_ttpci_budget_debiwrite
	movl	$1, %edi
	callq	_msleep
	movl	(%r12), %esi
	movl	(%r13), %edx
	movq	_CICONTROL_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	$0, (%rsp)
	movq	%r15, %rdi
	movl	$1, %ecx
	movl	$1, %r9d
	callq	_ttpci_budget_debiwrite
	movq	_SAA7146_GPIO_INPUT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_saa7146_setgpio
	movq	%rbx, %rdi
	callq	_dvb_ca_en50221_release
	movq	_MC1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_MASK_27@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_saa7146_write                  ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MASK_03,4,2                    ## @MASK_03
	.comm	_SAA7146_GPIO_INPUT,4,2         ## @SAA7146_GPIO_INPUT
	.comm	_DEBICICTL,4,2                  ## @DEBICICTL
	.comm	_DEBIADDR_CICONTROL,4,2         ## @DEBIADDR_CICONTROL
	.comm	_CICONTROL_RESET,4,2            ## @CICONTROL_RESET
	.comm	_MC1,4,2                        ## @MC1
	.comm	_MASK_27,4,2                    ## @MASK_27
	.no_dead_strip	_ciintf_deinit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ciintf_deinit
_ciintf_deinit:                         ; @ciintf_deinit
	.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	x20, x0
	mov	x21, x0
	ldr	x19, [x21, #8]!
	ldr	x8, [x21, #16]
Lloh0:
	adrp	x22, _SAA7146_GPIO_INPUT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _SAA7146_GPIO_INPUT@GOTPAGEOFF]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _MASK_03@GOTPAGE
Lloh3:
	ldr	x8, [x8, _MASK_03@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_SAA7146_IER_DISABLE
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #0
	bl	_saa7146_setgpio
	add	x0, x20, #16
	bl	_tasklet_kill
LBB0_2:
Lloh5:
	adrp	x23, _DEBICICTL@GOTPAGE
Lloh6:
	ldr	x23, [x23, _DEBICICTL@GOTPAGEOFF]
	ldr	w1, [x23]
Lloh7:
	adrp	x24, _DEBIADDR_CICONTROL@GOTPAGE
Lloh8:
	ldr	x24, [x24, _DEBIADDR_CICONTROL@GOTPAGEOFF]
	ldr	w2, [x24]
	mov	x0, x21
	mov	w3, #1
	mov	w4, #0
	mov	w5, #1
	mov	w6, #0
	bl	_ttpci_budget_debiwrite
	mov	w0, #1
	bl	_msleep
	ldr	w1, [x23]
	ldr	w2, [x24]
Lloh9:
	adrp	x8, _CICONTROL_RESET@GOTPAGE
Lloh10:
	ldr	x8, [x8, _CICONTROL_RESET@GOTPAGEOFF]
Lloh11:
	ldr	w4, [x8]
	mov	x0, x21
	mov	w3, #1
	mov	w5, #1
	mov	w6, #0
	bl	_ttpci_budget_debiwrite
	ldr	w2, [x22]
	mov	x0, x19
	mov	w1, #1
	bl	_saa7146_setgpio
	mov	x0, x20
	bl	_dvb_ca_en50221_release
Lloh12:
	adrp	x8, _MC1@GOTPAGE
Lloh13:
	ldr	x8, [x8, _MC1@GOTPAGEOFF]
Lloh14:
	ldr	w1, [x8]
Lloh15:
	adrp	x8, _MASK_27@GOTPAGE
Lloh16:
	ldr	x8, [x8, _MASK_27@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	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
	b	_saa7146_write
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MASK_03,4,2                    ; @MASK_03
	.comm	_SAA7146_GPIO_INPUT,4,2         ; @SAA7146_GPIO_INPUT
	.comm	_DEBICICTL,4,2                  ; @DEBICICTL
	.comm	_DEBIADDR_CICONTROL,4,2         ; @DEBIADDR_CICONTROL
	.comm	_CICONTROL_RESET,4,2            ; @CICONTROL_RESET
	.comm	_MC1,4,2                        ; @MC1
	.comm	_MASK_27,4,2                    ; @MASK_27
	.no_dead_strip	_ciintf_deinit
.subsections_via_symbols
