	.file	"extr_imgedwnd.c_EditWndUpdateScrollInfo.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	EditWndUpdateScrollInfo, @function
EditWndUpdateScrollInfo:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rdi
	sub	rsp, 72
	.cfi_def_cfa_offset 96
	mov	edi, DWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rax
	xor	eax, eax
	mov	rsi, rsp
	lea	r12, 16[rsp]
	call	GetClientRect@PLT
	mov	eax, DWORD PTR SIF_PAGE[rip]
	mov	rdx, QWORD PTR 8[rsp]
	mov	DWORD PTR 16[rsp], 32
	or	eax, DWORD PTR SIF_RANGE[rip]
	mov	ecx, DWORD PTR TRUE[rip]
	mov	QWORD PTR 40[rsp], 0
	mov	esi, DWORD PTR SB_HORZ[rip]
	mov	edi, DWORD PTR [rbx]
	mov	DWORD PTR 20[rsp], eax
	mov	eax, DWORD PTR IMAGE_FRAME_SIZE[rip]
	add	eax, eax
	cdqe
	sub	rdx, rax
	mov	eax, DWORD PTR 8[rbx]
	mov	QWORD PTR 32[rsp], rdx
	mov	rdx, r12
	mov	DWORD PTR 24[rsp], eax
	call	SetScrollInfo@PLT
	mov	eax, DWORD PTR IMAGE_FRAME_SIZE[rip]
	mov	edi, DWORD PTR [rbx]
	mov	rdx, r12
	mov	rcx, QWORD PTR [rsp]
	mov	esi, DWORD PTR SB_VERT[rip]
	add	eax, eax
	cdqe
	sub	rcx, rax
	mov	eax, DWORD PTR 4[rbx]
	mov	QWORD PTR 32[rsp], rcx
	mov	ecx, DWORD PTR TRUE[rip]
	mov	DWORD PTR 24[rsp], eax
	call	SetScrollInfo@PLT
	mov	rax, QWORD PTR 56[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L5
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L5:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	EditWndUpdateScrollInfo, .-EditWndUpdateScrollInfo
	.comm	TRUE,4,4
	.comm	SIF_RANGE,4,4
	.comm	SIF_PAGE,4,4
	.comm	SB_VERT,4,4
	.comm	SB_HORZ,4,4
	.comm	IMAGE_FRAME_SIZE,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_imgedwnd.c_EditWndUpdateScrollInfo.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	EditWndUpdateScrollInfo, %function
EditWndUpdateScrollInfo:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	sub	sp, sp, #32
	ldr	r3, .L6
	mov	r1, sp
	ldr	r0, [r0]
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	bl	GetClientRect
	mov	lr, #20
	mov	ip, #0
	ldr	r3, .L6+4
	ldr	r6, .L6+8
	ldr	r2, .L6+12
	ldr	r5, [r3]
	ldr	r1, [r6]
	ldr	r2, [r2]
	ldr	r3, [sp, #4]
	ldr	r0, [r4, #8]
	orr	r2, r2, r5
	sub	r3, r3, r1, lsl #1
	ldr	r5, .L6+16
	ldr	r1, .L6+20
	str	r0, [sp, #16]
	ldr	r1, [r1]
	str	r2, [sp, #12]
	str	r3, [sp, #20]
	add	r2, sp, #8
	ldr	r3, [r5]
	ldr	r0, [r4]
	str	lr, [sp, #8]
	str	ip, [sp, #24]
	bl	SetScrollInfo
	ldr	r0, [r6]
	ldr	ip, [sp]
	ldr	r1, .L6+24
	ldr	lr, [r4, #4]
	sub	ip, ip, r0, lsl #1
	ldr	r3, [r5]
	add	r2, sp, #8
	ldr	r0, [r4]
	ldr	r1, [r1]
	str	ip, [sp, #20]
	str	lr, [sp, #16]
	bl	SetScrollInfo
	ldr	r3, .L6
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L5
	mov	r0, #0
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L5:
	bl	__stack_chk_fail
.L7:
	.align	2
.L6:
	.word	.LC0
	.word	SIF_RANGE
	.word	IMAGE_FRAME_SIZE
	.word	SIF_PAGE
	.word	TRUE
	.word	SB_HORZ
	.word	SB_VERT
	.size	EditWndUpdateScrollInfo, .-EditWndUpdateScrollInfo
	.comm	TRUE,4,4
	.comm	SIF_RANGE,4,4
	.comm	SIF_PAGE,4,4
	.comm	SB_VERT,4,4
	.comm	SB_HORZ,4,4
	.comm	IMAGE_FRAME_SIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
