	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function alps_report_buttons
_alps_report_buttons:                   ## @alps_report_buttons
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movl	%edx, %r13d
	movq	%rdi, %r15
	movq	_BTN_LEFT@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testq	%rsi, %rsi
	je	LBB0_11
## %bb.1:
	movq	%rsi, %rbx
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movl	(%rsi), %esi
	movl	%eax, %edi
	callq	_test_bit
	movl	(%r14), %esi
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	jmp	LBB0_4
LBB0_11:
	movq	%r15, %rdi
	movl	%eax, %esi
	movl	%r13d, %edx
	movl	%r8d, %ebx
	callq	_input_report_key
	movq	_BTN_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%r12d, %edx
	callq	_input_report_key
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	%ebx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_report_key               ## TAILCALL
LBB0_3:
	movq	%r15, %rdi
LBB0_4:
	movl	%r13d, %edx
	callq	_input_report_key
	movq	_BTN_RIGHT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	movl	(%r14), %esi
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	%rbx, %rdi
	jmp	LBB0_7
LBB0_6:
	movq	%r15, %rdi
LBB0_7:
	movl	%r12d, %edx
	callq	_input_report_key
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	movl	(%r14), %esi
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	%rbx, %rdi
	jmp	LBB0_10
LBB0_9:
	movq	%r15, %rdi
LBB0_10:
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_input_report_key
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_input_sync                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_BTN_LEFT,4,2                   ## @BTN_LEFT
	.comm	_BTN_RIGHT,4,2                  ## @BTN_RIGHT
	.comm	_BTN_MIDDLE,4,2                 ## @BTN_MIDDLE
	.no_dead_strip	_alps_report_buttons
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function alps_report_buttons
_alps_report_buttons:                   ; @alps_report_buttons
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x4
	mov	x22, x3
	mov	x23, x2
	mov	x20, x0
Lloh0:
	adrp	x24, _BTN_LEFT@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BTN_LEFT@GOTPAGEOFF]
	ldr	w8, [x24]
	cbz	x1, LBB0_3
; %bb.1:
	mov	x21, x1
	ldr	w1, [x1]
	mov	x0, x8
	bl	_test_bit
	ldr	w1, [x24]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x0, x21
	b	LBB0_5
LBB0_3:
	mov	x0, x20
	mov	x1, x8
	mov	x2, x23
	bl	_input_report_key
Lloh2:
	adrp	x8, _BTN_RIGHT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _BTN_RIGHT@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	bl	_input_report_key
Lloh5:
	adrp	x8, _BTN_MIDDLE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _BTN_MIDDLE@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_input_report_key
LBB0_4:
	mov	x0, x20
LBB0_5:
	mov	x2, x23
	bl	_input_report_key
Lloh8:
	adrp	x23, _BTN_RIGHT@GOTPAGE
Lloh9:
	ldr	x23, [x23, _BTN_RIGHT@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w1, [x21]
	bl	_test_bit
	ldr	w1, [x23]
	cbz	x0, LBB0_7
; %bb.6:
	mov	x0, x21
	b	LBB0_8
LBB0_7:
	mov	x0, x20
LBB0_8:
	mov	x2, x22
	bl	_input_report_key
Lloh10:
	adrp	x22, _BTN_MIDDLE@GOTPAGE
Lloh11:
	ldr	x22, [x22, _BTN_MIDDLE@GOTPAGEOFF]
	ldr	w0, [x22]
	ldr	w1, [x21]
	bl	_test_bit
	ldr	w1, [x22]
	cbz	x0, LBB0_10
; %bb.9:
	mov	x0, x21
	b	LBB0_11
LBB0_10:
	mov	x0, x20
LBB0_11:
	mov	x2, x19
	bl	_input_report_key
	mov	x0, x21
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	b	_input_sync
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_BTN_LEFT,4,2                   ; @BTN_LEFT
	.comm	_BTN_RIGHT,4,2                  ; @BTN_RIGHT
	.comm	_BTN_MIDDLE,4,2                 ; @BTN_MIDDLE
	.no_dead_strip	_alps_report_buttons
.subsections_via_symbols
