	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dplobby_destroy
_dplobby_destroy:                       ## @dplobby_destroy
	.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, 16(%rdi)
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	callq	_FIXME
LBB0_2:
	movl	8(%rbx), %edi
	movq	_msgs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_LPDPLMSG@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_cbDeleteElemFromHeap@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	callq	_DPQ_DELETEQ
	movq	(%rbx), %rax
	movq	(%rax), %rax
	movq	$0, (%rax)
	movq	%rbx, %rdi
	callq	_DeleteCriticalSection
	xorl	%eax, %eax
	callq	_GetProcessHeap
	movl	%eax, %edi
	xorl	%esi, %esi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_HeapFree                       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Should kill the msg thread\n"

	.comm	_msgs,4,2                       ## @msgs
	.comm	_LPDPLMSG,4,2                   ## @LPDPLMSG
	.comm	_cbDeleteElemFromHeap,4,2       ## @cbDeleteElemFromHeap
	.no_dead_strip	_dplobby_destroy
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dplobby_destroy
_dplobby_destroy:                       ; @dplobby_destroy
	.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, #16]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_FIXME
LBB0_2:
	ldr	w0, [x19, #8]
Lloh2:
	adrp	x8, _msgs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _msgs@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _LPDPLMSG@GOTPAGE
Lloh6:
	ldr	x8, [x8, _LPDPLMSG@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
Lloh8:
	adrp	x8, _cbDeleteElemFromHeap@GOTPAGE
Lloh9:
	ldr	x8, [x8, _cbDeleteElemFromHeap@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	bl	_DPQ_DELETEQ
	ldr	x8, [x19]
	ldr	x8, [x8]
	str	xzr, [x8]
	mov	x0, x19
	bl	_DeleteCriticalSection
	bl	_GetProcessHeap
	mov	w1, #0
	mov	x2, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_HeapFree
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Should kill the msg thread\n"

	.comm	_msgs,4,2                       ; @msgs
	.comm	_LPDPLMSG,4,2                   ; @LPDPLMSG
	.comm	_cbDeleteElemFromHeap,4,2       ; @cbDeleteElemFromHeap
	.no_dead_strip	_dplobby_destroy
.subsections_via_symbols
