	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_next_srcdest_pair
_set_next_srcdest_pair:                 ## @set_next_srcdest_pair
	.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
	movl	%esi, %r14d
	movq	%rdi, %rbx
	movq	(%rdi), %rcx
	testq	%rcx, %rcx
	je	LBB0_1
## %bb.2:
	movslq	16(%rbx), %rdi
	cmpq	%rdi, %rcx
	jne	LBB0_4
## %bb.3:
	leal	(%rdi,%rdi), %r15d
	shll	$3, %edi
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_malloc
	movq	8(%rbx), %rsi
	movl	16(%rbx), %edx
	shll	$2, %edx
	movq	%rax, %rdi
	callq	_memcpy
	movq	(%rbx), %rcx
	movq	8(%rbx), %rdi
	movq	%rax, 8(%rbx)
	movl	%r14d, (%rax,%rcx,4)
	callq	_free
	movl	%r15d, 16(%rbx)
	movq	(%rbx), %rcx
	jmp	LBB0_5
LBB0_1:
	movl	$8, %edi
	callq	_malloc
	movq	%rax, 8(%rbx)
	movq	(%rbx), %rcx
	movl	%r14d, (%rax,%rcx,4)
	movl	$2, 16(%rbx)
	movq	$0, 24(%rbx)
	jmp	LBB0_5
LBB0_4:
	movq	8(%rbx), %rax
	movl	%r14d, (%rax,%rcx,4)
LBB0_5:
	incq	%rcx
	movq	%rcx, (%rbx)
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_set_next_srcdest_pair
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_next_srcdest_pair
_set_next_srcdest_pair:                 ; @set_next_srcdest_pair
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_3
; %bb.1:
	ldrsw	x9, [x19, #16]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.2:
	lsl	w21, w9, #1
	lsl	w0, w9, #3
	bl	_malloc
	ldr	x1, [x19, #8]
	ldr	w8, [x19, #16]
	lsl	w2, w8, #2
	bl	_memcpy
	ldp	x9, x8, [x19]
	str	x0, [x19, #8]
	str	w20, [x0, x9, lsl #2]
	mov	x0, x8
	bl	_free
	str	w21, [x19, #16]
	ldr	x8, [x19]
	b	LBB0_5
LBB0_3:
	mov	w0, #8
	bl	_malloc
	str	x0, [x19, #8]
	ldr	x8, [x19]
	str	w20, [x0, x8, lsl #2]
	mov	w9, #2
	str	w9, [x19, #16]
	str	xzr, [x19, #24]
	b	LBB0_5
LBB0_4:
	ldr	x9, [x19, #8]
	str	w20, [x9, x8, lsl #2]
LBB0_5:
	add	x8, x8, #1
	str	x8, [x19]
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_set_next_srcdest_pair
.subsections_via_symbols
