	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function PAGER_Timer
_PAGER_Timer:                           ## @PAGER_Timer
	.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, %rbx
	movq	_TIMERID1@GOTPCREL(%rip), %r15
	cmpq	%rsi, (%r15)
	jne	LBB0_3
## %bb.1:
	movq	(%rbx), %rax
	movq	_PGF_HOT@GOTPCREL(%rip), %rcx
	movslq	8(%rbx), %rdx
	movq	_PGS_HORZ@GOTPCREL(%rip), %rsi
	movl	(%rsi), %esi
	andl	%edx, %esi
	cmpq	(%rcx), %rax
	movq	_PGF_SCROLLRIGHT@GOTPCREL(%rip), %rax
	cmoveq	_PGF_SCROLLLEFT@GOTPCREL(%rip), %rax
	movq	_PGF_SCROLLDOWN@GOTPCREL(%rip), %rcx
	cmoveq	_PGF_SCROLLUP@GOTPCREL(%rip), %rcx
	testl	%esi, %esi
	cmovneq	%rax, %rcx
	movq	(%rcx), %r14
	movl	24(%rbx), %esi
	leaq	L_.str(%rip), %rdi
	movq	%r14, %rcx
	xorl	%eax, %eax
	callq	_TRACE
	movl	24(%rbx), %edi
	movq	(%r15), %rsi
	callq	_KillTimer
	movl	24(%rbx), %edi
	movq	(%r15), %rsi
	movq	_REPEAT_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_SetTimer
	movq	_PGS_AUTOSCROLL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_5
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_PAGER_Scroll
	movq	_SWP_FRAMECHANGED@GOTPCREL(%rip), %rax
	movq	_SWP_NOSIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movq	_SWP_NOMOVE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movq	_SWP_NOZORDER@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	24(%rbx), %edi
	movq	_SWP_NOACTIVATE@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rsp)
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	_SetWindowPos
	jmp	LBB0_5
LBB0_3:
	movl	24(%rbx), %esi
	movq	16(%rbx), %rdx
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_TRACE
	movl	24(%rbx), %edi
	movq	_TIMERID2@GOTPCREL(%rip), %r14
	movq	(%r14), %rsi
	callq	_KillTimer
	movq	16(%rbx), %rsi
	testq	%rsi, %rsi
	jle	LBB0_5
## %bb.4:
	movq	%rbx, %rdi
	callq	_PAGER_Scroll
	movl	24(%rbx), %edi
	movq	(%r14), %rsi
	movq	_REPEAT_DELAY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	_SetTimer
LBB0_5:
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_TIMERID1,8,3                   ## @TIMERID1
	.comm	_PGF_HOT,8,3                    ## @PGF_HOT
	.comm	_PGS_HORZ,4,2                   ## @PGS_HORZ
	.comm	_PGF_SCROLLLEFT,8,3             ## @PGF_SCROLLLEFT
	.comm	_PGF_SCROLLUP,8,3               ## @PGF_SCROLLUP
	.comm	_PGF_SCROLLRIGHT,8,3            ## @PGF_SCROLLRIGHT
	.comm	_PGF_SCROLLDOWN,8,3             ## @PGF_SCROLLDOWN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"[%p] TIMERID1: style=%08x, dir=%d\n"

	.comm	_REPEAT_DELAY,4,2               ## @REPEAT_DELAY
	.comm	_PGS_AUTOSCROLL,4,2             ## @PGS_AUTOSCROLL
	.comm	_SWP_FRAMECHANGED,4,2           ## @SWP_FRAMECHANGED
	.comm	_SWP_NOSIZE,4,2                 ## @SWP_NOSIZE
	.comm	_SWP_NOMOVE,4,2                 ## @SWP_NOMOVE
	.comm	_SWP_NOZORDER,4,2               ## @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ## @SWP_NOACTIVATE
L_.str.1:                               ## @.str.1
	.asciz	"[%p] TIMERID2: dir=%d\n"

	.comm	_TIMERID2,8,3                   ## @TIMERID2
	.no_dead_strip	_PAGER_Timer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function PAGER_Timer
_PAGER_Timer:                           ; @PAGER_Timer
	.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
Lloh0:
	adrp	x21, _TIMERID1@GOTPAGE
Lloh1:
	ldr	x21, [x21, _TIMERID1@GOTPAGEOFF]
	ldr	x8, [x21]
	cmp	x8, x1
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19]
Lloh2:
	adrp	x9, _PGF_HOT@GOTPAGE
Lloh3:
	ldr	x9, [x9, _PGF_HOT@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	ldrsw	x2, [x19, #8]
Lloh5:
	adrp	x10, _PGS_HORZ@GOTPAGE
Lloh6:
	ldr	x10, [x10, _PGS_HORZ@GOTPAGEOFF]
Lloh7:
	adrp	x11, _PGF_SCROLLLEFT@GOTPAGE
Lloh8:
	ldr	x11, [x11, _PGF_SCROLLLEFT@GOTPAGEOFF]
Lloh9:
	adrp	x12, _PGF_SCROLLRIGHT@GOTPAGE
Lloh10:
	ldr	x12, [x12, _PGF_SCROLLRIGHT@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x13, _PGF_SCROLLUP@GOTPAGE
Lloh13:
	ldr	x13, [x13, _PGF_SCROLLUP@GOTPAGEOFF]
Lloh14:
	adrp	x14, _PGF_SCROLLDOWN@GOTPAGE
Lloh15:
	ldr	x14, [x14, _PGF_SCROLLDOWN@GOTPAGEOFF]
	cmp	x8, x9
	csel	x8, x11, x12, eq
	csel	x9, x13, x14, eq
	tst	w10, w2
	csel	x8, x9, x8, eq
	ldr	x20, [x8]
	ldr	w1, [x19, #24]
	str	x20, [sp]
Lloh16:
	adrp	x0, l_.str@PAGE
Lloh17:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	ldr	w0, [x19, #24]
	ldr	x1, [x21]
	bl	_KillTimer
	ldr	w0, [x19, #24]
	ldr	x1, [x21]
Lloh18:
	adrp	x8, _REPEAT_DELAY@GOTPAGE
Lloh19:
	ldr	x8, [x8, _REPEAT_DELAY@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_SetTimer
	ldr	w8, [x19, #8]
Lloh21:
	adrp	x9, _PGS_AUTOSCROLL@GOTPAGE
Lloh22:
	ldr	x9, [x9, _PGS_AUTOSCROLL@GOTPAGEOFF]
Lloh23:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_5
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	bl	_PAGER_Scroll
Lloh24:
	adrp	x8, _SWP_FRAMECHANGED@GOTPAGE
Lloh25:
	ldr	x8, [x8, _SWP_FRAMECHANGED@GOTPAGEOFF]
	ldr	w0, [x19, #24]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _SWP_NOSIZE@GOTPAGE
Lloh28:
	ldr	x9, [x9, _SWP_NOSIZE@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh30:
	adrp	x9, _SWP_NOMOVE@GOTPAGE
Lloh31:
	ldr	x9, [x9, _SWP_NOMOVE@GOTPAGEOFF]
Lloh32:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh33:
	adrp	x9, _SWP_NOZORDER@GOTPAGE
Lloh34:
	ldr	x9, [x9, _SWP_NOZORDER@GOTPAGEOFF]
Lloh35:
	ldr	w9, [x9]
	orr	w8, w8, w9
Lloh36:
	adrp	x9, _SWP_NOACTIVATE@GOTPAGE
Lloh37:
	ldr	x9, [x9, _SWP_NOACTIVATE@GOTPAGEOFF]
Lloh38:
	ldr	w9, [x9]
	orr	w6, w8, w9
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	bl	_SetWindowPos
	b	LBB0_5
LBB0_3:
	ldr	w1, [x19, #24]
	ldr	x2, [x19, #16]
Lloh39:
	adrp	x0, l_.str.1@PAGE
Lloh40:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_TRACE
	ldr	w0, [x19, #24]
Lloh41:
	adrp	x20, _TIMERID2@GOTPAGE
Lloh42:
	ldr	x20, [x20, _TIMERID2@GOTPAGEOFF]
	ldr	x1, [x20]
	bl	_KillTimer
	ldr	x1, [x19, #16]
	cmp	x1, #1
	b.lt	LBB0_5
; %bb.4:
	mov	x0, x19
	bl	_PAGER_Scroll
	ldr	w0, [x19, #24]
	ldr	x1, [x20]
Lloh43:
	adrp	x8, _REPEAT_DELAY@GOTPAGE
Lloh44:
	ldr	x8, [x8, _REPEAT_DELAY@GOTPAGEOFF]
Lloh45:
	ldr	w2, [x8]
	mov	w3, #0
	bl	_SetTimer
LBB0_5:
	mov	w0, #0
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh11
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.cfi_endproc
                                        ; -- End function
	.comm	_TIMERID1,8,3                   ; @TIMERID1
	.comm	_PGF_HOT,8,3                    ; @PGF_HOT
	.comm	_PGS_HORZ,4,2                   ; @PGS_HORZ
	.comm	_PGF_SCROLLLEFT,8,3             ; @PGF_SCROLLLEFT
	.comm	_PGF_SCROLLUP,8,3               ; @PGF_SCROLLUP
	.comm	_PGF_SCROLLRIGHT,8,3            ; @PGF_SCROLLRIGHT
	.comm	_PGF_SCROLLDOWN,8,3             ; @PGF_SCROLLDOWN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"[%p] TIMERID1: style=%08x, dir=%d\n"

	.comm	_REPEAT_DELAY,4,2               ; @REPEAT_DELAY
	.comm	_PGS_AUTOSCROLL,4,2             ; @PGS_AUTOSCROLL
	.comm	_SWP_FRAMECHANGED,4,2           ; @SWP_FRAMECHANGED
	.comm	_SWP_NOSIZE,4,2                 ; @SWP_NOSIZE
	.comm	_SWP_NOMOVE,4,2                 ; @SWP_NOMOVE
	.comm	_SWP_NOZORDER,4,2               ; @SWP_NOZORDER
	.comm	_SWP_NOACTIVATE,4,2             ; @SWP_NOACTIVATE
l_.str.1:                               ; @.str.1
	.asciz	"[%p] TIMERID2: dir=%d\n"

	.comm	_TIMERID2,8,3                   ; @TIMERID2
	.no_dead_strip	_PAGER_Timer
.subsections_via_symbols
