	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function processPrimeResponse
_processPrimeResponse:                  ## @processPrimeResponse
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	48(%rdi), %rax
	movslq	%esi, %r12
	movq	(%rax,%r12,8), %r15
	movq	_BIT_RD@GOTPCREL(%rip), %rax
	movq	_BIT_RA@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	notl	%ecx
	movq	8(%r15), %rsi
	movq	(%rsi), %rdx
	andl	%ecx, (%rdx)
	movl	(%rax), %eax
	movl	$1, %edi
	testl	%eax, (%r15)
	jne	LBB0_2
## %bb.1:
	xorl	%edi, %edi
	cmpq	$0, 24(%r15)
	setne	%dil
LBB0_2:
	leaq	20(%r15), %rdx
	movl	16(%r15), %ecx
	callq	_response_type_from_server
	movq	_RESPONSE_TYPE_ANSWER@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_4
## %bb.3:
	movq	8(%r15), %rax
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rcx
	jmp	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	_errinf
	movl	20(%rbx), %edx
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	callq	_errinf_dname
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
LBB0_5:
	movl	(%rcx), %ecx
	movl	%ecx, 40(%rbx)
	movq	%rax, 32(%rbx)
	movq	24(%rbx), %rax
	movq	(%rax), %rax
	cmpq	$0, (%rax)
	je	LBB0_9
## %bb.6:
	movq	$0, -48(%rbp)
	movq	_VERB_ALGO@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	movl	20(%rbx), %edx
	movl	8(%rbx), %r8d
	movl	12(%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	callq	_log_nametypeclass
	movl	20(%rbx), %edi
	movl	16(%rbx), %esi
	movl	8(%rbx), %ecx
	movl	12(%rbx), %edx
	movq	_INIT_REQUEST_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %r10d
	movq	_FINISHED_STATE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	-48(%rbp), %r11
	movq	%rbx, %r8
	movl	%r14d, %r9d
	pushq	$1
	pushq	%r11
	pushq	%rax
	pushq	%r10
	pushq	%r15
	callq	_generate_sub_request
	addq	$48, %rsp
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
	callq	_verbose
LBB0_8:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_generate_a_aaaa_check
LBB0_9:
	movq	_module_finished@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	(%rbx), %rcx
	movl	%eax, (%rcx,%r12,4)
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BIT_RD,4,2                     ## @BIT_RD
	.comm	_BIT_RA,4,2                     ## @BIT_RA
	.comm	_RESPONSE_TYPE_ANSWER,4,2       ## @RESPONSE_TYPE_ANSWER
	.comm	_LDNS_RCODE_NOERROR,4,2         ## @LDNS_RCODE_NOERROR
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"prime response did not get an answer"

L_.str.1:                               ## @.str.1
	.asciz	"for"

	.comm	_LDNS_RCODE_SERVFAIL,4,2        ## @LDNS_RCODE_SERVFAIL
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
L_.str.2:                               ## @.str.2
	.asciz	"schedule prime validation"

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

	.comm	_module_finished,4,2            ## @module_finished
	.no_dead_strip	_processPrimeResponse
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function processPrimeResponse
_processPrimeResponse:                  ; @processPrimeResponse
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #48]
	ldr	x21, [x8, w1, sxtw #3]
Lloh0:
	adrp	x8, _BIT_RD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BIT_RD@GOTPAGEOFF]
	ldr	w9, [x8]
Lloh2:
	adrp	x10, _BIT_RA@GOTPAGE
Lloh3:
	ldr	x10, [x10, _BIT_RA@GOTPAGEOFF]
Lloh4:
	ldr	w10, [x10]
	orr	w9, w10, w9
	ldr	x1, [x21, #8]
	ldr	x10, [x1]
	ldr	w11, [x10]
	bic	w9, w11, w9
	str	w9, [x10]
	ldr	w9, [x21]
	ldr	w8, [x8]
	tst	w8, w9
	b.eq	LBB0_2
; %bb.1:
	mov	w0, #1
	b	LBB0_3
LBB0_2:
	ldr	x8, [x21, #24]
	cmp	x8, #0
	cset	w0, ne
LBB0_3:
	add	x2, x21, #20
	ldr	w3, [x21, #16]
	bl	_response_type_from_server
Lloh5:
	adrp	x8, _RESPONSE_TYPE_ANSWER@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RESPONSE_TYPE_ANSWER@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	cmp	w0, w8
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x21, #8]
Lloh8:
	adrp	x9, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh9:
	ldr	x9, [x9, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
	b	LBB0_6
LBB0_5:
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	_errinf
	ldr	w2, [x19, #20]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_errinf_dname
	mov	x8, #0
Lloh14:
	adrp	x9, _LDNS_RCODE_SERVFAIL@GOTPAGE
Lloh15:
	ldr	x9, [x9, _LDNS_RCODE_SERVFAIL@GOTPAGEOFF]
LBB0_6:
	sxtw	x22, w20
	ldr	w9, [x9]
	str	w9, [x19, #40]
	str	x8, [x19, #32]
	ldr	x8, [x19, #24]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_10
; %bb.7:
	str	xzr, [sp, #24]
Lloh16:
	adrp	x23, _VERB_ALGO@GOTPAGE
Lloh17:
	ldr	x23, [x23, _VERB_ALGO@GOTPAGEOFF]
	ldr	w0, [x23]
	ldr	w2, [x19, #20]
	ldp	w4, w3, [x19, #8]
Lloh18:
	adrp	x1, l_.str.2@PAGE
Lloh19:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_log_nametypeclass
	ldp	w1, w0, [x19, #16]
	ldp	w3, w2, [x19, #8]
Lloh20:
	adrp	x8, _INIT_REQUEST_STATE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _INIT_REQUEST_STATE@GOTPAGEOFF]
Lloh22:
	ldr	w7, [x8]
Lloh23:
	adrp	x8, _FINISHED_STATE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _FINISHED_STATE@GOTPAGEOFF]
Lloh25:
	ldr	w8, [x8]
	mov	w9, #1
	str	w9, [sp, #16]
	add	x9, sp, #24
	str	x9, [sp, #8]
	str	w8, [sp]
	mov	x4, x19
	mov	x5, x20
	mov	x6, x21
	bl	_generate_sub_request
	cbnz	w0, LBB0_9
; %bb.8:
	ldr	w0, [x23]
Lloh26:
	adrp	x1, l_.str.3@PAGE
Lloh27:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_verbose
LBB0_9:
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	bl	_generate_a_aaaa_check
LBB0_10:
Lloh28:
	adrp	x8, _module_finished@GOTPAGE
Lloh29:
	ldr	x8, [x8, _module_finished@GOTPAGEOFF]
Lloh30:
	ldr	w8, [x8]
	ldr	x9, [x19]
	str	w8, [x9, x22, lsl #2]
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.cfi_endproc
                                        ; -- End function
	.comm	_BIT_RD,4,2                     ; @BIT_RD
	.comm	_BIT_RA,4,2                     ; @BIT_RA
	.comm	_RESPONSE_TYPE_ANSWER,4,2       ; @RESPONSE_TYPE_ANSWER
	.comm	_LDNS_RCODE_NOERROR,4,2         ; @LDNS_RCODE_NOERROR
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"prime response did not get an answer"

l_.str.1:                               ; @.str.1
	.asciz	"for"

	.comm	_LDNS_RCODE_SERVFAIL,4,2        ; @LDNS_RCODE_SERVFAIL
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
l_.str.2:                               ; @.str.2
	.asciz	"schedule prime validation"

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

	.comm	_module_finished,4,2            ; @module_finished
	.no_dead_strip	_processPrimeResponse
.subsections_via_symbols
