	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function init_sector0
_init_sector0:                          ## @init_sector0
	.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	%rdi, %rbx
	movq	_mboot@GOTPCREL(%rip), %rax
	movq	(%rax), %r14
	xorl	%eax, %eax
	callq	_init_boot
	movq	_DOSPTYP_386BSD@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%r14)
	movq	_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%r14)
	movq	_dos_sectors@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	movq	%rbx, %rdi
	callq	_roundup
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_2
## %bb.1:
	movq	(%r15), %rbx
LBB0_2:
	movq	%rbx, (%r14)
	movq	_disksecs@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_dos_cylsecs@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_rounddown
	subq	%rbx, %rax
	movq	%rax, 8(%r14)
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_dos                            ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_mboot,8,3                      ## @mboot
	.comm	_DOSPTYP_386BSD,4,2             ## @DOSPTYP_386BSD
	.comm	_ACTIVE,4,2                     ## @ACTIVE
	.comm	_dos_sectors,8,3                ## @dos_sectors
	.comm	_disksecs,4,2                   ## @disksecs
	.comm	_dos_cylsecs,4,2                ## @dos_cylsecs
	.no_dead_strip	_init_sector0
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function init_sector0
_init_sector0:                          ; @init_sector0
	.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
Lloh0:
	adrp	x8, _mboot@GOTPAGE
Lloh1:
	ldr	x8, [x8, _mboot@GOTPAGEOFF]
Lloh2:
	ldr	x20, [x8]
	bl	_init_boot
Lloh3:
	adrp	x8, _DOSPTYP_386BSD@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DOSPTYP_386BSD@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _ACTIVE@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ACTIVE@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [x20, #16]
Lloh9:
	adrp	x21, _dos_sectors@GOTPAGE
Lloh10:
	ldr	x21, [x21, _dos_sectors@GOTPAGEOFF]
	ldr	x1, [x21]
	mov	x0, x19
	bl	_roundup
	ldr	x8, [x21]
	cmp	x0, #0
	csel	x19, x8, x0, eq
	str	x19, [x20]
Lloh11:
	adrp	x8, _disksecs@GOTPAGE
Lloh12:
	ldr	x8, [x8, _disksecs@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x8, _dos_cylsecs@GOTPAGE
Lloh15:
	ldr	x8, [x8, _dos_cylsecs@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	bl	_rounddown
	sub	x8, x0, x19
	str	x8, [x20, #8]
	mov	x0, x20
	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	_dos
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_mboot,8,3                      ; @mboot
	.comm	_DOSPTYP_386BSD,4,2             ; @DOSPTYP_386BSD
	.comm	_ACTIVE,4,2                     ; @ACTIVE
	.comm	_dos_sectors,8,3                ; @dos_sectors
	.comm	_disksecs,4,2                   ; @disksecs
	.comm	_dos_cylsecs,4,2                ; @dos_cylsecs
	.no_dead_strip	_init_sector0
.subsections_via_symbols
