	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_qname                    ## -- Begin function check_qname
	.p2align	4, 0x90
_check_qname:                           ## @check_qname
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_13
## %bb.1:
	movq	%rsi, %r15
	movq	%rdi, %rbx
	callq	_get_qtype
	cmpq	%r15, %rax
	jne	LBB0_13
## %bb.2:
	movq	_MAX_QNAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	testl	%esi, %esi
	js	LBB0_3
## %bb.4:
	leaq	1(%rsi), %rdi
	xorl	%edx, %edx
	jmp	LBB0_5
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_5 Depth=1
	incq	%rdx
	cmpq	%rdx, %rdi
	je	LBB0_12
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx,%rdx), %ecx
	testb	%cl, %cl
	je	LBB0_11
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movl	%ecx, %eax
	andb	$-33, %al
	addb	$-65, %al
	cmpb	$26, %al
	jb	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	cmpb	$95, %cl
	je	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_5 Depth=1
	addb	$-48, %cl
	cmpb	$9, %cl
	jbe	LBB0_10
## %bb.9:
	xorl	%r14d, %r14d
	jmp	LBB0_13
LBB0_3:
	xorl	%edi, %edi
	jmp	LBB0_12
LBB0_11:
	movl	%edx, %edi
LBB0_12:
	testl	%edi, %edi
	setne	%al
	cmpl	%esi, %edi
	setle	%cl
	andb	%al, %cl
	movzbl	%cl, %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_QNAME,4,2                  ## @MAX_QNAME
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_check_qname                    ; -- Begin function check_qname
	.p2align	2
_check_qname:                           ; @check_qname
	.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
	cbz	x0, LBB0_12
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	bl	_get_qtype
	cmp	x0, x20
	b.ne	LBB0_8
; %bb.2:
Lloh0:
	adrp	x8, _MAX_QNAME@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_QNAME@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tbnz	w8, #31, LBB0_9
; %bb.3:
	mov	x10, #0
	add	x9, x8, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x10, x10, #1
	cmp	x9, x10
	b.eq	LBB0_11
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x19, x10]
	cbz	w11, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	and	w12, w11, #0xffffffdf
	sub	w12, w12, #65
	cmp	w12, #26
	b.lo	LBB0_4
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	sub	w12, w11, #48
	cmp	w11, #95
	ccmp	w12, #9, #0, ne
	b.ls	LBB0_4
LBB0_8:
	mov	w0, #0
	b	LBB0_12
LBB0_9:
	mov	w9, #0
	b	LBB0_11
LBB0_10:
	mov	x9, x10
LBB0_11:
	cmp	w9, #0
	ccmp	w9, w8, #0, ne
	cset	w0, le
LBB0_12:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_QNAME,4,2                  ; @MAX_QNAME
.subsections_via_symbols
