	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_queue_malloc                   ## -- Begin function queue_malloc
	.p2align	4, 0x90
_queue_malloc:                          ## @queue_malloc
	.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
	movq	_queues_cnt@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	_qs@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rcx
	movq	%rcx, (%rax)
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$8, %edx
	callq	_memset
	jmp	LBB0_3
LBB0_1:
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	movq	_queues_memory@GOTPCREL(%rip), %r14
	subl	%eax, (%r14)
	movl	$8, %edi
	callq	_dl_malloc0
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_dl_get_memory_used
	addl	%eax, (%r14)
LBB0_3:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_queues_cnt,4,2                 ## @queues_cnt
	.comm	_qs,8,3                         ## @qs
	.comm	_queues_memory,4,2              ## @queues_memory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_queue_malloc                   ; -- Begin function queue_malloc
	.p2align	2
_queue_malloc:                          ; @queue_malloc
	.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
Lloh0:
	adrp	x8, _queues_cnt@GOTPAGE
Lloh1:
	ldr	x8, [x8, _queues_cnt@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x8, _qs@GOTPAGE
Lloh3:
	ldr	x8, [x8, _qs@GOTPAGEOFF]
	ldr	x19, [x8]
	cbz	x19, LBB0_2
; %bb.1:
	ldr	x9, [x19]
	str	x9, [x8]
	mov	x0, x19
	mov	w1, #0
	mov	w2, #8
	bl	_memset
	b	LBB0_3
LBB0_2:
	bl	_dl_get_memory_used
Lloh4:
	adrp	x20, _queues_memory@GOTPAGE
Lloh5:
	ldr	x20, [x20, _queues_memory@GOTPAGEOFF]
	ldr	w8, [x20]
	sub	w8, w8, w0
	str	w8, [x20]
	mov	w0, #8
	bl	_dl_malloc0
	mov	x19, x0
	bl	_dl_get_memory_used
	ldr	w8, [x20]
	add	w8, w8, w0
	str	w8, [x20]
LBB0_3:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_queues_cnt,4,2                 ; @queues_cnt
	.comm	_qs,8,3                         ; @qs
	.comm	_queues_memory,4,2              ; @queues_memory
.subsections_via_symbols
