	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OnKeyScroll                    ## -- Begin function OnKeyScroll
	.p2align	4, 0x90
_OnKeyScroll:                           ## @OnKeyScroll
	.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
                                        ## kill: def $esi killed $esi def $rsi
	addl	$-128, %esi
	cmpl	$7, %esi
	ja	LBB0_16
## %bb.1:
	movq	%rcx, %r14
	movl	%edi, %ebx
	leaq	LJTI0_0(%rip), %rax
	movslq	(%rax,%rsi,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_2:
	movq	_SB_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SB_LINEUP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_7:
	movq	_SB_HORZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SB_LINERIGHT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_8:
	movq	_SB_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SB_PAGEUP@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_10:
	movq	_SB_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SB_PAGEDOWN@GOTPCREL(%rip), %rax
LBB0_9:
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	(%r14), %ecx
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	jmp	LBB0_4
LBB0_6:
	movq	_SB_HORZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SB_LINELEFT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_11:
	movq	_SB_HORZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SB_LEFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_OnScroll
	movq	_VK_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetKeyState
	testl	$32768, %eax                    ## imm = 0x8000
	je	LBB0_16
## %bb.12:
	movq	_SB_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SB_TOP@GOTPCREL(%rip), %rax
	jmp	LBB0_13
LBB0_5:
	movq	_SB_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SB_LINEDOWN@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	movl	$5, %ecx
	jmp	LBB0_4
LBB0_14:
	movq	_SB_HORZ@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SB_RIGHT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
	movq	%r14, %r8
	callq	_OnScroll
	movq	_VK_CONTROL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_GetKeyState
	testl	$32768, %eax                    ## imm = 0x8000
	jne	LBB0_15
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	_SB_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_SB_BOTTOM@GOTPCREL(%rip), %rax
LBB0_13:
	movl	(%rax), %edi
	xorl	%esi, %esi
	callq	_MAKELONG
	movl	%ebx, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	xorl	%ecx, %ecx
LBB0_4:
	movq	%r14, %r8
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_OnScroll                       ## TAILCALL
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_14, LBB0_14-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
LJTI0_0:
	.long	L0_0_set_2
	.long	L0_0_set_7
	.long	L0_0_set_8
	.long	L0_0_set_10
	.long	L0_0_set_6
	.long	L0_0_set_11
	.long	L0_0_set_14
	.long	L0_0_set_5
	.end_data_region
                                        ## -- End function
	.comm	_SB_VERT,4,2                    ## @SB_VERT
	.comm	_SB_LINEUP,4,2                  ## @SB_LINEUP
	.comm	_SB_LINEDOWN,4,2                ## @SB_LINEDOWN
	.comm	_SB_HORZ,4,2                    ## @SB_HORZ
	.comm	_SB_LINELEFT,4,2                ## @SB_LINELEFT
	.comm	_SB_LINERIGHT,4,2               ## @SB_LINERIGHT
	.comm	_SB_PAGEUP,4,2                  ## @SB_PAGEUP
	.comm	_SB_PAGEDOWN,4,2                ## @SB_PAGEDOWN
	.comm	_SB_LEFT,4,2                    ## @SB_LEFT
	.comm	_VK_CONTROL,4,2                 ## @VK_CONTROL
	.comm	_SB_TOP,4,2                     ## @SB_TOP
	.comm	_SB_RIGHT,4,2                   ## @SB_RIGHT
	.comm	_SB_BOTTOM,4,2                  ## @SB_BOTTOM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_OnKeyScroll                    ; -- Begin function OnKeyScroll
	.p2align	2
_OnKeyScroll:                           ; @OnKeyScroll
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	sub	w8, w1, #128
	cmp	w8, #7
	b.hi	LBB0_13
; %bb.1:
	mov	x19, x3
	mov	x20, x0
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
Lloh2:
	adrp	x8, _SB_VERT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SB_VERT@GOTPAGEOFF]
Lloh4:
	ldr	w21, [x8]
Lloh5:
	adrp	x8, _SB_LINEUP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _SB_LINEUP@GOTPAGEOFF]
	b	LBB0_11
LBB0_3:
Lloh7:
	adrp	x8, _SB_HORZ@GOTPAGE
Lloh8:
	ldr	x8, [x8, _SB_HORZ@GOTPAGEOFF]
Lloh9:
	ldr	w21, [x8]
Lloh10:
	adrp	x8, _SB_LINERIGHT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _SB_LINERIGHT@GOTPAGEOFF]
	b	LBB0_11
LBB0_4:
Lloh12:
	adrp	x8, _SB_VERT@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SB_VERT@GOTPAGEOFF]
Lloh14:
	ldr	w21, [x8]
Lloh15:
	adrp	x8, _SB_PAGEUP@GOTPAGE
Lloh16:
	ldr	x8, [x8, _SB_PAGEUP@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh17:
	adrp	x8, _SB_VERT@GOTPAGE
Lloh18:
	ldr	x8, [x8, _SB_VERT@GOTPAGEOFF]
Lloh19:
	ldr	w21, [x8]
Lloh20:
	adrp	x8, _SB_PAGEDOWN@GOTPAGE
Lloh21:
	ldr	x8, [x8, _SB_PAGEDOWN@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MAKELONG
	mov	x2, x0
	ldr	w3, [x19]
	mov	x0, x20
	mov	x1, x21
	b	LBB0_16
LBB0_7:
Lloh22:
	adrp	x8, _SB_HORZ@GOTPAGE
Lloh23:
	ldr	x8, [x8, _SB_HORZ@GOTPAGEOFF]
Lloh24:
	ldr	w21, [x8]
Lloh25:
	adrp	x8, _SB_LINELEFT@GOTPAGE
Lloh26:
	ldr	x8, [x8, _SB_LINELEFT@GOTPAGEOFF]
	b	LBB0_11
LBB0_8:
Lloh27:
	adrp	x8, _SB_HORZ@GOTPAGE
Lloh28:
	ldr	x8, [x8, _SB_HORZ@GOTPAGEOFF]
Lloh29:
	ldr	w21, [x8]
Lloh30:
	adrp	x8, _SB_LEFT@GOTPAGE
Lloh31:
	ldr	x8, [x8, _SB_LEFT@GOTPAGEOFF]
Lloh32:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MAKELONG
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	x4, x19
	bl	_OnScroll
Lloh33:
	adrp	x8, _VK_CONTROL@GOTPAGE
Lloh34:
	ldr	x8, [x8, _VK_CONTROL@GOTPAGEOFF]
Lloh35:
	ldr	w0, [x8]
	bl	_GetKeyState
	tbz	w0, #15, LBB0_13
; %bb.9:
Lloh36:
	adrp	x8, _SB_VERT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _SB_VERT@GOTPAGEOFF]
Lloh38:
	ldr	w21, [x8]
Lloh39:
	adrp	x8, _SB_TOP@GOTPAGE
Lloh40:
	ldr	x8, [x8, _SB_TOP@GOTPAGEOFF]
	b	LBB0_15
LBB0_10:
Lloh41:
	adrp	x8, _SB_VERT@GOTPAGE
Lloh42:
	ldr	x8, [x8, _SB_VERT@GOTPAGEOFF]
Lloh43:
	ldr	w21, [x8]
Lloh44:
	adrp	x8, _SB_LINEDOWN@GOTPAGE
Lloh45:
	ldr	x8, [x8, _SB_LINEDOWN@GOTPAGEOFF]
LBB0_11:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MAKELONG
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #5
	b	LBB0_16
LBB0_12:
Lloh46:
	adrp	x8, _SB_HORZ@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SB_HORZ@GOTPAGEOFF]
Lloh48:
	ldr	w21, [x8]
Lloh49:
	adrp	x8, _SB_RIGHT@GOTPAGE
Lloh50:
	ldr	x8, [x8, _SB_RIGHT@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MAKELONG
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
	mov	x4, x19
	bl	_OnScroll
Lloh52:
	adrp	x8, _VK_CONTROL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _VK_CONTROL@GOTPAGEOFF]
Lloh54:
	ldr	w0, [x8]
	bl	_GetKeyState
	tbnz	w0, #15, LBB0_14
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_14:
Lloh55:
	adrp	x8, _SB_VERT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SB_VERT@GOTPAGEOFF]
Lloh57:
	ldr	w21, [x8]
Lloh58:
	adrp	x8, _SB_BOTTOM@GOTPAGE
Lloh59:
	ldr	x8, [x8, _SB_BOTTOM@GOTPAGEOFF]
LBB0_15:
	ldr	w0, [x8]
	mov	w1, #0
	bl	_MAKELONG
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	mov	w3, #0
LBB0_16:
	mov	x4, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_OnScroll
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGot	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_5-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_12-LBB0_2)>>2
	.byte	(LBB0_10-LBB0_2)>>2
                                        ; -- End function
	.comm	_SB_VERT,4,2                    ; @SB_VERT
	.comm	_SB_LINEUP,4,2                  ; @SB_LINEUP
	.comm	_SB_LINEDOWN,4,2                ; @SB_LINEDOWN
	.comm	_SB_HORZ,4,2                    ; @SB_HORZ
	.comm	_SB_LINELEFT,4,2                ; @SB_LINELEFT
	.comm	_SB_LINERIGHT,4,2               ; @SB_LINERIGHT
	.comm	_SB_PAGEUP,4,2                  ; @SB_PAGEUP
	.comm	_SB_PAGEDOWN,4,2                ; @SB_PAGEDOWN
	.comm	_SB_LEFT,4,2                    ; @SB_LEFT
	.comm	_VK_CONTROL,4,2                 ; @VK_CONTROL
	.comm	_SB_TOP,4,2                     ; @SB_TOP
	.comm	_SB_RIGHT,4,2                   ; @SB_RIGHT
	.comm	_SB_BOTTOM,4,2                  ; @SB_BOTTOM
.subsections_via_symbols
