	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_random_check_query             ## -- Begin function random_check_query
	.p2align	4, 0x90
_random_check_query:                    ## @random_check_query
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %r14
	movl	%edi, %ebx
	leaq	L_.str(%rip), %rsi
	movl	$2, %edi
	movl	%ebx, %edx
	movq	%r14, %rcx
	movl	%r12d, %r8d
	callq	_vkprintf
	movq	%r14, %rdi
	movl	%r12d, %esi
	callq	_eat_at
	movq	_mct_get@GOTPCREL(%rip), %rcx
	movl	$1, %r15d
	cmpl	%ebx, (%rcx)
	jne	LBB0_6
## %bb.1:
	subl	%eax, %r12d
	cmpl	$6, %r12d
	jl	LBB0_2
## %bb.3:
	cltq
	addq	%rax, %r14
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	movl	$6, %edx
	callq	_memcmp
	testl	%eax, %eax
	je	LBB0_6
## %bb.4:
	movl	$0, %r15d
	cmpl	$10, %r12d
	jb	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	movl	$10, %edx
	callq	_memcmp
	xorl	%r15d, %r15d
	testl	%eax, %eax
	sete	%r15b
	jmp	LBB0_6
LBB0_2:
	xorl	%r15d, %r15d
LBB0_6:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"random_check: type = %d, key = %s, key_len = %d\n"

	.comm	_mct_get,4,2                    ## @mct_get
L_.str.1:                               ## @.str.1
	.asciz	"random"

L_.str.2:                               ## @.str.2
	.asciz	"hex_random"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_random_check_query             ; -- Begin function random_check_query
	.p2align	2
_random_check_query:                    ; @random_check_query
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x2
	mov	x19, x1
	mov	x21, x0
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w0, #2
	mov	x2, x21
	mov	x3, x19
	mov	x4, x20
	bl	_vkprintf
	mov	x0, x19
	mov	x1, x20
	bl	_eat_at
Lloh2:
	adrp	x8, _mct_get@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mct_get@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	cmp	w8, w21
	b.ne	LBB0_5
; %bb.1:
	sub	w20, w20, w0
	cmp	w20, #6
	b.lt	LBB0_6
; %bb.2:
	add	x19, x19, w0, sxtw
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w2, #6
	bl	_memcmp
	cbz	w0, LBB0_5
; %bb.3:
	cmp	w20, #10
	b.lo	LBB0_6
; %bb.4:
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w2, #10
	bl	_memcmp
	cmp	w0, #0
	cset	w0, eq
	b	LBB0_7
LBB0_5:
	mov	w0, #1
	b	LBB0_7
LBB0_6:
	mov	w0, #0
LBB0_7:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"random_check: type = %d, key = %s, key_len = %d\n"

	.comm	_mct_get,4,2                    ; @mct_get
l_.str.1:                               ; @.str.1
	.asciz	"random"

l_.str.2:                               ; @.str.2
	.asciz	"hex_random"

.subsections_via_symbols
