	.file	"extr_ozone_sidebar.c_ozone_get_selected_sidebar_y_position.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	ozone_get_selected_sidebar_y_position
	.type	ozone_get_selected_sidebar_y_position, @function
ozone_get_selected_sidebar_y_position:
.LFB0:
	.cfi_startproc
	endbr64
	mov	ecx, DWORD PTR [rdi]
	mov	esi, DWORD PTR 12[rdi]
	mov	edx, DWORD PTR 8[rdi]
	lea	eax, -1[rcx]
	imul	edx, ecx
	imul	eax, esi
	add	eax, edx
	add	eax, DWORD PTR 16[rdi]
	cmp	ecx, DWORD PTR 4[rdi]
	jle	.L2
	lea	eax, 1[rsi+rax]
.L2:
	ret
	.cfi_endproc
.LFE0:
	.size	ozone_get_selected_sidebar_y_position, .-ozone_get_selected_sidebar_y_position
	.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_ozone_sidebar.c_ozone_get_selected_sidebar_y_position.c"
	.text
	.align	2
	.global	ozone_get_selected_sidebar_y_position
	.syntax unified
	.arm
	.fpu softvfp
	.type	ozone_get_selected_sidebar_y_position, %function
ozone_get_selected_sidebar_y_position:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r0]
	ldr	ip, [r0, #12]
	sub	r3, r2, #1
	mul	r1, ip, r3
	ldr	r3, [r0, #8]
	str	lr, [sp, #-4]!
	mla	r3, r2, r3, r1
	ldr	lr, [r0, #4]
	ldr	r0, [r0, #16]
	cmp	r2, lr
	add	r0, r3, r0
	addgt	ip, ip, #1
	addgt	r0, r0, ip
	ldr	pc, [sp], #4
	.size	ozone_get_selected_sidebar_y_position, .-ozone_get_selected_sidebar_y_position
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
