	.file	"extr_tea5767.c_tea5767_status_dump.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Ready Flag ON\n"
.LC1:
	.string	"Ready Flag OFF\n"
.LC2:
	.string	"Tuner at band limit\n"
.LC3:
	.string	"Tuner not at band limit\n"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC4:
	.string	"Frequency %d.%03d KHz (divider = 0x%04x)\n"
	.section	.rodata.str1.1
.LC5:
	.string	"Stereo\n"
.LC6:
	.string	"Mono\n"
.LC7:
	.string	"IF Counter = %d\n"
.LC8:
	.string	"ADC Level = %d\n"
.LC9:
	.string	"Chip ID = %d\n"
.LC10:
	.string	"Reserved = 0x%02x\n"
	.text
	.p2align 4
	.type	tea5767_status_dump, @function
tea5767_status_dump:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	movzx	eax, BYTE PTR [rsi]
	test	BYTE PTR TEA5767_READY_FLAG_MASK[rip], al
	je	.L2
	lea	rdi, .LC0[rip]
	xor	eax, eax
	call	tuner_info@PLT
.L3:
	movzx	eax, BYTE PTR [rbx]
	test	BYTE PTR TEA5767_BAND_LIMIT_MASK[rip], al
	je	.L4
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	tuner_info@PLT
.L5:
	movzx	ecx, BYTE PTR [rbx]
	movzx	eax, BYTE PTR 1[rbx]
	sal	ecx, 8
	and	ecx, 16128
	or	ecx, eax
	mov	eax, DWORD PTR 0[rbp]
	cmp	eax, 129
	je	.L6
	cmp	eax, 131
	je	.L7
	cmp	eax, 128
	je	.L16
	mov	edx, ecx
	sal	edx, 15
	sub	edx, 925000
	shr	edx, 2
.L10:
	mov	esi, edx
	mov	eax, ecx
	lea	rdi, .LC4[rip]
	imul	rsi, rsi, 274877907
	rol	ax, 8
	mov	WORD PTR [rbx], ax
	shr	rsi, 38
	imul	eax, esi, 1000
	sub	edx, eax
	xor	eax, eax
	call	tuner_info@PLT
	movzx	eax, BYTE PTR 2[rbx]
	test	BYTE PTR TEA5767_STEREO_MASK[rip], al
	je	.L11
	lea	rdi, .LC5[rip]
	xor	eax, eax
	call	tuner_info@PLT
.L12:
	movzx	esi, BYTE PTR 2[rbx]
	and	sil, BYTE PTR TEA5767_IF_CNTR_MASK[rip]
	lea	rdi, .LC7[rip]
	xor	eax, eax
	movzx	esi, sil
	call	tuner_info@PLT
	movzx	esi, BYTE PTR 3[rbx]
	and	sil, BYTE PTR TEA5767_ADC_LEVEL_MASK[rip]
	xor	eax, eax
	shr	sil, 4
	lea	rdi, .LC8[rip]
	movzx	esi, sil
	call	tuner_info@PLT
	movzx	esi, BYTE PTR 3[rbx]
	and	sil, BYTE PTR TEA5767_CHIP_ID_MASK[rip]
	xor	eax, eax
	movzx	esi, sil
	lea	rdi, .LC9[rip]
	call	tuner_info@PLT
	movzx	esi, BYTE PTR 4[rbx]
	and	sil, BYTE PTR TEA5767_RESERVED_MASK[rip]
	xor	eax, eax
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movzx	esi, sil
	lea	rdi, .LC10[rip]
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	tuner_info@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	tuner_info@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	lea	rdi, .LC1[rip]
	xor	eax, eax
	call	tuner_info@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rdi, .LC6[rip]
	xor	eax, eax
	call	tuner_info@PLT
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L6:
	imul	edx, ecx, 50000
	add	edx, 925000
	shr	edx, 2
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L16:
	mov	edx, ecx
	sal	edx, 15
	add	edx, 925000
	shr	edx, 2
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	imul	edx, ecx, 50000
	sub	edx, 925000
	shr	edx, 2
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	tea5767_status_dump, .-tea5767_status_dump
	.comm	TEA5767_STEREO_MASK,1,1
	.comm	TEA5767_RESERVED_MASK,1,1
	.comm	TEA5767_READY_FLAG_MASK,1,1
	.comm	TEA5767_IF_CNTR_MASK,1,1
	.comm	TEA5767_CHIP_ID_MASK,1,1
	.comm	TEA5767_BAND_LIMIT_MASK,1,1
	.comm	TEA5767_ADC_LEVEL_MASK,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_tea5767.c_tea5767_status_dump.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Ready Flag ON\012\000"
	.align	2
.LC1:
	.ascii	"Ready Flag OFF\012\000"
	.align	2
.LC2:
	.ascii	"Tuner at band limit\012\000"
	.align	2
.LC3:
	.ascii	"Tuner not at band limit\012\000"
	.align	2
.LC4:
	.ascii	"Frequency %d.%03d KHz (divider = 0x%04x)\012\000"
	.align	2
.LC5:
	.ascii	"Stereo\012\000"
	.align	2
.LC6:
	.ascii	"Mono\012\000"
	.align	2
.LC7:
	.ascii	"IF Counter = %d\012\000"
	.align	2
.LC8:
	.ascii	"ADC Level = %d\012\000"
	.align	2
.LC9:
	.ascii	"Chip ID = %d\012\000"
	.align	2
.LC10:
	.ascii	"Reserved = 0x%02x\012\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	tea5767_status_dump, %function
tea5767_status_dump:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r1
	mov	r5, r0
	ldr	r3, .L17
	ldrb	r2, [r1]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r2, r3
	ldrne	r0, .L17+4
	ldreq	r0, .L17+8
	bl	tuner_info
	ldr	r3, .L17+12
	ldrb	r2, [r4]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r2, r3
	ldrne	r0, .L17+16
	ldreq	r0, .L17+20
	bl	tuner_info
	ldrb	r3, [r4]	@ zero_extendqisi2
	ldr	r2, [r5]
	ldrb	r1, [r4, #1]	@ zero_extendqisi2
	lsl	r3, r3, #8
	and	r3, r3, #16128
	cmp	r2, #129
	orr	r3, r3, r1
	beq	.L6
	cmp	r2, #131
	beq	.L7
	cmp	r2, #128
	beq	.L16
	ldr	r0, .L17+24
	add	r0, r0, r3, lsl #15
	lsr	r0, r0, #2
.L10:
	ldr	r1, .L17+28
	lsr	ip, r3, #8
	umull	r2, r1, r0, r1
	lsr	r1, r1, #6
	rsb	r2, r1, r1, lsl #5
	add	r2, r1, r2, lsl #2
	strb	ip, [r4]
	strb	r3, [r4, #1]
	sub	r2, r0, r2, lsl #3
	ldr	r0, .L17+32
	bl	tuner_info
	ldr	r3, .L17+36
	ldrb	r2, [r4, #2]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	tst	r2, r3
	ldrne	r0, .L17+40
	ldreq	r0, .L17+44
	bl	tuner_info
	ldr	r3, .L17+48
	ldrb	r1, [r4, #2]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r0, .L17+52
	and	r1, r1, r3
	bl	tuner_info
	ldr	r3, .L17+56
	ldrb	r1, [r4, #3]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r0, .L17+60
	and	r1, r1, r3
	lsr	r1, r1, #4
	bl	tuner_info
	ldr	r3, .L17+64
	ldrb	r1, [r4, #3]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r0, .L17+68
	and	r1, r1, r3
	bl	tuner_info
	ldr	r3, .L17+72
	ldrb	r1, [r4, #4]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	ldr	r0, .L17+76
	and	r1, r1, r3
	pop	{r4, r5, r6, lr}
	b	tuner_info
.L6:
	ldr	r0, .L17+80
	ldr	r2, .L17+84
	mla	r0, r3, r0, r2
	lsr	r0, r0, #2
	b	.L10
.L16:
	ldr	r0, .L17+84
	add	r0, r0, r3, lsl #15
	lsr	r0, r0, #2
	b	.L10
.L7:
	ldr	r0, .L17+80
	ldr	r2, .L17+24
	mla	r0, r3, r0, r2
	lsr	r0, r0, #2
	b	.L10
.L18:
	.align	2
.L17:
	.word	TEA5767_READY_FLAG_MASK
	.word	.LC0
	.word	.LC1
	.word	TEA5767_BAND_LIMIT_MASK
	.word	.LC2
	.word	.LC3
	.word	-925000
	.word	274877907
	.word	.LC4
	.word	TEA5767_STEREO_MASK
	.word	.LC5
	.word	.LC6
	.word	TEA5767_IF_CNTR_MASK
	.word	.LC7
	.word	TEA5767_ADC_LEVEL_MASK
	.word	.LC8
	.word	TEA5767_CHIP_ID_MASK
	.word	.LC9
	.word	TEA5767_RESERVED_MASK
	.word	.LC10
	.word	50000
	.word	925000
	.size	tea5767_status_dump, .-tea5767_status_dump
	.comm	TEA5767_STEREO_MASK,1,1
	.comm	TEA5767_RESERVED_MASK,1,1
	.comm	TEA5767_READY_FLAG_MASK,1,1
	.comm	TEA5767_IF_CNTR_MASK,1,1
	.comm	TEA5767_CHIP_ID_MASK,1,1
	.comm	TEA5767_BAND_LIMIT_MASK,1,1
	.comm	TEA5767_ADC_LEVEL_MASK,1,1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
