	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_state_add_cb              ## -- Begin function mesh_state_add_cb
	.p2align	4, 0x90
_mesh_state_add_cb:                     ## @mesh_state_add_cb
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -48(%rbp)                  ## 8-byte Spill
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, %r15
	movl	8(%rdi), %edi
	movl	$56, %esi
	callq	_regional_alloc
	movq	%rax, %rbx
	xorl	%eax, %eax
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.1:
	movq	%r12, 48(%rbx)
	movl	%r14d, %edi
	callq	_fptr_whitelist_mesh_cb
	movl	%eax, %edi
	callq	_log_assert
	movl	%r14d, 40(%rbx)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 32(%rbx)
	movq	(%r13), %rax
	movq	%rax, 24(%rbx)
	movq	(%r13), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.2:
	movl	8(%r15), %esi
	callq	_edns_opt_copy_region
	movq	%rax, 24(%rbx)
	testq	%rax, %rax
	movl	$0, %eax
	je	LBB0_4
LBB0_3:
	movq	16(%rbp), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rcx, 16(%rbx)
	movq	%rax, 8(%rbx)
	movq	(%r15), %rax
	movq	%rax, (%rbx)
	movq	%rbx, (%r15)
	movl	$1, %eax
LBB0_4:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mesh_state_add_cb              ; -- Begin function mesh_state_add_cb
	.p2align	2
_mesh_state_add_cb:                     ; @mesh_state_add_cb
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x6
	mov	x20, x5
	mov	x23, x4
	mov	x25, x3
	mov	x26, x2
	mov	x24, x1
	mov	x21, x0
	ldr	w0, [x0, #8]
	mov	w1, #56
	bl	_regional_alloc
	cbz	x0, LBB0_4
; %bb.1:
	mov	x22, x0
	str	x26, [x0, #48]
	mov	x0, x25
	bl	_fptr_whitelist_mesh_cb
	bl	_log_assert
	str	w25, [x22, #40]
	ldr	x8, [x24]
	stp	x8, x23, [x22, #24]
	ldr	x0, [x24]
	cbz	x0, LBB0_3
; %bb.2:
	ldr	w1, [x21, #8]
	bl	_edns_opt_copy_region
	str	x0, [x22, #24]
	cbz	x0, LBB0_4
LBB0_3:
	str	x20, [x22, #16]
	ldr	x8, [x21]
	stp	x8, x19, [x22]
	str	x22, [x21]
	mov	w0, #1
LBB0_4:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
