	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_steps_using_prefix
_get_steps_using_prefix:                ## @get_steps_using_prefix
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -52(%rbp)                 ## 4-byte Spill
	movl	%r8d, -44(%rbp)                 ## 4-byte Spill
	movq	%rcx, %r15
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movl	%esi, %r13d
	movq	%rdi, %r12
	movq	24(%rbp), %r14
	movq	16(%rbp), %rbx
	movq	%r14, %rdi
	callq	_list_length
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_list_head
                                        ## kill: def $eax killed $eax def $rax
	movq	_NIL@GOTPCREL(%rip), %rcx
	movq	%rbx, %r10
	movl	(%rcx), %ebx
	subq	$8, %rsp
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	%r15, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	movl	-52(%rbp), %r9d                 ## 4-byte Reload
	pushq	%rbx
	pushq	%rbx
	pushq	%rax
	pushq	%r14
	pushq	%r10
	callq	_get_steps_using_prefix_recurse
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%r15, %rdi
	callq	_list_make1
	movq	%rax, %r14
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_list_make1_oid
	movq	%r12, %rdi
	movl	%r13d, %esi
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	%r14, %rcx
	movl	%eax, %r8d
	movq	%rbx, %r9
	callq	_gen_prune_step_op
	movq	%rax, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_list_make1                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NIL,4,2                        ## @NIL
	.no_dead_strip	_get_steps_using_prefix
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_steps_using_prefix
_get_steps_using_prefix:                ; @get_steps_using_prefix
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x7
	mov	x19, x6
	mov	x25, x5
	mov	x22, x4
	mov	x26, x3
	mov	x20, x2
	mov	x21, x1
	mov	x24, x0
	mov	x0, x7
	bl	_list_length
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x23
	bl	_list_head
Lloh0:
	adrp	x8, _NIL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NIL@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stp	w8, w8, [sp, #4]
	str	w0, [sp]
	mov	x0, x24
	mov	x1, x21
	mov	x2, x20
	mov	x3, x26
	mov	x4, x22
	mov	x5, x25
	mov	x6, x19
	mov	x7, x23
	bl	_get_steps_using_prefix_recurse
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_2:
	mov	x0, x26
	bl	_list_make1
	mov	x23, x0
	mov	x0, x22
	bl	_list_make1_oid
	mov	x4, x0
	mov	x0, x24
	mov	x1, x21
	mov	x2, x20
	mov	x3, x23
	mov	x5, x19
	bl	_gen_prune_step_op
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_list_make1
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NIL,4,2                        ; @NIL
	.no_dead_strip	_get_steps_using_prefix
.subsections_via_symbols
