	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qkey_get                       ## -- Begin function qkey_get
	.p2align	4, 0x90
_qkey_get:                              ## @qkey_get
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	testl	%esi, %esi
	je	LBB0_7
## %bb.1:
	movl	%esi, %ebx
	movq	_h_qkey@GOTPCREL(%rip), %rdi
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_shmap_string_vptr_add
	movq	8(%rax), %r12
	testq	%r12, %r12
	je	LBB0_2
## %bb.3:
	cmpl	$1, %ebx
	jne	LBB0_5
## %bb.4:
	xorl	%r12d, %r12d
	xorl	%edi, %edi
	callq	_assert
	jmp	LBB0_5
LBB0_7:
	movq	_h_qkey@GOTPCREL(%rip), %rdi
	xorl	%r12d, %r12d
	movq	%r14, %rsi
	xorl	%edx, %edx
	callq	_shmap_string_vptr_get
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	movq	8(%rax), %r12
	jmp	LBB0_9
LBB0_2:
	movq	%rax, %r15
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	movq	_str_memory@GOTPCREL(%rip), %rbx
	subl	%eax, (%rbx)
	movq	(%r15), %rdi
	callq	_dl_strdup
	movq	%rax, (%r15)
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	addl	%eax, (%rbx)
	xorl	%eax, %eax
	callq	_qkey_malloc
	movq	%rax, %r12
	movq	%rax, 8(%r15)
	movq	(%r15), %rax
	movq	%rax, (%r12)
LBB0_5:
	movq	_verbosity@GOTPCREL(%rip), %rax
	cmpl	$3, (%rax)
	jl	LBB0_9
## %bb.6:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdx
	callq	_fprintf
LBB0_9:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_h_qkey,4,2                     ## @h_qkey
	.comm	_str_memory,4,2                 ## @str_memory
	.comm	_verbosity,4,2                  ## @verbosity
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str.1:                               ## @.str.1
	.asciz	"Key created : [%s]\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_qkey_get                       ; -- Begin function qkey_get
	.p2align	2
_qkey_get:                              ; @qkey_get
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x0
	cbz	w1, LBB0_4
; %bb.1:
	mov	x22, x1
Lloh0:
	adrp	x0, _h_qkey@GOTPAGE
Lloh1:
	ldr	x0, [x0, _h_qkey@GOTPAGEOFF]
	mov	x1, x19
	mov	x2, #0
	bl	_shmap_string_vptr_add
	ldr	x20, [x0, #8]
	cbz	x20, LBB0_6
; %bb.2:
	cmp	w22, #1
	b.ne	LBB0_7
; %bb.3:
	mov	w0, #0
	bl	_assert
	mov	x20, #0
	b	LBB0_7
LBB0_4:
Lloh2:
	adrp	x0, _h_qkey@GOTPAGE
Lloh3:
	ldr	x0, [x0, _h_qkey@GOTPAGEOFF]
	mov	x1, x19
	mov	x2, #0
	bl	_shmap_string_vptr_get
	cbz	x0, LBB0_9
; %bb.5:
	ldr	x20, [x0, #8]
	b	LBB0_10
LBB0_6:
	mov	x21, x0
	bl	_dl_get_memory_used
Lloh4:
	adrp	x20, _str_memory@GOTPAGE
Lloh5:
	ldr	x20, [x20, _str_memory@GOTPAGEOFF]
	ldr	w8, [x20]
	sub	w8, w8, w0
	str	w8, [x20]
	ldr	x0, [x21]
	bl	_dl_strdup
	str	x0, [x21]
	bl	_dl_get_memory_used
	ldr	w8, [x20]
	add	w8, w8, w0
	str	w8, [x20]
	bl	_qkey_malloc
	mov	x20, x0
	str	x0, [x21, #8]
	ldr	x8, [x21]
	str	x8, [x0]
LBB0_7:
Lloh6:
	adrp	x8, _verbosity@GOTPAGE
Lloh7:
	ldr	x8, [x8, _verbosity@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	cmp	w8, #3
	b.lt	LBB0_10
; %bb.8:
Lloh9:
	adrp	x8, _stderr@GOTPAGE
Lloh10:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
Lloh12:
	adrp	x1, l_.str.1@PAGE
Lloh13:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x2, x19
	bl	_fprintf
	b	LBB0_10
LBB0_9:
	mov	x20, #0
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_h_qkey,4,2                     ; @h_qkey
	.comm	_str_memory,4,2                 ; @str_memory
	.comm	_verbosity,4,2                  ; @verbosity
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str.1:                               ; @.str.1
	.asciz	"Key created : [%s]\n"

.subsections_via_symbols
