	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function simple_post_tune
_simple_post_tune:                      ## @simple_post_tune
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	(%rdi), %rbx
	movl	(%rbx), %eax
	cmpl	$128, %eax
	je	LBB0_4
## %bb.1:
	cmpl	$129, %eax
	je	LBB0_5
## %bb.2:
	cmpl	$130, %eax
	jne	LBB0_13
## %bb.3:
	movl	%r12d, %esi
	movl	$32, %edx
	callq	_simple_set_aux_byte
	jmp	LBB0_13
LBB0_4:
	movl	%r12d, %esi
	movl	$96, %edx
	callq	_simple_set_aux_byte
	jmp	LBB0_13
LBB0_5:
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%r8d, -52(%rbp)                 ## 4-byte Spill
	movq	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	_jiffies@GOTPCREL(%rip), %r13
	movq	(%r13), %r14
	movl	$1, %edi
	callq	_msecs_to_jiffies
	movq	%rax, %r15
	addq	%r14, %r15
	movl	$0, -44(%rbp)
	movq	(%r13), %rdi
	movq	%r15, %rsi
	callq	_time_after
	testl	%eax, %eax
	je	LBB0_6
LBB0_13:
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	addq	$4, %rbx
	leaq	-44(%rbp), %r14
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$1, %edx
	callq	_tuner_i2c_xfer_recv
	cmpl	$1, %eax
	jne	LBB0_8
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	_TUNER_PLL_LOCKED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, -44(%rbp)
	jne	LBB0_9
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movl	$10, %edi
	callq	_udelay
	movq	(%r13), %rdi
	movq	%r15, %rsi
	callq	_time_after
	testl	%eax, %eax
	je	LBB0_7
	jmp	LBB0_13
LBB0_8:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	callq	_tuner_warn
LBB0_9:
	movq	_TUNER_CHARGE_PUMP@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	notl	%ecx
	andl	%r12d, %ecx
	movl	-48(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, %esi
	shrl	$8, %esi
	andl	$127, %esi
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	movl	%esi, (%r14)
	movzbl	%al, %edx
	movl	%edx, 4(%r14)
	movl	%ecx, 8(%r14)
	movl	-52(%rbp), %r8d                 ## 4-byte Reload
	movl	%r8d, 12(%r14)
	leaq	L_.str.1(%rip), %rdi
	callq	_tuner_dbg
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %edx
	callq	_tuner_i2c_xfer_send
	cmpl	$4, %eax
	je	LBB0_13
## %bb.10:
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	callq	_tuner_warn
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_jiffies,8,3                    ## @jiffies
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"i2c i/o read error: rc == %d (should be 1)\n"

	.comm	_TUNER_PLL_LOCKED,4,2           ## @TUNER_PLL_LOCKED
	.comm	_TUNER_CHARGE_PUMP,4,2          ## @TUNER_CHARGE_PUMP
L_.str.1:                               ## @.str.1
	.asciz	"tv 0x%02x 0x%02x 0x%02x 0x%02x\n"

L_.str.2:                               ## @.str.2
	.asciz	"i2c i/o error: rc == %d (should be 4)\n"

	.no_dead_strip	_simple_post_tune
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function simple_post_tune
_simple_post_tune:                      ; @simple_post_tune
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x21, x3
	ldr	x23, [x0]
	ldr	w8, [x23]
	cmp	w8, #128
	b.eq	LBB0_4
; %bb.1:
	cmp	w8, #129
	b.eq	LBB0_5
; %bb.2:
	cmp	w8, #130
	b.ne	LBB0_6
; %bb.3:
	mov	x1, x21
	mov	w2, #32
	bl	_simple_set_aux_byte
	b	LBB0_6
LBB0_4:
	mov	x1, x21
	mov	w2, #96
	bl	_simple_set_aux_byte
	b	LBB0_6
LBB0_5:
	mov	x20, x4
	mov	x22, x2
	mov	x19, x1
Lloh0:
	adrp	x25, _jiffies@GOTPAGE
Lloh1:
	ldr	x25, [x25, _jiffies@GOTPAGEOFF]
	ldr	x24, [x25]
	mov	w0, #1
	bl	_msecs_to_jiffies
	add	x24, x0, x24
	str	wzr, [sp, #12]
	ldr	x0, [x25]
	mov	x1, x24
	bl	_time_after
	cbz	w0, LBB0_7
LBB0_6:
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_7:
	add	x23, x23, #4
Lloh2:
	adrp	x26, _TUNER_PLL_LOCKED@GOTPAGE
Lloh3:
	ldr	x26, [x26, _TUNER_PLL_LOCKED@GOTPAGEOFF]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	add	x1, sp, #12
	mov	x0, x23
	mov	w2, #1
	bl	_tuner_i2c_xfer_recv
	cmp	w0, #1
	b.ne	LBB0_11
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	ldr	w8, [sp, #12]
	ldr	w9, [x26]
	tst	w9, w8
	b.ne	LBB0_12
; %bb.10:                               ;   in Loop: Header=BB0_8 Depth=1
	mov	w0, #10
	bl	_udelay
	ldr	x0, [x25]
	mov	x1, x24
	bl	_time_after
	cbz	w0, LBB0_8
	b	LBB0_6
LBB0_11:
	mov	x1, x0
Lloh4:
	adrp	x0, l_.str@PAGE
Lloh5:
	add	x0, x0, l_.str@PAGEOFF
	bl	_tuner_warn
LBB0_12:
Lloh6:
	adrp	x8, _TUNER_CHARGE_PUMP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TUNER_CHARGE_PUMP@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	bic	w3, w21, w8
	ubfx	w1, w22, #8, #7
	and	w2, w22, #0xff
	stp	w1, w2, [x19]
	stp	w3, w20, [x19, #8]
Lloh9:
	adrp	x0, l_.str.1@PAGE
Lloh10:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x4, x20
	bl	_tuner_dbg
	mov	x0, x23
	mov	x1, x19
	mov	w2, #4
	bl	_tuner_i2c_xfer_send
	cmp	w0, #4
	b.eq	LBB0_6
; %bb.13:
	mov	x1, x0
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_tuner_warn
	b	LBB0_6
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_jiffies,8,3                    ; @jiffies
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"i2c i/o read error: rc == %d (should be 1)\n"

	.comm	_TUNER_PLL_LOCKED,4,2           ; @TUNER_PLL_LOCKED
	.comm	_TUNER_CHARGE_PUMP,4,2          ; @TUNER_CHARGE_PUMP
l_.str.1:                               ; @.str.1
	.asciz	"tv 0x%02x 0x%02x 0x%02x 0x%02x\n"

l_.str.2:                               ; @.str.2
	.asciz	"i2c i/o error: rc == %d (should be 4)\n"

	.no_dead_strip	_simple_post_tune
.subsections_via_symbols
