	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function check_loop
_check_loop:                            ## @check_loop
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$48, %rsp
	movq	(%rdi), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	leaq	-40(%rbp), %r8
	movq	$0, -40(%rbp)
	xorps	%xmm0, %xmm0
	movups	%xmm0, -24(%rbp)
	movq	_check_loop_fn@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movl	%edx, -48(%rbp)
	movq	%rsi, -8(%rbp)
	movq	%r8, %rsi
	callq	*(%rcx)
	movq	_ELOOP@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	cmpq	$0, -40(%rbp)
	cmovel	%edx, %eax
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
LBB0_3:
	addq	$48, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_check_loop_fn,4,2              ## @check_loop_fn
	.comm	_ELOOP,4,2                      ## @ELOOP
	.no_dead_strip	_check_loop
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function check_loop
_check_loop:                            ; @check_loop
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	x8, [x0]
	ldr	x9, [x8]
	cbz	x9, LBB0_2
; %bb.1:
	mov	x8, sp
	add	x8, x8, #8
	str	xzr, [sp, #8]
Lloh0:
	adrp	x10, _check_loop_fn@GOTPAGE
Lloh1:
	ldr	x10, [x10, _check_loop_fn@GOTPAGEOFF]
	stp	xzr, xzr, [sp, #24]
Lloh2:
	ldr	w10, [x10]
	str	w10, [sp, #16]
	str	w2, [sp]
	str	x1, [sp, #40]
	ldr	x9, [x9]
	mov	x1, x8
	blr	x9
	ldr	x8, [sp, #8]
Lloh3:
	adrp	x9, _ELOOP@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ELOOP@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	x8, #0
	csneg	w0, wzr, w9, eq
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_check_loop_fn,4,2              ; @check_loop_fn
	.comm	_ELOOP,4,2                      ; @ELOOP
	.no_dead_strip	_check_loop
.subsections_via_symbols
