	.file	"extr_validate.c_validate_desc.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	validate_desc, @function
validate_desc:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, esi
	movzx	eax, BYTE PTR USB_DT_CS_INTERFACE[rip]
	mov	rsi, rdx
	cmp	BYTE PTR 1[rdi], al
	jne	.L8
	movsx	eax, BYTE PTR [rdx]
	test	al, al
	je	.L8
	movzx	edx, BYTE PTR 2[rdi]
	mov	r8d, DWORD PTR UAC_VERSION_ALL[rip]
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	movsx	eax, BYTE PTR 24[rsi]
	add	rsi, 24
	test	al, al
	je	.L8
.L6:
	cmp	eax, edx
	jne	.L3
	mov	eax, DWORD PTR 4[rsi]
	cmp	eax, ecx
	je	.L9
	cmp	eax, r8d
	jne	.L3
.L9:
	mov	rax, QWORD PTR 8[rsi]
	test	rax, rax
	je	.L5
	jmp	rax
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, 1
	ret
.L5:
	movzx	eax, BYTE PTR 16[rsi]
	cmp	BYTE PTR [rdi], al
	setnb	al
	movzx	eax, al
	ret
	.cfi_endproc
.LFE0:
	.size	validate_desc, .-validate_desc
	.comm	USB_DT_CS_INTERFACE,1,1
	.comm	UAC_VERSION_ALL,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_validate.c_validate_desc.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	validate_desc, %function
validate_desc:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r3, .L18
	ldrb	ip, [r0, #1]	@ zero_extendqisi2
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	ip, r3
	bne	.L7
	ldrb	r3, [r2]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L7
	str	lr, [sp, #-4]!
	ldr	lr, .L18+4
	ldrb	ip, [r0, #2]	@ zero_extendqisi2
	ldr	lr, [lr]
	b	.L5
.L3:
	ldrb	r3, [r2, #16]!	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L17
.L5:
	cmp	ip, r3
	bne	.L3
	ldr	r3, [r2, #4]
	cmp	r3, lr
	cmpne	r3, r1
	bne	.L3
	ldr	r3, [r2, #8]
	cmp	r3, #0
	beq	.L4
	mov	r1, r2
	ldr	lr, [sp], #4
	bx	r3
.L7:
	mov	r0, #1
	bx	lr
.L17:
	mov	r0, #1
	ldr	pc, [sp], #4
.L4:
	ldrb	r0, [r0]	@ zero_extendqisi2
	ldrb	r3, [r2, #12]	@ zero_extendqisi2
	cmp	r0, r3
	movcc	r0, #0
	movcs	r0, #1
	ldr	pc, [sp], #4
.L19:
	.align	2
.L18:
	.word	USB_DT_CS_INTERFACE
	.word	UAC_VERSION_ALL
	.size	validate_desc, .-validate_desc
	.comm	USB_DT_CS_INTERFACE,1,1
	.comm	UAC_VERSION_ALL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
