	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cx88_card_setup_pre_i2c
_cx88_card_setup_pre_i2c:               ## @cx88_card_setup_pre_i2c
	.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
	movl	(%rdi), %eax
	addl	$-128, %eax
	cmpl	$13, %eax
	ja	LBB0_10
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_8:
	movq	_XC4000_TUNER_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cx88_xc4000_winfast2000h_plus_callback ## TAILCALL
LBB0_6:
	movq	_MO_GP0_IO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	movq	8(%rdi), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_cx_write
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movl	(%rbx), %edi
	movl	$128, %esi
	callq	_cx_clear
	movl	$50, %edi
	callq	_udelay
	movl	(%rbx), %edi
	movl	$128, %esi
	jmp	LBB0_3
LBB0_7:
	movq	_XC2028_TUNER_RESET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cx88_xc3028_winfast1800h_callback ## TAILCALL
LBB0_4:
	movq	_MO_GP2_IO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$3319, %esi                     ## imm = 0xCF7
	callq	_cx_write
	movl	$50, %edi
	callq	_msleep
	movl	(%rbx), %edi
	movl	$3829, %esi                     ## imm = 0xEF5
	callq	_cx_write
	movl	$50, %edi
	callq	_msleep
	movl	(%rbx), %edi
	movl	$3319, %esi                     ## imm = 0xCF7
	callq	_cx_write
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_usleep_range                   ## TAILCALL
LBB0_10:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	movq	_MO_GP0_IO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$12848, %esi                    ## imm = 0x3230
	callq	_cx_write
	movl	(%rbx), %edi
	movl	$12816, %esi                    ## imm = 0x3210
	callq	_cx_write
	movl	$10000, %edi                    ## imm = 0x2710
	movl	$20000, %esi                    ## imm = 0x4E20
	callq	_usleep_range
	movl	(%rbx), %edi
	movl	$4656, %esi                     ## imm = 0x1230
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cx_write                       ## TAILCALL
LBB0_2:
	movq	_MO_GP0_IO@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movl	$61320, %esi                    ## imm = 0xEF88
	callq	_cx_write
	movl	$1000, %edi                     ## imm = 0x3E8
	callq	_udelay
	movl	(%rbx), %edi
	movl	$136, %esi
	callq	_cx_clear
	movl	$50, %edi
	callq	_udelay
	movl	(%rbx), %edi
	movl	$136, %esi
LBB0_3:
	callq	_cx_set
	movl	$1000, %edi                     ## imm = 0x3E8
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_udelay                         ## TAILCALL
LBB0_5:
	movq	_MO_GP0_IO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	$4112, %esi                     ## imm = 0x1010
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_cx_set                         ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_8
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_8
	.long	L0_0_set_7
	.long	L0_0_set_9
	.long	L0_0_set_4
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_6
	.long	L0_0_set_2
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_MO_GP0_IO,4,2                  ## @MO_GP0_IO
	.comm	_MO_GP2_IO,4,2                  ## @MO_GP2_IO
	.comm	_XC2028_TUNER_RESET,4,2         ## @XC2028_TUNER_RESET
	.comm	_XC4000_TUNER_RESET,4,2         ## @XC4000_TUNER_RESET
	.no_dead_strip	_cx88_card_setup_pre_i2c
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cx88_card_setup_pre_i2c
_cx88_card_setup_pre_i2c:               ; @cx88_card_setup_pre_i2c
	.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
	ldr	w8, [x0]
	sub	w8, w8, #128
	cmp	w8, #13
	b.hi	LBB0_6
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _XC4000_TUNER_RESET@GOTPAGE
Lloh3:
	ldr	x8, [x8, _XC4000_TUNER_RESET@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx88_xc4000_winfast2000h_plus_callback
LBB0_3:
Lloh5:
	adrp	x19, _MO_GP0_IO@GOTPAGE
Lloh6:
	ldr	x19, [x19, _MO_GP0_IO@GOTPAGEOFF]
	ldr	w8, [x19]
	ldr	x9, [x0, #8]
	ldr	w1, [x9]
	mov	x0, x8
	bl	_cx_write
	mov	w0, #1000
	bl	_udelay
	ldr	w0, [x19]
	mov	w1, #128
	bl	_cx_clear
	mov	w0, #50
	bl	_udelay
	ldr	w0, [x19]
	mov	w1, #128
	b	LBB0_9
LBB0_4:
Lloh7:
	adrp	x8, _XC2028_TUNER_RESET@GOTPAGE
Lloh8:
	ldr	x8, [x8, _XC2028_TUNER_RESET@GOTPAGEOFF]
Lloh9:
	ldr	w1, [x8]
	mov	w2, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx88_xc3028_winfast1800h_callback
LBB0_5:
Lloh10:
	adrp	x19, _MO_GP2_IO@GOTPAGE
Lloh11:
	ldr	x19, [x19, _MO_GP2_IO@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #3319
	bl	_cx_write
	mov	w0, #50
	bl	_msleep
	ldr	w0, [x19]
	mov	w1, #3829
	bl	_cx_write
	mov	w0, #50
	bl	_msleep
	ldr	w0, [x19]
	mov	w1, #3319
	bl	_cx_write
	mov	w0, #10000
	mov	w1, #20000
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_usleep_range
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_7:
Lloh12:
	adrp	x19, _MO_GP0_IO@GOTPAGE
Lloh13:
	ldr	x19, [x19, _MO_GP0_IO@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #12848
	bl	_cx_write
	ldr	w0, [x19]
	mov	w1, #12816
	bl	_cx_write
	mov	w0, #10000
	mov	w1, #20000
	bl	_usleep_range
	ldr	w0, [x19]
	mov	w1, #4656
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx_write
LBB0_8:
Lloh14:
	adrp	x19, _MO_GP0_IO@GOTPAGE
Lloh15:
	ldr	x19, [x19, _MO_GP0_IO@GOTPAGEOFF]
	ldr	w0, [x19]
	mov	w1, #61320
	bl	_cx_write
	mov	w0, #1000
	bl	_udelay
	ldr	w0, [x19]
	mov	w1, #136
	bl	_cx_clear
	mov	w0, #50
	bl	_udelay
	ldr	w0, [x19]
	mov	w1, #136
LBB0_9:
	bl	_cx_set
	mov	w0, #1000
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_udelay
LBB0_10:
Lloh16:
	adrp	x8, _MO_GP0_IO@GOTPAGE
Lloh17:
	ldr	x8, [x8, _MO_GP0_IO@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	mov	w1, #4112
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_cx_set
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_MO_GP0_IO,4,2                  ; @MO_GP0_IO
	.comm	_MO_GP2_IO,4,2                  ; @MO_GP2_IO
	.comm	_XC2028_TUNER_RESET,4,2         ; @XC2028_TUNER_RESET
	.comm	_XC4000_TUNER_RESET,4,2         ; @XC4000_TUNER_RESET
	.no_dead_strip	_cx88_card_setup_pre_i2c
.subsections_via_symbols
