	.file	"extr_ncscrollbar.c_SCROLL_DrawInterior.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	SCROLL_DrawInterior, @function
SCROLL_DrawInterior:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, r9d
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	ebx, r8d
	sub	rsp, 80
	.cfi_def_cfa_offset 128
	movdqu	xmm0, XMMWORD PTR 24[rsi]
	movdqu	xmm1, XMMWORD PTR 40[rsi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 72[rsp], rax
	xor	eax, eax
	movaps	XMMWORD PTR [rsp], xmm0
	movaps	XMMWORD PTR 16[rsp], xmm1
	test	rcx, rcx
	je	.L2
	test	rdx, rdx
	je	.L3
	add	rdx, QWORD PTR 16[rdi]
	sub	rdx, QWORD PTR [rdi]
.L3:
	mov	rax, QWORD PTR [r12]
	mov	rsi, QWORD PTR 16[rsp]
	add	QWORD PTR [rsp], rax
	sub	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 24[rsp]
.L4:
	cmp	rax, rsi
	jle	.L1
	mov	rax, QWORD PTR [rsp]
	cmp	QWORD PTR 8[rsp], rax
	jle	.L1
	mov	r10d, DWORD PTR BUTTON_NORMAL[rip]
	test	rdx, rdx
	je	.L20
	mov	r8d, DWORD PTR SCROLL_TOP_RECT[rip]
	test	rcx, rcx
	je	.L10
	movdqa	xmm2, XMMWORD PTR [rsp]
	lea	r14, 32[rsp]
	mov	r9d, ebx
	mov	rcx, r12
	movdqa	xmm3, XMMWORD PTR 16[rsp]
	mov	esi, DWORD PTR SBP_LOWERTRACKVERT[rip]
	mov	rdi, rbp
	movaps	XMMWORD PTR 32[rsp], xmm2
	movaps	XMMWORD PTR 48[rsp], xmm3
	mov	QWORD PTR 40[rsp], rdx
	mov	edx, r10d
	push	r14
	.cfi_def_cfa_offset 136
	push	r13
	.cfi_def_cfa_offset 144
	call	SCROLL_ThemeDrawPart@PLT
	mov	rax, QWORD PTR 56[rsp]
	mov	r9d, ebx
	mov	rcx, r12
	movdqa	xmm5, XMMWORD PTR 32[rsp]
	mov	r8d, DWORD PTR SCROLL_BOTTOM_RECT[rip]
	mov	rdi, rbp
	mov	QWORD PTR 16[rsp], rax
	movdqa	xmm4, XMMWORD PTR 16[rsp]
	add	rax, QWORD PTR 8[r12]
	sub	rax, QWORD PTR 16[r12]
	movaps	XMMWORD PTR 64[rsp], xmm5
	movaps	XMMWORD PTR 48[rsp], xmm4
	mov	edx, DWORD PTR BUTTON_NORMAL[rip]
	mov	esi, DWORD PTR SBP_UPPERTRACKVERT[rip]
	mov	QWORD PTR 48[rsp], rax
	push	r14
	.cfi_def_cfa_offset 152
	push	r13
	.cfi_def_cfa_offset 160
	call	SCROLL_ThemeDrawPart@PLT
	mov	rax, QWORD PTR 64[rsp]
	mov	r9d, ebx
	mov	rcx, r12
	mov	r8d, DWORD PTR SCROLL_THUMB[rip]
	mov	edx, DWORD PTR BUTTON_NORMAL[rip]
	mov	rdi, rbp
	mov	QWORD PTR 40[rsp], rax
	add	rsp, 32
	.cfi_def_cfa_offset 128
	mov	esi, DWORD PTR SBP_THUMBBTNVERT[rip]
	mov	r14, rsp
	push	r14
	.cfi_def_cfa_offset 136
	push	r13
	.cfi_def_cfa_offset 144
	call	SCROLL_ThemeDrawPart@PLT
	push	r14
	.cfi_def_cfa_offset 152
	mov	edx, DWORD PTR BUTTON_NORMAL[rip]
	mov	r9d, ebx
	push	r13
	.cfi_def_cfa_offset 160
	mov	r8d, DWORD PTR SCROLL_THUMB[rip]
	mov	rcx, r12
	mov	rdi, rbp
	mov	esi, DWORD PTR SBP_GRIPPERVERT[rip]
	call	SCROLL_ThemeDrawPart@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 128
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rax, QWORD PTR 72[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L21
	add	rsp, 80
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L2:
	.cfi_restore_state
	test	rdx, rdx
	je	.L5
	add	rdx, QWORD PTR 24[rdi]
	sub	rdx, QWORD PTR 8[rdi]
.L5:
	mov	rax, QWORD PTR [r12]
	mov	rsi, QWORD PTR 16[rsp]
	mov	rdi, QWORD PTR 24[rsp]
	add	rsi, rax
	sub	rdi, rax
	mov	QWORD PTR 16[rsp], rsi
	mov	QWORD PTR 24[rsp], rdi
	mov	rax, rdi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L10:
	movdqa	xmm6, XMMWORD PTR [rsp]
	lea	r14, 32[rsp]
	mov	r9d, ebx
	mov	rcx, r12
	movdqa	xmm7, XMMWORD PTR 16[rsp]
	mov	esi, DWORD PTR SBP_LOWERTRACKHORZ[rip]
	mov	rdi, rbp
	movaps	XMMWORD PTR 32[rsp], xmm6
	movaps	XMMWORD PTR 48[rsp], xmm7
	mov	QWORD PTR 56[rsp], rdx
	mov	edx, r10d
	push	r14
	.cfi_def_cfa_offset 136
	push	r13
	.cfi_def_cfa_offset 144
	call	SCROLL_ThemeDrawPart@PLT
	mov	rax, QWORD PTR 72[rsp]
	mov	r9d, ebx
	mov	rcx, r12
	movdqa	xmm2, XMMWORD PTR 16[rsp]
	mov	r8d, DWORD PTR SCROLL_BOTTOM_RECT[rip]
	mov	rdi, rbp
	mov	QWORD PTR 32[rsp], rax
	movdqa	xmm3, XMMWORD PTR 32[rsp]
	add	rax, QWORD PTR 8[r12]
	sub	rax, QWORD PTR 16[r12]
	movaps	XMMWORD PTR 48[rsp], xmm2
	movaps	XMMWORD PTR 64[rsp], xmm3
	mov	edx, DWORD PTR BUTTON_NORMAL[rip]
	mov	esi, DWORD PTR SBP_UPPERTRACKHORZ[rip]
	mov	QWORD PTR 64[rsp], rax
	push	r14
	.cfi_def_cfa_offset 152
	push	r13
	.cfi_def_cfa_offset 160
	call	SCROLL_ThemeDrawPart@PLT
	mov	rax, QWORD PTR 80[rsp]
	mov	r9d, ebx
	mov	rcx, r12
	mov	r8d, DWORD PTR SCROLL_THUMB[rip]
	mov	edx, DWORD PTR BUTTON_NORMAL[rip]
	mov	rdi, rbp
	mov	QWORD PTR 56[rsp], rax
	add	rsp, 32
	.cfi_def_cfa_offset 128
	mov	esi, DWORD PTR SBP_THUMBBTNHORZ[rip]
	mov	r14, rsp
	push	r14
	.cfi_def_cfa_offset 136
	push	r13
	.cfi_def_cfa_offset 144
	call	SCROLL_ThemeDrawPart@PLT
	push	r14
	.cfi_def_cfa_offset 152
	mov	edx, DWORD PTR BUTTON_NORMAL[rip]
	mov	r9d, ebx
	push	r13
	.cfi_def_cfa_offset 160
	mov	r8d, DWORD PTR SCROLL_THUMB[rip]
	mov	rcx, r12
	mov	rdi, rbp
	mov	esi, DWORD PTR SBP_GRIPPERHORZ[rip]
	call	SCROLL_ThemeDrawPart@PLT
	add	rsp, 32
	.cfi_def_cfa_offset 128
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	movdqa	xmm4, XMMWORD PTR [rsp]
	lea	rax, 32[rsp]
	test	rcx, rcx
	mov	edx, r10d
	movdqa	xmm5, XMMWORD PTR 16[rsp]
	mov	esi, DWORD PTR SBP_UPPERTRACKVERT[rip]
	mov	rcx, r12
	mov	rdi, rbp
	movaps	XMMWORD PTR 32[rsp], xmm4
	cmove	esi, DWORD PTR SBP_UPPERTRACKHORZ[rip]
	mov	r8d, DWORD PTR SCROLL_THUMB[rip]
	xor	r9d, r9d
	movaps	XMMWORD PTR 48[rsp], xmm5
	push	rax
	.cfi_def_cfa_offset 136
	push	0
	.cfi_def_cfa_offset 144
	call	SCROLL_ThemeDrawPart@PLT
	pop	rax
	.cfi_def_cfa_offset 136
	pop	rdx
	.cfi_def_cfa_offset 128
	jmp	.L1
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	SCROLL_DrawInterior, .-SCROLL_DrawInterior
	.comm	SCROLL_TOP_RECT,4,4
	.comm	SCROLL_THUMB,4,4
	.comm	SCROLL_BOTTOM_RECT,4,4
	.comm	SBP_UPPERTRACKVERT,4,4
	.comm	SBP_UPPERTRACKHORZ,4,4
	.comm	SBP_THUMBBTNVERT,4,4
	.comm	SBP_THUMBBTNHORZ,4,4
	.comm	SBP_LOWERTRACKVERT,4,4
	.comm	SBP_LOWERTRACKHORZ,4,4
	.comm	SBP_GRIPPERVERT,4,4
	.comm	SBP_GRIPPERHORZ,4,4
	.comm	BUTTON_NORMAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_ncscrollbar.c_SCROLL_DrawInterior.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	SCROLL_DrawInterior, %function
SCROLL_DrawInterior:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	lr, .L24
	sub	sp, sp, #60
	mov	ip, r2
	subs	r8, r3, #0
	add	r2, r1, #12
	add	r4, sp, #20
	mov	r5, r1
	mov	r6, r0
	ldm	r2, {r0, r1, r2, r3}
	ldr	lr, [lr]
	str	lr, [sp, #52]
	mov	lr,#0
	ldr	r7, [sp, #100]
	stm	r4, {r0, r1, r2, r3}
	beq	.L2
	cmp	ip, #0
	ldrne	r3, [r6, #8]
	ldrne	r2, [r6]
	ldr	r1, [r5]
	subne	r3, r3, r2
	addne	ip, ip, r3
	ldr	r2, [sp, #20]
	ldr	r3, [sp, #24]
	add	r2, r2, r1
	sub	r3, r3, r1
	str	r2, [sp, #20]
	str	r3, [sp, #24]
	ldr	r2, [sp, #32]
	ldr	r3, [sp, #28]
.L4:
	cmp	r2, r3
	ble	.L1
	ldr	r2, [sp, #24]
	ldr	r3, [sp, #20]
	cmp	r2, r3
	ble	.L1
	ldr	r9, .L24+4
	cmp	ip, #0
	ldr	lr, [r9]
	beq	.L21
	ldr	r3, .L24+8
	cmp	r8, #0
	ldr	r10, [r3]
	bne	.L22
	ldr	r3, [sp, #96]
	add	r8, sp, #36
	ldr	fp, .L24+12
	str	r10, [sp]
	str	r8, [sp, #12]
	str	r7, [sp, #8]
	str	r3, [sp, #4]
	ldm	r4, {r0, r1, r2, r3}
	stm	r8, {r0, r1, r2, r3}
	mov	r2, lr
	ldr	r1, [fp]
	mov	r3, r5
	mov	r0, r6
	str	ip, [sp, #48]
	bl	SCROLL_ThemeDrawPart
	ldr	r3, .L24+16
	ldr	ip, [r5, #4]
	ldr	r10, [r3]
	ldr	r3, [r5, #8]
	ldr	fp, [sp, #48]
	sub	ip, ip, r3
	ldr	r3, [sp, #96]
	str	r8, [sp, #12]
	str	r7, [sp, #8]
	str	r3, [sp, #4]
	ldr	lr, .L24+20
	str	fp, [sp, #28]
	ldm	r4, {r0, r1, r2, r3}
	stm	r8, {r0, r1, r2, r3}
	ldr	r8, .L24+24
	str	r10, [sp]
	ldr	r1, [lr]
	add	ip, ip, fp
	mov	r3, r5
	ldr	r2, [r9]
	mov	r0, r6
	str	ip, [sp, #44]
	bl	SCROLL_ThemeDrawPart
	ldr	r2, [r8]
	ldr	r1, [sp, #96]
	ldr	r3, .L24+28
	str	r2, [sp]
	ldr	ip, [sp, #44]
	str	r4, [sp, #12]
	str	r7, [sp, #8]
	str	r1, [sp, #4]
	ldr	r1, [r3]
	mov	r0, r6
	mov	r3, r5
	ldr	r2, [r9]
	str	ip, [sp, #32]
	bl	SCROLL_ThemeDrawPart
	ldr	r3, [r8]
	ldr	r1, .L24+32
.L19:
	str	r3, [sp]
	ldr	r3, [sp, #96]
	str	r4, [sp, #12]
	str	r3, [sp, #4]
	str	r7, [sp, #8]
	mov	r3, r5
	mov	r0, r6
	ldr	r2, [r9]
	ldr	r1, [r1]
	bl	SCROLL_ThemeDrawPart
.L1:
	ldr	r3, .L24
	ldr	r2, [r3]
	ldr	r3, [sp, #52]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L23
	add	sp, sp, #60
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L2:
	cmp	ip, #0
	ldrne	r3, [r6, #12]
	ldrne	r2, [r6, #4]
	ldr	r1, [r5]
	subne	r3, r3, r2
	addne	ip, ip, r3
	ldr	r2, [sp, #32]
	ldr	r3, [sp, #28]
	sub	r2, r2, r1
	add	r3, r1, r3
	str	r3, [sp, #28]
	str	r2, [sp, #32]
	b	.L4
.L22:
	ldr	r8, [sp, #96]
	ldm	r4, {r0, r1, r2, r3}
	ldr	fp, .L24+36
	str	r8, [sp, #4]
	add	r8, sp, #36
	str	r10, [sp]
	str	r8, [sp, #12]
	str	r7, [sp, #8]
	stm	r8, {r0, r1, r2, r3}
	mov	r2, lr
	ldr	r1, [fp]
	mov	r3, r5
	mov	r0, r6
	str	ip, [sp, #40]
	bl	SCROLL_ThemeDrawPart
	ldr	r3, .L24+16
	ldr	ip, [r5, #4]
	ldr	r10, [r3]
	ldr	r3, [r5, #8]
	ldr	fp, [sp, #40]
	sub	ip, ip, r3
	ldr	r3, [sp, #96]
	str	r8, [sp, #12]
	str	r7, [sp, #8]
	str	r3, [sp, #4]
	ldr	lr, .L24+40
	str	fp, [sp, #20]
	ldm	r4, {r0, r1, r2, r3}
	stm	r8, {r0, r1, r2, r3}
	ldr	r8, .L24+24
	str	r10, [sp]
	ldr	r1, [lr]
	add	ip, ip, fp
	mov	r3, r5
	ldr	r2, [r9]
	mov	r0, r6
	str	ip, [sp, #36]
	bl	SCROLL_ThemeDrawPart
	ldr	r2, [r8]
	ldr	r1, [sp, #96]
	ldr	r3, .L24+44
	str	r2, [sp]
	ldr	ip, [sp, #36]
	str	r4, [sp, #12]
	str	r7, [sp, #8]
	str	r1, [sp, #4]
	ldr	r1, [r3]
	mov	r0, r6
	mov	r3, r5
	ldr	r2, [r9]
	str	ip, [sp, #24]
	bl	SCROLL_ThemeDrawPart
	ldr	r3, [r8]
	ldr	r1, .L24+48
	b	.L19
.L21:
	ldm	r4, {r0, r1, r2, r3}
	mov	r4, #0
	add	ip, sp, #36
	cmp	r8, #0
	stm	ip, {r0, r1, r2, r3}
	ldrne	r3, .L24+40
	ldreq	r3, .L24+20
	mov	r2, lr
	ldr	r1, [r3]
	ldr	r3, .L24+24
	str	ip, [sp, #12]
	ldr	ip, [r3]
	mov	r0, r6
	mov	r3, r5
	str	ip, [sp]
	str	r4, [sp, #8]
	str	r4, [sp, #4]
	bl	SCROLL_ThemeDrawPart
	b	.L1
.L23:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	.LC0
	.word	BUTTON_NORMAL
	.word	SCROLL_TOP_RECT
	.word	SBP_LOWERTRACKHORZ
	.word	SCROLL_BOTTOM_RECT
	.word	SBP_UPPERTRACKHORZ
	.word	SCROLL_THUMB
	.word	SBP_THUMBBTNHORZ
	.word	SBP_GRIPPERHORZ
	.word	SBP_LOWERTRACKVERT
	.word	SBP_UPPERTRACKVERT
	.word	SBP_THUMBBTNVERT
	.word	SBP_GRIPPERVERT
	.size	SCROLL_DrawInterior, .-SCROLL_DrawInterior
	.comm	SCROLL_TOP_RECT,4,4
	.comm	SCROLL_THUMB,4,4
	.comm	SCROLL_BOTTOM_RECT,4,4
	.comm	SBP_UPPERTRACKVERT,4,4
	.comm	SBP_UPPERTRACKHORZ,4,4
	.comm	SBP_THUMBBTNVERT,4,4
	.comm	SBP_THUMBBTNHORZ,4,4
	.comm	SBP_LOWERTRACKVERT,4,4
	.comm	SBP_LOWERTRACKHORZ,4,4
	.comm	SBP_GRIPPERVERT,4,4
	.comm	SBP_GRIPPERHORZ,4,4
	.comm	BUTTON_NORMAL,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
