	.file	"extr_uhso.c_uhso_probe_iface_static.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	uhso_probe_iface_static, @function
uhso_probe_iface_static:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	mov	ebx, esi
	call	usbd_get_config_descriptor@PLT
	cmp	DWORD PTR [rax], 3
	jg	.L2
	cmp	ebx, 1
	je	.L3
	cmp	ebx, 2
	je	.L4
	test	ebx, ebx
	je	.L7
.L1:
	xor	eax, eax
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	cmp	ebx, 2
	je	.L4
	jg	.L6
	test	ebx, ebx
	je	.L7
	cmp	ebx, 1
	jne	.L1
	mov	edx, DWORD PTR UHSO_PORT_TYPE_DIAG2[rip]
	mov	esi, DWORD PTR UHSO_PORT_SERIAL[rip]
	mov	edi, DWORD PTR UHSO_IF_BULK[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	UHSO_IFACE_SPEC@PLT
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	cmp	ebx, 3
	jne	.L1
.L3:
	mov	edx, DWORD PTR UHSO_PORT_TYPE_DIAG[rip]
	mov	esi, DWORD PTR UHSO_PORT_SERIAL[rip]
	mov	edi, DWORD PTR UHSO_IF_BULK[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	UHSO_IFACE_SPEC@PLT
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	edx, DWORD PTR UHSO_PORT_TYPE_NETWORK[rip]
	mov	esi, DWORD PTR UHSO_PORT_SERIAL[rip]
	mov	edi, DWORD PTR UHSO_IF_NET[rip]
	or	esi, DWORD PTR UHSO_PORT_NETWORK[rip]
	or	edi, DWORD PTR UHSO_IF_MUX[rip]
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	jmp	UHSO_IFACE_SPEC@PLT
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edx, DWORD PTR UHSO_PORT_TYPE_MODEM[rip]
	mov	esi, DWORD PTR UHSO_PORT_SERIAL[rip]
	mov	edi, DWORD PTR UHSO_IF_BULK[rip]
	pop	rbx
	.cfi_def_cfa_offset 8
	jmp	UHSO_IFACE_SPEC@PLT
	.cfi_endproc
.LFE0:
	.size	uhso_probe_iface_static, .-uhso_probe_iface_static
	.comm	UHSO_PORT_TYPE_NETWORK,4,4
	.comm	UHSO_PORT_TYPE_MODEM,4,4
	.comm	UHSO_PORT_TYPE_DIAG2,4,4
	.comm	UHSO_PORT_TYPE_DIAG,4,4
	.comm	UHSO_PORT_SERIAL,4,4
	.comm	UHSO_PORT_NETWORK,4,4
	.comm	UHSO_IF_NET,4,4
	.comm	UHSO_IF_MUX,4,4
	.comm	UHSO_IF_BULK,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_uhso.c_uhso_probe_iface_static.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	uhso_probe_iface_static, %function
uhso_probe_iface_static:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r4, r1
	bl	usbd_get_config_descriptor
	ldr	r3, [r0]
	cmp	r3, #3
	bgt	.L2
	cmp	r4, #1
	beq	.L3
	cmp	r4, #2
	beq	.L4
	cmp	r4, #0
	beq	.L6
.L1:
	mov	r0, #0
	pop	{r4, pc}
.L2:
	cmp	r4, #3
	ldrls	pc, [pc, r4, asl #2]
	b	.L1
.L7:
	.word	.L6
	.word	.L8
	.word	.L4
	.word	.L3
.L3:
	ldr	r2, .L20
.L18:
	ldr	r1, .L20+4
	ldr	r3, .L20+8
	ldr	r2, [r2]
	ldr	r1, [r1]
	ldr	r0, [r3]
	pop	{r4, lr}
	b	UHSO_IFACE_SPEC
.L6:
	ldr	r0, .L20+4
	ldr	r2, .L20+12
	ldr	r3, .L20+16
	ldr	r1, .L20+20
	ldr	ip, [r0]
	ldr	r1, [r1]
	ldr	r0, [r2]
	ldr	r2, [r3]
	ldr	r3, .L20+24
	orr	r0, r0, r2
	orr	r1, ip, r1
	ldr	r2, [r3]
	pop	{r4, lr}
	b	UHSO_IFACE_SPEC
.L4:
	ldr	r2, .L20+28
	b	.L18
.L8:
	ldr	r2, .L20+32
	b	.L18
.L21:
	.align	2
.L20:
	.word	UHSO_PORT_TYPE_DIAG
	.word	UHSO_PORT_SERIAL
	.word	UHSO_IF_BULK
	.word	UHSO_IF_NET
	.word	UHSO_IF_MUX
	.word	UHSO_PORT_NETWORK
	.word	UHSO_PORT_TYPE_NETWORK
	.word	UHSO_PORT_TYPE_MODEM
	.word	UHSO_PORT_TYPE_DIAG2
	.size	uhso_probe_iface_static, .-uhso_probe_iface_static
	.comm	UHSO_PORT_TYPE_NETWORK,4,4
	.comm	UHSO_PORT_TYPE_MODEM,4,4
	.comm	UHSO_PORT_TYPE_DIAG2,4,4
	.comm	UHSO_PORT_TYPE_DIAG,4,4
	.comm	UHSO_PORT_SERIAL,4,4
	.comm	UHSO_PORT_NETWORK,4,4
	.comm	UHSO_IF_NET,4,4
	.comm	UHSO_IF_MUX,4,4
	.comm	UHSO_IF_BULK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
