	.file	"extr_tm6000-cards.c_tm6000_xc5000_callback.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	tm6000_xc5000_callback
	.type	tm6000_xc5000_callback, @function
tm6000_xc5000_callback:
.LFB0:
	.cfi_startproc
	endbr64
	mov	rax, QWORD PTR TUNER_XC5000[rip]
	cmp	QWORD PTR [rdi], rax
	jne	.L10
	cmp	edx, 128
	je	.L14
.L10:
	xor	eax, eax
	ret
	.p2align 4,,10
	.p2align 3
.L14:
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR REQ_03_SET_GET_MCU_PIN[rip]
	mov	ecx, 1
	mov	rbp, rdi
	mov	edx, DWORD PTR 8[rdi]
	call	tm6000_set_reg@PLT
	mov	edi, 15
	call	msleep@PLT
	mov	edx, DWORD PTR 8[rbp]
	mov	esi, DWORD PTR REQ_03_SET_GET_MCU_PIN[rip]
	xor	ecx, ecx
	mov	rdi, rbp
	call	tm6000_set_reg@PLT
	mov	edi, 15
	call	msleep@PLT
	mov	edx, DWORD PTR 8[rbp]
	mov	rdi, rbp
	mov	ecx, 1
	mov	esi, DWORD PTR REQ_03_SET_GET_MCU_PIN[rip]
	call	tm6000_set_reg@PLT
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	tm6000_xc5000_callback, .-tm6000_xc5000_callback
	.comm	TUNER_XC5000,8,8
	.comm	REQ_03_SET_GET_MCU_PIN,4,4
	.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_tm6000-cards.c_tm6000_xc5000_callback.c"
	.text
	.align	2
	.global	tm6000_xc5000_callback
	.syntax unified
	.arm
	.fpu softvfp
	.type	tm6000_xc5000_callback, %function
tm6000_xc5000_callback:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L12
	ldr	r1, [r0]
	ldr	r3, [r3]
	cmp	r1, r3
	cmpeq	r2, #128
	beq	.L11
	mov	r0, #0
	bx	lr
.L11:
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r5, .L12+4
	mov	r3, #1
	ldr	r1, [r5]
	ldr	r2, [r0, #4]
	bl	tm6000_set_reg
	mov	r0, #15
	bl	msleep
	ldr	r1, [r5]
	ldr	r2, [r4, #4]
	mov	r3, #0
	mov	r0, r4
	bl	tm6000_set_reg
	mov	r0, #15
	bl	msleep
	mov	r3, #1
	mov	r0, r4
	ldr	r1, [r5]
	ldr	r2, [r4, #4]
	bl	tm6000_set_reg
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L13:
	.align	2
.L12:
	.word	TUNER_XC5000
	.word	REQ_03_SET_GET_MCU_PIN
	.size	tm6000_xc5000_callback, .-tm6000_xc5000_callback
	.comm	TUNER_XC5000,4,4
	.comm	REQ_03_SET_GET_MCU_PIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
