	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function analog_decode
_analog_decode:                         ## @analog_decode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r14d
	movq	%rdx, %rbx
	movq	%rdi, %r12
	movl	(%rdi), %eax
	movq	_ANALOG_HAT_FCS@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	%rsi, -56(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.1:
	movl	12(%rsi), %edx
	movq	%rbx, %r8
	movl	12(%rbx), %ebx
	movl	%ebx, %edi
	sarl	$3, %edi
	xorl	%ecx, %ecx
	cmpl	%edi, %edx
	jl	LBB0_2
## %bb.3:
	leal	(%rbx,%rbx,2), %edi
	sarl	$3, %edi
	movl	$1, %ecx
	cmpl	%edi, %edx
	jl	LBB0_2
## %bb.4:
	leal	(%rbx,%rbx,4), %edi
	sarl	$3, %edi
	movl	$2, %ecx
	cmpl	%edi, %edx
	jl	LBB0_2
## %bb.5:
	leal	(,%rbx,8), %edi
	subl	%ebx, %edi
	sarl	$3, %edi
	movl	$3, %ecx
	cmpl	%edi, %edx
	jge	LBB0_6
LBB0_2:
	movl	$16384, %edx                    ## imm = 0x4000
                                        ## kill: def $cl killed $cl killed $ecx
	shll	%cl, %edx
	orl	%edx, %r14d
LBB0_6:
	movq	%r8, %rbx
LBB0_7:
	movq	16(%r12), %r15
	xorl	%r13d, %r13d
	testb	$16, %al
	jne	LBB0_8
## %bb.9:
	testb	$32, %al
	jne	LBB0_10
LBB0_11:
	testb	$64, %al
	jne	LBB0_12
LBB0_13:
	testb	$-128, %al
	jne	LBB0_14
LBB0_15:
	testl	$256, %eax                      ## imm = 0x100
	jne	LBB0_16
LBB0_17:
	testl	$512, %eax                      ## imm = 0x200
	je	LBB0_19
LBB0_18:
	movq	8(%r12), %rax
	movl	%r13d, %ecx
	incl	%r13d
	movl	(%rax,%rcx,4), %esi
	movl	%r14d, %edx
	shrl	$5, %edx
	andl	$1, %edx
	movq	%r15, %rdi
	callq	_input_report_key
	movl	(%r12), %eax
LBB0_19:
	movq	_ANALOG_HBTN_CHF@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_21
## %bb.20:
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %ebx
	movq	8(%r12), %rax
	movl	(%rax,%rbx,4), %esi
	movl	%r14d, %edx
	shrl	$10, %edx
	andl	$1, %edx
	movq	%r15, %rdi
	callq	_input_report_key
	movq	8(%r12), %rax
	movl	4(%rax,%rbx,4), %esi
	movl	%r14d, %edx
	shrl	$11, %edx
	andl	$1, %edx
	movq	%r15, %rdi
	callq	_input_report_key
	movq	8(%r12), %rax
	movl	8(%rax,%rbx,4), %esi
	movl	%r14d, %edx
	shrl	$12, %edx
	andl	$1, %edx
	movq	%r15, %rdi
	callq	_input_report_key
	movq	8(%r12), %rax
	movl	12(%rax,%rbx,4), %esi
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	%r14d, %edx
	shrl	$13, %edx
	andl	$1, %edx
	movq	%r15, %rdi
	callq	_input_report_key
	movl	(%r12), %eax
LBB0_21:
	movq	_ANALOG_BTN_TL@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	je	LBB0_23
## %bb.22:
	movq	_analog_pads@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	8(%rbx), %eax
	sarl	%eax
	xorl	%edx, %edx
	cmpl	%eax, 8(%r13)
	setl	%dl
	movq	%r15, %rdi
	callq	_input_report_key
	movl	(%r12), %eax
LBB0_23:
	movq	_ANALOG_BTN_TR@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_25
## %bb.24:
	movq	_analog_pads@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	4(%rax), %esi
	movl	12(%rbx), %eax
	sarl	%eax
	xorl	%edx, %edx
	cmpl	%eax, 12(%r13)
	setl	%dl
	movq	%r15, %rdi
	callq	_input_report_key
	movl	(%r12), %eax
LBB0_25:
	movq	_ANALOG_BTN_TL2@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_27
## %bb.26:
	movq	_analog_pads@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	8(%rax), %esi
	movl	8(%rbx), %eax
	movl	%eax, %ecx
	sarl	%ecx
	addl	%eax, %ecx
	xorl	%edx, %edx
	cmpl	%ecx, 8(%r13)
	setg	%dl
	movq	%r15, %rdi
	callq	_input_report_key
	movl	(%r12), %eax
LBB0_27:
	movq	_ANALOG_BTN_TR2@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_29
## %bb.28:
	movq	_analog_pads@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	12(%rax), %esi
	movl	12(%rbx), %eax
	movl	%eax, %ecx
	sarl	%ecx
	addl	%eax, %ecx
	xorl	%edx, %edx
	cmpl	%ecx, 12(%r13)
	setg	%dl
	movq	%r15, %rdi
	callq	_input_report_key
	movl	(%r12), %eax
LBB0_29:
	xorl	%ebx, %ebx
	testb	$1, %al
	jne	LBB0_30
## %bb.31:
	testb	$2, %al
	jne	LBB0_32
LBB0_33:
	testb	$4, %al
	jne	LBB0_34
LBB0_35:
	testb	$8, %al
	je	LBB0_37
LBB0_36:
	movq	_analog_axes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %esi
	movl	12(%r13), %edx
	movq	%r15, %rdi
	callq	_input_report_abs
	movl	(%r12), %eax
LBB0_37:
	movq	_analog_exts@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	testl	%eax, (%rcx)
	je	LBB0_38
## %bb.39:
	movq	_analog_hats@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	shll	$22, %edx
	sarl	$31, %edx
	btl	$7, %r14d
	adcl	$0, %edx
	movq	%r15, %rdi
	callq	_input_report_abs
	movq	(%rbx), %rax
	movl	4(%rax), %esi
	movl	%r14d, %edx
	shll	$25, %edx
	sarl	$31, %edx
	btl	$8, %r14d
	adcl	$0, %edx
	movq	%r15, %rdi
	callq	_input_report_abs
	movl	(%r12), %eax
	movq	(%r13), %rcx
	movl	$2, %ebx
	testl	%eax, 4(%rcx)
	je	LBB0_42
LBB0_41:
	movq	_analog_hats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %r13d
	orl	$1, %r13d
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %esi
	movl	%r14d, %edx
	shll	$18, %edx
	sarl	$31, %edx
	btl	$11, %r14d
	adcl	$0, %edx
	movq	%r15, %rdi
	callq	_input_report_abs
	movq	_analog_hats@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addl	$2, %ebx
	movl	(%rax,%r13,4), %esi
	movl	%r14d, %edx
	shll	$21, %edx
	sarl	$31, %edx
	btl	$12, %r14d
	adcl	$0, %edx
	movq	%r15, %rdi
	callq	_input_report_abs
	movl	(%r12), %eax
	movq	_analog_exts@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
LBB0_42:
	testl	%eax, 8(%rcx)
	je	LBB0_44
## %bb.43:
	movq	_analog_hats@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movl	%ebx, %ebx
	movl	(%rax,%rbx,4), %esi
	movl	%r14d, %edx
	shll	$14, %edx
	sarl	$31, %edx
	btl	$15, %r14d
	adcl	$0, %edx
	movq	%r15, %rdi
	callq	_input_report_abs
	movq	(%r12), %rax
	movl	4(%rax,%rbx,4), %esi
	movl	%r14d, %edx
	shll	$17, %edx
	sarl	$31, %edx
	btl	$16, %r14d
	adcl	$0, %edx
	movq	%r15, %rdi
	callq	_input_report_abs
LBB0_44:
	movq	%r15, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
LBB0_8:
	movq	8(%r12), %rax
	movl	(%rax), %esi
	movl	%r14d, %edx
	andl	$1, %edx
	movq	%r15, %rdi
	callq	_input_report_key
	movl	(%r12), %eax
	movl	$1, %r13d
	testb	$32, %al
	je	LBB0_11
LBB0_10:
	movq	8(%r12), %rax
	movl	%r13d, %ecx
	incl	%r13d
	movl	(%rax,%rcx,4), %esi
	movl	%r14d, %edx
	shrl	%edx
	andl	$1, %edx
	movq	%r15, %rdi
	callq	_input_report_key
	movl	(%r12), %eax
	testb	$64, %al
	je	LBB0_13
LBB0_12:
	movq	8(%r12), %rax
	movl	%r13d, %ecx
	incl	%r13d
	movl	(%rax,%rcx,4), %esi
	movl	%r14d, %edx
	shrl	$2, %edx
	andl	$1, %edx
	movq	%r15, %rdi
	callq	_input_report_key
	movl	(%r12), %eax
	testb	$-128, %al
	je	LBB0_15
LBB0_14:
	movq	8(%r12), %rax
	movl	%r13d, %ecx
	incl	%r13d
	movl	(%rax,%rcx,4), %esi
	movl	%r14d, %edx
	shrl	$3, %edx
	andl	$1, %edx
	movq	%r15, %rdi
	callq	_input_report_key
	movl	(%r12), %eax
	testl	$256, %eax                      ## imm = 0x100
	je	LBB0_17
LBB0_16:
	movq	8(%r12), %rax
	movl	%r13d, %ecx
	incl	%r13d
	movl	(%rax,%rcx,4), %esi
	movl	%r14d, %edx
	shrl	$4, %edx
	andl	$1, %edx
	movq	%r15, %rdi
	callq	_input_report_key
	movl	(%r12), %eax
	testl	$512, %eax                      ## imm = 0x200
	jne	LBB0_18
	jmp	LBB0_19
LBB0_30:
	movq	_analog_axes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movl	(%r13), %edx
	movq	%r15, %rdi
	callq	_input_report_abs
	movl	(%r12), %eax
	movl	$1, %ebx
	testb	$2, %al
	je	LBB0_33
LBB0_32:
	movq	_analog_axes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	incl	%ebx
	movl	(%rax,%rcx,4), %esi
	movl	4(%r13), %edx
	movq	%r15, %rdi
	callq	_input_report_abs
	movl	(%r12), %eax
	testb	$4, %al
	je	LBB0_35
LBB0_34:
	movq	_analog_axes@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	%ebx, %ecx
	incl	%ebx
	movl	(%rax,%rcx,4), %esi
	movl	8(%r13), %edx
	movq	%r15, %rdi
	callq	_input_report_abs
	movl	(%r12), %eax
	testb	$8, %al
	jne	LBB0_36
	jmp	LBB0_37
LBB0_38:
	xorl	%ebx, %ebx
	testl	%eax, 4(%rcx)
	jne	LBB0_41
	jmp	LBB0_42
	.cfi_endproc
                                        ## -- End function
	.comm	_ANALOG_HAT_FCS,4,2             ## @ANALOG_HAT_FCS
	.comm	_ANALOG_HBTN_CHF,4,2            ## @ANALOG_HBTN_CHF
	.comm	_ANALOG_BTN_TL,4,2              ## @ANALOG_BTN_TL
	.comm	_analog_pads,8,3                ## @analog_pads
	.comm	_ANALOG_BTN_TR,4,2              ## @ANALOG_BTN_TR
	.comm	_ANALOG_BTN_TL2,4,2             ## @ANALOG_BTN_TL2
	.comm	_ANALOG_BTN_TR2,4,2             ## @ANALOG_BTN_TR2
	.comm	_analog_axes,8,3                ## @analog_axes
	.comm	_analog_exts,8,3                ## @analog_exts
	.comm	_analog_hats,8,3                ## @analog_hats
	.no_dead_strip	_analog_decode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function analog_decode
_analog_decode:                         ; @analog_decode
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x23, x2
	mov	x22, x1
	mov	x21, x0
	ldr	x19, [x0, #16]
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _ANALOG_HAT_FCS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _ANALOG_HAT_FCS@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_10
; %bb.1:
	ldr	w9, [x22, #12]
	ldr	w10, [x23, #12]
	cmp	w9, w10, asr #3
	b.ge	LBB0_3
; %bb.2:
	mov	w9, #0
	b	LBB0_9
LBB0_3:
	add	w11, w10, w10, lsl #1
	cmp	w9, w11, asr #3
	b.ge	LBB0_5
; %bb.4:
	mov	w9, #1
	b	LBB0_9
LBB0_5:
	add	w11, w10, w10, lsl #2
	cmp	w9, w11, asr #3
	b.ge	LBB0_7
; %bb.6:
	mov	w9, #2
	b	LBB0_9
LBB0_7:
	lsl	w11, w10, #3
	sub	w10, w11, w10
	cmp	w9, w10, asr #3
	b.ge	LBB0_10
; %bb.8:
	mov	w9, #3
LBB0_9:
	mov	w10, #16384
	lsl	w9, w10, w9
	orr	w20, w9, w20
LBB0_10:
	tbnz	w8, #4, LBB0_12
; %bb.11:
	mov	w9, #0
	tbnz	w8, #5, LBB0_13
	b	LBB0_14
LBB0_12:
	ldr	x8, [x21, #8]
	ldr	w1, [x8]
	and	w2, w20, #0x1
	mov	x0, x19
	bl	_input_report_key
	ldr	w8, [x21]
	mov	w9, #1
	tbz	w8, #5, LBB0_14
LBB0_13:
	ldr	x8, [x21, #8]
	add	w24, w9, #1
	ldr	w1, [x8, w9, uxtw #2]
	ubfx	w2, w20, #1, #1
	mov	x0, x19
	bl	_input_report_key
	ldr	w8, [x21]
	mov	x9, x24
LBB0_14:
	tbnz	w8, #6, LBB0_31
; %bb.15:
	tbnz	w8, #7, LBB0_32
LBB0_16:
	tbnz	w8, #8, LBB0_33
LBB0_17:
	tbz	w8, #9, LBB0_19
LBB0_18:
	ldr	x8, [x21, #8]
	add	w24, w9, #1
	ldr	w1, [x8, w9, uxtw #2]
	ubfx	w2, w20, #5, #1
	mov	x0, x19
	bl	_input_report_key
	ldr	w8, [x21]
	mov	x9, x24
LBB0_19:
Lloh3:
	adrp	x10, _ANALOG_HBTN_CHF@GOTPAGE
Lloh4:
	ldr	x10, [x10, _ANALOG_HBTN_CHF@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	ubfx	w25, w20, #11, #1
	ubfx	w24, w20, #12, #1
	tst	w10, w8
	b.eq	LBB0_21
; %bb.20:
	mov	w8, w9
	ldr	x9, [x21, #8]
	lsl	x26, x8, #2
	ldr	w1, [x9, x26]
	ubfx	w2, w20, #10, #1
	mov	x0, x19
	bl	_input_report_key
	ldr	x8, [x21, #8]
	add	x8, x26, x8
	ldr	w1, [x8, #4]
	mov	x0, x19
	mov	x2, x25
	bl	_input_report_key
	ldr	x8, [x21, #8]
	add	x8, x26, x8
	ldr	w1, [x8, #8]
	mov	x0, x19
	mov	x2, x24
	bl	_input_report_key
	ldr	x8, [x21, #8]
	add	x8, x26, x8
	ldr	w1, [x8, #12]
	ubfx	w2, w20, #13, #1
	mov	x0, x19
	bl	_input_report_key
	ldr	w8, [x21]
LBB0_21:
Lloh6:
	adrp	x9, _ANALOG_BTN_TL@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ANALOG_BTN_TL@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x26, _analog_pads@GOTPAGE
Lloh10:
	ldr	x26, [x26, _analog_pads@GOTPAGEOFF]
	tst	w9, w8
	b.eq	LBB0_23
; %bb.22:
	ldr	x8, [x26]
	ldr	w1, [x8]
	ldr	w8, [x22, #8]
	ldr	w9, [x23, #8]
	cmp	w8, w9, asr #1
	cset	w2, lt
	mov	x0, x19
	bl	_input_report_key
	ldr	w8, [x21]
LBB0_23:
Lloh11:
	adrp	x9, _ANALOG_BTN_TR@GOTPAGE
Lloh12:
	ldr	x9, [x9, _ANALOG_BTN_TR@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_25
; %bb.24:
	ldr	x8, [x26]
	ldr	w1, [x8, #4]
	ldr	w8, [x22, #12]
	ldr	w9, [x23, #12]
	cmp	w8, w9, asr #1
	cset	w2, lt
	mov	x0, x19
	bl	_input_report_key
	ldr	w8, [x21]
LBB0_25:
Lloh14:
	adrp	x9, _ANALOG_BTN_TL2@GOTPAGE
Lloh15:
	ldr	x9, [x9, _ANALOG_BTN_TL2@GOTPAGEOFF]
Lloh16:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_27
; %bb.26:
	ldr	x8, [x26]
	ldr	w1, [x8, #8]
	ldr	w8, [x22, #8]
	ldr	w9, [x23, #8]
	add	w9, w9, w9, asr #1
	cmp	w8, w9
	cset	w2, gt
	mov	x0, x19
	bl	_input_report_key
	ldr	w8, [x21]
LBB0_27:
Lloh17:
	adrp	x9, _ANALOG_BTN_TR2@GOTPAGE
Lloh18:
	ldr	x9, [x9, _ANALOG_BTN_TR2@GOTPAGEOFF]
Lloh19:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_29
; %bb.28:
	ldr	x8, [x26]
	ldr	w1, [x8, #12]
	ldr	w8, [x22, #12]
	ldr	w9, [x23, #12]
	add	w9, w9, w9, asr #1
	cmp	w8, w9
	cset	w2, gt
	mov	x0, x19
	bl	_input_report_key
	ldr	w8, [x21]
LBB0_29:
Lloh20:
	adrp	x23, _analog_axes@GOTPAGE
Lloh21:
	ldr	x23, [x23, _analog_axes@GOTPAGEOFF]
	tbnz	w8, #0, LBB0_34
; %bb.30:
	mov	w9, #0
	tbnz	w8, #1, LBB0_35
	b	LBB0_36
LBB0_31:
	ldr	x8, [x21, #8]
	add	w24, w9, #1
	ldr	w1, [x8, w9, uxtw #2]
	ubfx	w2, w20, #2, #1
	mov	x0, x19
	bl	_input_report_key
	ldr	w8, [x21]
	mov	x9, x24
	tbz	w8, #7, LBB0_16
LBB0_32:
	ldr	x8, [x21, #8]
	add	w24, w9, #1
	ldr	w1, [x8, w9, uxtw #2]
	ubfx	w2, w20, #3, #1
	mov	x0, x19
	bl	_input_report_key
	ldr	w8, [x21]
	mov	x9, x24
	tbz	w8, #8, LBB0_17
LBB0_33:
	ldr	x8, [x21, #8]
	add	w24, w9, #1
	ldr	w1, [x8, w9, uxtw #2]
	ubfx	w2, w20, #4, #1
	mov	x0, x19
	bl	_input_report_key
	ldr	w8, [x21]
	mov	x9, x24
	tbnz	w8, #9, LBB0_18
	b	LBB0_19
LBB0_34:
	ldr	x8, [x23]
	ldr	w1, [x8]
	ldr	w2, [x22]
	mov	x0, x19
	bl	_input_report_abs
	ldr	w8, [x21]
	mov	w9, #1
	tbz	w8, #1, LBB0_36
LBB0_35:
	ldr	x8, [x23]
	add	w26, w9, #1
	ldr	w1, [x8, w9, uxtw #2]
	ldr	w2, [x22, #4]
	mov	x0, x19
	bl	_input_report_abs
	ldr	w8, [x21]
	mov	x9, x26
LBB0_36:
	tbnz	w8, #2, LBB0_41
; %bb.37:
	tbz	w8, #3, LBB0_39
LBB0_38:
	ldr	x8, [x23]
	ldr	w1, [x8, w9, uxtw #2]
	ldr	w2, [x22, #12]
	mov	x0, x19
	bl	_input_report_abs
	ldr	w8, [x21]
LBB0_39:
Lloh22:
	adrp	x23, _analog_exts@GOTPAGE
Lloh23:
	ldr	x23, [x23, _analog_exts@GOTPAGEOFF]
	ldr	x9, [x23]
	ldr	w10, [x9]
Lloh24:
	adrp	x22, _analog_hats@GOTPAGE
Lloh25:
	ldr	x22, [x22, _analog_hats@GOTPAGEOFF]
	tst	w10, w8
	b.eq	LBB0_42
; %bb.40:
	ldr	x8, [x22]
	ldr	w1, [x8]
	ubfx	w8, w20, #7, #1
	lsl	w9, w20, #22
	add	w2, w8, w9, asr #31
	mov	x0, x19
	bl	_input_report_abs
	ldr	x8, [x22]
	ldr	w1, [x8, #4]
	ubfx	w8, w20, #8, #1
	lsl	w9, w20, #25
	add	w2, w8, w9, asr #31
	mov	x0, x19
	bl	_input_report_abs
	ldr	w8, [x21]
	ldr	x9, [x23]
	mov	w26, #2
	b	LBB0_43
LBB0_41:
	ldr	x8, [x23]
	add	w26, w9, #1
	ldr	w1, [x8, w9, uxtw #2]
	ldr	w2, [x22, #8]
	mov	x0, x19
	bl	_input_report_abs
	ldr	w8, [x21]
	mov	x9, x26
	tbnz	w8, #3, LBB0_38
	b	LBB0_39
LBB0_42:
	mov	w26, #0
LBB0_43:
	ldr	w10, [x9, #4]
	tst	w10, w8
	b.eq	LBB0_45
; %bb.44:
	ldr	x8, [x22]
	orr	w27, w26, #0x1
	ldr	w1, [x8, w26, uxtw #2]
	lsl	w8, w20, #18
	add	w2, w25, w8, asr #31
	mov	x0, x19
	bl	_input_report_abs
	ldr	x8, [x22]
	add	w26, w26, #2
	ldr	w1, [x8, w27, uxtw #2]
	lsl	w8, w20, #21
	add	w2, w24, w8, asr #31
	mov	x0, x19
	bl	_input_report_abs
	ldr	w8, [x21]
	ldr	x9, [x23]
LBB0_45:
	ldr	w9, [x9, #8]
	tst	w9, w8
	b.eq	LBB0_47
; %bb.46:
	ldr	x8, [x22]
	add	w21, w26, #1
	ldr	w1, [x8, w26, uxtw #2]
	ubfx	w8, w20, #15, #1
	lsl	w9, w20, #14
	add	w2, w8, w9, asr #31
	mov	x0, x19
	bl	_input_report_abs
	ldr	x8, [x22]
	ldr	w1, [x8, w21, uxtw #2]
	ubfx	w8, w20, #16, #1
	lsl	w9, w20, #17
	add	w2, w8, w9, asr #31
	mov	x0, x19
	bl	_input_report_abs
LBB0_47:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_input_sync
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGot	Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh22, Lloh23
	.cfi_endproc
                                        ; -- End function
	.comm	_ANALOG_HAT_FCS,4,2             ; @ANALOG_HAT_FCS
	.comm	_ANALOG_HBTN_CHF,4,2            ; @ANALOG_HBTN_CHF
	.comm	_ANALOG_BTN_TL,4,2              ; @ANALOG_BTN_TL
	.comm	_analog_pads,8,3                ; @analog_pads
	.comm	_ANALOG_BTN_TR,4,2              ; @ANALOG_BTN_TR
	.comm	_ANALOG_BTN_TL2,4,2             ; @ANALOG_BTN_TL2
	.comm	_ANALOG_BTN_TR2,4,2             ; @ANALOG_BTN_TR2
	.comm	_analog_axes,8,3                ; @analog_axes
	.comm	_analog_exts,8,3                ; @analog_exts
	.comm	_analog_hats,8,3                ; @analog_hats
	.no_dead_strip	_analog_decode
.subsections_via_symbols
