	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udp_target_free                ## -- Begin function udp_target_free
	.p2align	4, 0x90
_udp_target_free:                       ## @udp_target_free
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	cmpq	$0, 64(%rdi)
	je	LBB0_2
## %bb.1:
	movq	_udp_target_by_hash@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	movq	%r15, %rsi
	callq	_tree_delete_udp_target_by_hash
	movl	%eax, (%rbx)
LBB0_2:
	movq	56(%r15), %rdi
	callq	_tree_clear_int
	movq	%rax, 56(%r15)
	movq	48(%r15), %rdi
	callq	_tree_clear_int
	movq	%rax, 48(%r15)
	movl	44(%r15), %edi
	movq	___clear_udp_msg_constructor@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tree_act_udp_msg_constructor
	movl	44(%r15), %edi
	callq	_tree_clear_udp_msg_constructor
	movl	%eax, 44(%r15)
	movl	40(%r15), %edi
	movq	_udp_msg_free@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_tree_act_udp_msg
	movl	40(%r15), %edi
	callq	_tree_clear_udp_msg
	movl	%eax, 40(%r15)
	movq	32(%r15), %rax
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	leaq	-32(%rbp), %r14
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_queue_get_first_raw_message
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	%r14, %rdi
	callq	_rwm_free
	movq	32(%r15), %rdi
	callq	_queue_del_first_raw_message
	movq	%rax, 32(%r15)
	testq	%rax, %rax
	jne	LBB0_4
LBB0_5:
	movq	24(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	%rax, %rdi
	callq	_queue_get_first_tmp_msg
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_rwm_free
	movq	%rbx, %rdi
	callq	_free
	movq	24(%r15), %rdi
	callq	_queue_del_first_tmp_msg
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	jne	LBB0_6
LBB0_8:
	cmpq	$0, 16(%r15)
	je	LBB0_10
## %bb.9:
	leaq	16(%r15), %rdi
	callq	_remove_event_timer
LBB0_10:
	cmpq	$0, 8(%r15)
	je	LBB0_12
## %bb.11:
	leaq	8(%r15), %rdi
	callq	_remove_event_timer
LBB0_12:
	cmpq	$0, (%r15)
	je	LBB0_14
## %bb.13:
	movq	%r15, %rdi
	callq	_remove_event_timer
LBB0_14:
	movq	%r15, %rdi
	movl	$72, %esi
	callq	_zfree
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_udp_target_by_hash,4,2         ## @udp_target_by_hash
	.comm	___clear_udp_msg_constructor,4,2 ## @__clear_udp_msg_constructor
	.comm	_udp_msg_free,4,2               ## @udp_msg_free
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_udp_target_free                ; -- Begin function udp_target_free
	.p2align	2
_udp_target_free:                       ; @udp_target_free
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #64]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x20, _udp_target_by_hash@GOTPAGE
Lloh1:
	ldr	x20, [x20, _udp_target_by_hash@GOTPAGEOFF]
	ldr	w0, [x20]
	mov	x1, x19
	bl	_tree_delete_udp_target_by_hash
	str	w0, [x20]
LBB0_2:
	ldr	x0, [x19, #56]
	bl	_tree_clear_int
	str	x0, [x19, #56]
	ldr	x0, [x19, #48]
	bl	_tree_clear_int
	str	x0, [x19, #48]
	ldr	w0, [x19, #44]
Lloh2:
	adrp	x8, ___clear_udp_msg_constructor@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___clear_udp_msg_constructor@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
	bl	_tree_act_udp_msg_constructor
	ldr	w0, [x19, #44]
	bl	_tree_clear_udp_msg_constructor
	str	w0, [x19, #44]
	ldr	w0, [x19, #40]
Lloh5:
	adrp	x8, _udp_msg_free@GOTPAGE
Lloh6:
	ldr	x8, [x8, _udp_msg_free@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	bl	_tree_act_udp_msg
	ldr	w0, [x19, #40]
	bl	_tree_clear_udp_msg
	str	w0, [x19, #40]
	ldr	x0, [x19, #32]
	cbz	x0, LBB0_4
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	bl	_queue_get_first_raw_message
	ldr	w8, [x0]
	str	w8, [sp, #8]
	add	x0, sp, #8
	bl	_rwm_free
	ldr	x0, [x19, #32]
	bl	_queue_del_first_raw_message
	str	x0, [x19, #32]
	cbnz	x0, LBB0_3
LBB0_4:
	ldr	x0, [x19, #24]
	cbz	x0, LBB0_6
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	bl	_queue_get_first_tmp_msg
	ldr	x20, [x0]
	mov	x0, x20
	bl	_rwm_free
	mov	x0, x20
	bl	_free
	ldr	x0, [x19, #24]
	bl	_queue_del_first_tmp_msg
	str	x0, [x19, #24]
	cbnz	x0, LBB0_5
LBB0_6:
	mov	x0, x19
	ldr	x8, [x0, #16]!
	cbz	x8, LBB0_8
; %bb.7:
	bl	_remove_event_timer
LBB0_8:
	mov	x0, x19
	ldr	x8, [x0, #8]!
	cbz	x8, LBB0_10
; %bb.9:
	bl	_remove_event_timer
LBB0_10:
	ldr	x8, [x19]
	cbz	x8, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_remove_event_timer
LBB0_12:
	mov	x0, x19
	mov	w1, #72
	bl	_zfree
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_udp_target_by_hash,4,2         ; @udp_target_by_hash
	.comm	___clear_udp_msg_constructor,4,2 ; @__clear_udp_msg_constructor
	.comm	_udp_msg_free,4,2               ; @udp_msg_free
.subsections_via_symbols
