	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delete_qkey                    ## -- Begin function delete_qkey
	.p2align	4, 0x90
_delete_qkey:                           ## @delete_qkey
	.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
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rbx, %rbx
	setne	%dil
	callq	_assert
	movq	%rbx, %rdi
	callq	_del_entry_time
	movq	(%rbx), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.6:
	movq	_LOG_DEF@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	8(%rbx), %r8
	movq	16(%rbx), %r9
	movl	32(%rbx), %eax
	movl	%eax, (%rsp)
	leaq	L_.str(%rip), %rdx
	xorl	%esi, %esi
	callq	_dl_log_add
	movq	%rbx, %rdi
	movl	$100, %esi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_add_entry_time                 ## TAILCALL
LBB0_1:
	movl	$1, %edi
	callq	_assert
	movq	24(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	decl	(%rax)
LBB0_3:
	movq	16(%rbx), %rdi
	decl	(%rdi)
	callq	_queue_fix
	movq	8(%rbx), %r14
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	movq	%r14, %rsi
	jl	LBB0_5
## %bb.4:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_fprintf
	movq	8(%rbx), %rsi
LBB0_5:
	leaq	L_.str.1(%rip), %rdi
	callq	_dbg
	movq	_h_qkey@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_shmap_string_vptr_del
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	movq	_str_memory@GOTPCREL(%rip), %r14
	subl	%eax, (%r14)
	movq	8(%rbx), %rdi
	callq	_dl_strfree
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	addl	%eax, (%r14)
	movq	%rbx, %rdi
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_qkey_free                      ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_LOG_DEF,4,2                    ## @LOG_DEF
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"trying to del locked key (%d)(key name = %s)(queue pointer = %p)(timeout = %d)!\n"

	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"Key deleted : [%s]\n"

	.comm	_h_qkey,4,2                     ## @h_qkey
	.comm	_str_memory,4,2                 ## @str_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_delete_qkey                    ; -- Begin function delete_qkey
	.p2align	2
_delete_qkey:                           ; @delete_qkey
	.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
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x19
	bl	_del_entry_time
	ldr	x3, [x19]
	cbz	x3, LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _LOG_DEF@GOTPAGE
Lloh1:
	ldr	x8, [x8, _LOG_DEF@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	ldp	x4, x5, [x19, #8]
	ldr	w6, [x19, #32]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	mov	w1, #0
	bl	_dl_log_add
	mov	x0, x19
	mov	w1, #100
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_add_entry_time
LBB0_2:
	mov	w0, #1
	bl	_assert
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_4
; %bb.3:
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
LBB0_4:
	ldr	x0, [x19, #16]
	ldr	w8, [x0]
	sub	w8, w8, #1
	str	w8, [x0]
	bl	_queue_fix
	ldr	x20, [x19, #8]
Lloh5:
	adrp	x8, _verbosity@GOTPAGE
Lloh6:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	mov	x1, x20
	cmp	w8, #3
	b.lt	LBB0_6
; %bb.5:
Lloh8:
	adrp	x8, _stderr@GOTPAGE
Lloh9:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh10:
	ldr	w0, [x8]
Lloh11:
	adrp	x1, l_.str.1@PAGE
Lloh12:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x20
	bl	_fprintf
	ldr	x1, [x19, #8]
LBB0_6:
Lloh13:
	adrp	x0, l_.str.1@PAGE
Lloh14:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dbg
Lloh15:
	adrp	x0, _h_qkey@GOTPAGE
Lloh16:
	ldr	x0, [x0, _h_qkey@GOTPAGEOFF]
	mov	x1, x20
	mov	x2, #0
	bl	_shmap_string_vptr_del
	bl	_dl_get_memory_used
Lloh17:
	adrp	x20, _str_memory@GOTPAGE
Lloh18:
	ldr	x20, [x20, _str_memory@GOTPAGEOFF]
	ldr	w8, [x20]
	sub	w8, w8, w0
	str	w8, [x20]
	ldr	x0, [x19, #8]
	bl	_dl_strfree
	bl	_dl_get_memory_used
	ldr	w8, [x20]
	add	w8, w8, w0
	str	w8, [x20]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_qkey_free
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_LOG_DEF,4,2                    ; @LOG_DEF
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"trying to del locked key (%d)(key name = %s)(queue pointer = %p)(timeout = %d)!\n"

	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"Key deleted : [%s]\n"

	.comm	_h_qkey,4,2                     ; @h_qkey
	.comm	_str_memory,4,2                 ; @str_memory
.subsections_via_symbols
