	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wiiu_pad_get_axis_value
_wiiu_pad_get_axis_value:               ## @wiiu_pad_get_axis_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
                                        ## kill: def $edi killed $edi def $rdi
	addl	$-128, %edi
	cmpl	$5, %edi
	ja	LBB0_3
## %bb.1:
	movq	_RETRO_DEVICE_ID_ANALOG_X@GOTPCREL(%rip), %r8
	movq	_RETRO_DEVICE_INDEX_ANALOG_LEFT@GOTPCREL(%rip), %rcx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rdi,4), %rdi
	addq	%rax, %rdi
	jmpq	*%rdi
LBB0_2:
	movq	_WIIU_DEVICE_INDEX_TOUCHPAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_RETRO_DEVICE_ID_ANALOG_Y@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_3:
	xorl	%edi, %edi
	jmp	LBB0_10
LBB0_4:
	movq	_WIIU_DEVICE_INDEX_TOUCHPAD@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_RETRO_DEVICE_ID_ANALOG_X@GOTPCREL(%rip), %rcx
LBB0_5:
	movq	(%rcx), %rcx
	leaq	(%rsi,%rax,8), %rax
	movl	(%rax,%rcx,4), %eax
	popq	%rbp
	retq
LBB0_6:
	movq	_RETRO_DEVICE_ID_ANALOG_Y@GOTPCREL(%rip), %r8
LBB0_7:
	movq	_RETRO_DEVICE_INDEX_ANALOG_RIGHT@GOTPCREL(%rip), %rcx
	jmp	LBB0_9
LBB0_8:
	movq	_RETRO_DEVICE_ID_ANALOG_Y@GOTPCREL(%rip), %r8
LBB0_9:
	movq	(%rcx), %rax
	movq	(%r8), %rcx
	leaq	(%rsi,%rax,8), %rax
	movl	(%rax,%rcx,4), %edi
LBB0_10:
	movl	%edx, %esi
	popq	%rbp
	jmp	_clamp_axis                     ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_4
	.long	L0_0_set_6
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_RETRO_DEVICE_INDEX_ANALOG_LEFT,8,3 ## @RETRO_DEVICE_INDEX_ANALOG_LEFT
	.comm	_RETRO_DEVICE_ID_ANALOG_X,8,3   ## @RETRO_DEVICE_ID_ANALOG_X
	.comm	_RETRO_DEVICE_ID_ANALOG_Y,8,3   ## @RETRO_DEVICE_ID_ANALOG_Y
	.comm	_RETRO_DEVICE_INDEX_ANALOG_RIGHT,8,3 ## @RETRO_DEVICE_INDEX_ANALOG_RIGHT
	.comm	_WIIU_DEVICE_INDEX_TOUCHPAD,8,3 ## @WIIU_DEVICE_INDEX_TOUCHPAD
	.no_dead_strip	_wiiu_pad_get_axis_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wiiu_pad_get_axis_value
_wiiu_pad_get_axis_value:               ; @wiiu_pad_get_axis_value
	.cfi_startproc
; %bb.0:
	sub	w10, w0, #128
	cmp	w10, #5
	b.hi	LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _RETRO_DEVICE_ID_ANALOG_X@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RETRO_DEVICE_ID_ANALOG_X@GOTPAGEOFF]
Lloh2:
	adrp	x9, _RETRO_DEVICE_INDEX_ANALOG_LEFT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _RETRO_DEVICE_INDEX_ANALOG_LEFT@GOTPAGEOFF]
Lloh4:
	adrp	x11, lJTI0_0@PAGE
Lloh5:
	add	x11, x11, lJTI0_0@PAGEOFF
	adr	x12, LBB0_2
	ldrb	w13, [x11, x10]
	add	x12, x12, x13, lsl #2
	br	x12
LBB0_2:
Lloh6:
	adrp	x8, _WIIU_DEVICE_INDEX_TOUCHPAD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _WIIU_DEVICE_INDEX_TOUCHPAD@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _RETRO_DEVICE_ID_ANALOG_Y@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RETRO_DEVICE_ID_ANALOG_Y@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	add	x8, x1, x8, lsl #3
	ldr	w0, [x8, x9, lsl #2]
	ret
LBB0_3:
	mov	w0, #0
	mov	x1, x2
	b	_clamp_axis
LBB0_4:
Lloh12:
	adrp	x9, _WIIU_DEVICE_INDEX_TOUCHPAD@GOTPAGE
Lloh13:
	ldr	x9, [x9, _WIIU_DEVICE_INDEX_TOUCHPAD@GOTPAGEOFF]
Lloh14:
	ldr	x9, [x9]
	ldr	x8, [x8]
	add	x9, x1, x9, lsl #3
	ldr	w0, [x9, x8, lsl #2]
	ret
LBB0_5:
Lloh15:
	adrp	x8, _RETRO_DEVICE_ID_ANALOG_Y@GOTPAGE
Lloh16:
	ldr	x8, [x8, _RETRO_DEVICE_ID_ANALOG_Y@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh17:
	adrp	x8, _RETRO_DEVICE_ID_ANALOG_X@GOTPAGE
Lloh18:
	ldr	x8, [x8, _RETRO_DEVICE_ID_ANALOG_X@GOTPAGEOFF]
LBB0_7:
Lloh19:
	adrp	x9, _RETRO_DEVICE_INDEX_ANALOG_RIGHT@GOTPAGE
Lloh20:
	ldr	x9, [x9, _RETRO_DEVICE_INDEX_ANALOG_RIGHT@GOTPAGEOFF]
	b	LBB0_9
LBB0_8:
Lloh21:
	adrp	x8, _RETRO_DEVICE_ID_ANALOG_Y@GOTPAGE
Lloh22:
	ldr	x8, [x8, _RETRO_DEVICE_ID_ANALOG_Y@GOTPAGEOFF]
Lloh23:
	adrp	x9, _RETRO_DEVICE_INDEX_ANALOG_LEFT@GOTPAGE
Lloh24:
	ldr	x9, [x9, _RETRO_DEVICE_INDEX_ANALOG_LEFT@GOTPAGEOFF]
LBB0_9:
	ldr	x9, [x9]
	ldr	x8, [x8]
	add	x9, x1, x9, lsl #3
	ldr	w0, [x9, x8, lsl #2]
	mov	x1, x2
	b	_clamp_axis
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_9-LBB0_2)>>2
                                        ; -- End function
	.comm	_RETRO_DEVICE_INDEX_ANALOG_LEFT,8,3 ; @RETRO_DEVICE_INDEX_ANALOG_LEFT
	.comm	_RETRO_DEVICE_ID_ANALOG_X,8,3   ; @RETRO_DEVICE_ID_ANALOG_X
	.comm	_RETRO_DEVICE_ID_ANALOG_Y,8,3   ; @RETRO_DEVICE_ID_ANALOG_Y
	.comm	_RETRO_DEVICE_INDEX_ANALOG_RIGHT,8,3 ; @RETRO_DEVICE_INDEX_ANALOG_RIGHT
	.comm	_WIIU_DEVICE_INDEX_TOUCHPAD,8,3 ; @WIIU_DEVICE_INDEX_TOUCHPAD
	.no_dead_strip	_wiiu_pad_get_axis_value
.subsections_via_symbols
