	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cd9660_setup_boot_volume_descriptor ## -- Begin function cd9660_setup_boot_volume_descriptor
	.p2align	4, 0x90
_cd9660_setup_boot_volume_descriptor:   ## @cd9660_setup_boot_volume_descriptor
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movq	(%rsi), %rbx
	movq	_ISO_VOLUME_DESCRIPTOR_BOOT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	16(%rbx), %rcx
	movl	%eax, (%rcx)
	movl	8(%rbx), %edi
	movq	_ISO_VOLUME_DESCRIPTOR_STANDARD_ID@GOTPCREL(%rip), %r12
	movl	(%r12), %esi
	movl	$5, %edx
	callq	_memcpy
	movq	(%rbx), %rax
	movl	$1, (%rax)
	movl	12(%rbx), %edi
	movq	_ET_ID@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$23, %edx
	callq	_memcpy
	movl	8(%rbx), %edi
	movl	(%r12), %esi
	movl	$5, %edx
	callq	_memcpy
	movq	(%r15), %rax
	movq	%rax, (%r14)
	movl	$1, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ISO_VOLUME_DESCRIPTOR_BOOT,4,2 ## @ISO_VOLUME_DESCRIPTOR_BOOT
	.comm	_ISO_VOLUME_DESCRIPTOR_STANDARD_ID,4,2 ## @ISO_VOLUME_DESCRIPTOR_STANDARD_ID
	.comm	_ET_ID,4,2                      ## @ET_ID
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_cd9660_setup_boot_volume_descriptor ; -- Begin function cd9660_setup_boot_volume_descriptor
	.p2align	2
_cd9660_setup_boot_volume_descriptor:   ; @cd9660_setup_boot_volume_descriptor
	.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	x19, x1
	mov	x20, x0
	ldr	x21, [x1]
Lloh0:
	adrp	x8, _ISO_VOLUME_DESCRIPTOR_BOOT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ISO_VOLUME_DESCRIPTOR_BOOT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	x9, [x21, #16]
	str	w8, [x9]
	ldr	w0, [x21, #8]
Lloh3:
	adrp	x22, _ISO_VOLUME_DESCRIPTOR_STANDARD_ID@GOTPAGE
Lloh4:
	ldr	x22, [x22, _ISO_VOLUME_DESCRIPTOR_STANDARD_ID@GOTPAGEOFF]
	ldr	w1, [x22]
	mov	w2, #5
	bl	_memcpy
	ldr	x8, [x21]
	mov	w9, #1
	str	w9, [x8]
	ldr	w0, [x21, #12]
Lloh5:
	adrp	x8, _ET_ID@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ET_ID@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
	mov	w2, #23
	bl	_memcpy
	ldr	w0, [x21, #8]
	ldr	w1, [x22]
	mov	w2, #5
	bl	_memcpy
	ldr	x8, [x19]
	str	x8, [x20]
	mov	w0, #1
	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	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ISO_VOLUME_DESCRIPTOR_BOOT,4,2 ; @ISO_VOLUME_DESCRIPTOR_BOOT
	.comm	_ISO_VOLUME_DESCRIPTOR_STANDARD_ID,4,2 ; @ISO_VOLUME_DESCRIPTOR_STANDARD_ID
	.comm	_ET_ID,4,2                      ; @ET_ID
.subsections_via_symbols
