	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tda8295_i2c_bridge
_tda8295_i2c_bridge:                    ## @tda8295_i2c_bridge
	.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	(%rdi), %rbx
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	leaq	_tda8295_i2c_bridge.enable(%rip), %rsi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_tuner_i2c_xfer_send
	movl	$20, %edi
	callq	_msleep
	jmp	LBB0_3
LBB0_2:
	leaq	_tda8295_i2c_bridge.disable(%rip), %r14
	leaq	_tda8295_i2c_bridge.disable+1(%rip), %rcx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	movl	$1, %r8d
	callq	_tuner_i2c_xfer_send_recv
	movb	_tda8295_i2c_bridge.disable+1(%rip), %al
	andb	$-5, %al
	movb	%al, _tda8295_i2c_bridge.buf+2(%rip)
	leaq	_tda8295_i2c_bridge.buf(%rip), %rsi
	movq	%rbx, %rdi
	movl	$3, %edx
	callq	_tuner_i2c_xfer_send
	movl	$5, %edi
	callq	_msleep
	orb	$4, _tda8295_i2c_bridge.disable+1(%rip)
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$2, %edx
	callq	_tuner_i2c_xfer_send
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
_tda8295_i2c_bridge.enable:             ## @tda8295_i2c_bridge.enable
	.ascii	"E\301"

_tda8295_i2c_bridge.disable:            ## @tda8295_i2c_bridge.disable
	.asciz	"F"

_tda8295_i2c_bridge.buf:                ## @tda8295_i2c_bridge.buf
	.asciz	"E\001"

	.no_dead_strip	_tda8295_i2c_bridge
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tda8295_i2c_bridge
_tda8295_i2c_bridge:                    ; @tda8295_i2c_bridge
	.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	x19, [x0]
	cbz	w1, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, _tda8295_i2c_bridge.enable@PAGE
Lloh1:
	add	x1, x1, _tda8295_i2c_bridge.enable@PAGEOFF
	mov	x0, x19
	mov	w2, #2
	bl	_tuner_i2c_xfer_send
	mov	w0, #20
	bl	_msleep
	b	LBB0_3
LBB0_2:
Lloh2:
	adrp	x20, _tda8295_i2c_bridge.disable@PAGE
Lloh3:
	add	x20, x20, _tda8295_i2c_bridge.disable@PAGEOFF
	add	x3, x20, #1
	mov	x0, x19
	mov	x1, x20
	mov	w2, #1
	mov	w4, #1
	bl	_tuner_i2c_xfer_send_recv
	ldrb	w8, [x20, #1]
	and	w8, w8, #0xfffffffb
Lloh4:
	adrp	x1, _tda8295_i2c_bridge.buf@PAGE
Lloh5:
	add	x1, x1, _tda8295_i2c_bridge.buf@PAGEOFF
	strb	w8, [x1, #2]
	mov	x0, x19
	mov	w2, #3
	bl	_tuner_i2c_xfer_send
	mov	w0, #5
	bl	_msleep
	ldrb	w8, [x20, #1]
	orr	w8, w8, #0x4
	strb	w8, [x20, #1]
	mov	x0, x19
	mov	x1, x20
	mov	w2, #2
	bl	_tuner_i2c_xfer_send
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
_tda8295_i2c_bridge.enable:             ; @tda8295_i2c_bridge.enable
	.ascii	"E\301"

_tda8295_i2c_bridge.disable:            ; @tda8295_i2c_bridge.disable
	.asciz	"F"

_tda8295_i2c_bridge.buf:                ; @tda8295_i2c_bridge.buf
	.asciz	"E\001"

	.no_dead_strip	_tda8295_i2c_bridge
.subsections_via_symbols
