	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_next_exported_ap           ## -- Begin function get_next_exported_ap
	.p2align	4, 0x90
_get_next_exported_ap:                  ## @get_next_exported_ap
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movslq	(%rdi), %rcx
	movq	_exported_ap@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	incq	%rcx
	movq	_exported_ap_size@GOTPCREL(%rip), %rsi
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, (%rdi)
	movslq	(%rsi), %rax
	cmpq	%rax, %rcx
	jge	LBB0_2
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%rdx,%rcx,8), %rax
	incq	%rcx
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	popq	%rbp
	retq
LBB0_2:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_exported_ap_size,4,2           ## @exported_ap_size
	.comm	_exported_ap,8,3                ## @exported_ap
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_get_next_exported_ap           ; -- Begin function get_next_exported_ap
	.p2align	2
_get_next_exported_ap:                  ; @get_next_exported_ap
	.cfi_startproc
; %bb.0:
	ldrsw	x8, [x0]
Lloh0:
	adrp	x9, _exported_ap@GOTPAGE
Lloh1:
	ldr	x9, [x9, _exported_ap@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x10, x8, #1
Lloh3:
	adrp	x11, _exported_ap_size@GOTPAGE
Lloh4:
	ldr	x11, [x11, _exported_ap_size@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	str	w10, [x0]
	ldrsw	x8, [x11]
	cmp	x10, x8
	b.ge	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x8, [x9, x10, lsl #3]
	add	x10, x10, #1
	cbz	x8, LBB0_1
; %bb.3:
	mov	x0, x8
	ret
LBB0_4:
	mov	x0, #0
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_exported_ap_size,4,2           ; @exported_ap_size
	.comm	_exported_ap,8,3                ; @exported_ap
.subsections_via_symbols
