	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arch_hibernation_header_restore ## -- Begin function arch_hibernation_header_restore
	.p2align	4, 0x90
_arch_hibernation_header_restore:       ## @arch_hibernation_header_restore
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	12(%rdi), %eax
	movq	_restore_jump_address@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	8(%rdi), %eax
	movq	_restore_cr3@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	(%rdi), %rcx
	movq	_RESTORE_MAGIC@GOTPCREL(%rip), %rdx
	movq	_EINVAL@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	xorl	%eax, %eax
	subl	(%rsi), %eax
	cmpq	(%rdx), %rcx
	cmovel	%edi, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_restore_jump_address,4,2       ## @restore_jump_address
	.comm	_restore_cr3,4,2                ## @restore_cr3
	.comm	_RESTORE_MAGIC,8,3              ## @RESTORE_MAGIC
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_arch_hibernation_header_restore ; -- Begin function arch_hibernation_header_restore
	.p2align	2
_arch_hibernation_header_restore:       ; @arch_hibernation_header_restore
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _restore_jump_address@GOTPAGE
Lloh1:
	ldr	x8, [x8, _restore_jump_address@GOTPAGEOFF]
	ldp	w10, w9, [x0, #8]
Lloh2:
	adrp	x11, _restore_cr3@GOTPAGE
Lloh3:
	ldr	x11, [x11, _restore_cr3@GOTPAGEOFF]
Lloh4:
	str	w9, [x8]
Lloh5:
	str	w10, [x11]
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _RESTORE_MAGIC@GOTPAGE
Lloh7:
	ldr	x9, [x9, _RESTORE_MAGIC@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
Lloh9:
	adrp	x10, _EINVAL@GOTPAGE
Lloh10:
	ldr	x10, [x10, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
	cmp	x8, x9
	csneg	w0, wzr, w10, eq
	ret
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh2, Lloh3, Lloh5
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_restore_jump_address,4,2       ; @restore_jump_address
	.comm	_restore_cr3,4,2                ; @restore_cr3
	.comm	_RESTORE_MAGIC,8,3              ; @RESTORE_MAGIC
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
