	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cd9660_write_path_table
_cd9660_write_path_table:               ## @cd9660_write_path_table
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -48(%rbp)                 ## 4-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	8(%rdi), %edi
	movl	12(%rbx), %esi
	callq	_CD9660_BLOCKS
	movl	8(%rbx), %esi
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	movl	%eax, %edi
	callq	_ecalloc
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	(%rbx), %r12
	testq	%r12, %r12
	je	LBB0_12
## %bb.1:
	leaq	-112(%rbp), %r15
	movq	-64(%rbp), %r14                 ## 8-byte Reload
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_7:                                 ##   in Loop: Header=BB0_2 Depth=1
	callq	_cd9660_732
	movq	8(%r12), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %edi
LBB0_10:                                ##   in Loop: Header=BB0_2 Depth=1
	movl	-96(%rbp), %esi
	callq	_cd9660_722
LBB0_11:                                ##   in Loop: Header=BB0_2 Depth=1
	addq	%rbx, %r13
	addq	$8, %r13
	movq	%r14, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	callq	_memcpy
	addq	%r13, %r14
	movq	(%r12), %r12
	testq	%r12, %r12
	je	LBB0_12
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	xorl	%esi, %esi
	movl	$32, %edx
	callq	_memset
	movq	24(%r12), %rax
	movq	(%rax), %rcx
	movl	(%rcx), %ecx
	movq	-112(%rbp), %rdx
	movl	%ecx, (%rdx)
	movq	16(%rax), %rcx
	movl	(%rcx), %ecx
	movq	-88(%rbp), %rsi
	movl	%ecx, (%rsi)
	movq	-104(%rbp), %rdi
	movq	8(%rax), %rsi
	movl	(%rdx), %edx
	incl	%edx
	callq	_memcpy
	movq	-112(%rbp), %rax
	movslq	(%rax), %r13
	movl	%r13d, %ebx
	andl	$1, %ebx
	movl	16(%r12), %edi
	movl	-92(%rbp), %esi
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movq	_LITTLE_ENDIAN@GOTPCREL(%rip), %rcx
	cmpl	%eax, (%rcx)
	jne	LBB0_7
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	callq	_cd9660_731
	movq	8(%r12), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%rax), %edi
	jmp	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
	jmp	LBB0_10
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	$1, %edi
LBB0_6:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	-96(%rbp), %esi
	callq	_cd9660_721
	jmp	LBB0_11
LBB0_12:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-48(%rbp), %edx                 ## 4-byte Reload
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rcx
	movl	-44(%rbp), %r8d                 ## 4-byte Reload
	callq	_cd9660_write_filedata
	movl	%eax, %r14d
	movq	%rbx, %rdi
	callq	_free
	movl	%r14d, %eax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_LITTLE_ENDIAN,4,2              ## @LITTLE_ENDIAN
	.no_dead_strip	_cd9660_write_path_table
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cd9660_write_path_table
_cd9660_write_path_table:               ; @cd9660_write_path_table
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #128
	.cfi_def_cfa_offset 128
	stp	x28, x27, [sp, #32]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #48]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #64]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #80]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #96]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #112]            ; 16-byte Folded Spill
	add	x29, sp, #112
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x3
	mov	x19, x2
	mov	x20, x1
	mov	x22, x0
	ldr	w0, [x0, #8]
	ldr	w1, [x22, #12]
	bl	_CD9660_BLOCKS
	mov	x23, x0
	ldr	w1, [x22, #8]
	bl	_ecalloc
	mov	x24, x0
	ldr	x27, [x22]
	cbz	x27, LBB0_12
; %bb.1:
Lloh0:
	adrp	x28, _LITTLE_ENDIAN@GOTPAGE
Lloh1:
	ldr	x28, [x28, _LITTLE_ENDIAN@GOTPAGEOFF]
	mov	x25, x24
	b	LBB0_6
LBB0_2:                                 ;   in Loop: Header=BB0_6 Depth=1
	bl	_cd9660_732
	ldr	x8, [x27, #8]
	cbz	x8, LBB0_9
; %bb.3:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x8]
LBB0_4:                                 ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [sp, #16]
	bl	_cd9660_722
LBB0_5:                                 ;   in Loop: Header=BB0_6 Depth=1
	and	x8, x26, #0x1
	add	x8, x26, x8
	add	x26, x8, #8
	mov	x1, sp
	mov	x0, x25
	mov	x2, x26
	bl	_memcpy
	add	x25, x25, x26
	ldr	x27, [x27]
	cbz	x27, LBB0_12
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, sp
	mov	w1, #0
	mov	w2, #32
	bl	_memset
	ldr	x8, [x27, #24]
	ldr	x9, [x8]
	ldr	w9, [x9]
	ldr	x10, [sp]
	str	w9, [x10]
	ldr	x9, [x8, #16]
	ldr	w9, [x9]
	ldr	x11, [sp, #24]
	str	w9, [x11]
	ldr	x0, [sp, #8]
	ldr	x1, [x8, #8]
	ldr	w8, [x10]
	add	w2, w8, #1
	bl	_memcpy
	ldr	x8, [sp]
	ldrsw	x26, [x8]
	ldr	w8, [x28]
	ldr	w0, [x27, #16]
	ldr	w1, [sp, #20]
	cmp	w8, w21
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	bl	_cd9660_731
	ldr	x8, [x27, #8]
	cbz	x8, LBB0_10
; %bb.8:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w0, [x8]
	b	LBB0_11
LBB0_9:                                 ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
	b	LBB0_4
LBB0_10:                                ;   in Loop: Header=BB0_6 Depth=1
	mov	w0, #1
LBB0_11:                                ;   in Loop: Header=BB0_6 Depth=1
	ldr	w1, [sp, #16]
	bl	_cd9660_721
	b	LBB0_5
LBB0_12:
	mov	x0, x22
	mov	x1, x20
	mov	x2, x19
	mov	x3, x24
	mov	x4, x23
	bl	_cd9660_write_filedata
	mov	x19, x0
	mov	x0, x24
	bl	_free
	mov	x0, x19
	ldp	x29, x30, [sp, #112]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #96]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #80]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #64]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #48]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #128
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_LITTLE_ENDIAN,4,2              ; @LITTLE_ENDIAN
	.no_dead_strip	_cd9660_write_path_table
.subsections_via_symbols
