	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function prepare_superblock
_prepare_superblock:                    ## @prepare_superblock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_SUPERBLOCK_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_cpu_to_le64
	movq	%rax, 88(%rbx)
	xorl	%edi, %edi
	callq	_cpu_to_le32
	movq	%rax, 80(%rbx)
	movl	72(%rbx), %edi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	_MAX_ERA_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	callq	_cpu_to_le32
	movq	%rax, 64(%rbx)
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_copy_sm_root
	movq	(%r14), %rdi
	callq	_cpu_to_le32
	movq	%rax, 56(%rbx)
	movq	_DM_ERA_METADATA_BLOCK_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_SECTOR_SHIFT@GOTPCREL(%rip), %rax
	movb	(%rax), %cl
	shrq	%cl, %rdi
	callq	_cpu_to_le32
	movq	%rax, 48(%rbx)
	movq	8(%r14), %rdi
	callq	_cpu_to_le32
	movq	%rax, 40(%rbx)
	movq	16(%r14), %rdi
	callq	_cpu_to_le32
	movq	%rax, 32(%rbx)
	movq	40(%r14), %rdi
	leaq	24(%rbx), %rsi
	callq	_ws_pack
	movl	32(%r14), %edi
	callq	_cpu_to_le64
	movq	%rax, 16(%rbx)
	movl	28(%r14), %edi
	callq	_cpu_to_le64
	movq	%rax, 8(%rbx)
	movl	24(%r14), %edi
	callq	_cpu_to_le64
	movq	%rax, (%rbx)
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SUPERBLOCK_MAGIC,4,2           ## @SUPERBLOCK_MAGIC
	.comm	_MAX_ERA_VERSION,8,3            ## @MAX_ERA_VERSION
	.comm	_DM_ERA_METADATA_BLOCK_SIZE,8,3 ## @DM_ERA_METADATA_BLOCK_SIZE
	.comm	_SECTOR_SHIFT,8,3               ## @SECTOR_SHIFT
	.no_dead_strip	_prepare_superblock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function prepare_superblock
_prepare_superblock:                    ; @prepare_superblock
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _SUPERBLOCK_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SUPERBLOCK_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_cpu_to_le64
	str	x0, [x19, #88]
	mov	x0, #0
	bl	_cpu_to_le32
	str	x0, [x19, #80]
	ldr	w0, [x19, #72]
	mov	w1, #0
	mov	w2, #4
	bl	_memset
Lloh3:
	adrp	x8, _MAX_ERA_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAX_ERA_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	x0, [x8]
	bl	_cpu_to_le32
	str	x0, [x19, #64]
	mov	x0, x20
	mov	x1, x19
	bl	_copy_sm_root
	ldr	x0, [x20]
	bl	_cpu_to_le32
Lloh6:
	adrp	x8, _DM_ERA_METADATA_BLOCK_SIZE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _DM_ERA_METADATA_BLOCK_SIZE@GOTPAGEOFF]
	str	x0, [x19, #56]
Lloh8:
	ldr	x8, [x8]
Lloh9:
	adrp	x9, _SECTOR_SHIFT@GOTPAGE
Lloh10:
	ldr	x9, [x9, _SECTOR_SHIFT@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	lsr	x0, x8, x9
	bl	_cpu_to_le32
	str	x0, [x19, #48]
	ldr	x0, [x20, #8]
	bl	_cpu_to_le32
	str	x0, [x19, #40]
	ldr	x0, [x20, #16]
	bl	_cpu_to_le32
	str	x0, [x19, #32]
	ldr	x0, [x20, #40]
	add	x1, x19, #24
	bl	_ws_pack
	ldr	w0, [x20, #32]
	bl	_cpu_to_le64
	str	x0, [x19, #16]
	ldr	w0, [x20, #28]
	bl	_cpu_to_le64
	str	x0, [x19, #8]
	ldr	w0, [x20, #24]
	bl	_cpu_to_le64
	str	x0, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SUPERBLOCK_MAGIC,4,2           ; @SUPERBLOCK_MAGIC
	.comm	_MAX_ERA_VERSION,8,3            ; @MAX_ERA_VERSION
	.comm	_DM_ERA_METADATA_BLOCK_SIZE,8,3 ; @DM_ERA_METADATA_BLOCK_SIZE
	.comm	_SECTOR_SHIFT,8,3               ; @SECTOR_SHIFT
	.no_dead_strip	_prepare_superblock
.subsections_via_symbols
