	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cdeque_init
_cdeque_init:                           ## @cdeque_init
	.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
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.1:
	movl	%esi, %ebx
	testl	%esi, %esi
	je	LBB0_2
## %bb.3:
	movq	%rdi, %r14
	leal	-1(%rbx), %eax
	movl	%eax, (%rdi)
	movq	$0, 8(%rdi)
	testl	%ebx, %eax
	jle	LBB0_4
LBB0_2:
	movq	_CDE_PARAM@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	%r14, %rdi
	callq	_cdeque_clear
	shll	$3, %ebx
	movl	%ebx, %edi
	callq	_malloc
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	jne	LBB0_5
## %bb.6:
	movq	_CDE_ALLOC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_CDE_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_CDE_PARAM,4,2                  ## @CDE_PARAM
	.comm	_CDE_OK,4,2                     ## @CDE_OK
	.comm	_CDE_ALLOC,4,2                  ## @CDE_ALLOC
	.no_dead_strip	_cdeque_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cdeque_init
_cdeque_init:                           ; @cdeque_init
	.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
	cbz	x0, LBB0_3
; %bb.1:
	mov	x20, x1
	cbz	w1, LBB0_3
; %bb.2:
	mov	x19, x0
	sub	w8, w20, #1
	str	w8, [x0]
	str	xzr, [x0, #8]
	and	w8, w8, w20
	cmp	w8, #1
	b.lt	LBB0_4
LBB0_3:
Lloh0:
	adrp	x8, _CDE_PARAM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CDE_PARAM@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
	mov	x0, x19
	bl	_cdeque_clear
	lsl	w0, w20, #3
	bl	_malloc
Lloh2:
	adrp	x8, _CDE_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CDE_OK@GOTPAGEOFF]
	str	x0, [x19, #8]
Lloh4:
	adrp	x9, _CDE_ALLOC@GOTPAGE
Lloh5:
	ldr	x9, [x9, _CDE_ALLOC@GOTPAGEOFF]
	cmp	x0, #0
	csel	x8, x9, x8, eq
LBB0_5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_CDE_PARAM,4,2                  ; @CDE_PARAM
	.comm	_CDE_OK,4,2                     ; @CDE_OK
	.comm	_CDE_ALLOC,4,2                  ; @CDE_ALLOC
	.no_dead_strip	_cdeque_init
.subsections_via_symbols
