	.file	"extr_linux_usb.c_usb_linux_lookup_id.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	usb_linux_lookup_id, @function
usb_linux_lookup_id:
.LFB0:
	.cfi_startproc
	endbr64
	test	rdi, rdi
	je	.L16
	mov	edx, DWORD PTR [rdi]
	mov	rax, rdi
	test	edx, edx
	je	.L16
	mov	ecx, DWORD PTR USB_DEVICE_ID_MATCH_VENDOR[rip]
	mov	edi, DWORD PTR USB_DEVICE_ID_MATCH_PRODUCT[rip]
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r8d, DWORD PTR USB_DEVICE_ID_MATCH_DEV_LO[rip]
	mov	r9d, DWORD PTR USB_DEVICE_ID_MATCH_DEV_HI[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, DWORD PTR USB_DEVICE_ID_MATCH_INT_PROTOCOL[rip]
	mov	r10d, DWORD PTR USB_DEVICE_ID_MATCH_DEV_CLASS[rip]
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, DWORD PTR USB_DEVICE_ID_MATCH_INT_SUBCLASS[rip]
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	r11d, DWORD PTR USB_DEVICE_ID_MATCH_DEV_SUBCLASS[rip]
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, DWORD PTR USB_DEVICE_ID_MATCH_INT_CLASS[rip]
	mov	ebp, DWORD PTR USB_DEVICE_ID_MATCH_DEV_PROTOCOL[rip]
	mov	r13d, ebx
	or	r13d, r12d
	or	r13d, r14d
	mov	DWORD PTR -4[rsp], r13d
	.p2align 4,,10
	.p2align 3
.L14:
	mov	r15d, ecx
	and	r15d, edx
	je	.L3
	mov	r13, QWORD PTR [rsi]
	cmp	QWORD PTR 8[rax], r13
	jne	.L4
.L3:
	test	edi, edx
	je	.L5
	mov	r13, QWORD PTR 8[rsi]
	cmp	QWORD PTR 16[rax], r13
	jne	.L4
.L5:
	test	r8d, edx
	je	.L6
	mov	r13, QWORD PTR 16[rsi]
	cmp	QWORD PTR 24[rax], r13
	jg	.L4
.L6:
	test	r9d, edx
	je	.L7
	mov	r13, QWORD PTR 16[rsi]
	cmp	QWORD PTR 32[rax], r13
	jl	.L4
.L7:
	test	r10d, edx
	je	.L8
	mov	r13d, DWORD PTR 24[rsi]
	cmp	DWORD PTR 40[rax], r13d
	jne	.L4
.L8:
	test	r11d, edx
	je	.L9
	mov	r13, QWORD PTR 32[rsi]
	cmp	QWORD PTR 48[rax], r13
	jne	.L4
.L9:
	test	ebp, edx
	je	.L10
	mov	r13, QWORD PTR 40[rsi]
	cmp	QWORD PTR 56[rax], r13
	jne	.L4
.L10:
	cmp	DWORD PTR 24[rsi], 255
	jne	.L11
	test	r15d, r15d
	je	.L59
.L11:
	test	ebx, edx
	je	.L12
	mov	r15, QWORD PTR 48[rsi]
	cmp	QWORD PTR 64[rax], r15
	jne	.L4
.L12:
	test	r12d, edx
	je	.L13
	mov	r15, QWORD PTR 56[rsi]
	cmp	QWORD PTR 72[rax], r15
	jne	.L4
.L13:
	test	r14d, edx
	je	.L1
	mov	rdx, QWORD PTR 64[rsi]
	cmp	QWORD PTR 80[rax], rdx
	jne	.L4
.L1:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L59:
	.cfi_restore_state
	test	DWORD PTR -4[rsp], edx
	je	.L11
	.p2align 4,,10
	.p2align 3
.L4:
	mov	edx, DWORD PTR 88[rax]
	add	rax, 88
	test	edx, edx
	jne	.L14
	pop	rbx
	.cfi_def_cfa_offset 48
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
.L2:
	endbr64
	xor	eax, eax
	ret
	.cfi_endproc
.LFE0:
	.size	usb_linux_lookup_id, .-usb_linux_lookup_id
	.comm	USB_DEVICE_ID_MATCH_VENDOR,4,4
	.comm	USB_DEVICE_ID_MATCH_PRODUCT,4,4
	.comm	USB_DEVICE_ID_MATCH_INT_SUBCLASS,4,4
	.comm	USB_DEVICE_ID_MATCH_INT_PROTOCOL,4,4
	.comm	USB_DEVICE_ID_MATCH_INT_CLASS,4,4
	.comm	USB_DEVICE_ID_MATCH_DEV_SUBCLASS,4,4
	.comm	USB_DEVICE_ID_MATCH_DEV_PROTOCOL,4,4
	.comm	USB_DEVICE_ID_MATCH_DEV_LO,4,4
	.comm	USB_DEVICE_ID_MATCH_DEV_HI,4,4
	.comm	USB_DEVICE_ID_MATCH_DEV_CLASS,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_linux_usb.c_usb_linux_lookup_id.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	usb_linux_lookup_id, %function
usb_linux_lookup_id:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	subs	r2, r0, #0
	beq	.L15
	ldr	r3, [r2]
	cmp	r3, #0
	beq	.L16
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r0, .L59
	ldr	lr, .L59+4
	ldr	ip, .L59+8
	ldr	r0, [r0]
	sub	sp, sp, #20
	ldr	fp, [lr]
	ldr	r4, .L59+12
	ldr	lr, .L59+16
	ldr	r5, [ip]
	str	r0, [sp]
	ldr	ip, .L59+20
	ldr	r6, .L59+24
	ldr	r7, .L59+28
	ldr	r8, .L59+32
	ldr	r9, .L59+36
	ldr	r10, [r4]
	ldr	r4, [lr]
	ldr	lr, [sp]
	orr	r0, fp, r5
	orr	r0, r0, lr
	ldr	ip, [ip]
	ldr	r6, [r6]
	ldr	r7, [r7]
	ldr	r8, [r8]
	ldr	r9, [r9]
	str	r0, [sp, #12]
	str	fp, [sp, #4]
	str	r5, [sp, #8]
.L14:
	ands	lr, ip, r3
	mov	r0, r2
	beq	.L3
	ldr	fp, [r2, #4]
	ldr	r5, [r1]
	cmp	fp, r5
	bne	.L4
.L3:
	tst	r6, r3
	beq	.L5
	ldr	r5, [r2, #8]
	ldr	fp, [r1, #4]
	cmp	r5, fp
	bne	.L4
.L5:
	tst	r7, r3
	beq	.L6
	ldr	r5, [r2, #12]
	ldr	fp, [r1, #8]
	cmp	r5, fp
	bgt	.L4
.L6:
	tst	r8, r3
	beq	.L7
	ldr	r5, [r2, #16]
	ldr	fp, [r1, #8]
	cmp	r5, fp
	blt	.L4
.L7:
	tst	r9, r3
	beq	.L8
	ldr	r5, [r2, #20]
	ldr	fp, [r1, #12]
	cmp	r5, fp
	bne	.L4
.L8:
	tst	r10, r3
	beq	.L9
	ldr	r5, [r2, #24]
	ldr	fp, [r1, #16]
	cmp	r5, fp
	bne	.L4
.L9:
	tst	r4, r3
	beq	.L10
	ldr	r5, [r2, #28]
	ldr	fp, [r1, #20]
	cmp	r5, fp
	bne	.L4
.L10:
	ldr	r5, [r1, #12]
	cmp	r5, #255
	cmpeq	lr, #0
	beq	.L58
.L11:
	ldr	lr, [sp, #4]
	tst	lr, r3
	beq	.L12
	ldr	lr, [r1, #24]
	ldr	r5, [r2, #32]
	cmp	r5, lr
	bne	.L4
.L12:
	ldr	lr, [sp, #8]
	tst	lr, r3
	beq	.L13
	ldr	lr, [r1, #28]
	ldr	r5, [r2, #36]
	cmp	r5, lr
	bne	.L4
.L13:
	ldr	lr, [sp]
	tst	lr, r3
	beq	.L1
	ldr	lr, [r2, #40]
	ldr	r3, [r1, #32]
	cmp	lr, r3
	bne	.L4
.L1:
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L58:
	ldr	lr, [sp, #12]
	tst	lr, r3
	beq	.L11
.L4:
	ldr	r3, [r2, #44]!
	cmp	r3, #0
	bne	.L14
	mov	r0, r3
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L15:
	mov	r0, r2
	bx	lr
.L16:
.L2:
	mov	r0, r3
	bx	lr
.L60:
	.align	2
.L59:
	.word	USB_DEVICE_ID_MATCH_INT_PROTOCOL
	.word	USB_DEVICE_ID_MATCH_INT_CLASS
	.word	USB_DEVICE_ID_MATCH_INT_SUBCLASS
	.word	USB_DEVICE_ID_MATCH_DEV_SUBCLASS
	.word	USB_DEVICE_ID_MATCH_DEV_PROTOCOL
	.word	USB_DEVICE_ID_MATCH_VENDOR
	.word	USB_DEVICE_ID_MATCH_PRODUCT
	.word	USB_DEVICE_ID_MATCH_DEV_LO
	.word	USB_DEVICE_ID_MATCH_DEV_HI
	.word	USB_DEVICE_ID_MATCH_DEV_CLASS
	.size	usb_linux_lookup_id, .-usb_linux_lookup_id
	.comm	USB_DEVICE_ID_MATCH_VENDOR,4,4
	.comm	USB_DEVICE_ID_MATCH_PRODUCT,4,4
	.comm	USB_DEVICE_ID_MATCH_INT_SUBCLASS,4,4
	.comm	USB_DEVICE_ID_MATCH_INT_PROTOCOL,4,4
	.comm	USB_DEVICE_ID_MATCH_INT_CLASS,4,4
	.comm	USB_DEVICE_ID_MATCH_DEV_SUBCLASS,4,4
	.comm	USB_DEVICE_ID_MATCH_DEV_PROTOCOL,4,4
	.comm	USB_DEVICE_ID_MATCH_DEV_LO,4,4
	.comm	USB_DEVICE_ID_MATCH_DEV_HI,4,4
	.comm	USB_DEVICE_ID_MATCH_DEV_CLASS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
