	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LISTBOX_GetCurrentPageSize
_LISTBOX_GetCurrentPageSize:            ## @LISTBOX_GetCurrentPageSize
	.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_1
## %bb.2:
	movq	16(%rdi), %r8
	movq	24(%rdi), %rdx
	movq	%r8, %rcx
	cmpq	%rdx, %r8
	jae	LBB0_7
## %bb.3:
	movq	32(%rdi), %rsi
	movq	40(%rdi), %rdi
	xorl	%eax, %eax
	movq	%r8, %rcx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	addq	(%rdi,%rcx,8), %rax
	cmpq	%rsi, %rax
	ja	LBB0_7
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%rcx
	cmpq	%rcx, %rdx
	jne	LBB0_4
## %bb.6:
	movq	%rdx, %rcx
LBB0_7:
	subq	%r8, %rcx
	movl	$1, %eax
	cmovneq	%rcx, %rax
	popq	%rbp
	retq
LBB0_1:
	movq	8(%rdi), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LBS_OWNERDRAWVARIABLE,4,2      ## @LBS_OWNERDRAWVARIABLE
	.no_dead_strip	_LISTBOX_GetCurrentPageSize
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LISTBOX_GetCurrentPageSize
_LISTBOX_GetCurrentPageSize:            ; @LISTBOX_GetCurrentPageSize
	.cfi_startproc
; %bb.0:
	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_6
; %bb.1:
	ldp	x8, x9, [x0, #16]
	cmp	x8, x9
	b.hs	LBB0_7
; %bb.2:
	mov	x11, #0
	ldp	x13, x12, [x0, #32]
	mov	x10, x8
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x14, [x12, x10, lsl #3]
	add	x11, x14, x11
	cmp	x11, x13
	b.hi	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x9, x10
	b.ne	LBB0_3
; %bb.5:
	mov	x10, x9
	b	LBB0_8
LBB0_6:
	ldr	x0, [x0, #8]
	ret
LBB0_7:
	mov	x10, x8
LBB0_8:
	subs	x8, x10, x8
	csinc	x0, x8, xzr, ne
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_LBS_OWNERDRAWVARIABLE,4,2      ; @LBS_OWNERDRAWVARIABLE
	.no_dead_strip	_LISTBOX_GetCurrentPageSize
.subsections_via_symbols
