	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function libworker_delete_env
_libworker_delete_env:                  ## @libworker_delete_env
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, 8(%rdi)
	je	LBB0_5
## %bb.1:
	movl	(%rbx), %edi
	callq	_outside_network_quit_prepare
	movq	8(%rbx), %rax
	movl	24(%rax), %edi
	callq	_mesh_delete
	movl	28(%rbx), %edi
	movq	8(%rbx), %rax
	movl	20(%rax), %esi
	cmpl	$0, 24(%rbx)
	je	LBB0_2
## %bb.3:
	xorl	%edx, %edx
	cmpq	$0, 16(%rbx)
	setne	%dl
	jmp	LBB0_4
LBB0_2:
	movl	$1, %edx
LBB0_4:
	callq	_context_release_alloc
	movq	8(%rbx), %rax
	movl	16(%rax), %edi
	callq	_sldns_buffer_free
	movq	8(%rbx), %rax
	movl	12(%rax), %edi
	callq	_regional_destroy
	movq	8(%rbx), %rax
	movl	8(%rax), %edi
	callq	_forwards_delete
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	callq	_hints_delete
	movq	8(%rbx), %rax
	movl	(%rax), %edi
	callq	_ub_randfree
	movq	8(%rbx), %rdi
	callq	_free
LBB0_5:
	movl	(%rbx), %edi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_outside_network_delete         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_libworker_delete_env
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function libworker_delete_env
_libworker_delete_env:                  ; @libworker_delete_env
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0, #8]
	cbz	x8, LBB0_5
; %bb.1:
	ldr	w0, [x19]
	bl	_outside_network_quit_prepare
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #24]
	bl	_mesh_delete
	ldr	x8, [x19, #8]
	ldr	w1, [x8, #20]
	ldp	w8, w0, [x19, #24]
	cbz	w8, LBB0_3
; %bb.2:
	ldr	x8, [x19, #16]
	cmp	x8, #0
	cset	w2, ne
	b	LBB0_4
LBB0_3:
	mov	w2, #1
LBB0_4:
	bl	_context_release_alloc
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #16]
	bl	_sldns_buffer_free
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #12]
	bl	_regional_destroy
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #8]
	bl	_forwards_delete
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	bl	_hints_delete
	ldr	x8, [x19, #8]
	ldr	w0, [x8]
	bl	_ub_randfree
	ldr	x0, [x19, #8]
	bl	_free
LBB0_5:
	ldr	w0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_outside_network_delete
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_libworker_delete_env
.subsections_via_symbols
