	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mesh_do_callback
_mesh_do_callback:                      ## @mesh_do_callback
	.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	%rcx, %r13
	movq	%rdx, %r12
	movq	%rdi, %r14
	testq	%rdx, %rdx
	je	LBB0_2
## %bb.1:
	movq	(%r12), %rax
	movq	_sec_status_secure@GOTPCREL(%rip), %rcx
	movl	$1, %edi
	cmpq	(%rcx), %rax
	je	LBB0_3
LBB0_2:
	xorl	%edi, %edi
LBB0_3:
	movl	(%r14), %edx
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rax
	cmpl	%esi, (%rax)
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	%esi, %r15d
	cmovel	%r8d, %r15d
	testq	%r12, %r12
	cmovnel	%esi, %r15d
	testl	%r15d, %r15d
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	je	LBB0_4
## %bb.12:
	cmpl	%r8d, %r15d
	jne	LBB0_14
LBB0_13:
	movq	8(%r14), %rdi
	leaq	16(%r14), %rsi
	leaq	16(%r13), %r9
	movl	20(%r14), %eax
	movq	%r14, %rdx
	movq	%r12, %rcx
	pushq	%rax
	pushq	$0
	callq	_inplace_cb_reply_servfail_call
	jmp	LBB0_15
LBB0_4:
	movq	(%r12), %rax
	movq	_sec_status_bogus@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_10
## %bb.5:
	movq	_sec_status_secure_sentinel_fail@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
LBB0_6:
	xorl	%eax, %eax
	jmp	LBB0_7
LBB0_14:
	movq	8(%r14), %rdi
	leaq	16(%r14), %rsi
	leaq	16(%r13), %r9
	movl	20(%r14), %eax
	movq	%r14, %rdx
	movq	%r12, %rcx
	movl	%r15d, %r8d
	pushq	%rax
	pushq	$0
	callq	_inplace_cb_reply_call
LBB0_15:
	addq	$16, %rsp
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movq	$0, 48(%r13)
LBB0_17:
	movq	8(%r13), %rdi
	callq	_fptr_whitelist_mesh_cb
	movl	%eax, %edi
	callq	_fptr_ok
	movl	(%r13), %edx
	movl	4(%r13), %edi
	movq	_sec_status_unchecked@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%ebx, %ebx
	movl	%r15d, %esi
	xorl	%r8d, %r8d
LBB0_19:
	movl	-44(%rbp), %r9d                 ## 4-byte Reload
	callq	*8(%r13)
LBB0_20:
	movq	%rbx, %rdi
	callq	_free
	movq	8(%r14), %rax
	movq	(%rax), %rax
	decl	(%rax)
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	%r14, %rdi
	callq	_errinf_to_str_bogus
	testq	%rax, %rax
	je	LBB0_11
LBB0_7:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	leaq	16(%r13), %rbx
	movq	16(%r13), %rax
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	(%r13), %edi
	callq	_sldns_buffer_clear
	movq	_EDNS_ADVERTISED_VERSION@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 40(%r13)
	movq	_EDNS_ADVERTISED_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 16(%r13)
	movq	$0, 32(%r13)
	movq	_EDNS_DO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	%eax, 24(%r13)
	movq	8(%r14), %rdi
	leaq	16(%r14), %r15
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movl	20(%r14), %eax
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r9
	pushq	%rax
	pushq	$0
	callq	_inplace_cb_reply_call
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	60(%r13), %edx
	movl	(%r13), %r8d
	movl	56(%r13), %ecx
	movq	8(%r14), %rax
	movl	8(%rax), %r10d
	movq	_EDNS_DO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	24(%r13), %eax
	movq	%r15, %rdi
	movq	%r12, %rsi
	xorl	%r9d, %r9d
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	%rax
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	pushq	-64(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	pushq	$1
	callq	_reply_info_answer_encode
	addq	$48, %rsp
	testl	%eax, %eax
	je	LBB0_9
## %bb.18:
	movq	8(%r13), %rdi
	callq	_fptr_whitelist_mesh_cb
	movl	%eax, %edi
	callq	_fptr_ok
	movl	(%r13), %edx
	movl	4(%r13), %edi
	movq	_LDNS_RCODE_NOERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	(%r12), %rcx
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %r8
	jmp	LBB0_19
LBB0_9:
	movq	8(%r13), %rdi
	callq	_fptr_whitelist_mesh_cb
	movl	%eax, %edi
	callq	_fptr_ok
	movl	(%r13), %edx
	movl	4(%r13), %edi
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_sec_status_unchecked@GOTPCREL(%rip), %rax
	movq	(%rax), %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	callq	*8(%r13)
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_11:
	movq	_LDNS_RCODE_SERVFAIL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movl	%r15d, %r8d
	testl	%r15d, %r15d
	jne	LBB0_13
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_sec_status_secure,8,3          ## @sec_status_secure
	.comm	_LDNS_RCODE_NOERROR,4,2         ## @LDNS_RCODE_NOERROR
	.comm	_LDNS_RCODE_SERVFAIL,4,2        ## @LDNS_RCODE_SERVFAIL
	.comm	_sec_status_bogus,8,3           ## @sec_status_bogus
	.comm	_sec_status_secure_sentinel_fail,8,3 ## @sec_status_secure_sentinel_fail
	.comm	_sec_status_unchecked,8,3       ## @sec_status_unchecked
	.comm	_EDNS_ADVERTISED_VERSION,4,2    ## @EDNS_ADVERTISED_VERSION
	.comm	_EDNS_ADVERTISED_SIZE,8,3       ## @EDNS_ADVERTISED_SIZE
	.comm	_EDNS_DO,4,2                    ## @EDNS_DO
	.no_dead_strip	_mesh_do_callback
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mesh_do_callback
_mesh_do_callback:                      ; @mesh_do_callback
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x28, x27, [sp, #48]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x20, x3
	mov	x22, x2
	mov	x19, x0
	ldr	w21, [x0]
	cbz	x2, LBB0_3
; %bb.1:
	ldr	x8, [x22]
Lloh0:
	adrp	x9, _sec_status_secure@GOTPAGE
Lloh1:
	ldr	x9, [x9, _sec_status_secure@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.2:
	mov	w28, #1
	b	LBB0_4
LBB0_3:
	mov	w28, #0
LBB0_4:
Lloh3:
	adrp	x26, _LDNS_RCODE_NOERROR@GOTPAGE
Lloh4:
	ldr	x26, [x26, _LDNS_RCODE_NOERROR@GOTPAGEOFF]
	ldr	w8, [x26]
	cmp	w8, w1
	ccmp	x22, #0, #0, eq
Lloh5:
	adrp	x27, _LDNS_RCODE_SERVFAIL@GOTPAGE
Lloh6:
	ldr	x27, [x27, _LDNS_RCODE_SERVFAIL@GOTPAGEOFF]
	ldr	w4, [x27]
	csel	w23, w4, w1, eq
	cbz	w23, LBB0_9
; %bb.5:
	cmp	w23, w4
	b.ne	LBB0_16
LBB0_6:
	ldr	x0, [x19, #8]
	add	x1, x19, #16
	add	x5, x20, #16
	ldr	w7, [x19, #20]
	mov	x2, x19
	mov	x3, x22
	mov	x6, #0
	bl	_inplace_cb_reply_servfail_call
	cbnz	w0, LBB0_8
LBB0_7:
	str	xzr, [x20, #48]
LBB0_8:
	ldr	x0, [x20, #8]
	bl	_fptr_whitelist_mesh_cb
	bl	_fptr_ok
	ldr	x8, [x20, #8]
	ldp	w2, w0, [x20]
Lloh7:
	adrp	x9, _sec_status_unchecked@GOTPAGE
Lloh8:
	ldr	x9, [x9, _sec_status_unchecked@GOTPAGEOFF]
Lloh9:
	ldr	x3, [x9]
	mov	x1, x23
	mov	x4, #0
	mov	x5, x21
	blr	x8
	mov	x23, #0
	b	LBB0_19
LBB0_9:
	ldr	x8, [x22]
Lloh10:
	adrp	x9, _sec_status_bogus@GOTPAGE
Lloh11:
	ldr	x9, [x9, _sec_status_bogus@GOTPAGEOFF]
Lloh12:
	ldr	x9, [x9]
Lloh13:
	adrp	x10, _sec_status_secure_sentinel_fail@GOTPAGE
Lloh14:
	ldr	x10, [x10, _sec_status_secure_sentinel_fail@GOTPAGEOFF]
Lloh15:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_12
; %bb.10:
	mov	x0, x19
	bl	_errinf_to_str_bogus
	mov	x23, x0
	cbnz	x0, LBB0_13
; %bb.11:
	ldr	w23, [x27]
	mov	x4, x23
	cbnz	w23, LBB0_6
LBB0_12:
	mov	x23, #0
LBB0_13:
	str	w21, [sp, #36]                  ; 4-byte Folded Spill
	mov	x24, x20
	ldr	x8, [x24, #16]!
	str	x8, [sp, #40]                   ; 8-byte Folded Spill
	ldr	w0, [x20]
	bl	_sldns_buffer_clear
Lloh16:
	adrp	x8, _EDNS_ADVERTISED_VERSION@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EDNS_ADVERTISED_VERSION@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
	str	w8, [x20, #40]
Lloh19:
	adrp	x8, _EDNS_ADVERTISED_SIZE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _EDNS_ADVERTISED_SIZE@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x24]
	str	xzr, [x20, #32]
Lloh22:
	adrp	x21, _EDNS_DO@GOTPAGE
Lloh23:
	ldr	x21, [x21, _EDNS_DO@GOTPAGEOFF]
	ldr	w8, [x21]
	ldr	w9, [x20, #24]
	and	w8, w9, w8
	str	w8, [x20, #24]
	ldr	x0, [x19, #8]
	add	x25, x19, #16
	ldr	w4, [x26]
	ldr	w7, [x19, #20]
	mov	x1, x25
	mov	x2, x19
	mov	x3, x22
	mov	x5, x24
	mov	x6, #0
	bl	_inplace_cb_reply_call
	cbz	w0, LBB0_17
; %bb.14:
	ldp	w3, w2, [x20, #56]
	ldr	w4, [x20]
	ldr	x8, [x19, #8]
	ldr	w7, [x8, #8]
	ldr	w8, [x20, #24]
	ldr	w9, [x21]
	and	w8, w9, w8
	stp	w8, w28, [sp, #16]
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	stp	x8, x24, [sp]
	mov	x0, x25
	mov	x1, x22
	mov	w5, #0
	mov	w6, #1
	bl	_reply_info_answer_encode
	cbz	w0, LBB0_17
; %bb.15:
	ldr	x0, [x20, #8]
	bl	_fptr_whitelist_mesh_cb
	bl	_fptr_ok
	ldr	x8, [x20, #8]
	ldr	w1, [x26]
	ldp	w2, w0, [x20]
	ldr	x3, [x22]
	mov	x4, x23
	ldr	w5, [sp, #36]                   ; 4-byte Folded Reload
	b	LBB0_18
LBB0_16:
	ldr	x0, [x19, #8]
	add	x1, x19, #16
	add	x5, x20, #16
	ldr	w7, [x19, #20]
	mov	x2, x19
	mov	x3, x22
	mov	x4, x23
	mov	x6, #0
	bl	_inplace_cb_reply_call
	cbnz	w0, LBB0_8
	b	LBB0_7
LBB0_17:
	ldr	x0, [x20, #8]
	bl	_fptr_whitelist_mesh_cb
	bl	_fptr_ok
	ldr	x8, [x20, #8]
	ldr	w1, [x27]
	ldp	w2, w0, [x20]
Lloh24:
	adrp	x9, _sec_status_unchecked@GOTPAGE
Lloh25:
	ldr	x9, [x9, _sec_status_unchecked@GOTPAGEOFF]
Lloh26:
	ldr	x3, [x9]
	mov	x4, #0
	mov	w5, #0
LBB0_18:
	blr	x8
LBB0_19:
	mov	x0, x23
	bl	_free
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_sec_status_secure,8,3          ; @sec_status_secure
	.comm	_LDNS_RCODE_NOERROR,4,2         ; @LDNS_RCODE_NOERROR
	.comm	_LDNS_RCODE_SERVFAIL,4,2        ; @LDNS_RCODE_SERVFAIL
	.comm	_sec_status_bogus,8,3           ; @sec_status_bogus
	.comm	_sec_status_secure_sentinel_fail,8,3 ; @sec_status_secure_sentinel_fail
	.comm	_sec_status_unchecked,8,3       ; @sec_status_unchecked
	.comm	_EDNS_ADVERTISED_VERSION,4,2    ; @EDNS_ADVERTISED_VERSION
	.comm	_EDNS_ADVERTISED_SIZE,8,3       ; @EDNS_ADVERTISED_SIZE
	.comm	_EDNS_DO,4,2                    ; @EDNS_DO
	.no_dead_strip	_mesh_do_callback
.subsections_via_symbols
