	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_keep_on_fetching_validx        ## -- Begin function keep_on_fetching_validx
	.p2align	4, 0x90
_keep_on_fetching_validx:               ## @keep_on_fetching_validx
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	incl	%r12d
	cmpl	%edx, %r12d
	jge	LBB0_8
## %bb.1:
	movl	%edx, %r14d
	movq	%rdi, %r15
	movslq	%r12d, %rax
	leaq	(%rsi,%rax,8), %rbx
	addq	$4, %rbx
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_3:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	$0, (%rsp)
	movq	%r15, %rdi
	movl	$64, %esi
	movl	$1, %edx
	xorl	%r9d, %r9d
	callq	_ctrl_out
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	incl	%r12d
	addq	$8, %rbx
	cmpl	%r12d, %r14d
	je	LBB0_7
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movl	-4(%rbx), %r8d
	movl	(%rbx), %ecx
	cmpl	$65535, %r8d                    ## imm = 0xFFFF
	jne	LBB0_3
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	cmpl	$65535, %ecx                    ## imm = 0xFFFF
	je	LBB0_8
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	%ecx, %edi
	callq	_msleep
	jmp	LBB0_6
LBB0_7:
	movl	%r14d, %r12d
LBB0_8:
	movl	%r12d, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_keep_on_fetching_validx        ; -- Begin function keep_on_fetching_validx
	.p2align	2
_keep_on_fetching_validx:               ; @keep_on_fetching_validx
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	add	w19, w3, #1
	cmp	w19, w2
	b.ge	LBB0_8
; %bb.1:
	mov	x20, x2
	mov	x21, x0
	add	x8, x1, w19, sxtw #3
	add	x22, x8, #4
	mov	w23, #65535
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x21
	mov	w1, #64
	mov	w2, #1
	mov	w5, #0
	mov	x6, #0
	bl	_ctrl_out
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	w19, w19, #1
	add	x22, x22, #8
	cmp	w20, w19
	b.eq	LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	w4, w3, [x22, #-4]
	cmp	w4, w23
	b.ne	LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w3, w23
	b.eq	LBB0_8
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x0, x3
	bl	_msleep
	b	LBB0_3
LBB0_7:
	mov	x19, x20
LBB0_8:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
