	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function next_qid
_next_qid:                              ## @next_qid
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_next_qid.qid(%rip), %rax
	testq	%rax, %rax
	jne	LBB0_2
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%eax, %eax
	callq	_lrand48
	movq	%rax, %rbx
	shlq	$31, %rbx
	xorl	%eax, %eax
	callq	_lrand48
	orq	%rbx, %rax
	movq	%rax, _next_qid.qid(%rip)
	je	LBB0_1
LBB0_2:
	leaq	1(%rax), %rcx
	cmpq	$-1, %rax
	movl	$1, %eax
	cmovgeq	%rcx, %rax
	movq	%rax, _next_qid.qid(%rip)
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.zerofill __DATA,__bss,_next_qid.qid,8,3 ## @next_qid.qid
	.no_dead_strip	_next_qid
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function next_qid
_next_qid:                              ; @next_qid
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	adrp	x20, _next_qid.qid@PAGE
	ldr	x8, [x20, _next_qid.qid@PAGEOFF]
	cbnz	x8, LBB0_2
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	bl	_lrand48
	mov	x19, x0
	bl	_lrand48
	orr	x8, x0, x19, lsl #31
	str	x8, [x20, _next_qid.qid@PAGEOFF]
	cbz	x8, LBB0_1
LBB0_2:
	cmn	x8, #1
	mov	w9, #1
	csinc	x0, x9, x8, lt
	str	x0, [x20, _next_qid.qid@PAGEOFF]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.zerofill __DATA,__bss,_next_qid.qid,8,3 ; @next_qid.qid
	.no_dead_strip	_next_qid
.subsections_via_symbols
