	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function philips_tdm1316l_tuner_init
_philips_tdm1316l_tuner_init:           ## @philips_tdm1316l_tuner_init
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	8(%rdi), %rax
	movq	(%rax), %rbx
	movl	(%rbx), %eax
	movl	%eax, -48(%rbp)
	leaq	_philips_tdm1316l_tuner_init.td1316_init(%rip), %rax
	movq	%rax, -40(%rbp)
	movq	$16, -32(%rbp)
	movq	(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	*%rax
LBB0_2:
	addq	$4, %rbx
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_i2c_transfer
	cmpl	$1, %eax
	jne	LBB0_3
## %bb.4:
	movl	$1, %edi
	callq	_msleep
	movl	$101, -48(%rbp)
	leaq	_philips_tdm1316l_tuner_init.disable_mc44BC374c(%rip), %rax
	movq	%rax, -40(%rbp)
	movl	$16, -32(%rbp)
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	*%rax
LBB0_6:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_i2c_transfer
	xorl	%r15d, %r15d
	cmpl	$1, %eax
	je	LBB0_10
## %bb.7:
	movq	(%r14), %rax
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	*%rax
LBB0_9:
	leaq	-48(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_i2c_transfer
	jmp	LBB0_10
LBB0_3:
	movq	_EIO@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_10:
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__DATA,__data
	.p2align	4                               ## @philips_tdm1316l_tuner_init.td1316_init
_philips_tdm1316l_tuner_init.td1316_init:
	.long	11                              ## 0xb
	.long	245                             ## 0xf5
	.long	133                             ## 0x85
	.long	171                             ## 0xab

	.p2align	4                               ## @philips_tdm1316l_tuner_init.disable_mc44BC374c
_philips_tdm1316l_tuner_init.disable_mc44BC374c:
	.long	29                              ## 0x1d
	.long	116                             ## 0x74
	.long	160                             ## 0xa0
	.long	104                             ## 0x68

	.comm	_EIO,4,2                        ## @EIO
	.no_dead_strip	_philips_tdm1316l_tuner_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function philips_tdm1316l_tuner_init
lCPI0_0:
	.long	16                              ; 0x10
	.long	0                               ; 0x0
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_philips_tdm1316l_tuner_init:           ; @philips_tdm1316l_tuner_init
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
	mov	x19, x0
	ldp	x8, x9, [x0]
	ldr	x20, [x9]
	ldr	w9, [x20]
	str	w9, [sp, #8]
Lloh0:
	adrp	x9, _philips_tdm1316l_tuner_init.td1316_init@PAGE
Lloh1:
	add	x9, x9, _philips_tdm1316l_tuner_init.td1316_init@PAGEOFF
	str	x9, [sp, #16]
Lloh2:
	adrp	x9, lCPI0_0@PAGE
Lloh3:
	ldr	d0, [x9, lCPI0_0@PAGEOFF]
	str	d0, [sp, #24]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	mov	w1, #1
	blr	x8
LBB0_2:
	add	x20, x20, #4
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_i2c_transfer
	cmp	w0, #1
	b.ne	LBB0_10
; %bb.3:
	bl	_msleep
	mov	w8, #101
	str	w8, [sp, #8]
Lloh4:
	adrp	x8, _philips_tdm1316l_tuner_init.disable_mc44BC374c@PAGE
Lloh5:
	add	x8, x8, _philips_tdm1316l_tuner_init.disable_mc44BC374c@PAGEOFF
	str	x8, [sp, #16]
	mov	w8, #16
	str	w8, [sp, #24]
	ldr	x8, [x19]
	cbz	x8, LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #1
	blr	x8
LBB0_5:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_i2c_transfer
	cmp	w0, #1
	b.eq	LBB0_9
; %bb.6:
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.7:
	mov	x0, x19
	mov	w1, #1
	blr	x8
LBB0_8:
	add	x1, sp, #8
	mov	x0, x20
	mov	w2, #1
	bl	_i2c_transfer
LBB0_9:
	mov	w0, #0
	b	LBB0_11
LBB0_10:
Lloh6:
	adrp	x8, _EIO@GOTPAGE
Lloh7:
	ldr	x8, [x8, _EIO@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_11:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdr	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__DATA,__data
	.p2align	2                               ; @philips_tdm1316l_tuner_init.td1316_init
_philips_tdm1316l_tuner_init.td1316_init:
	.long	11                              ; 0xb
	.long	245                             ; 0xf5
	.long	133                             ; 0x85
	.long	171                             ; 0xab

	.p2align	2                               ; @philips_tdm1316l_tuner_init.disable_mc44BC374c
_philips_tdm1316l_tuner_init.disable_mc44BC374c:
	.long	29                              ; 0x1d
	.long	116                             ; 0x74
	.long	160                             ; 0xa0
	.long	104                             ; 0x68

	.comm	_EIO,4,2                        ; @EIO
	.no_dead_strip	_philips_tdm1316l_tuner_init
.subsections_via_symbols
