	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_co_create                      ## -- Begin function co_create
	.p2align	4, 0x90
_co_create:                             ## @co_create
	.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	%rsi, %r14
	movl	%edi, %ebx
	movq	_co_swap@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	callq	_co_init
LBB0_2:
	movq	_co_active_handle@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_4
## %bb.3:
	movq	_co_active_buffer@GOTPCREL(%rip), %rcx
	movq	%rcx, (%rax)
LBB0_4:
	addl	$256, %ebx                      ## imm = 0x100
	andl	$-16, %ebx
	movl	%ebx, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%ebx, %ecx
	movq	%rax, %rdx
	addq	%rcx, %rdx
	movq	%rdx, 64(%rax)
	movq	%r14, 72(%rax)
LBB0_6:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_co_swap,4,2                    ## @co_swap
	.comm	_co_active_handle,8,3           ## @co_active_handle
	.comm	_co_active_buffer,4,2           ## @co_active_buffer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_co_create                      ; -- Begin function co_create
	.p2align	2
_co_create:                             ; @co_create
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _co_swap@GOTPAGE
Lloh1:
	ldr	x8, [x8, _co_swap@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cbnz	w8, LBB0_2
; %bb.1:
	bl	_co_init
LBB0_2:
Lloh3:
	adrp	x8, _co_active_handle@GOTPAGE
Lloh4:
	ldr	x8, [x8, _co_active_handle@GOTPAGEOFF]
	ldr	x9, [x8]
	cbnz	x9, LBB0_4
; %bb.3:
Lloh5:
	adrp	x9, _co_active_buffer@GOTPAGE
Lloh6:
	ldr	x9, [x9, _co_active_buffer@GOTPAGEOFF]
	str	x9, [x8]
LBB0_4:
	add	w8, w20, #256
	and	w20, w8, #0xfffffff0
	mov	x0, x20
	bl	_malloc
	cbz	x0, LBB0_6
; %bb.5:
	add	x8, x0, w20, uxtw
	stp	x8, x19, [x0, #64]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_co_swap,4,2                    ; @co_swap
	.comm	_co_active_handle,8,3           ; @co_active_handle
	.comm	_co_active_buffer,4,2           ; @co_active_buffer
.subsections_via_symbols
