	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cd9660_create_special_directory
_cd9660_create_special_directory:       ## @cd9660_create_special_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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movq	%rsi, %r15
	movq	%rdi, %rbx
	xorl	%edi, %edi
	testq	%rdx, %rdx
	setne	%dil
	callq	_assert
	movq	_CD9660_TYPE_DOT@GOTPCREL(%rip), %r12
	cmpq	%r15, (%r12)
	jne	LBB0_2
## %bb.1:
	xorl	%eax, %eax
	jmp	LBB0_3
LBB0_2:
	movq	_CD9660_TYPE_DOTDOT@GOTPCREL(%rip), %rcx
	movb	$1, %al
	cmpq	%r15, (%rcx)
	jne	LBB0_8
LBB0_3:
	movb	%al, -34(%rbp)
	movb	$0, -33(%rbp)
	leaq	-34(%rbp), %rsi
	movq	%rbx, %rdi
	movq	%r14, %rdx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	callq	_cd9660_create_virtual_entry
	testq	%rax, %rax
	je	LBB0_8
## %bb.4:
	movq	%rax, %rbx
	movq	%r14, 40(%rax)
	movq	%r15, (%rax)
	movq	32(%rax), %rax
	movq	(%rax), %rax
	movl	$34, (%rax)
	cmpq	%r15, (%r12)
	jne	LBB0_9
## %bb.5:
	movq	%rbx, 24(%r14)
	addq	$8, %r14
LBB0_6:
	movq	_cn_next_child@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_HEAD
	jmp	LBB0_13
LBB0_8:
	xorl	%ebx, %ebx
LBB0_13:
	movq	%rbx, %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	_CD9660_TYPE_DOTDOT@GOTPCREL(%rip), %rax
	cmpq	%r15, (%rax)
	jne	LBB0_13
## %bb.10:
	movq	%rbx, 16(%r14)
	addq	$8, %r14
	movq	%r14, %rdi
	callq	_TAILQ_FIRST
	testq	%rax, %rax
	je	LBB0_6
## %bb.11:
	movq	(%r12), %rcx
	testq	%rcx, (%rax)
	je	LBB0_6
## %bb.12:
	movq	_cn_next_child@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	%r14, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_TAILQ_INSERT_AFTER
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_CD9660_TYPE_DOT,8,3            ## @CD9660_TYPE_DOT
	.comm	_CD9660_TYPE_DOTDOT,8,3         ## @CD9660_TYPE_DOTDOT
	.comm	_cn_next_child,4,2              ## @cn_next_child
	.no_dead_strip	_cd9660_create_special_directory
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cd9660_create_special_directory
_cd9660_create_special_directory:       ; @cd9660_create_special_directory
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	cmp	x2, #0
	cset	w0, ne
	bl	_assert
Lloh0:
	adrp	x22, _CD9660_TYPE_DOT@GOTPAGE
Lloh1:
	ldr	x22, [x22, _CD9660_TYPE_DOT@GOTPAGEOFF]
	ldr	x8, [x22]
	cmp	x8, x21
	b.ne	LBB0_2
; %bb.1:
	mov	w8, #0
	b	LBB0_4
LBB0_2:
Lloh2:
	adrp	x8, _CD9660_TYPE_DOTDOT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _CD9660_TYPE_DOTDOT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_7
; %bb.3:
	mov	w8, #1
LBB0_4:
	strb	w8, [sp, #14]
	strb	wzr, [sp, #15]
	add	x1, sp, #14
	mov	x0, x19
	mov	x2, x20
	mov	w3, #0
	mov	w4, #0
	bl	_cd9660_create_virtual_entry
	mov	x19, x0
	cbz	x0, LBB0_14
; %bb.5:
	str	x20, [x19, #40]
	str	x21, [x19]
	ldr	x8, [x19, #32]
	ldr	x8, [x8]
	mov	w9, #34
	str	w9, [x8]
	ldr	x8, [x22]
	cmp	x8, x21
	b.ne	LBB0_8
; %bb.6:
	str	x19, [x20, #24]
	add	x0, x20, #8
Lloh5:
	adrp	x8, _cn_next_child@GOTPAGE
Lloh6:
	ldr	x8, [x8, _cn_next_child@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	b	LBB0_13
LBB0_7:
	mov	x19, #0
	b	LBB0_14
LBB0_8:
Lloh8:
	adrp	x8, _CD9660_TYPE_DOTDOT@GOTPAGE
Lloh9:
	ldr	x8, [x8, _CD9660_TYPE_DOTDOT@GOTPAGEOFF]
Lloh10:
	ldr	x8, [x8]
	cmp	x8, x21
	b.ne	LBB0_14
; %bb.9:
	str	x19, [x20, #16]
	add	x20, x20, #8
	mov	x0, x20
	bl	_TAILQ_FIRST
	cbz	x0, LBB0_12
; %bb.10:
	mov	x1, x0
	ldr	x8, [x0]
	ldr	x9, [x22]
	tst	x9, x8
	b.eq	LBB0_12
; %bb.11:
Lloh11:
	adrp	x8, _cn_next_child@GOTPAGE
Lloh12:
	ldr	x8, [x8, _cn_next_child@GOTPAGEOFF]
Lloh13:
	ldr	w3, [x8]
	mov	x0, x20
	mov	x2, x19
	bl	_TAILQ_INSERT_AFTER
	b	LBB0_14
LBB0_12:
Lloh14:
	adrp	x8, _cn_next_child@GOTPAGE
Lloh15:
	ldr	x8, [x8, _cn_next_child@GOTPAGEOFF]
Lloh16:
	ldr	w2, [x8]
	mov	x0, x20
LBB0_13:
	mov	x1, x19
	bl	_TAILQ_INSERT_HEAD
LBB0_14:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_CD9660_TYPE_DOT,8,3            ; @CD9660_TYPE_DOT
	.comm	_CD9660_TYPE_DOTDOT,8,3         ; @CD9660_TYPE_DOTDOT
	.comm	_cn_next_child,4,2              ; @cn_next_child
	.no_dead_strip	_cd9660_create_special_directory
.subsections_via_symbols
