	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cd9660_create_file
_cd9660_create_file:                    ## @cd9660_create_file
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdi, %r14
	movl	$1, %ecx
	movl	$1, %r8d
	callq	_cd9660_create_virtual_entry
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %rbx
	movq	$0, 16(%rax)
	movq	_CD9660_TYPE_FILE@GOTPCREL(%rip), %rax
	movq	_CD9660_TYPE_VIRTUAL@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movl	$1, %edi
	movl	$4, %esi
	callq	_ecalloc
	movq	8(%rbx), %rcx
	movq	%rax, (%rcx)
	movq	8(%r15), %rcx
	movq	(%rcx), %rcx
	movl	(%rcx), %ecx
	movl	%ecx, (%rax)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_cd9660_translate_node_common
	testq	%rax, %rax
	cmoveq	%rax, %rbx
	jmp	LBB0_3
LBB0_1:
	xorl	%ebx, %ebx
LBB0_3:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CD9660_TYPE_FILE,4,2           ## @CD9660_TYPE_FILE
	.comm	_CD9660_TYPE_VIRTUAL,4,2        ## @CD9660_TYPE_VIRTUAL
	.no_dead_strip	_cd9660_create_file
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cd9660_create_file
_cd9660_create_file:                    ; @cd9660_create_file
	.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	x20, x3
	mov	x19, x0
	mov	w3, #1
	mov	w4, #1
	bl	_cd9660_create_virtual_entry
	cbz	x0, LBB0_2
; %bb.1:
	mov	x21, x0
	str	xzr, [x0, #16]
Lloh0:
	adrp	x8, _CD9660_TYPE_FILE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CD9660_TYPE_FILE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _CD9660_TYPE_VIRTUAL@GOTPAGE
Lloh4:
	ldr	x9, [x9, _CD9660_TYPE_VIRTUAL@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x0]
	mov	w0, #1
	mov	w1, #4
	bl	_ecalloc
	ldr	x8, [x21, #8]
	str	x0, [x8]
	ldr	x8, [x20, #8]
	ldr	x8, [x8]
	ldr	w8, [x8]
	str	w8, [x0]
	mov	x0, x19
	mov	x1, x21
	bl	_cd9660_translate_node_common
	cmp	x0, #0
	csel	x0, xzr, x21, eq
LBB0_2:
	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
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_CD9660_TYPE_FILE,4,2           ; @CD9660_TYPE_FILE
	.comm	_CD9660_TYPE_VIRTUAL,4,2        ; @CD9660_TYPE_VIRTUAL
	.no_dead_strip	_cd9660_create_file
.subsections_via_symbols
