	.file	"extr_fbcon_ud.c_ud_clear_margins.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	ud_clear_margins, @function
ud_clear_margins:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	r8d, edx
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 56
	.cfi_def_cfa_offset 80
	mov	edx, DWORD PTR 4[rdi]
	imul	edx, DWORD PTR 12[rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	mov	ebx, DWORD PTR 12[rsi]
	mov	eax, DWORD PTR [rdi]
	mov	DWORD PTR [rsp], r8d
	imul	eax, DWORD PTR 8[rdi]
	mov	esi, DWORD PTR 8[rsi]
	sub	ebx, edx
	mov	edx, DWORD PTR ROP_COPY[rip]
	mov	DWORD PTR 24[rsp], edx
	sub	esi, eax
	je	.L2
	test	ecx, ecx
	jne	.L2
	mov	rax, QWORD PTR 16[rbp]
	mov	DWORD PTR 4[rsp], esi
	mov	rdi, rbp
	mov	rsi, rsp
	mov	QWORD PTR 16[rsp], 0
	mov	QWORD PTR 8[rsp], rax
	mov	rax, QWORD PTR 0[rbp]
	call	[QWORD PTR [rax]]
.L2:
	test	ebx, ebx
	je	.L1
	mov	rax, QWORD PTR 24[rbp]
	mov	DWORD PTR 8[rsp], ebx
	mov	rsi, rsp
	mov	rdi, rbp
	mov	QWORD PTR 16[rsp], rax
	mov	eax, DWORD PTR 20[rbp]
	mov	DWORD PTR 12[rsp], eax
	mov	eax, DWORD PTR 8[rbp]
	mov	DWORD PTR 4[rsp], eax
	mov	rax, QWORD PTR 0[rbp]
	call	[QWORD PTR [rax]]
.L1:
	mov	rax, QWORD PTR 40[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L16
	add	rsp, 56
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ud_clear_margins, .-ud_clear_margins
	.comm	ROP_COPY,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_fbcon_ud.c_ud_clear_margins.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ud_clear_margins, %function
ud_clear_margins:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r1
	ldr	ip, [r0, #8]
	ldr	r1, [r0]
	ldr	lr, [r4, #4]
	mul	r1, ip, r1
	subs	r1, lr, r1
	movne	ip, #1
	moveq	ip, #0
	cmp	r3, #0
	movne	ip, #0
	ldr	r5, [r0, #4]
	ldr	r3, [r0, #12]
	ldr	r0, .L14
	mul	r3, r5, r3
	sub	sp, sp, #36
	str	r2, [sp, #4]
	ldr	r5, [r4, #8]
	ldr	r0, [r0]
	ldr	r2, .L14+4
	cmp	ip, #0
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	sub	r5, r5, r3
	str	r0, [sp, #24]
	beq	.L2
	mov	ip, #0
	ldr	r0, [r4, #16]
	ldr	r2, [r4, #12]
	ldr	r3, [r4]
	str	r1, [sp, #8]
	str	r0, [sp, #16]
	ldr	r3, [r3]
	mov	r0, r4
	str	ip, [sp, #20]
	str	r2, [sp, #12]
	add	r1, sp, #4
	blx	r3
.L2:
	cmp	r5, #0
	beq	.L1
	ldr	r0, [r4, #20]
	ldr	r1, [r4, #16]
	ldr	r2, [r4, #4]
	ldr	r3, [r4]
	str	r0, [sp, #20]
	str	r1, [sp, #16]
	mov	r0, r4
	ldr	r3, [r3]
	str	r5, [sp, #12]
	str	r2, [sp, #8]
	add	r1, sp, #4
	blx	r3
.L1:
	ldr	r3, .L14+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L13
	add	sp, sp, #36
	@ sp needed
	pop	{r4, r5, pc}
.L13:
	bl	__stack_chk_fail
.L15:
	.align	2
.L14:
	.word	ROP_COPY
	.word	.LC0
	.size	ud_clear_margins, .-ud_clear_margins
	.comm	ROP_COPY,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
