	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wiiu_gca_update_analog_state
_wiiu_gca_update_analog_state:          ## @wiiu_gca_update_analog_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	(%rdi), %rax
	movq	8(%rdi), %r8
	movl	12(%rax), %edx
	shll	$8, %edx
	addl	$-32768, %edx                   ## imm = 0x8000
	movq	(%r8), %rsi
	movl	%edx, 4(%rsi)
	movl	16(%rax), %edx
	shll	$8, %edx
	movl	$32768, %edi                    ## imm = 0x8000
	movl	$32768, %ecx                    ## imm = 0x8000
	subl	%edx, %ecx
	movl	%ecx, (%rsi)
	movl	20(%rax), %ecx
	shll	$8, %ecx
	addl	$-32768, %ecx                   ## imm = 0x8000
	movq	8(%r8), %rdx
	movl	%ecx, 4(%rdx)
	movl	24(%rax), %eax
	shll	$8, %eax
	subl	%eax, %edi
	movl	%edi, (%rdx)
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_axes,8,3                       ## @axes
	.no_dead_strip	_wiiu_gca_update_analog_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wiiu_gca_update_analog_state
_wiiu_gca_update_analog_state:          ; @wiiu_gca_update_analog_state
	.cfi_startproc
; %bb.0:
	ldp	x8, x9, [x0]
	ldr	w10, [x8, #12]
	lsl	w10, w10, #8
	sub	w10, w10, #8, lsl #12           ; =32768
	ldp	x11, x9, [x9]
	str	w10, [x11, #4]
	ldr	w10, [x8, #16]
	mov	w12, #32768
	sub	w10, w12, w10, lsl #8
	str	w10, [x11]
	ldr	w10, [x8, #20]
	lsl	w10, w10, #8
	sub	w10, w10, #8, lsl #12           ; =32768
	str	w10, [x9, #4]
	ldr	w8, [x8, #24]
	sub	w8, w12, w8, lsl #8
	str	w8, [x9]
	ret
	.cfi_endproc
                                        ; -- End function
	.comm	_axes,8,3                       ; @axes
	.no_dead_strip	_wiiu_gca_update_analog_state
.subsections_via_symbols
