	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetTOCFromCDPath
_GetTOCFromCDPath:                      ## @GetTOCFromCDPath
	.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	_kIOCDMediaClass@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_IOServiceMatching
	movl	%eax, %ebx
	movq	_kIOMediaEjectableKey@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CFSTR
	movq	_kCFBooleanTrue@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movl	%ebx, %edi
	movl	%eax, %esi
	callq	_CFDictionarySetValue
	movq	_kIOMasterPortDefault@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-28(%rbp), %rdx
	movl	%ebx, %esi
	callq	_IOServiceGetMatchingServices
	movl	-28(%rbp), %edi
	callq	_IOIteratorNext
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%rax, %r14
	movq	_kIOCDMediaTOCKey@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CFSTR
	movq	_kCFAllocatorDefault@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movl	%eax, %esi
	xorl	%ecx, %ecx
	callq	_IORegistryEntryCreateCFProperty
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_CFDataGetLength
	movl	%eax, %edi
	callq	_malloc
	movq	%rax, %r15
	movl	%ebx, %edi
	callq	_CFDataGetLength
	xorl	%edi, %edi
	movl	%eax, %esi
	callq	_CFRangeMake
	movl	%ebx, %edi
	movl	%eax, %esi
	movq	%r15, %rdx
	callq	_CFDataGetBytes
	movl	%ebx, %edi
	callq	_CFRelease
	movq	%r14, %rdi
	callq	_IOObjectRelease
	jmp	LBB0_3
LBB0_1:
	xorl	%r15d, %r15d
LBB0_3:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_kIOCDMediaClass,4,2            ## @kIOCDMediaClass
	.comm	_kIOMediaEjectableKey,4,2       ## @kIOMediaEjectableKey
	.comm	_kCFBooleanTrue,4,2             ## @kCFBooleanTrue
	.comm	_kIOMasterPortDefault,4,2       ## @kIOMasterPortDefault
	.comm	_kIOCDMediaTOCKey,4,2           ## @kIOCDMediaTOCKey
	.comm	_kCFAllocatorDefault,4,2        ## @kCFAllocatorDefault
	.no_dead_strip	_GetTOCFromCDPath
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetTOCFromCDPath
_GetTOCFromCDPath:                      ; @GetTOCFromCDPath
	.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, _kIOCDMediaClass@GOTPAGE
Lloh1:
	ldr	x8, [x8, _kIOCDMediaClass@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_IOServiceMatching
	mov	x19, x0
Lloh3:
	adrp	x8, _kIOMediaEjectableKey@GOTPAGE
Lloh4:
	ldr	x8, [x8, _kIOMediaEjectableKey@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	bl	_CFSTR
	mov	x1, x0
Lloh6:
	adrp	x8, _kCFBooleanTrue@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kCFBooleanTrue@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	bl	_CFDictionarySetValue
Lloh9:
	adrp	x8, _kIOMasterPortDefault@GOTPAGE
Lloh10:
	ldr	x8, [x8, _kIOMasterPortDefault@GOTPAGEOFF]
Lloh11:
	ldr	w0, [x8]
	add	x2, sp, #12
	mov	x1, x19
	bl	_IOServiceGetMatchingServices
	ldr	w0, [sp, #12]
	bl	_IOIteratorNext
	cbz	x0, LBB0_2
; %bb.1:
	mov	x19, x0
Lloh12:
	adrp	x8, _kIOCDMediaTOCKey@GOTPAGE
Lloh13:
	ldr	x8, [x8, _kIOCDMediaTOCKey@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_CFSTR
	mov	x1, x0
Lloh15:
	adrp	x8, _kCFAllocatorDefault@GOTPAGE
Lloh16:
	ldr	x8, [x8, _kCFAllocatorDefault@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	w3, #0
	bl	_IORegistryEntryCreateCFProperty
	mov	x21, x0
	bl	_CFDataGetLength
	bl	_malloc
	mov	x20, x0
	mov	x0, x21
	bl	_CFDataGetLength
	mov	x1, x0
	mov	w0, #0
	bl	_CFRangeMake
	mov	x1, x0
	mov	x0, x21
	mov	x2, x20
	bl	_CFDataGetBytes
	mov	x0, x21
	bl	_CFRelease
	mov	x0, x19
	bl	_IOObjectRelease
	b	LBB0_3
LBB0_2:
	mov	x20, #0
LBB0_3:
	mov	x0, x20
	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	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_kIOCDMediaClass,4,2            ; @kIOCDMediaClass
	.comm	_kIOMediaEjectableKey,4,2       ; @kIOMediaEjectableKey
	.comm	_kCFBooleanTrue,4,2             ; @kCFBooleanTrue
	.comm	_kIOMasterPortDefault,4,2       ; @kIOMasterPortDefault
	.comm	_kIOCDMediaTOCKey,4,2           ; @kIOCDMediaTOCKey
	.comm	_kCFAllocatorDefault,4,2        ; @kCFAllocatorDefault
	.no_dead_strip	_GetTOCFromCDPath
.subsections_via_symbols
