	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps2pp_set_resolution
_ps2pp_set_resolution:                  ## @ps2pp_set_resolution
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	cmpl	$401, %esi                      ## imm = 0x191
	jb	LBB0_2
## %bb.1:
	leaq	4(%r14), %rbx
	movl	$3, -28(%rbp)
	movq	_PSMOUSE_CMD_SETSCALE11@GOTPCREL(%rip), %r15
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ps2_command
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ps2_command
	movl	(%r15), %edx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_ps2_command
	movq	_PSMOUSE_CMD_SETRES@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-28(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_ps2_command
	movl	$800, (%r14)                    ## imm = 0x320
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_psmouse_set_resolution         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PSMOUSE_CMD_SETSCALE11,4,2     ## @PSMOUSE_CMD_SETSCALE11
	.comm	_PSMOUSE_CMD_SETRES,4,2         ## @PSMOUSE_CMD_SETRES
	.no_dead_strip	_ps2pp_set_resolution
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps2pp_set_resolution
_ps2pp_set_resolution:                  ; @ps2pp_set_resolution
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x19, x0
	cmp	w1, #401
	b.lo	LBB0_2
; %bb.1:
	add	x20, x19, #4
	mov	w8, #3
	str	w8, [sp, #12]
Lloh0:
	adrp	x21, _PSMOUSE_CMD_SETSCALE11@GOTPAGE
Lloh1:
	ldr	x21, [x21, _PSMOUSE_CMD_SETSCALE11@GOTPAGEOFF]
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, #0
	bl	_ps2_command
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, #0
	bl	_ps2_command
	ldr	w2, [x21]
	mov	x0, x20
	mov	x1, #0
	bl	_ps2_command
Lloh2:
	adrp	x8, _PSMOUSE_CMD_SETRES@GOTPAGE
Lloh3:
	ldr	x8, [x8, _PSMOUSE_CMD_SETRES@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	add	x1, sp, #12
	mov	x0, x20
	bl	_ps2_command
	mov	w8, #800
	str	w8, [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
	add	sp, sp, #64
	ret
LBB0_2:
	mov	x0, 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
	add	sp, sp, #64
	b	_psmouse_set_resolution
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PSMOUSE_CMD_SETSCALE11,4,2     ; @PSMOUSE_CMD_SETSCALE11
	.comm	_PSMOUSE_CMD_SETRES,4,2         ; @PSMOUSE_CMD_SETRES
	.no_dead_strip	_ps2pp_set_resolution
.subsections_via_symbols
