	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cd9660_create_virtual_entry
_cd9660_create_virtual_entry:           ## @cd9660_create_virtual_entry
	.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	%r8d, %r15d
	movl	%ecx, %r14d
	movq	%rdx, %r12
	movq	%rsi, %r13
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	xorl	%edi, %edi
	testq	%rdx, %rdx
	setne	%dil
	callq	_assert
	xorl	%eax, %eax
	callq	_cd9660_allocate_cd9660node
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movl	%r15d, -44(%rbp)                ## 4-byte Spill
	movl	$12, %edi
	callq	_emalloc
	movq	%rax, %r15
	movq	%r13, %rdi
	callq	_estrdup
	movl	%eax, 8(%r15)
	movl	$4, %edi
	callq	_emalloc
	movq	%rax, 32(%rbx)
	movl	8(%r15), %esi
	movl	(%rax), %edx
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movl	%r14d, %ecx
	callq	_cd9660_convert_filename
	movq	%r15, (%rbx)
	movq	%r12, 16(%rbx)
	testq	%r12, %r12
	je	LBB0_6
## %bb.2:
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_6
## %bb.3:
	movq	24(%r12), %rax
	incq	%rax
	movq	%rax, 24(%rbx)
	leaq	8(%r12), %rdi
	callq	_TAILQ_EMPTY
	movq	16(%rbx), %rdi
	testl	%eax, %eax
	je	LBB0_4
## %bb.5:
	addq	$8, %rdi
	movq	_cn_next_child@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%rbx, %rsi
	callq	_TAILQ_INSERT_HEAD
	jmp	LBB0_6
LBB0_4:
	movq	%rbx, %rsi
	callq	_cd9660_sorted_child_insert
LBB0_6:
	movq	(%r12), %rax
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movl	4(%rax), %ecx
	movl	%ecx, 4(%r15)
	jmp	LBB0_9
LBB0_7:
	movl	4(%r15), %ecx
LBB0_9:
	movq	_S_IFMT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%ecx, %eax
	testl	%r14d, %r14d
	jne	LBB0_10
## %bb.11:
	movq	_S_IFDIR@GOTPCREL(%rip), %rcx
	jmp	LBB0_12
LBB0_10:
	movq	_S_IFREG@GOTPCREL(%rip), %rcx
LBB0_12:
	orl	(%rcx), %eax
	movl	%eax, 4(%r15)
	movq	_FSNODE_F_HASSPEC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	andl	%eax, (%r15)
LBB0_13:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_cn_next_child,4,2              ## @cn_next_child
	.comm	_S_IFMT,4,2                     ## @S_IFMT
	.comm	_S_IFREG,4,2                    ## @S_IFREG
	.comm	_S_IFDIR,4,2                    ## @S_IFDIR
	.comm	_FSNODE_F_HASSPEC,4,2           ## @FSNODE_F_HASSPEC
	.no_dead_strip	_cd9660_create_virtual_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cd9660_create_virtual_entry
_cd9660_create_virtual_entry:           ; @cd9660_create_virtual_entry
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x23, x4
	mov	x19, x3
	mov	x22, x2
	mov	x25, x1
	mov	x24, x0
	cmp	x2, #0
	cset	w0, ne
	bl	_assert
	bl	_cd9660_allocate_cd9660node
	mov	x20, x0
	cbz	x0, LBB0_10
; %bb.1:
	mov	w0, #12
	bl	_emalloc
	mov	x21, x0
	mov	x0, x25
	bl	_estrdup
	str	w0, [x21, #8]
	mov	w0, #4
	bl	_emalloc
	str	x0, [x20, #32]
	ldr	w1, [x21, #8]
	ldr	w2, [x0]
	mov	x0, x24
	mov	x3, x19
	bl	_cd9660_convert_filename
	str	x21, [x20]
	str	x22, [x20, #16]
	cbz	x22, LBB0_5
; %bb.2:
	cbz	w23, LBB0_5
; %bb.3:
	ldr	x8, [x22, #24]
	add	x8, x8, #1
	str	x8, [x20, #24]
	add	x0, x22, #8
	bl	_TAILQ_EMPTY
	mov	x8, x0
	ldr	x0, [x20, #16]
	cbz	w8, LBB0_7
; %bb.4:
	add	x0, x0, #8
Lloh0:
	adrp	x8, _cn_next_child@GOTPAGE
Lloh1:
	ldr	x8, [x8, _cn_next_child@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x1, x20
	bl	_TAILQ_INSERT_HEAD
LBB0_5:
	ldr	x8, [x22]
	cbz	x8, LBB0_8
LBB0_6:
	ldr	w8, [x8, #4]
	str	w8, [x21, #4]
	b	LBB0_9
LBB0_7:
	mov	x1, x20
	bl	_cd9660_sorted_child_insert
	ldr	x8, [x22]
	cbnz	x8, LBB0_6
LBB0_8:
	ldr	w8, [x21, #4]
LBB0_9:
Lloh3:
	adrp	x9, _S_IFMT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _S_IFMT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
Lloh6:
	adrp	x10, _S_IFDIR@GOTPAGE
Lloh7:
	ldr	x10, [x10, _S_IFDIR@GOTPAGEOFF]
Lloh8:
	adrp	x11, _S_IFREG@GOTPAGE
Lloh9:
	ldr	x11, [x11, _S_IFREG@GOTPAGEOFF]
	bic	w8, w8, w9
	cmp	w19, #0
	csel	x9, x10, x11, eq
	ldr	w9, [x9]
Lloh10:
	adrp	x10, _FSNODE_F_HASSPEC@GOTPAGE
Lloh11:
	ldr	x10, [x10, _FSNODE_F_HASSPEC@GOTPAGEOFF]
	orr	w8, w9, w8
Lloh12:
	ldr	w9, [x10]
	ldr	w10, [x21]
	bic	w9, w10, w9
	stp	w9, w8, [x21]
LBB0_10:
	mov	x0, x20
	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
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_cn_next_child,4,2              ; @cn_next_child
	.comm	_S_IFMT,4,2                     ; @S_IFMT
	.comm	_S_IFREG,4,2                    ; @S_IFREG
	.comm	_S_IFDIR,4,2                    ; @S_IFDIR
	.comm	_FSNODE_F_HASSPEC,4,2           ; @FSNODE_F_HASSPEC
	.no_dead_strip	_cd9660_create_virtual_entry
.subsections_via_symbols
