	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arch_hibernation_header_save   ## -- Begin function arch_hibernation_header_save
	.p2align	4, 0x90
_arch_hibernation_header_save:          ## @arch_hibernation_header_save
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$11, %esi
	ja	LBB0_2
## %bb.1:
	movq	_EOVERFLOW@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	popq	%rbp
	retq
LBB0_2:
	movq	_restore_jump_address@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 8(%rdi)
	movq	_restore_cr3@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rdi)
	movq	_RESTORE_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdi)
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EOVERFLOW,4,2                  ## @EOVERFLOW
	.comm	_restore_jump_address,4,2       ## @restore_jump_address
	.comm	_restore_cr3,4,2                ## @restore_cr3
	.comm	_RESTORE_MAGIC,4,2              ## @RESTORE_MAGIC
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arch_hibernation_header_save   ; -- Begin function arch_hibernation_header_save
	.p2align	2
_arch_hibernation_header_save:          ; @arch_hibernation_header_save
	.cfi_startproc
; %bb.0:
	cmp	w1, #11
	b.hi	LBB0_2
; %bb.1:
Lloh0:
	adrp	x8, _EOVERFLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EOVERFLOW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w0, w8
	ret
LBB0_2:
	mov	x8, x0
	mov	w0, #0
Lloh3:
	adrp	x9, _restore_jump_address@GOTPAGE
Lloh4:
	ldr	x9, [x9, _restore_jump_address@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	str	w9, [x8, #8]
Lloh6:
	adrp	x9, _restore_cr3@GOTPAGE
Lloh7:
	ldr	x9, [x9, _restore_cr3@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _RESTORE_MAGIC@GOTPAGE
Lloh10:
	ldr	x10, [x10, _RESTORE_MAGIC@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	stp	w10, w9, [x8]
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EOVERFLOW,4,2                  ; @EOVERFLOW
	.comm	_restore_jump_address,4,2       ; @restore_jump_address
	.comm	_restore_cr3,4,2                ; @restore_cr3
	.comm	_RESTORE_MAGIC,4,2              ; @RESTORE_MAGIC
.subsections_via_symbols
