	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsoOpen                        ## -- Begin function IsoOpen
	.p2align	4, 0x90
_IsoOpen:                               ## @IsoOpen
	.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	_OpenReadOnly@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jne	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	%rdi, %rbx
	movl	(%rdx), %edi
	callq	_FsGetDeviceId
	movl	%eax, %r15d
	leaq	L_.str(%rip), %rdi
	movq	%rbx, %rsi
	callq	_TRACE
	leaq	-36(%rbp), %r12
	movq	%r12, %rdi
	movl	$4, %esi
	callq	_RtlZeroMemory
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%r12, %rdx
	callq	_IsoLookupFile
	movq	_ESUCCESS@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_3
## %bb.4:
	movq	_TAG_ISO_FILE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$4, %edi
	callq	_FrLdrTempAlloc
	testl	%eax, %eax
	je	LBB0_5
## %bb.6:
	movl	%eax, %r15d
	leaq	-36(%rbp), %rsi
	movl	%eax, %edi
	movl	$4, %edx
	callq	_RtlCopyMemory
	movl	(%r14), %edi
	movl	%r15d, %esi
	callq	_FsSetDeviceSpecific
	jmp	LBB0_7
LBB0_1:
	movq	_EACCES@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_3:
	movq	_ENOENT@GOTPCREL(%rip), %rbx
	jmp	LBB0_7
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
LBB0_7:
	movq	(%rbx), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_OpenReadOnly,8,3               ## @OpenReadOnly
	.comm	_EACCES,8,3                     ## @EACCES
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"IsoOpen() FileName = %s\n"

	.comm	_ESUCCESS,8,3                   ## @ESUCCESS
	.comm	_ENOENT,8,3                     ## @ENOENT
	.comm	_TAG_ISO_FILE,4,2               ## @TAG_ISO_FILE
	.comm	_ENOMEM,8,3                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_IsoOpen                        ; -- Begin function IsoOpen
	.p2align	2
_IsoOpen:                               ; @IsoOpen
	.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
Lloh0:
	adrp	x8, _OpenReadOnly@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OpenReadOnly@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x0
	ldr	w0, [x2]
	bl	_FsGetDeviceId
	mov	x21, x0
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_TRACE
	add	x0, sp, #12
	mov	w1, #4
	bl	_RtlZeroMemory
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x21
	bl	_IsoLookupFile
Lloh5:
	adrp	x8, _ESUCCESS@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ESUCCESS@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_5
; %bb.2:
Lloh8:
	adrp	x8, _TAG_ISO_FILE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TAG_ISO_FILE@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	w0, #4
	bl	_FrLdrTempAlloc
	cbz	w0, LBB0_6
; %bb.3:
	mov	x20, x0
	add	x1, sp, #12
	mov	w2, #4
	bl	_RtlCopyMemory
	ldr	w0, [x19]
	mov	x1, x20
	bl	_FsSetDeviceSpecific
Lloh11:
	adrp	x8, _ESUCCESS@GOTPAGE
Lloh12:
	ldr	x8, [x8, _ESUCCESS@GOTPAGEOFF]
	b	LBB0_7
LBB0_4:
Lloh13:
	adrp	x8, _EACCES@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EACCES@GOTPAGEOFF]
	b	LBB0_7
LBB0_5:
Lloh15:
	adrp	x8, _ENOENT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:
Lloh17:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh18:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_7:
	ldr	x0, [x8]
	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 AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.comm	_OpenReadOnly,8,3               ; @OpenReadOnly
	.comm	_EACCES,8,3                     ; @EACCES
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"IsoOpen() FileName = %s\n"

	.comm	_ESUCCESS,8,3                   ; @ESUCCESS
	.comm	_ENOENT,8,3                     ; @ENOENT
	.comm	_TAG_ISO_FILE,4,2               ; @TAG_ISO_FILE
	.comm	_ENOMEM,8,3                     ; @ENOMEM
.subsections_via_symbols
