	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cd9660_rrip_move_directory
_cd9660_rrip_move_directory:            ## @cd9660_rrip_move_directory
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	cmpq	$0, 8(%rdi)
	jne	LBB0_5
## %bb.1:
	movq	_ISO_RRIP_DEFAULT_MOVE_DIR_NAME@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	16(%r14), %edx
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_cd9660_create_directory
	movq	%rax, 8(%r14)
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	movq	8(%rax), %rax
	movl	(%rax), %edi
	movq	_stampst@GOTPCREL(%rip), %rax
	cmpq	$0, 8(%rax)
	jne	LBB0_4
## %bb.3:
	movq	_start_time@GOTPCREL(%rip), %rax
LBB0_4:
	movl	(%rax), %esi
	callq	_cd9660_time_915
LBB0_5:
	movq	16(%rbx), %rdx
	movq	32(%rbx), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	%rbx, %rcx
	callq	_cd9660_create_file
	testq	%rax, %rax
	je	LBB0_11
## %bb.6:
	movq	%rax, %r15
	movl	(%r14), %ecx
	incl	%ecx
	movl	%ecx, (%r14)
	leaq	L_.str(%rip), %rdx
	leaq	-41(%rbp), %rdi
	movl	$9, %esi
	callq	_snprintf
	movq	16(%rbx), %rdi
	movq	%rdi, 24(%rbx)
	callq	_TAILQ_EMPTY
	movq	24(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_9
## %bb.7:
	movq	_cn_next_child@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rsi
	callq	_TAILQ_INSERT_HEAD
	jmp	LBB0_10
LBB0_11:
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_9:
	movq	%r15, %rsi
	callq	_cd9660_sorted_child_insert
LBB0_10:
	movq	8(%r14), %rdi
	movq	%rdi, 16(%rbx)
	movq	%rbx, 8(%r15)
	movq	%rbx, %rsi
	callq	_cd9660_sorted_child_insert
	movq	(%rbx), %rax
	movl	16(%rax), %edi
	movq	_ISO_FILENAME_MAXLENGTH_WITH_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%rbx), %rax
	movl	16(%rax), %edi
	leaq	-41(%rbp), %rsi
	movl	$8, %edx
	callq	_strncpy
	movq	(%rbx), %rax
	movq	(%rax), %rcx
	movl	$42, (%rcx)
	movq	8(%rax), %rax
	movl	$8, (%rax)
LBB0_12:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ISO_RRIP_DEFAULT_MOVE_DIR_NAME,4,2 ## @ISO_RRIP_DEFAULT_MOVE_DIR_NAME
	.comm	_stampst,16,3                   ## @stampst
	.comm	_start_time,4,2                 ## @start_time
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%08i"

	.comm	_cn_next_child,4,2              ## @cn_next_child
	.comm	_ISO_FILENAME_MAXLENGTH_WITH_PADDING,4,2 ## @ISO_FILENAME_MAXLENGTH_WITH_PADDING
	.no_dead_strip	_cd9660_rrip_move_directory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cd9660_rrip_move_directory
_cd9660_rrip_move_directory:            ; @cd9660_rrip_move_directory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #24]
	ldr	x8, [x0, #8]
	cbnz	x8, LBB0_3
; %bb.1:
Lloh3:
	adrp	x8, _ISO_RRIP_DEFAULT_MOVE_DIR_NAME@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISO_RRIP_DEFAULT_MOVE_DIR_NAME@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	ldr	w2, [x20, #16]
	mov	x0, x20
	mov	x3, x19
	bl	_cd9660_create_directory
	str	x0, [x20, #8]
	cbz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x0, #8]
	ldr	w0, [x8]
Lloh6:
	adrp	x8, _stampst@GOTPAGE
Lloh7:
	ldr	x8, [x8, _stampst@GOTPAGEOFF]
	ldr	x9, [x8, #8]
Lloh8:
	adrp	x10, _start_time@GOTPAGE
Lloh9:
	ldr	x10, [x10, _start_time@GOTPAGEOFF]
	cmp	x9, #0
	csel	x8, x10, x8, eq
	ldr	w1, [x8]
	bl	_cd9660_time_915
LBB0_3:
	ldr	x8, [x19, #32]
	ldr	w1, [x8]
	ldr	x2, [x19, #16]
	mov	x0, x20
	mov	x3, x19
	bl	_cd9660_create_file
	cbz	x0, LBB0_6
; %bb.4:
	mov	x21, x0
	ldr	w8, [x20]
	add	w3, w8, #1
	str	w3, [x20]
Lloh10:
	adrp	x2, l_.str@PAGE
Lloh11:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #15
	mov	w1, #9
	bl	_snprintf
	ldr	x0, [x19, #16]
	str	x0, [x19, #24]
	bl	_TAILQ_EMPTY
	mov	x8, x0
	ldr	x0, [x19, #24]
	cbz	x8, LBB0_7
; %bb.5:
Lloh12:
	adrp	x8, _cn_next_child@GOTPAGE
Lloh13:
	ldr	x8, [x8, _cn_next_child@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x1, x21
	bl	_TAILQ_INSERT_HEAD
	b	LBB0_8
LBB0_6:
	mov	x19, #0
	b	LBB0_9
LBB0_7:
	mov	x1, x21
	bl	_cd9660_sorted_child_insert
LBB0_8:
	ldr	x0, [x20, #8]
	str	x0, [x19, #16]
	str	x19, [x21, #8]
	mov	x1, x19
	bl	_cd9660_sorted_child_insert
	ldr	x8, [x19]
	ldr	w0, [x8, #16]
Lloh15:
	adrp	x8, _ISO_FILENAME_MAXLENGTH_WITH_PADDING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ISO_FILENAME_MAXLENGTH_WITH_PADDING@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	w1, #0
	bl	_memset
	ldr	x8, [x19]
	ldr	w0, [x8, #16]
	mov	w20, #8
	add	x1, sp, #15
	mov	w2, #8
	bl	_strncpy
	ldr	x8, [x19]
	ldr	x9, [x8]
	mov	w10, #42
	str	w10, [x9]
	ldr	x8, [x8, #8]
	str	w20, [x8]
LBB0_9:
	ldr	x8, [sp, #24]
Lloh18:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh19:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh20:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_11
; %bb.10:
	mov	x0, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_11:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_ISO_RRIP_DEFAULT_MOVE_DIR_NAME,4,2 ; @ISO_RRIP_DEFAULT_MOVE_DIR_NAME
	.comm	_stampst,16,3                   ; @stampst
	.comm	_start_time,4,2                 ; @start_time
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%08i"

	.comm	_cn_next_child,4,2              ; @cn_next_child
	.comm	_ISO_FILENAME_MAXLENGTH_WITH_PADDING,4,2 ; @ISO_FILENAME_MAXLENGTH_WITH_PADDING
	.no_dead_strip	_cd9660_rrip_move_directory
.subsections_via_symbols
