	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ring_dir_path
_ring_dir_path:                         ## @ring_dir_path
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, %rbx
	movl	%esi, %r12d
	xorl	%r14d, %r14d
	cmpl	$2, %esi
	je	LBB0_5
## %bb.1:
	cmpl	$1, %r12d
	je	LBB0_4
## %bb.2:
	testl	%r12d, %r12d
	jne	LBB0_14
## %bb.3:
	movl	8(%rbx), %eax
	movl	8(%r15), %esi
	movl	8(%rdi), %edx
	jmp	LBB0_6
LBB0_5:
	movl	(%rbx), %eax
	movl	(%r15), %esi
	movl	(%rdi), %edx
	jmp	LBB0_6
LBB0_4:
	movl	4(%rbx), %eax
	movl	4(%r15), %esi
	movl	4(%rdi), %edx
LBB0_6:
	movl	%eax, %edi
	callq	_ring_dir_idx
	movl	%eax, %r13d
	testl	%eax, %eax
	je	LBB0_14
## %bb.7:
	movq	%rbx, %rax
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	%rax, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_ring_next_sw
	cmpq	%r15, %rax
	jne	LBB0_8
	jmp	LBB0_13
LBB0_10:
	negl	%r13d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	testq	%rbx, %rbx
	je	LBB0_14
## %bb.12:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	movl	%r12d, %esi
	movl	%r13d, %edx
	callq	_ring_next_sw
	movq	%rax, %rbx
	cmpq	%r15, %rax
	jne	LBB0_11
LBB0_13:
	movl	%r13d, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_ring_dir_path
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ring_dir_path
_ring_dir_path:                         ; @ring_dir_path
	.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, x3
	mov	x21, x2
	mov	x20, x1
	cmp	w1, #2
	b.eq	LBB0_4
; %bb.1:
	cmp	w20, #1
	b.eq	LBB0_5
; %bb.2:
	cbnz	w20, LBB0_13
; %bb.3:
	ldr	w8, [x21, #8]
	ldr	w1, [x19, #8]
	ldr	w2, [x0, #8]
	b	LBB0_6
LBB0_4:
	ldr	w8, [x21]
	ldr	w1, [x19]
	ldr	w2, [x0]
	b	LBB0_6
LBB0_5:
	ldr	w8, [x21, #4]
	ldr	w1, [x19, #4]
	ldr	w2, [x0, #4]
LBB0_6:
	mov	x0, x8
	bl	_ring_dir_idx
	mov	x22, x0
	cbz	w0, LBB0_14
; %bb.7:
	mov	x0, x21
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	cbz	x0, LBB0_10
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	mov	x1, x20
	mov	x2, x22
	bl	_ring_next_sw
	cmp	x0, x19
	b.ne	LBB0_8
	b	LBB0_14
LBB0_10:
	neg	w22, w22
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	cbz	x21, LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=1
	mov	x0, x21
	mov	x1, x20
	mov	x2, x22
	bl	_ring_next_sw
	mov	x21, x0
	cmp	x0, x19
	b.ne	LBB0_11
	b	LBB0_14
LBB0_13:
	mov	w22, #0
LBB0_14:
	mov	x0, x22
	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	_ring_dir_path
.subsections_via_symbols
