	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mylist_remove_at               ## -- Begin function mylist_remove_at
	.p2align	4, 0x90
_mylist_remove_at:                      ## @mylist_remove_at
	.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
	testl	%esi, %esi
	js	LBB0_10
## %bb.1:
	movl	%esi, %ebx
	movq	%rdi, %r14
	cmpl	%esi, (%rdi)
	jle	LBB0_10
## %bb.2:
	movq	%r14, %rdi
	movl	%ebx, %esi
	xorl	%edx, %edx
	callq	_mylist_assign
	movl	(%r14), %ecx
	movslq	%ecx, %r8
	leal	1(%rbx), %eax
	cmpl	%r8d, %eax
	jge	LBB0_9
## %bb.3:
	movl	%ebx, %edx
	movl	%ebx, %esi
	notl	%esi
	addl	%ecx, %esi
	movl	%ecx, %r9d
	subl	%ebx, %r9d
	addl	$-2, %r9d
	andl	$3, %esi
	je	LBB0_6
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rdi
	movq	8(%rdi,%rdx,8), %rbx
	movslq	%edx, %rax
	movq	%rbx, (%rdi,%rax,8)
	incq	%rdx
	decl	%esi
	jne	LBB0_4
## %bb.5:
	movl	%edx, %ebx
LBB0_6:
	incq	%rdx
	cmpl	$3, %r9d
	jb	LBB0_9
## %bb.7:
	movq	%rdx, %rsi
	shlq	$32, %rsi
	movabsq	$4294967296, %r9                ## imm = 0x100000000
	movabsq	$8589934592, %r10               ## imm = 0x200000000
	movabsq	$17179869184, %r11              ## imm = 0x400000000
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r14), %rax
	movq	(%rax,%rdx,8), %rdi
	movslq	%ebx, %rbx
	movq	%rdi, (%rax,%rbx,8)
	movq	8(%r14), %rax
	movq	8(%rax,%rdx,8), %rdi
	movq	%rsi, %rbx
	sarq	$29, %rbx
	movq	%rdi, (%rax,%rbx)
	movq	8(%r14), %rax
	movq	16(%rax,%rdx,8), %rdi
	leaq	(%rsi,%r9), %rbx
	sarq	$29, %rbx
	movq	%rdi, (%rax,%rbx)
	movq	8(%r14), %rax
	movq	24(%rax,%rdx,8), %rdi
	leaq	(%rsi,%r10), %rbx
	sarq	$29, %rbx
	movq	%rdi, (%rax,%rbx)
	movl	%edx, %ebx
	leaq	4(%rdx), %rax
	addl	$3, %ebx
	addq	%r11, %rsi
	movq	%rax, %rdx
	cmpl	%eax, %ecx
	jne	LBB0_8
LBB0_9:
	leaq	-1(%r8), %rax
	movl	%eax, (%r14)
	movq	8(%r14), %rax
	movq	$0, -8(%rax,%r8,8)
LBB0_10:
	popq	%rbx
	popq	%r14
	popq	%rbp
	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_remove_at               ; -- Begin function mylist_remove_at
	.p2align	2
_mylist_remove_at:                      ; @mylist_remove_at
	.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
	tbnz	w1, #31, LBB0_6
; %bb.1:
	mov	x20, x1
	mov	x19, x0
	ldr	w8, [x0]
	cmp	w8, w1
	b.le	LBB0_6
; %bb.2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, #0
	bl	_mylist_assign
	ldr	w8, [x19]
	add	w9, w20, #1
	cmp	w9, w8
	b.ge	LBB0_5
; %bb.3:
	mov	w9, w20
	sub	w10, w8, #1
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x19, #8]
	add	x12, x11, x9, lsl #3
	ldr	x12, [x12, #8]
	str	x12, [x11, w9, sxtw #3]
	add	x9, x9, #1
	cmp	w10, w9
	b.ne	LBB0_4
LBB0_5:
	sub	w8, w8, #1
	str	w8, [x19]
	ldr	x9, [x19, #8]
	str	xzr, [x9, w8, sxtw #3]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
