	.file	"extr_paint.c_get_selection_rect.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	get_selection_rect, @function
get_selection_rect:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14d, ecx
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r8d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rdi
	xor	edi, edi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rsi
	mov	esi, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, r9
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	call	max@PLT
	mov	edi, DWORD PTR 0[rbp]
	mov	esi, r14d
	mov	r15d, eax
	call	min@PLT
	mov	edx, r15d
	mov	rsi, rbp
	mov	rdi, r12
	mov	ecx, DWORD PTR TRUE[rip]
	mov	r14d, eax
	call	ME_PointFromCharContext@PLT
	mov	edx, r14d
	mov	rsi, rbp
	mov	rdi, r12
	mov	QWORD PTR 24[rbx], rax
	mov	ecx, DWORD PTR TRUE[rip]
	mov	QWORD PTR 16[rbx], 0
	call	ME_PointFromCharContext@PLT
	mov	DWORD PTR [rbx], r13d
	mov	QWORD PTR 8[rbx], rax
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	get_selection_rect, .-get_selection_rect
	.comm	TRUE,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_paint.c_get_selection_rect.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	get_selection_rect, %function
get_selection_rect:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	mov	r4, r1
	mov	r6, r0
	mov	r1, r2
	mov	r0, #0
	mov	r7, r3
	ldr	r5, [sp, #36]
	ldr	r9, [sp, #32]
	bl	max
	mov	r1, r7
	mov	r8, r0
	ldr	r0, [r4]
	bl	min
	ldr	r10, .L4
	mov	r7, r0
	mov	r2, r8
	mov	r1, r4
	ldr	r3, [r10]
	mov	r0, r6
	bl	ME_PointFromCharContext
	mov	ip, #0
	mov	lr, r0
	mov	r2, r7
	mov	r1, r4
	mov	r0, r6
	ldr	r3, [r10]
	str	lr, [r5, #12]
	str	ip, [r5, #8]
	bl	ME_PointFromCharContext
	str	r9, [r5]
	str	r0, [r5, #4]
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L5:
	.align	2
.L4:
	.word	TRUE
	.size	get_selection_rect, .-get_selection_rect
	.comm	TRUE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
