	.file	"extr_usb.c___mt76u_rr.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	__mt76u_rr, @function
__mt76u_rr:
.LFB0:
	.cfi_startproc
	endbr64
	mov	r8d, DWORD PTR MT_VEND_TYPE_MASK[rip]
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12d, esi
	mov	eax, r8d
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	and	eax, esi
	mov	esi, DWORD PTR MT_VEND_READ_EEPROM[rip]
	cmp	eax, 128
	je	.L5
	mov	esi, DWORD PTR MT_VEND_MULTI_READ[rip]
	cmp	eax, 129
	cmove	esi, DWORD PTR MT_VEND_READ_CFG[rip]
.L5:
	sub	rsp, 8
	.cfi_def_cfa_offset 40
	not	r8d
	mov	edx, DWORD PTR USB_DIR_IN[rip]
	xor	ecx, ecx
	push	4
	.cfi_def_cfa_offset 48
	or	edx, DWORD PTR USB_TYPE_VENDOR[rip]
	mov	r9, rbp
	and	r8d, r12d
	mov	rdi, rbp
	call	__mt76u_vendor_request@PLT
	pop	rdx
	.cfi_def_cfa_offset 40
	pop	rcx
	.cfi_def_cfa_offset 32
	cmp	eax, 4
	jne	.L7
	mov	edi, DWORD PTR 0[rbp]
	call	le32_to_cpu@PLT
	mov	r13d, eax
.L6:
	mov	edx, r13d
	mov	esi, r12d
	mov	rdi, rbp
	call	trace_usb_reg_rr@PLT
	mov	eax, r13d
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	r13d, -1
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	__mt76u_rr, .-__mt76u_rr
	.comm	USB_TYPE_VENDOR,4,4
	.comm	USB_DIR_IN,4,4
	.comm	MT_VEND_TYPE_MASK,4,4
	.comm	MT_VEND_READ_EEPROM,4,4
	.comm	MT_VEND_READ_CFG,4,4
	.comm	MT_VEND_MULTI_READ,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_usb.c___mt76u_rr.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	__mt76u_rr, %function
__mt76u_rr:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L11
	push	{r4, r5, r6, lr}
	ldr	r3, [r3]
	mov	r5, r1
	and	r2, r3, r1
	cmp	r2, #128
	mov	r4, r0
	sub	sp, sp, #16
	beq	.L2
	cmp	r2, #129
	beq	.L3
	ldr	r2, .L11+4
	ldr	r1, [r2]
.L5:
	mov	r0, #4
	ldr	ip, .L11+8
	ldr	r2, .L11+12
	ldr	ip, [ip]
	ldr	r2, [r2]
	bic	r3, r5, r3
	stm	sp, {r3, r4}
	str	r0, [sp, #8]
	mov	r3, #0
	mov	r0, r4
	orr	r2, ip, r2
	bl	__mt76u_vendor_request
	cmp	r0, #4
	bne	.L7
	ldr	r0, [r4]
	bl	le32_to_cpu
	mov	r6, r0
.L6:
	mov	r1, r5
	mov	r0, r4
	mov	r2, r6
	bl	trace_usb_reg_rr
	mov	r0, r6
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L2:
	ldr	r2, .L11+16
	ldr	r1, [r2]
	b	.L5
.L3:
	ldr	r2, .L11+20
	ldr	r1, [r2]
	b	.L5
.L7:
	mvn	r6, #0
	b	.L6
.L12:
	.align	2
.L11:
	.word	MT_VEND_TYPE_MASK
	.word	MT_VEND_MULTI_READ
	.word	USB_DIR_IN
	.word	USB_TYPE_VENDOR
	.word	MT_VEND_READ_EEPROM
	.word	MT_VEND_READ_CFG
	.size	__mt76u_rr, .-__mt76u_rr
	.comm	USB_TYPE_VENDOR,4,4
	.comm	USB_DIR_IN,4,4
	.comm	MT_VEND_TYPE_MASK,4,4
	.comm	MT_VEND_READ_EEPROM,4,4
	.comm	MT_VEND_READ_CFG,4,4
	.comm	MT_VEND_MULTI_READ,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
