	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ylist_copy_positions
_ylist_copy_positions:                  ## @ylist_copy_positions
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r14
	movq	%rdi, %r15
	movl	(%rdi), %eax
	xorl	%edi, %edi
	cmpl	(%rsi), %eax
	setle	%dil
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	(%r15), %ecx
	movl	(%r14), %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%ecx, %ebx
	leal	(%rbx,%rbx), %ecx
	cmpl	%eax, %ebx
	jle	LBB0_3
## %bb.4:
	leal	(,%rbx,4), %edi
	callq	_zmalloc
	movq	%rax, 8(%r15)
	movq	16(%r15), %rcx
	movq	%rax, (%rcx)
	movl	%ebx, (%r15)
	movq	_decoder_positions_max_capacity@GOTPCREL(%rip), %rcx
	cmpl	%ebx, (%rcx)
	jge	LBB0_6
## %bb.5:
	movl	%ebx, (%rcx)
	jmp	LBB0_6
LBB0_1:
	movq	8(%r15), %rax
LBB0_6:
	movl	(%r14), %ecx
	movl	%ecx, (%rax)
	movq	8(%r14), %rcx
	testq	%rcx, %rcx
	je	LBB0_9
## %bb.7:
	addq	$4, %rax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rcx), %edx
	movl	%edx, (%rax)
	movq	8(%rcx), %rcx
	addq	$4, %rax
	testq	%rcx, %rcx
	jne	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_decoder_positions_max_capacity,4,2 ## @decoder_positions_max_capacity
	.no_dead_strip	_ylist_copy_positions
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ylist_copy_positions
_ylist_copy_positions:                  ; @ylist_copy_positions
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	ldr	w9, [x1]
	cmp	w8, w9
	cset	w0, le
	bl	_unlikely
	cbz	x0, LBB0_5
; %bb.1:
	ldr	w8, [x20]
	ldr	w9, [x19]
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	mov	x21, x8
	lsl	w8, w8, #1
	cmp	w21, w9
	b.le	LBB0_2
; %bb.3:
	lsl	w0, w21, #2
	bl	_zmalloc
	str	x0, [x20, #8]
	ldr	x8, [x20, #16]
	str	x0, [x8]
	str	w21, [x20]
Lloh0:
	adrp	x8, _decoder_positions_max_capacity@GOTPAGE
Lloh1:
	ldr	x8, [x8, _decoder_positions_max_capacity@GOTPAGEOFF]
	ldr	w9, [x8]
	cmp	w9, w21
	b.ge	LBB0_6
; %bb.4:
	str	w21, [x8]
	b	LBB0_6
LBB0_5:
	ldr	x0, [x20, #8]
LBB0_6:
	ldr	w8, [x19]
	str	w8, [x0]
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_9
; %bb.7:
	add	x9, x0, #4
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x8]
	str	w10, [x9], #4
	ldr	x8, [x8, #8]
	cbnz	x8, LBB0_8
LBB0_9:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_decoder_positions_max_capacity,4,2 ; @decoder_positions_max_capacity
	.no_dead_strip	_ylist_copy_positions
.subsections_via_symbols
