	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function splice_viable
_splice_viable:                         ## @splice_viable
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rdi, -16(%rbp)
	movq	$0, -8(%rbp)
	movl	$0, (%rdx)
	testq	%rdi, %rdi
	je	LBB0_1
## %bb.2:
	leaq	-16(%rbp), %rcx
	leaq	-8(%rbp), %r8
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	testl	%eax, %eax
	je	LBB0_5
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	%rdi, (%r8)
	leaq	8(%rdi), %r8
	movq	8(%rdi), %rax
	movq	%rax, (%rcx)
	movq	$0, 8(%rdi)
	movl	$1, (%rdx)
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	(%rcx), %rdi
	testq	%rdi, %rdi
	je	LBB0_9
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%rdi), %eax
	testl	%esi, %esi
	je	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpl	$1, %eax
	je	LBB0_7
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	addq	$8, %rdi
	movq	%rdi, %rcx
	jmp	LBB0_8
LBB0_9:
	movq	-8(%rbp), %rcx
	movq	-16(%rbp), %rax
	jmp	LBB0_10
LBB0_1:
	xorl	%eax, %eax
	xorl	%ecx, %ecx
LBB0_10:
	testq	%rcx, %rcx
	cmovneq	%rcx, %rax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_splice_viable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function splice_viable
_splice_viable:                         ; @splice_viable
	.cfi_startproc
; %bb.0:
	stp	xzr, x0, [sp, #-16]!
	.cfi_def_cfa_offset 16
	str	wzr, [x2]
	cbz	x0, LBB0_8
; %bb.1:
	add	x8, sp, #8
	mov	x10, sp
	mov	w9, #1
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	cbz	w11, LBB0_6
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	str	x0, [x10]
	ldr	x10, [x0, #8]!
	str	x10, [x8]
	str	xzr, [x0]
	str	w9, [x2]
	mov	x10, x0
	ldr	x0, [x8]
	cbz	x0, LBB0_7
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x0]
	cbz	w1, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w11, #1
	b.eq	LBB0_3
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x8, x0, #8
	ldr	x0, [x8]
	cbnz	x0, LBB0_4
LBB0_7:
	ldp	x8, x9, [sp]
	b	LBB0_9
LBB0_8:
	mov	x9, #0
	mov	x8, #0
LBB0_9:
	cmp	x8, #0
	csel	x0, x9, x8, eq
	add	sp, sp, #16
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_splice_viable
.subsections_via_symbols
