	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LISTBOX_GetItemHeight
_LISTBOX_GetItemHeight:                 ## @LISTBOX_GetItemHeight
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_LBS_OWNERDRAWVARIABLE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_5
## %bb.1:
	movq	8(%rdi), %rax
	testq	%rax, %rax
	jle	LBB0_5
## %bb.2:
	cmpq	%rsi, %rax
	jbe	LBB0_3
## %bb.4:
	shlq	$2, %rsi
	addq	24(%rdi), %rsi
	movq	%rsi, %rdi
	jmp	LBB0_6
LBB0_5:
	addq	$16, %rdi
	jmp	LBB0_6
LBB0_3:
	movq	_ERROR_INVALID_INDEX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_SetLastError
	movq	_LB_ERR@GOTPCREL(%rip), %rdi
LBB0_6:
	movl	(%rdi), %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LBS_OWNERDRAWVARIABLE,4,2      ## @LBS_OWNERDRAWVARIABLE
	.comm	_ERROR_INVALID_INDEX,4,2        ## @ERROR_INVALID_INDEX
	.comm	_LB_ERR,4,2                     ## @LB_ERR
	.no_dead_strip	_LISTBOX_GetItemHeight
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LISTBOX_GetItemHeight
_LISTBOX_GetItemHeight:                 ; @LISTBOX_GetItemHeight
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _LBS_OWNERDRAWVARIABLE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LBS_OWNERDRAWVARIABLE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_4
; %bb.1:
	ldr	x8, [x0, #8]
	cmp	x8, #1
	b.lt	LBB0_4
; %bb.2:
	cmp	x8, x1
	b.ls	LBB0_5
; %bb.3:
	ldr	x8, [x0, #24]
	add	x8, x8, x1, lsl #2
	b	LBB0_6
LBB0_4:
	add	x8, x0, #16
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _ERROR_INVALID_INDEX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ERROR_INVALID_INDEX@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_SetLastError
Lloh6:
	adrp	x8, _LB_ERR@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LB_ERR@GOTPAGEOFF]
LBB0_6:
	ldr	w0, [x8]
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LBS_OWNERDRAWVARIABLE,4,2      ; @LBS_OWNERDRAWVARIABLE
	.comm	_ERROR_INVALID_INDEX,4,2        ; @ERROR_INVALID_INDEX
	.comm	_LB_ERR,4,2                     ; @LB_ERR
	.no_dead_strip	_LISTBOX_GetItemHeight
.subsections_via_symbols
