	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dn_delete_queue
_dn_delete_queue:                       ## @dn_delete_queue
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	16(%rdi), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rax), %rax
	movq	(%rax), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	callq	*%rax
LBB0_3:
	movq	8(%rbx), %rax
	decl	(%rax)
	movq	$0, 8(%rbx)
	movq	_DN_DESTROY@GOTPCREL(%rip), %rax
	testl	%r14d, (%rax)
	je	LBB0_7
## %bb.4:
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_6
## %bb.5:
	callq	_dn_free_pkts
LBB0_6:
	movq	%rbx, %rdi
	movl	$24, %esi
	callq	_bzero
	movq	_M_DUMMYNET@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_free
	movq	_dn_cfg@GOTPCREL(%rip), %rax
	decl	(%rax)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_DN_DESTROY,4,2                 ## @DN_DESTROY
	.comm	_M_DUMMYNET,4,2                 ## @M_DUMMYNET
	.comm	_dn_cfg,4,2                     ## @dn_cfg
	.no_dead_strip	_dn_delete_queue
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dn_delete_queue
_dn_delete_queue:                       ; @dn_delete_queue
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0, #16]
	cbz	x8, LBB0_3
; %bb.1:
	ldr	x8, [x8]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	blr	x8
LBB0_3:
	ldr	x8, [x19, #8]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
	str	xzr, [x19, #8]
Lloh0:
	adrp	x8, _DN_DESTROY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DN_DESTROY@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w20
	b.eq	LBB0_7
; %bb.4:
	ldr	x0, [x19]
	cbz	x0, LBB0_6
; %bb.5:
	bl	_dn_free_pkts
LBB0_6:
	mov	x0, x19
	mov	w1, #24
	bl	_bzero
Lloh3:
	adrp	x8, _M_DUMMYNET@GOTPAGE
Lloh4:
	ldr	x8, [x8, _M_DUMMYNET@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_free
Lloh6:
	adrp	x8, _dn_cfg@GOTPAGE
Lloh7:
	ldr	x8, [x8, _dn_cfg@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_DN_DESTROY,4,2                 ; @DN_DESTROY
	.comm	_M_DUMMYNET,4,2                 ; @M_DUMMYNET
	.comm	_dn_cfg,4,2                     ; @dn_cfg
	.no_dead_strip	_dn_delete_queue
.subsections_via_symbols
