	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function getDeviceDescription
_getDeviceDescription:                  ## @getDeviceDescription
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %ecx
	addl	$-128, %ecx
	cmpl	$6, %ecx
	ja	LBB0_8
## %bb.1:
	leaq	L_.str(%rip), %rax
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_5:
	leaq	L_.str.4(%rip), %rax
	popq	%rbp
	retq
LBB0_8:
	leaq	L_.str.8(%rip), %rax
LBB0_9:
	popq	%rbp
	retq
LBB0_7:
	movq	_XINPUT_CAPS_WIRELESS@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 4(%rdi)
	leaq	L_.str.7(%rip), %rcx
	leaq	L_.str.6(%rip), %rax
	cmoveq	%rcx, %rax
	popq	%rbp
	retq
LBB0_3:
	leaq	L_.str.2(%rip), %rax
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.5(%rip), %rax
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str.3(%rip), %rax
	popq	%rbp
	retq
LBB0_2:
	leaq	L_.str.1(%rip), %rax
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_9, LBB0_9-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_3, LBB0_3-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_9
	.long	L0_0_set_5
	.long	L0_0_set_7
	.long	L0_0_set_3
	.long	L0_0_set_6
	.long	L0_0_set_4
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"XInput Wheel"

L_.str.1:                               ## @.str.1
	.asciz	"XInput Arcade Stick"

L_.str.2:                               ## @.str.2
	.asciz	"XInput Flight Stick"

L_.str.3:                               ## @.str.3
	.asciz	"XInput Dance Pad"

L_.str.4:                               ## @.str.4
	.asciz	"XInput Guitar"

L_.str.5:                               ## @.str.5
	.asciz	"XInput Drum Kit"

	.comm	_XINPUT_CAPS_WIRELESS,4,2       ## @XINPUT_CAPS_WIRELESS
L_.str.6:                               ## @.str.6
	.asciz	"Wireless Xbox Controller"

L_.str.7:                               ## @.str.7
	.asciz	"Xbox Controller"

L_.str.8:                               ## @.str.8
	.asciz	"Unknown XInput Device"

	.no_dead_strip	_getDeviceDescription
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function getDeviceDescription
_getDeviceDescription:                  ; @getDeviceDescription
	.cfi_startproc
; %bb.0:
	ldr	w9, [x0]
	sub	w9, w9, #128
	cmp	w9, #6
	b.hi	LBB0_3
; %bb.1:
	mov	x8, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
Lloh2:
	adrp	x10, lJTI0_0@PAGE
Lloh3:
	add	x10, x10, lJTI0_0@PAGEOFF
	adr	x11, LBB0_2
	ldrb	w12, [x10, x9]
	add	x11, x11, x12, lsl #2
	br	x11
LBB0_2:
Lloh4:
	adrp	x0, l_.str.4@PAGE
Lloh5:
	add	x0, x0, l_.str.4@PAGEOFF
	ret
LBB0_3:
Lloh6:
	adrp	x0, l_.str.8@PAGE
Lloh7:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_4:
	ret
LBB0_5:
	ldr	w8, [x8, #4]
Lloh8:
	adrp	x9, _XINPUT_CAPS_WIRELESS@GOTPAGE
Lloh9:
	ldr	x9, [x9, _XINPUT_CAPS_WIRELESS@GOTPAGEOFF]
Lloh10:
	ldr	w9, [x9]
Lloh11:
	adrp	x10, l_.str.6@PAGE
Lloh12:
	add	x10, x10, l_.str.6@PAGEOFF
Lloh13:
	adrp	x11, l_.str.7@PAGE
Lloh14:
	add	x11, x11, l_.str.7@PAGEOFF
	tst	w9, w8
	csel	x0, x11, x10, eq
	ret
LBB0_6:
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	ret
LBB0_7:
Lloh17:
	adrp	x0, l_.str.5@PAGE
Lloh18:
	add	x0, x0, l_.str.5@PAGEOFF
	ret
LBB0_8:
Lloh19:
	adrp	x0, l_.str.3@PAGE
Lloh20:
	add	x0, x0, l_.str.3@PAGEOFF
	ret
LBB0_9:
Lloh21:
	adrp	x0, l_.str.1@PAGE
Lloh22:
	add	x0, x0, l_.str.1@PAGEOFF
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"XInput Wheel"

l_.str.1:                               ; @.str.1
	.asciz	"XInput Arcade Stick"

l_.str.2:                               ; @.str.2
	.asciz	"XInput Flight Stick"

l_.str.3:                               ; @.str.3
	.asciz	"XInput Dance Pad"

l_.str.4:                               ; @.str.4
	.asciz	"XInput Guitar"

l_.str.5:                               ; @.str.5
	.asciz	"XInput Drum Kit"

	.comm	_XINPUT_CAPS_WIRELESS,4,2       ; @XINPUT_CAPS_WIRELESS
l_.str.6:                               ; @.str.6
	.asciz	"Wireless Xbox Controller"

l_.str.7:                               ; @.str.7
	.asciz	"Xbox Controller"

l_.str.8:                               ; @.str.8
	.asciz	"Unknown XInput Device"

	.no_dead_strip	_getDeviceDescription
.subsections_via_symbols
