	.file	"extr_stv06xx.c_stv06xx_read_bridge.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"Reading 0x%x from address 0x%x, status %d"
	.text
	.p2align 4
	.globl	stv06xx_read_bridge
	.type	stv06xx_read_bridge, @function
stv06xx_read_bridge:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12d, esi
	xor	esi, esi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdx
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	r14, QWORD PTR 8[rdi]
	mov	r13, QWORD PTR [rdi]
	mov	ebx, DWORD PTR STV06XX_URB_MSG_TIMEOUT[rip]
	mov	rdi, r14
	call	usb_rcvctrlpipe@PLT
	sub	rsp, 8
	.cfi_def_cfa_offset 56
	xor	r9d, r9d
	mov	r8d, r12d
	push	rbx
	.cfi_def_cfa_offset 64
	mov	rdi, r14
	mov	esi, eax
	mov	ecx, 192
	push	1
	.cfi_def_cfa_offset 72
	mov	edx, 4
	push	r13
	.cfi_def_cfa_offset 80
	call	usb_control_msg@PLT
	mov	edx, DWORD PTR 0[r13]
	add	rsp, 32
	.cfi_def_cfa_offset 48
	mov	ecx, r12d
	mov	ebx, eax
	mov	r8d, eax
	lea	rsi, .LC0[rip]
	mov	DWORD PTR 0[rbp], edx
	mov	edi, DWORD PTR D_CONF[rip]
	call	PDEBUG@PLT
	test	ebx, ebx
	mov	eax, 0
	cmovle	eax, ebx
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	stv06xx_read_bridge, .-stv06xx_read_bridge
	.comm	STV06XX_URB_MSG_TIMEOUT,4,4
	.comm	D_CONF,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_stv06xx.c_stv06xx_read_bridge.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Reading 0x%x from address 0x%x, status %d\000"
	.text
	.align	2
	.global	stv06xx_read_bridge
	.syntax unified
	.arm
	.fpu softvfp
	.type	stv06xx_read_bridge, %function
stv06xx_read_bridge:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	r3, r0
	push	{r4, r5, r6, r7, lr}
	ldr	r4, [r0, #4]
	sub	sp, sp, #28
	mov	r5, r1
	mov	r0, r4
	mov	r1, #0
	ldr	r7, [r3]
	mov	r6, r2
	bl	usb_rcvctrlpipe
	mov	r2, #1
	mov	r3, #0
	mov	r1, r0
	ldr	r0, .L4
	str	r7, [sp, #8]
	ldr	ip, [r0]
	str	r2, [sp, #12]
	str	ip, [sp, #16]
	str	r3, [sp, #4]
	mov	r0, r4
	mov	r3, #192
	mov	r2, #4
	str	r5, [sp]
	bl	usb_control_msg
	ldr	r2, [r7]
	ldr	r1, .L4+4
	str	r2, [r6]
	str	r0, [sp]
	mov	r4, r0
	mov	r3, r5
	ldr	r0, [r1]
	ldr	r1, .L4+8
	bl	PDEBUG
	and	r0, r4, r4, asr #31
	add	sp, sp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L5:
	.align	2
.L4:
	.word	STV06XX_URB_MSG_TIMEOUT
	.word	D_CONF
	.word	.LC0
	.size	stv06xx_read_bridge, .-stv06xx_read_bridge
	.comm	STV06XX_URB_MSG_TIMEOUT,4,4
	.comm	D_CONF,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
