	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tea5767_status_dump
_tea5767_status_dump:                   ## @tea5767_status_dump
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_TEA5767_READY_FLAG_MASK@GOTPCREL(%rip), %rax
	movb	(%rsi), %cl
	andb	(%rax), %cl
	leaq	L_.str.1(%rip), %rax
	leaq	L_.str(%rip), %rdi
	cmoveq	%rax, %rdi
	xorl	%eax, %eax
	callq	_tuner_info
	movq	_TEA5767_BAND_LIMIT_MASK@GOTPCREL(%rip), %rax
	movb	(%rbx), %cl
	andb	(%rax), %cl
	leaq	L_.str.3(%rip), %rax
	leaq	L_.str.2(%rip), %rdi
	cmoveq	%rax, %rdi
	xorl	%eax, %eax
	callq	_tuner_info
	movzbl	(%rbx), %eax
	andl	$63, %eax
	movl	%eax, %edx
	shll	$8, %edx
	movzbl	1(%rbx), %ecx
	orl	%edx, %ecx
	movl	(%r14), %edx
	cmpl	$128, %edx
	je	LBB0_5
## %bb.1:
	cmpl	$129, %edx
	je	LBB0_4
## %bb.2:
	cmpl	$131, %edx
	jne	LBB0_6
## %bb.3:
	imull	$50000, %ecx, %edx              ## imm = 0xC350
	jmp	LBB0_7
LBB0_5:
	movl	%ecx, %edx
	shll	$15, %edx
	addl	$925000, %edx                   ## imm = 0xE1D48
	jmp	LBB0_8
LBB0_4:
	imull	$50000, %ecx, %edx              ## imm = 0xC350
	addl	$925000, %edx                   ## imm = 0xE1D48
	jmp	LBB0_8
LBB0_6:
	movl	%ecx, %edx
	shll	$15, %edx
LBB0_7:
	addl	$-925000, %edx                  ## imm = 0xFFF1E2B8
LBB0_8:
	movb	%al, (%rbx)
	movl	%edx, %eax
	shrl	$2, %edx
	imulq	$274877907, %rax, %rsi          ## imm = 0x10624DD3
	shrq	$40, %rsi
	imulq	$274877907, %rdx, %rax          ## imm = 0x10624DD3
	shrq	$38, %rax
	imull	$1000, %eax, %eax               ## imm = 0x3E8
	subl	%eax, %edx
	leaq	L_.str.4(%rip), %rdi
                                        ## kill: def $esi killed $esi killed $rsi
                                        ## kill: def $edx killed $edx killed $rdx
	xorl	%eax, %eax
	callq	_tuner_info
	movq	_TEA5767_STEREO_MASK@GOTPCREL(%rip), %rax
	movb	2(%rbx), %cl
	andb	(%rax), %cl
	leaq	L_.str.6(%rip), %rax
	leaq	L_.str.5(%rip), %rdi
	cmoveq	%rax, %rdi
	xorl	%eax, %eax
	callq	_tuner_info
	movq	_TEA5767_IF_CNTR_MASK@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	andb	2(%rbx), %al
	movzbl	%al, %esi
	leaq	L_.str.7(%rip), %rdi
	xorl	%eax, %eax
	callq	_tuner_info
	movzbl	3(%rbx), %eax
	movq	_TEA5767_ADC_LEVEL_MASK@GOTPCREL(%rip), %rcx
	movzbl	(%rcx), %esi
	andl	%eax, %esi
	shrl	$4, %esi
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_tuner_info
	movq	_TEA5767_CHIP_ID_MASK@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	andb	3(%rbx), %al
	movzbl	%al, %esi
	leaq	L_.str.9(%rip), %rdi
	xorl	%eax, %eax
	callq	_tuner_info
	movq	_TEA5767_RESERVED_MASK@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	andb	4(%rbx), %al
	movzbl	%al, %esi
	leaq	L_.str.10(%rip), %rdi
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_tuner_info                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_TEA5767_READY_FLAG_MASK,1,0    ## @TEA5767_READY_FLAG_MASK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Ready Flag ON\n"

L_.str.1:                               ## @.str.1
	.asciz	"Ready Flag OFF\n"

	.comm	_TEA5767_BAND_LIMIT_MASK,1,0    ## @TEA5767_BAND_LIMIT_MASK
L_.str.2:                               ## @.str.2
	.asciz	"Tuner at band limit\n"

L_.str.3:                               ## @.str.3
	.asciz	"Tuner not at band limit\n"

L_.str.4:                               ## @.str.4
	.asciz	"Frequency %d.%03d KHz (divider = 0x%04x)\n"

	.comm	_TEA5767_STEREO_MASK,1,0        ## @TEA5767_STEREO_MASK
L_.str.5:                               ## @.str.5
	.asciz	"Stereo\n"

L_.str.6:                               ## @.str.6
	.asciz	"Mono\n"

L_.str.7:                               ## @.str.7
	.asciz	"IF Counter = %d\n"

	.comm	_TEA5767_IF_CNTR_MASK,1,0       ## @TEA5767_IF_CNTR_MASK
L_.str.8:                               ## @.str.8
	.asciz	"ADC Level = %d\n"

	.comm	_TEA5767_ADC_LEVEL_MASK,1,0     ## @TEA5767_ADC_LEVEL_MASK
L_.str.9:                               ## @.str.9
	.asciz	"Chip ID = %d\n"

	.comm	_TEA5767_CHIP_ID_MASK,1,0       ## @TEA5767_CHIP_ID_MASK
L_.str.10:                              ## @.str.10
	.asciz	"Reserved = 0x%02x\n"

	.comm	_TEA5767_RESERVED_MASK,1,0      ## @TEA5767_RESERVED_MASK
	.no_dead_strip	_tea5767_status_dump
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tea5767_status_dump
_tea5767_status_dump:                   ; @tea5767_status_dump
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _TEA5767_READY_FLAG_MASK@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TEA5767_READY_FLAG_MASK@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldrb	w9, [x1]
Lloh2:
	adrp	x10, l_.str@PAGE
Lloh3:
	add	x10, x10, l_.str@PAGEOFF
Lloh4:
	adrp	x11, l_.str.1@PAGE
Lloh5:
	add	x11, x11, l_.str.1@PAGEOFF
	tst	w9, w8
	csel	x0, x11, x10, eq
	bl	_tuner_info
Lloh6:
	adrp	x8, _TEA5767_BAND_LIMIT_MASK@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TEA5767_BAND_LIMIT_MASK@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldrb	w9, [x19]
Lloh8:
	adrp	x10, l_.str.2@PAGE
Lloh9:
	add	x10, x10, l_.str.2@PAGEOFF
Lloh10:
	adrp	x11, l_.str.3@PAGE
Lloh11:
	add	x11, x11, l_.str.3@PAGEOFF
	tst	w9, w8
	csel	x0, x11, x10, eq
	bl	_tuner_info
	ldrb	w8, [x19]
	and	w8, w8, #0x3f
	ldrb	w9, [x19, #1]
	bfi	w9, w8, #8, #6
	ldr	w10, [x20]
	mov	w11, #7496
	movk	w11, #14, lsl #16
	add	w12, w11, w9, lsl #15
	mov	w13, #50000
	madd	w11, w9, w13, w11
	mov	w14, #58040
	movk	w14, #65521, lsl #16
	add	w15, w14, w9, lsl #15
	madd	w13, w9, w13, w14
	cmp	w10, #131
	csel	w13, w15, w13, ne
	cmp	w10, #129
	csel	w11, w11, w13, eq
	cmp	w10, #128
	csel	w10, w12, w11, eq
	lsr	w11, w10, #2
	strb	w8, [x19]
	mov	w8, #19923
	movk	w8, #4194, lsl #16
	umull	x10, w10, w8
	lsr	x10, x10, #40
	umull	x8, w11, w8
	lsr	x8, x8, #38
	mov	w12, #1000
	msub	w8, w8, w12, w11
	stp	x8, x9, [sp, #8]
	str	x10, [sp]
Lloh12:
	adrp	x0, l_.str.4@PAGE
Lloh13:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_tuner_info
Lloh14:
	adrp	x8, _TEA5767_STEREO_MASK@GOTPAGE
Lloh15:
	ldr	x8, [x8, _TEA5767_STEREO_MASK@GOTPAGEOFF]
	ldrb	w8, [x8]
	ldrb	w9, [x19, #2]
Lloh16:
	adrp	x10, l_.str.5@PAGE
Lloh17:
	add	x10, x10, l_.str.5@PAGEOFF
Lloh18:
	adrp	x11, l_.str.6@PAGE
Lloh19:
	add	x11, x11, l_.str.6@PAGEOFF
	tst	w9, w8
	csel	x0, x11, x10, eq
	bl	_tuner_info
	ldrb	w8, [x19, #2]
Lloh20:
	adrp	x9, _TEA5767_IF_CNTR_MASK@GOTPAGE
Lloh21:
	ldr	x9, [x9, _TEA5767_IF_CNTR_MASK@GOTPAGEOFF]
	ldrb	w9, [x9]
	and	w8, w9, w8
	and	x8, x8, #0xff
	str	x8, [sp]
Lloh22:
	adrp	x0, l_.str.7@PAGE
Lloh23:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_tuner_info
	ldrb	w8, [x19, #3]
Lloh24:
	adrp	x9, _TEA5767_ADC_LEVEL_MASK@GOTPAGE
Lloh25:
	ldr	x9, [x9, _TEA5767_ADC_LEVEL_MASK@GOTPAGEOFF]
	ldrb	w9, [x9]
	and	w8, w9, w8
	lsr	w8, w8, #4
	str	x8, [sp]
Lloh26:
	adrp	x0, l_.str.8@PAGE
Lloh27:
	add	x0, x0, l_.str.8@PAGEOFF
	bl	_tuner_info
	ldrb	w8, [x19, #3]
Lloh28:
	adrp	x9, _TEA5767_CHIP_ID_MASK@GOTPAGE
Lloh29:
	ldr	x9, [x9, _TEA5767_CHIP_ID_MASK@GOTPAGEOFF]
	ldrb	w9, [x9]
	and	w8, w9, w8
	and	x8, x8, #0xff
	str	x8, [sp]
Lloh30:
	adrp	x0, l_.str.9@PAGE
Lloh31:
	add	x0, x0, l_.str.9@PAGEOFF
	bl	_tuner_info
	ldrb	w8, [x19, #4]
Lloh32:
	adrp	x9, _TEA5767_RESERVED_MASK@GOTPAGE
Lloh33:
	ldr	x9, [x9, _TEA5767_RESERVED_MASK@GOTPAGEOFF]
	ldrb	w9, [x9]
	and	w8, w9, w8
	and	x8, x8, #0xff
	str	x8, [sp]
Lloh34:
	adrp	x0, l_.str.10@PAGE
Lloh35:
	add	x0, x0, l_.str.10@PAGEOFF
	bl	_tuner_info
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpAdd	Lloh34, Lloh35
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_TEA5767_READY_FLAG_MASK,1,0    ; @TEA5767_READY_FLAG_MASK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Ready Flag ON\n"

l_.str.1:                               ; @.str.1
	.asciz	"Ready Flag OFF\n"

	.comm	_TEA5767_BAND_LIMIT_MASK,1,0    ; @TEA5767_BAND_LIMIT_MASK
l_.str.2:                               ; @.str.2
	.asciz	"Tuner at band limit\n"

l_.str.3:                               ; @.str.3
	.asciz	"Tuner not at band limit\n"

l_.str.4:                               ; @.str.4
	.asciz	"Frequency %d.%03d KHz (divider = 0x%04x)\n"

	.comm	_TEA5767_STEREO_MASK,1,0        ; @TEA5767_STEREO_MASK
l_.str.5:                               ; @.str.5
	.asciz	"Stereo\n"

l_.str.6:                               ; @.str.6
	.asciz	"Mono\n"

l_.str.7:                               ; @.str.7
	.asciz	"IF Counter = %d\n"

	.comm	_TEA5767_IF_CNTR_MASK,1,0       ; @TEA5767_IF_CNTR_MASK
l_.str.8:                               ; @.str.8
	.asciz	"ADC Level = %d\n"

	.comm	_TEA5767_ADC_LEVEL_MASK,1,0     ; @TEA5767_ADC_LEVEL_MASK
l_.str.9:                               ; @.str.9
	.asciz	"Chip ID = %d\n"

	.comm	_TEA5767_CHIP_ID_MASK,1,0       ; @TEA5767_CHIP_ID_MASK
l_.str.10:                              ; @.str.10
	.asciz	"Reserved = 0x%02x\n"

	.comm	_TEA5767_RESERVED_MASK,1,0      ; @TEA5767_RESERVED_MASK
	.no_dead_strip	_tea5767_status_dump
.subsections_via_symbols
