	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ozone_get_selected_sidebar_y_position ## -- Begin function ozone_get_selected_sidebar_y_position
	.p2align	4, 0x90
_ozone_get_selected_sidebar_y_position: ## @ozone_get_selected_sidebar_y_position
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %eax
	movl	12(%rdi), %ecx
	leal	1(%rcx), %edx
	xorl	%esi, %esi
	cmpl	4(%rdi), %eax
	cmovgl	%edx, %esi
	movl	8(%rdi), %edx
	imull	%eax, %edx
	decl	%eax
	imull	%ecx, %eax
	addl	%edx, %eax
	addl	16(%rdi), %eax
	addl	%esi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ozone_get_selected_sidebar_y_position ; -- Begin function ozone_get_selected_sidebar_y_position
	.p2align	2
_ozone_get_selected_sidebar_y_position: ; @ozone_get_selected_sidebar_y_position
	.cfi_startproc
; %bb.0:
	ldp	w8, w9, [x0, #8]
	ldr	w10, [x0, #16]
	ldp	w11, w12, [x0]
	cmp	w11, w12
	csinc	w12, wzr, w9, le
	mul	w8, w8, w11
	sub	w11, w11, #1
	madd	w8, w9, w11, w8
	add	w8, w8, w10
	add	w0, w8, w12
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
