	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function redraw_part
_redraw_part:                           ## @redraw_part
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %ebx
	movl	%esi, %r15d
	movl	%edi, %r13d
	movq	_GWL_STYLE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_GetWindowLongW
	movl	%eax, %r14d
	movq	_SCROLL_NOWHERE@GOTPCREL(%rip), %rax
	cmpl	%ebx, (%rax)
	jne	LBB0_1
## %bb.40:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r13d, %edi
	xorl	%esi, %esi
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_InvalidateRect                 ## TAILCALL
LBB0_1:
	movl	%r15d, -84(%rbp)                ## 4-byte Spill
	movq	_SBS_VERT@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	leaq	-104(%rbp), %r15
	movl	%r13d, %edi
	movq	%r15, %rsi
	callq	_GetWindowRect
	xorl	%edx, %edx
	xorl	%esi, %esi
	subl	-104(%rbp), %esi
	subl	-100(%rbp), %edx
	movq	%r15, %rdi
	callq	_OffsetRect
	andl	%r14d, %r12d
	movl	%r12d, -48(%rbp)                ## 4-byte Spill
	movl	%r13d, -116(%rbp)               ## 4-byte Spill
	je	LBB0_9
## %bb.2:
	movl	-96(%rbp), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_SBP_ARROWBTN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ABS_UPNORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_TS_DRAW@GOTPCREL(%rip), %r13
	movl	(%r13), %r9d
	leaq	-112(%rbp), %r14
	movq	%r14, (%rsp)
	xorl	%r15d, %r15d
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_GetThemePartSize
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	jmp	LBB0_5
LBB0_9:
	movl	-92(%rbp), %eax
	movl	%eax, -52(%rbp)                 ## 4-byte Spill
	movq	_SBP_ARROWBTN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ABS_LEFTNORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_TS_DRAW@GOTPCREL(%rip), %r13
	movl	(%r13), %r9d
	leaq	-112(%rbp), %r14
	movq	%r14, (%rsp)
	xorl	%r15d, %r15d
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_GetThemePartSize
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rdi
	callq	_WARN
	jmp	LBB0_12
LBB0_4:
	movl	-112(%rbp), %r15d
LBB0_5:
	movl	%ebx, %r12d
	movq	_SBP_ARROWBTN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ABS_DOWNNORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r13), %r9d
	movq	%r14, (%rsp)
	xorl	%r14d, %r14d
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_GetThemePartSize
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:
	leaq	L_.str.1(%rip), %rdi
	callq	_WARN
	jmp	LBB0_15
LBB0_8:
	movl	-112(%rbp), %r14d
	jmp	LBB0_15
LBB0_11:
	movl	-108(%rbp), %r15d
LBB0_12:
	movl	%ebx, %r12d
	movq	_SBP_ARROWBTN@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_ABS_RIGHTNORMAL@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	(%r13), %r9d
	movq	%r14, (%rsp)
	xorl	%r14d, %r14d
	movl	-84(%rbp), %edi                 ## 4-byte Reload
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_GetThemePartSize
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.3(%rip), %rdi
	callq	_WARN
	jmp	LBB0_15
LBB0_14:
	movl	-108(%rbp), %r14d
LBB0_15:
	movl	-52(%rbp), %r13d                ## 4-byte Reload
	movq	_SCROLL_MIN_RECT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	leal	(%r14,%r15), %ecx
	addl	%eax, %ecx
	movl	%r13d, %ebx
	subl	%eax, %ebx
	shrl	%ebx
	cmpl	%ecx, %r13d
	cmovbl	%ebx, %r15d
	cmovael	%r14d, %ebx
	movups	-104(%rbp), %xmm0
	movaps	%xmm0, -80(%rbp)
	movq	_SCROLL_TOP_ARROW@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_18
## %bb.16:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	movl	-116(%rbp), %r14d               ## 4-byte Reload
	je	LBB0_36
## %bb.17:
	addl	-76(%rbp), %r15d
	movl	%r15d, -72(%rbp)
	jmp	LBB0_38
LBB0_18:
	movq	_SCROLL_BOTTOM_ARROW@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	movl	-116(%rbp), %r14d               ## 4-byte Reload
	jne	LBB0_22
## %bb.19:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_21
## %bb.20:
	movl	-72(%rbp), %eax
	subl	%ebx, %eax
	movl	%eax, -76(%rbp)
	jmp	LBB0_38
LBB0_22:
	movl	$8, -128(%rbp)
	movq	_SIF_ALL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -124(%rbp)
	movq	_SB_CTL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-128(%rbp), %rdx
	movl	%r14d, %edi
	callq	_GetScrollInfo
	testl	%eax, %eax
	je	LBB0_35
## %bb.23:
	subl	%ebx, %r13d
	subl	%r15d, %r13d
	leaq	-128(%rbp), %rsi
	leaq	-44(%rbp), %rdx
	leaq	-88(%rbp), %rcx
	movl	%r13d, %edi
	callq	_calc_thumb_dimensions
	movq	_SCROLL_TOP_RECT@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_27
## %bb.24:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_26
## %bb.25:
	addl	-100(%rbp), %r15d
	movl	%r15d, -76(%rbp)
	addl	-44(%rbp), %r15d
	movl	%r15d, -72(%rbp)
	jmp	LBB0_38
LBB0_36:
	addl	-80(%rbp), %r15d
LBB0_37:
	movl	%r15d, -68(%rbp)
	jmp	LBB0_38
LBB0_21:
	movl	-68(%rbp), %eax
	subl	%ebx, %eax
	movl	%eax, -80(%rbp)
	jmp	LBB0_38
LBB0_35:
	leaq	L_.str.4(%rip), %rdi
	callq	_WARN
	jmp	LBB0_39
LBB0_27:
	movq	_SCROLL_THUMB@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_31
## %bb.28:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_30
## %bb.29:
	addl	-100(%rbp), %r15d
	addl	-44(%rbp), %r15d
	movl	%r15d, -76(%rbp)
	addl	-88(%rbp), %r15d
	movl	%r15d, -72(%rbp)
	jmp	LBB0_38
LBB0_31:
	movq	_SCROLL_BOTTOM_RECT@GOTPCREL(%rip), %rax
	cmpl	%r12d, (%rax)
	jne	LBB0_38
## %bb.32:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_34
## %bb.33:
	addl	-100(%rbp), %r15d
	addl	-44(%rbp), %r15d
	addl	-88(%rbp), %r15d
	movl	%r15d, -76(%rbp)
	movl	-96(%rbp), %eax
	subl	%ebx, %eax
	movl	%eax, -72(%rbp)
	jmp	LBB0_38
LBB0_26:
	addl	-104(%rbp), %r15d
	movl	%r15d, -80(%rbp)
	addl	-44(%rbp), %r15d
	jmp	LBB0_37
LBB0_30:
	addl	-104(%rbp), %r15d
	addl	-44(%rbp), %r15d
	movl	%r15d, -80(%rbp)
	addl	-88(%rbp), %r15d
	jmp	LBB0_37
LBB0_34:
	addl	-104(%rbp), %r15d
	addl	-44(%rbp), %r15d
	addl	-88(%rbp), %r15d
	movl	%r15d, -80(%rbp)
	movl	-92(%rbp), %eax
	subl	%ebx, %eax
	movl	%eax, -68(%rbp)
LBB0_38:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-80(%rbp), %rsi
	movl	%r14d, %edi
	callq	_InvalidateRect
LBB0_39:
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GWL_STYLE,4,2                  ## @GWL_STYLE
	.comm	_SBS_VERT,4,2                   ## @SBS_VERT
	.comm	_SCROLL_NOWHERE,4,2             ## @SCROLL_NOWHERE
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_SBP_ARROWBTN,4,2               ## @SBP_ARROWBTN
	.comm	_ABS_UPNORMAL,4,2               ## @ABS_UPNORMAL
	.comm	_TS_DRAW,4,2                    ## @TS_DRAW
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not get up arrow size.\n"

	.comm	_ABS_DOWNNORMAL,4,2             ## @ABS_DOWNNORMAL
L_.str.1:                               ## @.str.1
	.asciz	"Could not get down arrow size.\n"

	.comm	_ABS_LEFTNORMAL,4,2             ## @ABS_LEFTNORMAL
L_.str.2:                               ## @.str.2
	.asciz	"Could not get left arrow size.\n"

	.comm	_ABS_RIGHTNORMAL,4,2            ## @ABS_RIGHTNORMAL
L_.str.3:                               ## @.str.3
	.asciz	"Could not get right arrow size.\n"

	.comm	_SCROLL_MIN_RECT,4,2            ## @SCROLL_MIN_RECT
	.comm	_SCROLL_TOP_ARROW,4,2           ## @SCROLL_TOP_ARROW
	.comm	_SCROLL_BOTTOM_ARROW,4,2        ## @SCROLL_BOTTOM_ARROW
	.comm	_SIF_ALL,4,2                    ## @SIF_ALL
	.comm	_SB_CTL,4,2                     ## @SB_CTL
L_.str.4:                               ## @.str.4
	.asciz	"GetScrollInfo failed.\n"

	.comm	_SCROLL_TOP_RECT,4,2            ## @SCROLL_TOP_RECT
	.comm	_SCROLL_THUMB,4,2               ## @SCROLL_THUMB
	.comm	_SCROLL_BOTTOM_RECT,4,2         ## @SCROLL_BOTTOM_RECT
	.no_dead_strip	_redraw_part
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function redraw_part
_redraw_part:                           ; @redraw_part
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x20, x2
	mov	x21, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _GWL_STYLE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GWL_STYLE@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_GetWindowLongW
Lloh3:
	adrp	x8, _SCROLL_NOWHERE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _SCROLL_NOWHERE@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_2
; %bb.1:
Lloh6:
	adrp	x8, _TRUE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, #0
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	b	_InvalidateRect
LBB0_2:
Lloh9:
	adrp	x8, _SBS_VERT@GOTPAGE
Lloh10:
	ldr	x8, [x8, _SBS_VERT@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	and	w22, w8, w0
	add	x1, sp, #40
	mov	x0, x19
	bl	_GetWindowRect
	ldp	w8, w9, [sp, #40]
	neg	w1, w8
	neg	w2, w9
	add	x0, sp, #40
	bl	_OffsetRect
	cbz	w22, LBB0_5
; %bb.3:
	ldr	w23, [sp, #48]
Lloh12:
	adrp	x25, _SBP_ARROWBTN@GOTPAGE
Lloh13:
	ldr	x25, [x25, _SBP_ARROWBTN@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh14:
	adrp	x8, _ABS_UPNORMAL@GOTPAGE
Lloh15:
	ldr	x8, [x8, _ABS_UPNORMAL@GOTPAGEOFF]
Lloh16:
	ldr	w3, [x8]
Lloh17:
	adrp	x26, _TS_DRAW@GOTPAGE
Lloh18:
	ldr	x26, [x26, _TS_DRAW@GOTPAGEOFF]
	ldr	w5, [x26]
	add	x6, sp, #56
	mov	x0, x21
	mov	x1, #0
	mov	x4, #0
	bl	_GetThemePartSize
	bl	_FAILED
	cbz	x0, LBB0_7
; %bb.4:
Lloh19:
	adrp	x0, l_.str@PAGE
Lloh20:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
	mov	w24, #0
	b	LBB0_8
LBB0_5:
	ldr	w23, [sp, #52]
Lloh21:
	adrp	x25, _SBP_ARROWBTN@GOTPAGE
Lloh22:
	ldr	x25, [x25, _SBP_ARROWBTN@GOTPAGEOFF]
	ldr	w2, [x25]
Lloh23:
	adrp	x8, _ABS_LEFTNORMAL@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ABS_LEFTNORMAL@GOTPAGEOFF]
Lloh25:
	ldr	w3, [x8]
Lloh26:
	adrp	x26, _TS_DRAW@GOTPAGE
Lloh27:
	ldr	x26, [x26, _TS_DRAW@GOTPAGEOFF]
	ldr	w5, [x26]
	add	x6, sp, #56
	mov	x0, x21
	mov	x1, #0
	mov	x4, #0
	bl	_GetThemePartSize
	bl	_FAILED
	cbz	x0, LBB0_11
; %bb.6:
Lloh28:
	adrp	x0, l_.str.2@PAGE
Lloh29:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_WARN
	mov	w24, #0
	b	LBB0_12
LBB0_7:
	ldr	w24, [sp, #56]
LBB0_8:
	ldr	w2, [x25]
Lloh30:
	adrp	x8, _ABS_DOWNNORMAL@GOTPAGE
Lloh31:
	ldr	x8, [x8, _ABS_DOWNNORMAL@GOTPAGEOFF]
Lloh32:
	ldr	w3, [x8]
	ldr	w5, [x26]
	add	x6, sp, #56
	mov	x0, x21
	mov	x1, #0
	mov	x4, #0
	bl	_GetThemePartSize
	bl	_FAILED
	cbz	x0, LBB0_10
; %bb.9:
Lloh33:
	adrp	x0, l_.str.1@PAGE
Lloh34:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_14
LBB0_10:
	ldr	w8, [sp, #56]
	b	LBB0_15
LBB0_11:
	ldr	w24, [sp, #60]
LBB0_12:
	ldr	w2, [x25]
Lloh35:
	adrp	x8, _ABS_RIGHTNORMAL@GOTPAGE
Lloh36:
	ldr	x8, [x8, _ABS_RIGHTNORMAL@GOTPAGEOFF]
Lloh37:
	ldr	w3, [x8]
	ldr	w5, [x26]
	add	x6, sp, #56
	mov	x0, x21
	mov	x1, #0
	mov	x4, #0
	bl	_GetThemePartSize
	bl	_FAILED
	cbz	x0, LBB0_26
; %bb.13:
Lloh38:
	adrp	x0, l_.str.3@PAGE
Lloh39:
	add	x0, x0, l_.str.3@PAGEOFF
LBB0_14:
	bl	_WARN
	mov	w8, #0
LBB0_15:
Lloh40:
	adrp	x9, _SCROLL_MIN_RECT@GOTPAGE
Lloh41:
	ldr	x9, [x9, _SCROLL_MIN_RECT@GOTPAGEOFF]
Lloh42:
	ldr	w9, [x9]
	add	w10, w8, w24
	add	w10, w10, w9
	sub	w9, w23, w9
	lsr	w9, w9, #1
	cmp	w23, w10
	csel	w21, w9, w24, lo
	csel	w24, w9, w8, lo
	ldur	q0, [sp, #40]
	str	q0, [sp, #16]
Lloh43:
	adrp	x8, _SCROLL_TOP_ARROW@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SCROLL_TOP_ARROW@GOTPAGEOFF]
Lloh45:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_18
; %bb.16:
	cbz	w22, LBB0_25
; %bb.17:
	ldr	w8, [sp, #20]
	add	w8, w8, w21
	str	w8, [sp, #24]
	b	LBB0_41
LBB0_18:
Lloh46:
	adrp	x8, _SCROLL_BOTTOM_ARROW@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SCROLL_BOTTOM_ARROW@GOTPAGEOFF]
Lloh48:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_21
; %bb.19:
	cbz	w22, LBB0_27
; %bb.20:
	ldr	w8, [sp, #24]
	sub	w8, w8, w24
	str	w8, [sp, #20]
	b	LBB0_41
LBB0_21:
	mov	w8, #8
Lloh49:
	adrp	x9, _SIF_ALL@GOTPAGE
Lloh50:
	ldr	x9, [x9, _SIF_ALL@GOTPAGEOFF]
Lloh51:
	ldr	w9, [x9]
	stp	w8, w9, [sp]
Lloh52:
	adrp	x8, _SB_CTL@GOTPAGE
Lloh53:
	ldr	x8, [x8, _SB_CTL@GOTPAGEOFF]
Lloh54:
	ldr	w1, [x8]
	mov	x2, sp
	mov	x0, x19
	bl	_GetScrollInfo
	cbz	w0, LBB0_28
; %bb.22:
	add	w8, w24, w21
	sub	w0, w23, w8
	mov	x1, sp
	add	x2, sp, #12
	add	x3, sp, #8
	bl	_calc_thumb_dimensions
Lloh55:
	adrp	x8, _SCROLL_TOP_RECT@GOTPAGE
Lloh56:
	ldr	x8, [x8, _SCROLL_TOP_RECT@GOTPAGEOFF]
Lloh57:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_29
; %bb.23:
	cbz	w22, LBB0_37
; %bb.24:
	ldr	w8, [sp, #44]
	ldr	w9, [sp, #12]
	add	w8, w8, w21
	b	LBB0_32
LBB0_25:
	ldr	w8, [sp, #16]
	add	w8, w8, w21
	str	w8, [sp, #28]
	b	LBB0_41
LBB0_26:
	ldr	w8, [sp, #60]
	b	LBB0_15
LBB0_27:
	ldr	w8, [sp, #28]
	sub	w8, w8, w24
	str	w8, [sp, #16]
	b	LBB0_41
LBB0_28:
Lloh58:
	adrp	x0, l_.str.4@PAGE
Lloh59:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_WARN
	b	LBB0_42
LBB0_29:
Lloh60:
	adrp	x8, _SCROLL_THUMB@GOTPAGE
Lloh61:
	ldr	x8, [x8, _SCROLL_THUMB@GOTPAGEOFF]
Lloh62:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_34
; %bb.30:
	cbz	w22, LBB0_38
; %bb.31:
	ldr	w8, [sp, #44]
	ldr	w9, [sp, #12]
	add	w8, w8, w21
	add	w8, w8, w9
	ldr	w9, [sp, #8]
LBB0_32:
	add	w9, w9, w8
LBB0_33:
	stp	w8, w9, [sp, #20]
	b	LBB0_41
LBB0_34:
Lloh63:
	adrp	x8, _SCROLL_BOTTOM_RECT@GOTPAGE
Lloh64:
	ldr	x8, [x8, _SCROLL_BOTTOM_RECT@GOTPAGEOFF]
Lloh65:
	ldr	w8, [x8]
	cmp	w8, w20
	b.ne	LBB0_41
; %bb.35:
	cbz	w22, LBB0_39
; %bb.36:
	ldr	w8, [sp, #12]
	ldp	w9, w10, [sp, #44]
	add	w9, w9, w21
	add	w8, w9, w8
	ldr	w9, [sp, #8]
	add	w8, w8, w9
	sub	w9, w10, w24
	b	LBB0_33
LBB0_37:
	ldr	w8, [sp, #40]
	ldr	w9, [sp, #12]
	add	w8, w8, w21
	add	w9, w9, w8
	b	LBB0_40
LBB0_38:
	ldr	w8, [sp, #40]
	ldr	w9, [sp, #12]
	add	w8, w8, w21
	add	w8, w8, w9
	ldr	w9, [sp, #8]
	add	w9, w9, w8
	b	LBB0_40
LBB0_39:
	ldr	w8, [sp, #12]
	ldr	w9, [sp, #40]
	ldr	w10, [sp, #52]
	add	w9, w9, w21
	add	w8, w9, w8
	ldr	w9, [sp, #8]
	add	w8, w8, w9
	sub	w9, w10, w24
LBB0_40:
	str	w8, [sp, #16]
	str	w9, [sp, #28]
LBB0_41:
Lloh66:
	adrp	x8, _TRUE@GOTPAGE
Lloh67:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
	add	x1, sp, #16
	mov	x0, x19
	bl	_InvalidateRect
LBB0_42:
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpAdd	Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh52, Lloh53, Lloh54
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpAdd	Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.cfi_endproc
                                        ; -- End function
	.comm	_GWL_STYLE,4,2                  ; @GWL_STYLE
	.comm	_SBS_VERT,4,2                   ; @SBS_VERT
	.comm	_SCROLL_NOWHERE,4,2             ; @SCROLL_NOWHERE
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_SBP_ARROWBTN,4,2               ; @SBP_ARROWBTN
	.comm	_ABS_UPNORMAL,4,2               ; @ABS_UPNORMAL
	.comm	_TS_DRAW,4,2                    ; @TS_DRAW
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not get up arrow size.\n"

	.comm	_ABS_DOWNNORMAL,4,2             ; @ABS_DOWNNORMAL
l_.str.1:                               ; @.str.1
	.asciz	"Could not get down arrow size.\n"

	.comm	_ABS_LEFTNORMAL,4,2             ; @ABS_LEFTNORMAL
l_.str.2:                               ; @.str.2
	.asciz	"Could not get left arrow size.\n"

	.comm	_ABS_RIGHTNORMAL,4,2            ; @ABS_RIGHTNORMAL
l_.str.3:                               ; @.str.3
	.asciz	"Could not get right arrow size.\n"

	.comm	_SCROLL_MIN_RECT,4,2            ; @SCROLL_MIN_RECT
	.comm	_SCROLL_TOP_ARROW,4,2           ; @SCROLL_TOP_ARROW
	.comm	_SCROLL_BOTTOM_ARROW,4,2        ; @SCROLL_BOTTOM_ARROW
	.comm	_SIF_ALL,4,2                    ; @SIF_ALL
	.comm	_SB_CTL,4,2                     ; @SB_CTL
l_.str.4:                               ; @.str.4
	.asciz	"GetScrollInfo failed.\n"

	.comm	_SCROLL_TOP_RECT,4,2            ; @SCROLL_TOP_RECT
	.comm	_SCROLL_THUMB,4,2               ; @SCROLL_THUMB
	.comm	_SCROLL_BOTTOM_RECT,4,2         ; @SCROLL_BOTTOM_RECT
	.no_dead_strip	_redraw_part
.subsections_via_symbols
