	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ps2_mouse_enable_scrolling
_ps2_mouse_enable_scrolling:            ## @ps2_mouse_enable_scrolling
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_PS2_MOUSE_SET_SAMPLE_RATE@GOTPCREL(%rip), %r14
	movl	(%r14), %edi
	leaq	L_.str(%rip), %rsi
	callq	_PS2_MOUSE_SEND
	leaq	L_.str.1(%rip), %rsi
	movl	$200, %edi
	callq	_PS2_MOUSE_SEND
	movl	(%r14), %edi
	leaq	L_.str.2(%rip), %rbx
	movq	%rbx, %rsi
	callq	_PS2_MOUSE_SEND
	leaq	L_.str.3(%rip), %rsi
	movl	$100, %edi
	callq	_PS2_MOUSE_SEND
	movl	(%r14), %edi
	movq	%rbx, %rsi
	callq	_PS2_MOUSE_SEND
	leaq	L_.str.4(%rip), %rsi
	movl	$80, %edi
	callq	_PS2_MOUSE_SEND
	movq	_PS2_MOUSE_GET_DEVICE_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
	callq	_PS2_MOUSE_SEND
	movl	$20, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	__delay_ms                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_PS2_MOUSE_SET_SAMPLE_RATE,4,2  ## @PS2_MOUSE_SET_SAMPLE_RATE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Initiaing scroll wheel enable: Set sample rate"

L_.str.1:                               ## @.str.1
	.asciz	"200"

L_.str.2:                               ## @.str.2
	.asciz	"Set sample rate"

L_.str.3:                               ## @.str.3
	.asciz	"100"

L_.str.4:                               ## @.str.4
	.asciz	"80"

	.comm	_PS2_MOUSE_GET_DEVICE_ID,4,2    ## @PS2_MOUSE_GET_DEVICE_ID
L_.str.5:                               ## @.str.5
	.asciz	"Finished enabling scroll wheel"

	.no_dead_strip	_ps2_mouse_enable_scrolling
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ps2_mouse_enable_scrolling
_ps2_mouse_enable_scrolling:            ; @ps2_mouse_enable_scrolling
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x20, _PS2_MOUSE_SET_SAMPLE_RATE@GOTPAGE
Lloh1:
	ldr	x20, [x20, _PS2_MOUSE_SET_SAMPLE_RATE@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	bl	_PS2_MOUSE_SEND
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	w0, #200
	bl	_PS2_MOUSE_SEND
	ldr	w0, [x20]
Lloh6:
	adrp	x19, l_.str.2@PAGE
Lloh7:
	add	x19, x19, l_.str.2@PAGEOFF
	mov	x1, x19
	bl	_PS2_MOUSE_SEND
Lloh8:
	adrp	x1, l_.str.3@PAGE
Lloh9:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w0, #100
	bl	_PS2_MOUSE_SEND
	ldr	w0, [x20]
	mov	x1, x19
	bl	_PS2_MOUSE_SEND
Lloh10:
	adrp	x1, l_.str.4@PAGE
Lloh11:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w0, #80
	bl	_PS2_MOUSE_SEND
Lloh12:
	adrp	x8, _PS2_MOUSE_GET_DEVICE_ID@GOTPAGE
Lloh13:
	ldr	x8, [x8, _PS2_MOUSE_GET_DEVICE_ID@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
Lloh15:
	adrp	x1, l_.str.5@PAGE
Lloh16:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_PS2_MOUSE_SEND
	mov	w0, #20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	__delay_ms
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_PS2_MOUSE_SET_SAMPLE_RATE,4,2  ; @PS2_MOUSE_SET_SAMPLE_RATE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Initiaing scroll wheel enable: Set sample rate"

l_.str.1:                               ; @.str.1
	.asciz	"200"

l_.str.2:                               ; @.str.2
	.asciz	"Set sample rate"

l_.str.3:                               ; @.str.3
	.asciz	"100"

l_.str.4:                               ; @.str.4
	.asciz	"80"

	.comm	_PS2_MOUSE_GET_DEVICE_ID,4,2    ; @PS2_MOUSE_GET_DEVICE_ID
l_.str.5:                               ; @.str.5
	.asciz	"Finished enabling scroll wheel"

	.no_dead_strip	_ps2_mouse_enable_scrolling
.subsections_via_symbols
