	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_event_moddone
_handle_event_moddone:                  ## @handle_event_moddone
	.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	%esi, %r14d
	movq	%rdi, %r15
	movq	32(%rdi), %rax
	movslq	%esi, %rcx
	movq	(%rax,%rcx,8), %rbx
	testq	%rbx, %rbx
	je	LBB0_2
## %bb.1:
	movq	(%rbx), %rax
	movq	_DNS64_INTERNAL_QUERY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
LBB0_2:
	movq	16(%r15), %rax
	movq	_LDNS_RR_TYPE_AAAA@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_7
## %bb.3:
	movq	_BIT_CD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_4
LBB0_7:
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.8:
	movq	(%rbx), %rax
	movq	_DNS64_INTERNAL_QUERY@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
LBB0_9:
	movq	16(%r15), %rax
	cmpq	(%r12), %rax
	jne	LBB0_14
## %bb.10:
	movq	_BIT_CD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%r15)
	je	LBB0_11
LBB0_14:
	testq	%rbx, %rbx
	je	LBB0_16
LBB0_15:
	cmpl	$0, 8(%rbx)
	jne	LBB0_20
LBB0_16:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_20
## %bb.17:
	movq	(%rax), %rdx
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.18:
	movl	(%r15), %eax
	movl	24(%r15), %edi
	addq	$16, %r15
	movq	%r15, %rsi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_dns_cache_store
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_20
## %bb.19:
	leaq	L_.str.1(%rip), %rdi
	callq	_log_err
LBB0_20:
	movq	_module_finished@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_13
## %bb.5:
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_13
## %bb.6:
	leaq	16(%r15), %rdi
	callq	_reply_find_answer_rrset
	testq	%rax, %rax
	jne	LBB0_7
	jmp	LBB0_13
LBB0_11:
	movq	%r15, %rdi
	movl	%r14d, %esi
	callq	_dns64_always_synth_for_qname
	testq	%rax, %rax
	je	LBB0_14
## %bb.12:
	movq	_VERB_ALGO@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	callq	_verbose
LBB0_13:
	movq	%r15, %rdi
	movl	%r14d, %esi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_generate_type_A_query          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DNS64_INTERNAL_QUERY,8,3       ## @DNS64_INTERNAL_QUERY
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ## @LDNS_RR_TYPE_AAAA
	.comm	_BIT_CD,4,2                     ## @BIT_CD
	.comm	_VERB_ALGO,4,2                  ## @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"dns64: ignore-aaaa and synthesize anyway"

L_.str.1:                               ## @.str.1
	.asciz	"out of memory"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_event_moddone
_handle_event_moddone:                  ; @handle_event_moddone
	.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, x1
	mov	x19, x0
	ldr	x8, [x0, #32]
	ldr	x21, [x8, w1, sxtw #3]
	cbz	x21, LBB0_2
; %bb.1:
	ldr	x8, [x21]
Lloh0:
	adrp	x9, _DNS64_INTERNAL_QUERY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _DNS64_INTERNAL_QUERY@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
LBB0_2:
	mov	x0, x19
	ldr	x8, [x0, #16]!
Lloh3:
	adrp	x22, _LDNS_RR_TYPE_AAAA@GOTPAGE
Lloh4:
	ldr	x22, [x22, _LDNS_RR_TYPE_AAAA@GOTPAGEOFF]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.3:
	ldr	w8, [x19]
Lloh5:
	adrp	x9, _BIT_CD@GOTPAGE
Lloh6:
	ldr	x9, [x9, _BIT_CD@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
LBB0_4:
	cbz	x21, LBB0_6
; %bb.5:
	ldr	x8, [x21]
Lloh8:
	adrp	x9, _DNS64_INTERNAL_QUERY@GOTPAGE
Lloh9:
	ldr	x9, [x9, _DNS64_INTERNAL_QUERY@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_9
LBB0_6:
	ldr	x8, [x19, #16]
	ldr	x9, [x22]
	cmp	x8, x9
	b.ne	LBB0_8
; %bb.7:
	ldr	w8, [x19]
Lloh11:
	adrp	x9, _BIT_CD@GOTPAGE
Lloh12:
	ldr	x9, [x9, _BIT_CD@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
LBB0_8:
	cbz	x21, LBB0_10
LBB0_9:
	ldr	w8, [x21, #8]
	cbnz	w8, LBB0_14
LBB0_10:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_14
; %bb.11:
	ldr	x2, [x8]
	cbz	x2, LBB0_14
; %bb.12:
	ldr	w0, [x19, #24]
	add	x1, x19, #16
	ldr	w7, [x19]
	mov	w3, #0
	mov	w4, #0
	mov	w5, #0
	mov	x6, #0
	bl	_dns_cache_store
	cbnz	w0, LBB0_14
; %bb.13:
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_err
LBB0_14:
Lloh16:
	adrp	x8, _module_finished@GOTPAGE
Lloh17:
	ldr	x8, [x8, _module_finished@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
	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
LBB0_15:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_20
; %bb.16:
	ldr	x1, [x8]
	cbz	x1, LBB0_20
; %bb.17:
	bl	_reply_find_answer_rrset
	cbnz	x0, LBB0_4
	b	LBB0_20
LBB0_18:
	mov	x0, x19
	mov	x1, x20
	bl	_dns64_always_synth_for_qname
	cbz	x0, LBB0_8
; %bb.19:
Lloh19:
	adrp	x8, _VERB_ALGO@GOTPAGE
Lloh20:
	ldr	x8, [x8, _VERB_ALGO@GOTPAGEOFF]
Lloh21:
	ldr	w0, [x8]
Lloh22:
	adrp	x1, l_.str@PAGE
Lloh23:
	add	x1, x1, l_.str@PAGEOFF
	bl	_verbose
LBB0_20:
	mov	x0, x19
	mov	x1, x20
	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
	b	_generate_type_A_query
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_DNS64_INTERNAL_QUERY,8,3       ; @DNS64_INTERNAL_QUERY
	.comm	_LDNS_RR_TYPE_AAAA,8,3          ; @LDNS_RR_TYPE_AAAA
	.comm	_BIT_CD,4,2                     ; @BIT_CD
	.comm	_VERB_ALGO,4,2                  ; @VERB_ALGO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"dns64: ignore-aaaa and synthesize anyway"

l_.str.1:                               ; @.str.1
	.asciz	"out of memory"

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