	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rdigit
_rdigit:                                ## @rdigit
	.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
	subq	$40, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	movaps	l___const.rdigit.a(%rip), %xmm0
	movaps	%xmm0, -48(%rbp)
	movabsq	$79167376768636756, %rax        ## imm = 0x119424F4A181754
	movq	%rax, -32(%rbp)
	xorl	%eax, %eax
	callq	_random
	movq	%rax, %rbx
	leaq	-48(%rbp), %rdi
	callq	_nitems
	movq	%rax, %rcx
	movq	%rbx, %rax
	orq	%rcx, %rax
	shrq	$32, %rax
	je	LBB0_1
## %bb.2:
	movq	%rbx, %rax
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_3
LBB0_1:
	movl	%ebx, %eax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_3:
	movb	-48(%rbp,%rdx), %al
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-16(%rbp), %rcx
	jne	LBB0_5
## %bb.4:
	addb	$32, %al
	movsbl	%al, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_5:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
	.p2align	4                               ## @__const.rdigit.a
l___const.rdigit.a:
	.ascii	"\020T\021HE\022O\023IS\024A\025\026NUT\027\030JOB\031\001"

	.no_dead_strip	_rdigit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rdigit
_rdigit:                                ; @rdigit
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	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
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
Lloh3:
	adrp	x8, l___const.rdigit.a@PAGE
Lloh4:
	add	x8, x8, l___const.rdigit.a@PAGEOFF
	ldr	q0, [x8]
	str	q0, [sp]
	ldr	x8, [x8, #16]
	str	x8, [sp, #16]
	bl	_random
	mov	x19, x0
	mov	x20, sp
	mov	x0, sp
	bl	_nitems
	udiv	x8, x19, x0
	msub	x8, x8, x0, x19
	ldrb	w8, [x20, x8]
	ldr	x9, [sp, #24]
Lloh5:
	adrp	x10, ___stack_chk_guard@GOTPAGE
Lloh6:
	ldr	x10, [x10, ___stack_chk_guard@GOTPAGEOFF]
Lloh7:
	ldr	x10, [x10]
	cmp	x10, x9
	b.ne	LBB0_2
; %bb.1:
	add	w8, w8, #32
	sxtb	w0, w8
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l___const.rdigit.a:                     ; @__const.rdigit.a
	.ascii	"\020T\021HE\022O\023IS\024A\025\026NUT\027\030JOB\031\001"

	.no_dead_strip	_rdigit
.subsections_via_symbols
