	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function isoent_rr_move
_isoent_rr_move:                        ## @isoent_rr_move
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	(%rdi), %rbx
	movq	8(%rbx), %rcx
	movq	_MAX_DEPTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %r13
	decq	%r13
	shlq	$4, %r13
	cmpq	$0, (%rcx,%r13)
	je	LBB0_14
## %bb.1:
	movq	%rdi, %r14
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r15
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_isoent_find_child
	movq	%rax, -72(%rbp)
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %r12
	cmpq	32(%r15), %rax
	je	LBB0_4
## %bb.3:
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_isoent_remove_child
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_isoent_add_child_head
LBB0_4:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	8(%rdi,%r13), %r12
	testq	%r12, %r12
	je	LBB0_14
## %bb.5:
	addq	%r13, %rdi
	leaq	-64(%rbp), %r13
	movq	%rdi, -48(%rbp)                 ## 8-byte Spill
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_7 Depth 2
                                        ##       Child Loop BB0_10 Depth 3
	callq	_path_table_last_entry
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_7 Depth=2
	movq	(%r12), %r12
	testq	%r12, %r12
	je	LBB0_13
LBB0_7:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Loop Header: Depth=2
                                        ##       Child Loop BB0_10 Depth 3
	cmpl	$0, 24(%r12)
	je	LBB0_12
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=2
	movq	16(%r12), %r15
	testq	%r15, %r15
	je	LBB0_12
	.p2align	4, 0x90
LBB0_10:                                ##   Parent Loop BB0_6 Depth=1
                                        ##     Parent Loop BB0_7 Depth=2
                                        ## =>    This Inner Loop Header: Depth=3
	movq	%r14, %rdi
	leaq	-72(%rbp), %rsi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_isoent_rr_move_dir
	testl	%eax, %eax
	js	LBB0_15
## %bb.11:                              ##   in Loop: Header=BB0_10 Depth=3
	movq	-64(%rbp), %rsi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_isoent_collect_dirs
	movq	8(%r15), %r15
	testq	%r15, %r15
	jne	LBB0_10
	jmp	LBB0_12
LBB0_13:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %r12
	testq	%r12, %r12
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jne	LBB0_6
LBB0_14:
	movq	_ARCHIVE_OK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_15:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_DEPTH,4,2                  ## @MAX_DEPTH
	.comm	_ARCHIVE_OK,4,2                 ## @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"rr_moved"

	.no_dead_strip	_isoent_rr_move
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function isoent_rr_move
_isoent_rr_move:                        ; @isoent_rr_move
	.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
	ldr	x20, [x0]
	ldr	x24, [x20, #8]
Lloh0:
	adrp	x8, _MAX_DEPTH@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_DEPTH@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	sub	x25, x8, #1
	add	x21, x24, x25, lsl #4
	ldr	x8, [x21]
	cbz	x8, LBB0_12
; %bb.1:
	mov	x19, x0
	ldr	x22, [x20]
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x22
	bl	_isoent_find_child
	str	x0, [sp, #8]
	cbz	x0, LBB0_4
; %bb.2:
	mov	x23, x0
	ldr	x8, [x22, #32]
	cmp	x0, x8
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x22
	mov	x1, x23
	bl	_isoent_remove_child
	mov	x0, x22
	mov	x1, x23
	bl	_isoent_add_child_head
LBB0_4:
	add	x8, x24, x25, lsl #4
	ldr	x24, [x8, #8]
	cbz	x24, LBB0_12
LBB0_5:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_7 Depth 2
                                        ;       Child Loop BB0_9 Depth 3
	mov	x0, x21
	bl	_path_table_last_entry
	mov	x22, x0
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=2
	ldr	x24, [x24]
	cbz	x24, LBB0_11
LBB0_7:                                 ;   Parent Loop BB0_5 Depth=1
                                        ; =>  This Loop Header: Depth=2
                                        ;       Child Loop BB0_9 Depth 3
	ldr	w8, [x24, #24]
	cbz	w8, LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=2
	ldr	x23, [x24, #16]
	cbz	x23, LBB0_6
LBB0_9:                                 ;   Parent Loop BB0_5 Depth=1
                                        ;     Parent Loop BB0_7 Depth=2
                                        ; =>    This Inner Loop Header: Depth=3
	add	x1, sp, #8
	mov	x3, sp
	mov	x0, x19
	mov	x2, x23
	bl	_isoent_rr_move_dir
	tbnz	w0, #31, LBB0_13
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=3
	ldr	x1, [sp]
	mov	x0, x20
	mov	w2, #2
	bl	_isoent_collect_dirs
	ldr	x23, [x23, #8]
	cbnz	x23, LBB0_9
	b	LBB0_6
LBB0_11:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x24, [x22]
	cbnz	x24, LBB0_5
LBB0_12:
Lloh5:
	adrp	x8, _ARCHIVE_OK@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ARCHIVE_OK@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
LBB0_13:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_DEPTH,4,2                  ; @MAX_DEPTH
	.comm	_ARCHIVE_OK,4,2                 ; @ARCHIVE_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"rr_moved"

	.no_dead_strip	_isoent_rr_move
.subsections_via_symbols
