	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function generate_a_aaaa_check
_generate_a_aaaa_check:                 ## @generate_a_aaaa_check
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r12
	movq	32(%rdi), %rax
	movq	(%rax), %rax
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %r14
	movq	16(%rsi), %rax
	movq	(%rax), %r15
	movl	8(%rsi), %edi
	callq	_log_assert
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %rax
	cmpq	(%r14), %rax
	je	LBB0_13
## %bb.1:
	movq	%r15, %r14
	movq	8(%r15), %r13
	addq	(%r15), %r13
	cmpq	16(%r15), %r13
	jae	LBB0_13
## %bb.2:
	movq	%r12, -64(%rbp)                 ## 8-byte Spill
	movq	%r14, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	4(%r15), %edi
	movl	12(%r15), %r12d
	callq	_ntohs
	movq	%rax, %r14
	movl	(%r15), %edi
	callq	_ntohs
	movl	%ebx, %edi
	leaq	L_.str(%rip), %rsi
	movl	%r12d, %edx
	movq	%r14, %rcx
	movq	%rax, %r8
	callq	_log_nametypeclass
	movl	12(%r15), %eax
	movl	%eax, -48(%rbp)                 ## 4-byte Spill
	movl	4(%r15), %edi
	movl	8(%r15), %r12d
	callq	_ntohs
	movq	%rax, %r14
	movl	(%r15), %edi
	callq	_ntohs
	movq	_INIT_REQUEST_STATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r10d
	movq	_FINISHED_STATE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	subq	$8, %rsp
	movl	-48(%rbp), %edi                 ## 4-byte Reload
	movl	%r12d, %esi
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r14, %rdx
	movq	-56(%rbp), %r14                 ## 8-byte Reload
	movq	%rax, %rcx
	movq	%r12, %r8
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	pushq	$1
	leaq	-80(%rbp), %rax
	pushq	%rax
	pushq	%rbx
	pushq	%r10
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_generate_sub_request
	addq	$48, %rsp
	testl	%eax, %eax
	je	LBB0_11
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	cmpq	16(%r14), %r13
	jae	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r14), %rax
	movq	(%rax,%r13,8), %r15
	movl	4(%r15), %edi
	callq	_ntohs
	movq	_LDNS_RR_TYPE_A@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	4(%r15), %edi
	callq	_ntohs
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	8(%r12), %rbx
	movl	4(%r15), %edi
	callq	_ntohs
	cmpq	%rax, %rbx
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	16(%r12), %rbx
	movl	(%r15), %edi
	callq	_ntohs
	cmpq	%rax, %rbx
	jne	LBB0_10
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	24(%r12), %edi
	movl	12(%r15), %esi
	callq	_query_dname_compare
	testq	%rax, %rax
	jne	LBB0_10
## %bb.8:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r12), %eax
	movq	_BIT_RD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	_BIT_CD@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	jne	LBB0_10
	jmp	LBB0_12
LBB0_11:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_verbose
LBB0_13:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LDNS_RR_TYPE_A,8,3             ## @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ## @LDNS_RR_TYPE_AAAA
	.comm	_BIT_RD,4,2                     ## @BIT_RD
	.comm	_BIT_CD,4,2                     ## @BIT_CD
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"schedule addr fetch"

	.comm	_INIT_REQUEST_STATE,4,2         ## @INIT_REQUEST_STATE
	.comm	_FINISHED_STATE,4,2             ## @FINISHED_STATE
L_.str.1:                               ## @.str.1
	.asciz	"could not generate addr check"

	.no_dead_strip	_generate_a_aaaa_check
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function generate_a_aaaa_check
_generate_a_aaaa_check:                 ; @generate_a_aaaa_check
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	ldr	x8, [x0, #32]
	ldr	x8, [x8]
	ldr	x22, [x8, w2, sxtw #3]
	ldr	x8, [x1, #16]
	ldr	x26, [x8]
	ldr	w0, [x1, #8]
	bl	_log_assert
	ldr	x8, [x20]
	ldr	x9, [x22]
	cmp	x8, x9
	b.eq	LBB0_13
; %bb.1:
	ldp	x8, x9, [x26]
	ldr	x10, [x26, #16]
	add	x27, x9, x8
	cmp	x27, x10
	b.hs	LBB0_13
; %bb.2:
Lloh0:
	adrp	x28, _LDNS_RR_TYPE_A@GOTPAGE
Lloh1:
	ldr	x28, [x28, _LDNS_RR_TYPE_A@GOTPAGEOFF]
	b	LBB0_5
LBB0_3:                                 ;   in Loop: Header=BB0_5 Depth=1
Lloh2:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh4:
	ldr	w23, [x8]
	ldr	w24, [x22, #12]
	ldr	w0, [x22, #4]
	bl	_ntohs
	mov	x25, x0
	ldr	w0, [x22]
	bl	_ntohs
	mov	x4, x0
	mov	x0, x23
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	mov	x2, x24
	mov	x3, x25
	bl	_log_nametypeclass
	ldp	w24, w23, [x22, #8]
	ldr	w0, [x22, #4]
	bl	_ntohs
	mov	x25, x0
	ldr	w0, [x22]
	bl	_ntohs
	mov	x3, x0
Lloh7:
	adrp	x8, _INIT_REQUEST_STATE@GOTPAGE
Lloh8:
	ldr	x8, [x8, _INIT_REQUEST_STATE@GOTPAGEOFF]
Lloh9:
	ldr	w7, [x8]
Lloh10:
	adrp	x8, _FINISHED_STATE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _FINISHED_STATE@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	mov	w9, #1
	str	w9, [sp, #16]
	add	x9, sp, #24
	str	x9, [sp, #8]
	str	w8, [sp]
	mov	x0, x23
	mov	x1, x24
	mov	x2, x25
	mov	x4, x21
	mov	x5, x19
	mov	x6, x20
	bl	_generate_sub_request
	cbz	w0, LBB0_12
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	add	x27, x27, #1
	ldr	x8, [x26, #16]
	cmp	x27, x8
	b.hs	LBB0_13
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x26, #24]
	ldr	x22, [x8, x27, lsl #3]
	ldr	w0, [x22, #4]
	bl	_ntohs
	ldr	x8, [x28]
	cmp	x0, x8
	b.eq	LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x22, #4]
	bl	_ntohs
Lloh13:
	adrp	x8, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh14:
	ldr	x8, [x8, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
Lloh15:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_4
LBB0_7:                                 ;   in Loop: Header=BB0_5 Depth=1
	ldr	x23, [x21, #8]
	ldr	w0, [x22, #4]
	bl	_ntohs
	cmp	x23, x0
	b.ne	LBB0_3
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x23, [x21, #16]
	ldr	w0, [x22]
	bl	_ntohs
	cmp	x23, x0
	b.ne	LBB0_3
; %bb.9:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x21, #24]
	ldr	w1, [x22, #12]
	bl	_query_dname_compare
	cbnz	x0, LBB0_3
; %bb.10:                               ;   in Loop: Header=BB0_5 Depth=1
	ldr	w8, [x21]
Lloh16:
	adrp	x9, _BIT_RD@GOTPAGE
Lloh17:
	ldr	x9, [x9, _BIT_RD@GOTPAGEOFF]
Lloh18:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.11:                               ;   in Loop: Header=BB0_5 Depth=1
Lloh19:
	adrp	x9, _BIT_CD@GOTPAGE
Lloh20:
	ldr	x9, [x9, _BIT_CD@GOTPAGEOFF]
Lloh21:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_3
	b	LBB0_4
LBB0_12:
Lloh22:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh23:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x1, l_.str.1@PAGE
Lloh26:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_verbose
LBB0_13:
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_LDNS_RR_TYPE_A,8,3             ; @LDNS_RR_TYPE_A
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ; @LDNS_RR_TYPE_AAAA
	.comm	_BIT_RD,4,2                     ; @BIT_RD
	.comm	_BIT_CD,4,2                     ; @BIT_CD
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"schedule addr fetch"

	.comm	_INIT_REQUEST_STATE,4,2         ; @INIT_REQUEST_STATE
	.comm	_FINISHED_STATE,4,2             ; @FINISHED_STATE
l_.str.1:                               ; @.str.1
	.asciz	"could not generate addr check"

	.no_dead_strip	_generate_a_aaaa_check
.subsections_via_symbols
