	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cypress_set_rate
_cypress_set_rate:                      ## @cypress_set_rate
	.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), %rcx
	cmpl	$80, %esi
	jb	LBB0_2
## %bb.1:
	movl	$80, (%rax)
	movq	_CYTP_BIT_HIGH_RATE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, (%rcx)
	jmp	LBB0_3
LBB0_2:
	movl	$40, (%rax)
	movq	_CYTP_BIT_HIGH_RATE@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	notl	%edx
	andl	%edx, (%rcx)
LBB0_3:
	leaq	4(%rax), %rdi
	movq	_PSMOUSE_CMD_SETRATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%rax, %rsi
	popq	%rbp
	jmp	_ps2_command                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_CYTP_BIT_HIGH_RATE,4,2         ## @CYTP_BIT_HIGH_RATE
	.comm	_PSMOUSE_CMD_SETRATE,4,2        ## @PSMOUSE_CMD_SETRATE
	.no_dead_strip	_cypress_set_rate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cypress_set_rate
_cypress_set_rate:                      ; @cypress_set_rate
	.cfi_startproc
; %bb.0:
	mov	x8, x0
	ldr	x9, [x0, #8]
	cmp	w1, #80
	b.lo	LBB0_2
; %bb.1:
	mov	w10, #80
	str	w10, [x8]
Lloh0:
	adrp	x10, _CYTP_BIT_HIGH_RATE@GOTPAGE
Lloh1:
	ldr	x10, [x10, _CYTP_BIT_HIGH_RATE@GOTPAGEOFF]
Lloh2:
	ldr	w10, [x10]
	ldr	w11, [x9]
	orr	w10, w11, w10
	b	LBB0_3
LBB0_2:
	mov	w10, #40
	str	w10, [x8]
Lloh3:
	adrp	x10, _CYTP_BIT_HIGH_RATE@GOTPAGE
Lloh4:
	ldr	x10, [x10, _CYTP_BIT_HIGH_RATE@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x10]
	ldr	w11, [x9]
	bic	w10, w11, w10
LBB0_3:
	str	w10, [x9]
	add	x0, x8, #4
Lloh6:
	adrp	x9, _PSMOUSE_CMD_SETRATE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PSMOUSE_CMD_SETRATE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x9]
	mov	x1, x8
	b	_ps2_command
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CYTP_BIT_HIGH_RATE,4,2         ; @CYTP_BIT_HIGH_RATE
	.comm	_PSMOUSE_CMD_SETRATE,4,2        ; @PSMOUSE_CMD_SETRATE
	.no_dead_strip	_cypress_set_rate
.subsections_via_symbols
