	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_worker_delete                  ## -- Begin function worker_delete
	.p2align	4, 0x90
_worker_delete:                         ## @worker_delete
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	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, 40(%rdi)
	je	LBB0_4
## %bb.2:
	movq	_verbosity@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_VERB_OPS@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jl	LBB0_4
## %bb.3:
	leaq	92(%rbx), %rdi
	movq	(%rbx), %rdx
	movq	%rbx, %rsi
	callq	_server_stats_log
	movq	40(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	callq	_mesh_stats
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_worker_mem_report
LBB0_4:
	movl	84(%rbx), %edi
	callq	_outside_network_quit_prepare
	movq	40(%rbx), %rdi
	callq	_mesh_delete
	movl	32(%rbx), %edi
	callq	_sldns_buffer_free
	movl	28(%rbx), %edi
	callq	_forwards_delete
	movl	24(%rbx), %edi
	callq	_hints_delete
	movl	88(%rbx), %edi
	callq	_listen_delete
	movl	84(%rbx), %edi
	callq	_outside_network_delete
	movl	80(%rbx), %edi
	callq	_comm_signal_delete
	movl	76(%rbx), %edi
	callq	_tube_delete
	movl	72(%rbx), %edi
	callq	_comm_timer_delete
	movl	20(%rbx), %edi
	callq	_comm_timer_delete
	movq	64(%rbx), %rdi
	callq	_free
	movl	56(%rbx), %edi
	callq	_comm_base_delete
	movl	52(%rbx), %edi
	callq	_ub_randfree
	leaq	48(%rbx), %rdi
	callq	_alloc_clear
	movl	16(%rbx), %edi
	callq	_regional_destroy
	movl	8(%rbx), %edi
	callq	_regional_destroy
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_5:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_verbosity,8,3                  ## @verbosity
	.comm	_VERB_OPS,8,3                   ## @VERB_OPS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"mesh has"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_worker_delete                  ; -- Begin function worker_delete
	.p2align	2
_worker_delete:                         ; @worker_delete
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_5
; %bb.1:
	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, #40]
	cbz	x8, LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _verbosity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _VERB_OPS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _VERB_OPS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.lt	LBB0_4
; %bb.3:
	add	x0, x19, #92
	ldr	x2, [x19]
	mov	x1, x19
	bl	_server_stats_log
	ldr	x0, [x19, #40]
Lloh6:
	adrp	x1, l_.str@PAGE
Lloh7:
	add	x1, x1, l_.str@PAGEOFF
	bl	_mesh_stats
	mov	x0, x19
	mov	x1, #0
	bl	_worker_mem_report
LBB0_4:
	ldr	w0, [x19, #84]
	bl	_outside_network_quit_prepare
	ldr	x0, [x19, #40]
	bl	_mesh_delete
	ldr	w0, [x19, #32]
	bl	_sldns_buffer_free
	ldr	w0, [x19, #28]
	bl	_forwards_delete
	ldr	w0, [x19, #24]
	bl	_hints_delete
	ldr	w0, [x19, #88]
	bl	_listen_delete
	ldr	w0, [x19, #84]
	bl	_outside_network_delete
	ldr	w0, [x19, #80]
	bl	_comm_signal_delete
	ldr	w0, [x19, #76]
	bl	_tube_delete
	ldr	w0, [x19, #72]
	bl	_comm_timer_delete
	ldr	w0, [x19, #20]
	bl	_comm_timer_delete
	ldr	x0, [x19, #64]
	bl	_free
	ldr	w0, [x19, #56]
	bl	_comm_base_delete
	ldr	w0, [x19, #52]
	bl	_ub_randfree
	add	x0, x19, #48
	bl	_alloc_clear
	ldr	w0, [x19, #16]
	bl	_regional_destroy
	ldr	w0, [x19, #8]
	bl	_regional_destroy
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
LBB0_5:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_verbosity,8,3                  ; @verbosity
	.comm	_VERB_OPS,8,3                   ; @VERB_OPS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"mesh has"

.subsections_via_symbols
