	.file	"extr_win32_joystick.c_getDeviceDescription.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Unknown XInput Device"
.LC1:
	.string	"Wireless Xbox Controller"
.LC2:
	.string	"XInput Flight Stick"
.LC3:
	.string	"XInput Dance Pad"
.LC4:
	.string	"XInput Guitar"
.LC5:
	.string	"XInput Drum Kit"
.LC6:
	.string	"XInput Wheel"
.LC7:
	.string	"XInput Arcade Stick"
.LC8:
	.string	"Xbox Controller"
	.text
	.p2align 4
	.type	getDeviceDescription, @function
getDeviceDescription:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR [rdi]
	add	eax, -128
	cmp	eax, 6
	ja	.L2
	lea	rdx, .L4[rip]
	movsx	rax, DWORD PTR [rdx+rax*4]
	add	rax, rdx
	notrack jmp	rax
	.section	.rodata
	.align 4
	.align 4
.L4:
	.long	.L11-.L4
	.long	.L9-.L4
	.long	.L8-.L4
	.long	.L7-.L4
	.long	.L6-.L4
	.long	.L5-.L4
	.long	.L3-.L4
	.text
	.p2align 4,,10
	.p2align 3
.L11:
	lea	rax, .LC6[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L3:
	lea	rax, .LC7[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	lea	rax, .LC4[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	mov	eax, DWORD PTR 4[rdi]
	lea	rdx, .LC8[rip]
	test	DWORD PTR XINPUT_CAPS_WIRELESS[rip], eax
	lea	rax, .LC1[rip]
	cmove	rax, rdx
	ret
	.p2align 4,,10
	.p2align 3
.L5:
	lea	rax, .LC3[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	lea	rax, .LC2[rip]
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rax, .LC5[rip]
	ret
.L2:
	lea	rax, .LC0[rip]
	ret
	.cfi_endproc
.LFE0:
	.size	getDeviceDescription, .-getDeviceDescription
	.comm	XINPUT_CAPS_WIRELESS,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_win32_joystick.c_getDeviceDescription.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Unknown XInput Device\000"
	.align	2
.LC1:
	.ascii	"Wireless Xbox Controller\000"
	.align	2
.LC2:
	.ascii	"XInput Flight Stick\000"
	.align	2
.LC3:
	.ascii	"XInput Dance Pad\000"
	.align	2
.LC4:
	.ascii	"XInput Guitar\000"
	.align	2
.LC5:
	.ascii	"XInput Drum Kit\000"
	.align	2
.LC6:
	.ascii	"XInput Wheel\000"
	.align	2
.LC7:
	.ascii	"XInput Arcade Stick\000"
	.align	2
.LC8:
	.ascii	"Xbox Controller\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	getDeviceDescription, %function
getDeviceDescription:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	@ link register save eliminated.
	ldr	r3, [r0]
	sub	r3, r3, #128
	cmp	r3, #6
	ldrls	pc, [pc, r3, asl #2]
	b	.L2
.L4:
	.word	.L11
	.word	.L9
	.word	.L8
	.word	.L7
	.word	.L6
	.word	.L5
	.word	.L3
.L3:
	ldr	r0, .L14
	bx	lr
.L11:
	ldr	r0, .L14+4
	bx	lr
.L9:
	ldr	r0, .L14+8
	bx	lr
.L8:
	ldr	r3, .L14+12
	ldr	r1, [r0, #4]
	ldr	r2, [r3]
	ldr	r3, .L14+16
	tst	r1, r2
	ldr	r0, .L14+20
	moveq	r0, r3
	bx	lr
.L6:
	ldr	r0, .L14+24
	bx	lr
.L5:
	ldr	r0, .L14+28
	bx	lr
.L7:
	ldr	r0, .L14+32
	bx	lr
.L2:
	ldr	r0, .L14+36
	bx	lr
.L15:
	.align	2
.L14:
	.word	.LC7
	.word	.LC6
	.word	.LC4
	.word	XINPUT_CAPS_WIRELESS
	.word	.LC8
	.word	.LC1
	.word	.LC5
	.word	.LC3
	.word	.LC2
	.word	.LC0
	.size	getDeviceDescription, .-getDeviceDescription
	.comm	XINPUT_CAPS_WIRELESS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
