	.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	%r9d, -44(%rbp)                 ## 4-byte Spill
	movl	%r8d, %r12d
	movl	%ecx, %r13d
	movq	%rdx, %rbx
	movq	%rsi, %r15
	movq	_BTN_LEFT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%rdx), %esi
	callq	_test_bit
	testq	%rax, %rax
	movq	%rbx, %rdi
	cmoveq	%r15, %rdi
	movl	(%r14), %esi
	movl	%r13d, %edx
	callq	_input_report_key
	movq	_BTN_RIGHT@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	movq	%rbx, %rdi
	cmoveq	%r15, %rdi
	movl	(%r14), %esi
	movl	%r12d, %edx
	callq	_input_report_key
	movq	_BTN_MIDDLE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	movl	(%rbx), %esi
	callq	_test_bit
	testq	%rax, %rax
	cmovneq	%rbx, %r15
	movl	(%r14), %esi
	movq	%r15, %rdi
	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, x5
	mov	x20, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	ldr	w1, [x2]
Lloh0:
	adrp	x24, _BTN_LEFT@GOTPAGE
Lloh1:
	ldr	x24, [x24, _BTN_LEFT@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_test_bit
	cmp	x0, #0
	csel	x0, x23, x22, eq
	ldr	w1, [x24]
	mov	x2, x21
	bl	_input_report_key
Lloh2:
	adrp	x21, _BTN_RIGHT@GOTPAGE
Lloh3:
	ldr	x21, [x21, _BTN_RIGHT@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	w1, [x22]
	bl	_test_bit
	cmp	x0, #0
	csel	x0, x23, x22, eq
	ldr	w1, [x21]
	mov	x2, x20
	bl	_input_report_key
Lloh4:
	adrp	x20, _BTN_MIDDLE@GOTPAGE
Lloh5:
	ldr	x20, [x20, _BTN_MIDDLE@GOTPAGEOFF]
	ldr	w0, [x20]
	ldr	w1, [x22]
	bl	_test_bit
	cmp	x0, #0
	csel	x0, x23, x22, eq
	ldr	w1, [x20]
	mov	x2, x19
	bl	_input_report_key
	mov	x0, x22
	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	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.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
