	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function LISTBOX_GetSelItems
_LISTBOX_GetSelItems:                   ## @LISTBOX_GetSelItems
	.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_MULTIPLESEL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rdi)
	je	LBB0_1
## %bb.2:
	movq	8(%rdi), %r9
	xorl	%eax, %eax
	testq	%r9, %r9
	jle	LBB0_9
## %bb.3:
	testq	%rsi, %rsi
	jle	LBB0_9
## %bb.4:
	movq	16(%rdi), %r8
	xorl	%eax, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	cmpq	$0, (%r8,%rcx,8)
	je	LBB0_7
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	%rcx, (%rdx,%rax,8)
	incq	%rax
	movq	8(%rdi), %r9
LBB0_7:                                 ##   in Loop: Header=BB0_5 Depth=1
	incq	%rcx
	cmpq	%r9, %rcx
	jge	LBB0_9
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpq	%rsi, %rax
	jl	LBB0_5
LBB0_9:
	popq	%rbp
	retq
LBB0_1:
	movq	_LB_ERR@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LBS_MULTIPLESEL,4,2            ## @LBS_MULTIPLESEL
	.comm	_LB_ERR,8,3                     ## @LB_ERR
	.no_dead_strip	_LISTBOX_GetSelItems
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function LISTBOX_GetSelItems
_LISTBOX_GetSelItems:                   ; @LISTBOX_GetSelItems
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0]
Lloh0:
	adrp	x9, _LBS_MULTIPLESEL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _LBS_MULTIPLESEL@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_8
; %bb.1:
	ldr	x9, [x0, #8]
	cmp	x9, #1
	mov	x8, #0
	ccmp	x1, #1, #8, ge
	b.lt	LBB0_7
; %bb.2:
	mov	x10, #0
	ldr	x11, [x0, #16]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x12, [x11, x10, lsl #3]
	cbz	x12, LBB0_5
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	str	x10, [x2, x8, lsl #3]
	add	x8, x8, #1
	ldr	x9, [x0, #8]
LBB0_5:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x10, x10, #1
	cmp	x10, x9
	b.ge	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_3 Depth=1
	cmp	x8, x1
	b.lt	LBB0_3
LBB0_7:
	mov	x0, x8
	ret
LBB0_8:
Lloh3:
	adrp	x8, _LB_ERR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LB_ERR@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_LBS_MULTIPLESEL,4,2            ; @LBS_MULTIPLESEL
	.comm	_LB_ERR,8,3                     ; @LB_ERR
	.no_dead_strip	_LISTBOX_GetSelItems
.subsections_via_symbols
