	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mylist_create                  ## -- Begin function mylist_create
	.p2align	4, 0x90
_mylist_create:                         ## @mylist_create
	.cfi_startproc
## %bb.0:
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movl	%esi, %r13d
	movq	%rdi, %r14
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	testl	%esi, %esi
	movl	$0, %r15d
	cmovgl	%esi, %r15d
	cmpq	$0, (%rdi)
	je	LBB0_3
## %bb.2:
	movq	%r14, %rdi
	callq	_mylist_destroy
LBB0_3:
	movl	$32, %edi
	callq	_malloc
	movq	%rax, %rbx
	movq	%rax, (%r14)
	movq	$0, 24(%rax)
	movl	%r12d, 16(%rax)
	movl	-44(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, 12(%rbx)
	testl	%r13d, %r13d
	jle	LBB0_4
## %bb.5:
	movl	%r15d, %edi
	movl	$8, %esi
	callq	_calloc
	movl	%r15d, %ecx
	jmp	LBB0_6
LBB0_4:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
LBB0_6:
	movq	%rax, (%rbx)
	movl	%ecx, 8(%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
LBB0_7:
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mylist_create                  ; -- Begin function mylist_create
	.p2align	2
_mylist_create:                         ; @mylist_create
	.cfi_startproc
; %bb.0:
	cbz	x0, LBB0_7
; %bb.1:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x21, x3
	mov	x23, x2
	mov	x22, x1
	mov	x24, x0
	cmp	w1, #0
	csel	w19, w1, wzr, gt
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x24
	bl	_mylist_destroy
LBB0_3:
	mov	w0, #32
	bl	_malloc
	mov	x20, x0
	str	x0, [x24]
	str	xzr, [x0, #24]
	stp	w21, w23, [x0, #12]
	cmp	w22, #1
	b.lt	LBB0_5
; %bb.4:
	mov	x0, x19
	mov	w1, #8
	bl	_calloc
	b	LBB0_6
LBB0_5:
	mov	x0, #0
	mov	w19, #0
LBB0_6:
	str	x0, [x20]
	str	w19, [x20, #8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
LBB0_7:
	.cfi_def_cfa wsp, 0
	.cfi_same_value w30
	.cfi_same_value w29
	.cfi_same_value w19
	.cfi_same_value w20
	.cfi_same_value w21
	.cfi_same_value w22
	.cfi_same_value w23
	.cfi_same_value w24
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
