	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_VD_boot_record
_write_VD_boot_record:                  ## @write_VD_boot_record
	.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	%rdi, %r14
	movq	(%rdi), %r12
	callq	_wb_buffptr
	movq	%rax, %rbx
	leaq	-1(%rax), %r15
	movq	_VDT_BOOT_RECORD@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	movl	$1, %edx
	callq	_set_VD_bp
	leaq	7(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$23, %edx
	callq	_memcpy
	movq	%r15, %rdi
	movl	$31, %esi
	movl	$39, %edx
	callq	_set_unused_field_bp
	movq	%r15, %rdi
	movl	$40, %esi
	movl	$71, %edx
	callq	_set_unused_field_bp
	addq	$71, %rbx
	movq	(%r12), %rax
	movq	(%rax), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_set_num_731
	movq	_LOGICAL_BLOCK_SIZE@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edx
	movq	%r15, %rdi
	movl	$76, %esi
	callq	_set_unused_field_bp
	movl	(%rbx), %esi
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_wb_consume                     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_VDT_BOOT_RECORD,4,2            ## @VDT_BOOT_RECORD
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"EL TORITO SPECIFICATION"

	.comm	_LOGICAL_BLOCK_SIZE,4,2         ## @LOGICAL_BLOCK_SIZE
	.no_dead_strip	_write_VD_boot_record
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_VD_boot_record
_write_VD_boot_record:                  ; @write_VD_boot_record
	.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, x0
	ldr	x22, [x0]
	bl	_wb_buffptr
	mov	x20, x0
	sub	x21, x0, #1
Lloh0:
	adrp	x8, _VDT_BOOT_RECORD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _VDT_BOOT_RECORD@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	x0, x21
	mov	w2, #1
	bl	_set_VD_bp
	add	x0, x20, #7
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #23
	bl	_memcpy
	mov	x0, x21
	mov	w1, #31
	mov	w2, #39
	bl	_set_unused_field_bp
	mov	x0, x21
	mov	w1, #40
	mov	w2, #71
	bl	_set_unused_field_bp
	add	x0, x20, #71
	ldr	x8, [x22]
	ldr	x8, [x8]
	ldr	w1, [x8]
	bl	_set_num_731
Lloh5:
	adrp	x20, _LOGICAL_BLOCK_SIZE@GOTPAGE
Lloh6:
	ldr	x20, [x20, _LOGICAL_BLOCK_SIZE@GOTPAGEOFF]
	ldr	w2, [x20]
	mov	x0, x21
	mov	w1, #76
	bl	_set_unused_field_bp
	ldr	w1, [x20]
	mov	x0, x19
	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
	b	_wb_consume
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_VDT_BOOT_RECORD,4,2            ; @VDT_BOOT_RECORD
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"EL TORITO SPECIFICATION"

	.comm	_LOGICAL_BLOCK_SIZE,4,2         ; @LOGICAL_BLOCK_SIZE
	.no_dead_strip	_write_VD_boot_record
.subsections_via_symbols
