	.file	"extr_xdaliclock.c_draw_horizontal_line.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	draw_horizontal_line, @function
draw_horizontal_line:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	r15d, ecx
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	mov	r14, rdi
	xor	edi, edi
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13d, r9d
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movsx	r12, esi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	ebp, edx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	ebx, r8d
	sub	rsp, 24
	.cfi_def_cfa_offset 80
	cmp	r12d, r8d
	setg	dil
	call	UNLIKELY@PLT
	xor	r8d, r8d
	cmp	ebx, ebp
	setl	r8b
	test	rax, rax
	je	.L17
	mov	edi, r8d
	movsx	r12, ebx
	call	UNLIKELY@PLT
	test	rax, rax
	jne	.L1
.L9:
	mov	edi, ebp
	shr	edi, 31
	call	UNLIKELY@PLT
	test	rax, rax
	mov	eax, 0
	cmovne	ebp, eax
.L4:
	cmp	ebp, r12d
	je	.L1
	jge	.L7
	mov	eax, r12d
	movsx	r12, ebp
	mov	ebp, eax
.L7:
	imul	ebx, r15d
	mov	rax, QWORD PTR [r14]
	sub	ebp, r12d
	mov	esi, r13d
	movsx	rdx, ebp
	movsx	rdi, ebx
	add	rdi, QWORD PTR [rax]
	add	rsp, 24
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	add	rdi, r12
	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
	jmp	memset@PLT
	.p2align 4,,10
	.p2align 3
.L1:
	.cfi_restore_state
	add	rsp, 24
	.cfi_remember_state
	.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
	.p2align 4,,10
	.p2align 3
.L17:
	.cfi_restore_state
	mov	edi, r12d
	mov	DWORD PTR 12[rsp], r8d
	shr	edi, 31
	call	UNLIKELY@PLT
	mov	r8d, DWORD PTR 12[rsp]
	test	rax, rax
	mov	eax, 0
	mov	edi, r8d
	cmovne	r12, rax
	call	UNLIKELY@PLT
	test	rax, rax
	je	.L9
	mov	ebp, ebx
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	draw_horizontal_line, .-draw_horizontal_line
	.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_xdaliclock.c_draw_horizontal_line.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	draw_horizontal_line, %function
draw_horizontal_line:
	@ args = 8, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r6, [sp, #32]
	mov	r7, r0
	cmp	r1, r6
	movle	r0, #0
	movgt	r0, #1
	mov	r5, r2
	mov	r4, r1
	mov	r8, r3
	ldr	r10, [sp, #36]
	bl	UNLIKELY
	cmp	r6, r5
	movge	r9, #0
	movlt	r9, #1
	cmp	r0, #0
	beq	.L19
	mov	r0, r9
	bl	UNLIKELY
	cmp	r0, #0
	moveq	r4, r6
	popne	{r4, r5, r6, r7, r8, r9, r10, pc}
.L9:
	lsr	r0, r5, #31
	bl	UNLIKELY
	cmp	r0, #0
	movne	r5, #0
	cmp	r5, r4
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
.L20:
	movlt	r3, r4
	movlt	r4, r5
	movlt	r5, r3
	ldr	r3, [r7]
	mov	r1, r10
	ldr	r0, [r3]
	sub	r2, r5, r4
	mla	r0, r8, r6, r0
	add	r0, r0, r4
	pop	{r4, r5, r6, r7, r8, r9, r10, lr}
	b	memset
.L19:
	lsr	r0, r4, #31
	bl	UNLIKELY
	mov	r3, r0
	mov	r0, r9
	cmp	r3, #0
	movne	r4, #0
	bl	UNLIKELY
	cmp	r0, #0
	movne	r5, r6
	beq	.L9
	cmp	r5, r4
	bne	.L20
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
	.size	draw_horizontal_line, .-draw_horizontal_line
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
