	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hammer_time_xen                ## -- Begin function hammer_time_xen
	.p2align	4, 0x90
_hammer_time_xen:                       ## @hammer_time_xen
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_XEN_HVM_DOMAIN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_xen_domain_type@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_VM_GUEST_XEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_vm_guest@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_XEN_HVM_INIT_EARLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_xen_hvm_init_hypercall_stubs
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_xc_printf
	movq	_SHUTDOWN_crash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HYPERVISOR_shutdown
LBB0_2:
	movq	_KERNBASE@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	leaq	(%rax,%rbx), %rcx
	movq	_start_info@GOTPCREL(%rip), %r15
	movq	%rcx, (%r15)
	movl	20(%rax,%rbx), %esi
	movq	_XEN_HVM_START_MAGIC_VALUE@GOTPCREL(%rip), %rax
	cmpl	(%rax), %esi
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_xc_printf
	movq	_SHUTDOWN_crash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HYPERVISOR_shutdown
LBB0_4:
	movq	_PAGE_SIZE@GOTPCREL(%rip), %r13
	movq	(%r13), %rsi
	addq	%rsi, %rbx
	movq	%rbx, %rdi
	callq	_roundup2
	movq	%rax, %r14
	movq	_DOMID_SELF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_XENMAPSPACE_shared_info@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -60(%rbp)
	movq	%r14, %rdi
	callq	_atop
	movl	%eax, -64(%rbp)
	movq	_XENMEM_add_to_physmap@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-64(%rbp), %rsi
	callq	_HYPERVISOR_memory_op
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_xc_printf
	movq	_SHUTDOWN_crash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HYPERVISOR_shutdown
LBB0_6:
	movq	(%r12), %rbx
	leaq	(%rbx,%r14), %rax
	movq	_HYPERVISOR_shared_info@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	(%r13), %rsi
	addq	%rsi, %r14
	addq	%r14, %rbx
	addq	%rsi, %r14
	movq	%rbx, %rdi
	callq	_bzero_early
	movq	(%r13), %rsi
	movq	%rbx, %rdi
	callq	_init_static_kenv
	movq	(%r15), %rax
	movq	(%rax), %rcx
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.7:
	cmpq	%r14, %rcx
	jl	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rdi
	xorl	%eax, %eax
	callq	_xc_printf
	movq	_SHUTDOWN_crash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HYPERVISOR_shutdown
	movq	(%r15), %rax
LBB0_9:
	cmpq	$0, 8(%rax)
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_xc_printf
	movq	_SHUTDOWN_crash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HYPERVISOR_shutdown
	movq	(%r15), %rax
LBB0_11:
	movq	(%rax), %rcx
	movq	(%r12), %rdx
	cmpq	%r14, (%rcx,%rdx,8)
	jl	LBB0_13
## %bb.12:
	leaq	L_.str.5(%rip), %rdi
	xorl	%eax, %eax
	callq	_xc_printf
	movq	_SHUTDOWN_crash@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_HYPERVISOR_shutdown
	movq	(%r15), %rax
LBB0_13:
	movq	_xen_pvh_init_ops@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_init_ops@GOTPCREL(%rip), %rdx
	movl	%ecx, (%rdx)
	movl	16(%rax), %eax
	movq	_hvm_start_flags@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	xorl	%edi, %edi
	movq	%r14, %rsi
	callq	_hammer_time
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_XEN_HVM_DOMAIN,4,2             ## @XEN_HVM_DOMAIN
	.comm	_xen_domain_type,4,2            ## @xen_domain_type
	.comm	_VM_GUEST_XEN,4,2               ## @VM_GUEST_XEN
	.comm	_vm_guest,4,2                   ## @vm_guest
	.comm	_XEN_HVM_INIT_EARLY,4,2         ## @XEN_HVM_INIT_EARLY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ERROR: failed to initialize hypercall page: %d\n"

	.comm	_SHUTDOWN_crash,4,2             ## @SHUTDOWN_crash
	.comm	_KERNBASE,8,3                   ## @KERNBASE
	.comm	_start_info,8,3                 ## @start_info
	.comm	_XEN_HVM_START_MAGIC_VALUE,4,2  ## @XEN_HVM_START_MAGIC_VALUE
L_.str.1:                               ## @.str.1
	.asciz	"Unknown magic value in start_info struct: %#x\n"

	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
	.comm	_DOMID_SELF,4,2                 ## @DOMID_SELF
	.comm	_XENMAPSPACE_shared_info,4,2    ## @XENMAPSPACE_shared_info
	.comm	_XENMEM_add_to_physmap,4,2      ## @XENMEM_add_to_physmap
L_.str.2:                               ## @.str.2
	.asciz	"ERROR: failed to setup shared_info page\n"

	.comm	_HYPERVISOR_shared_info,8,3     ## @HYPERVISOR_shared_info
L_.str.3:                               ## @.str.3
	.asciz	"ERROR: unexpected module list memory address\n"

L_.str.4:                               ## @.str.4
	.asciz	"ERROR: modlist_paddr != 0 but nr_modules == 0\n"

L_.str.5:                               ## @.str.5
	.asciz	"ERROR: unexpected module memory address\n"

	.comm	_xen_pvh_init_ops,4,2           ## @xen_pvh_init_ops
	.comm	_init_ops,4,2                   ## @init_ops
	.comm	_hvm_start_flags,4,2            ## @hvm_start_flags
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hammer_time_xen                ; -- Begin function hammer_time_xen
	.p2align	2
_hammer_time_xen:                       ; @hammer_time_xen
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x0
Lloh0:
	adrp	x8, _XEN_HVM_DOMAIN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _XEN_HVM_DOMAIN@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _xen_domain_type@GOTPAGE
Lloh4:
	ldr	x9, [x9, _xen_domain_type@GOTPAGEOFF]
Lloh5:
	str	w8, [x9]
Lloh6:
	adrp	x8, _VM_GUEST_XEN@GOTPAGE
Lloh7:
	ldr	x8, [x8, _VM_GUEST_XEN@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _vm_guest@GOTPAGE
Lloh10:
	ldr	x9, [x9, _vm_guest@GOTPAGEOFF]
Lloh11:
	str	w8, [x9]
Lloh12:
	adrp	x8, _XEN_HVM_INIT_EARLY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _XEN_HVM_INIT_EARLY@GOTPAGEOFF]
Lloh14:
	ldr	w0, [x8]
	bl	_xen_hvm_init_hypercall_stubs
                                        ; kill: def $w0 killed $w0 def $x0
Lloh15:
	adrp	x21, _SHUTDOWN_crash@GOTPAGE
Lloh16:
	ldr	x21, [x21, _SHUTDOWN_crash@GOTPAGEOFF]
	cbz	w0, LBB0_2
; %bb.1:
	str	x0, [sp]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	bl	_xc_printf
	ldr	w0, [x21]
	bl	_HYPERVISOR_shutdown
LBB0_2:
Lloh19:
	adrp	x23, _KERNBASE@GOTPAGE
Lloh20:
	ldr	x23, [x23, _KERNBASE@GOTPAGEOFF]
	ldr	x8, [x23]
	add	x8, x8, x19
Lloh21:
	adrp	x22, _start_info@GOTPAGE
Lloh22:
	ldr	x22, [x22, _start_info@GOTPAGEOFF]
	str	x8, [x22]
	ldr	w8, [x8, #20]
Lloh23:
	adrp	x9, _XEN_HVM_START_MAGIC_VALUE@GOTPAGE
Lloh24:
	ldr	x9, [x9, _XEN_HVM_START_MAGIC_VALUE@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	cmp	w8, w9
	b.eq	LBB0_4
; %bb.3:
	str	x8, [sp]
Lloh26:
	adrp	x0, l_.str.1@PAGE
Lloh27:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_xc_printf
	ldr	w0, [x21]
	bl	_HYPERVISOR_shutdown
LBB0_4:
Lloh28:
	adrp	x24, _PAGE_SIZE@GOTPAGE
Lloh29:
	ldr	x24, [x24, _PAGE_SIZE@GOTPAGEOFF]
	ldr	x1, [x24]
	add	x0, x1, x19
	bl	_roundup2
	mov	x19, x0
Lloh30:
	adrp	x8, _DOMID_SELF@GOTPAGE
Lloh31:
	ldr	x8, [x8, _DOMID_SELF@GOTPAGEOFF]
Lloh32:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	str	xzr, [sp, #16]
Lloh33:
	adrp	x8, _XENMAPSPACE_shared_info@GOTPAGE
Lloh34:
	ldr	x8, [x8, _XENMAPSPACE_shared_info@GOTPAGEOFF]
Lloh35:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	bl	_atop
	str	w0, [sp, #8]
Lloh36:
	adrp	x8, _XENMEM_add_to_physmap@GOTPAGE
Lloh37:
	ldr	x8, [x8, _XENMEM_add_to_physmap@GOTPAGEOFF]
Lloh38:
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_HYPERVISOR_memory_op
	cbz	x0, LBB0_6
; %bb.5:
Lloh39:
	adrp	x0, l_.str.2@PAGE
Lloh40:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_xc_printf
	ldr	w0, [x21]
	bl	_HYPERVISOR_shutdown
LBB0_6:
	ldr	x8, [x23]
Lloh41:
	adrp	x9, _HYPERVISOR_shared_info@GOTPAGE
Lloh42:
	ldr	x9, [x9, _HYPERVISOR_shared_info@GOTPAGEOFF]
	add	x10, x8, x19
Lloh43:
	str	x10, [x9]
	ldr	x1, [x24]
	add	x9, x1, x19
	add	x20, x9, x8
	add	x19, x9, x1
	mov	x0, x20
	bl	_bzero_early
	ldr	x1, [x24]
	mov	x0, x20
	bl	_init_static_kenv
	ldr	x8, [x22]
	ldr	x9, [x8]
	cbz	x9, LBB0_13
; %bb.7:
	cmp	x9, x19
	b.lt	LBB0_9
; %bb.8:
Lloh44:
	adrp	x0, l_.str.3@PAGE
Lloh45:
	add	x0, x0, l_.str.3@PAGEOFF
	bl	_xc_printf
	ldr	w0, [x21]
	bl	_HYPERVISOR_shutdown
	ldr	x8, [x22]
LBB0_9:
	ldr	x9, [x8, #8]
	cbnz	x9, LBB0_11
; %bb.10:
Lloh46:
	adrp	x0, l_.str.4@PAGE
Lloh47:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_xc_printf
	ldr	w0, [x21]
	bl	_HYPERVISOR_shutdown
	ldr	x8, [x22]
LBB0_11:
	ldr	x9, [x8]
	ldr	x10, [x23]
	ldr	x9, [x9, x10, lsl #3]
	cmp	x9, x19
	b.lt	LBB0_13
; %bb.12:
Lloh48:
	adrp	x0, l_.str.5@PAGE
Lloh49:
	add	x0, x0, l_.str.5@PAGEOFF
	bl	_xc_printf
	ldr	w0, [x21]
	bl	_HYPERVISOR_shutdown
	ldr	x8, [x22]
LBB0_13:
Lloh50:
	adrp	x9, _xen_pvh_init_ops@GOTPAGE
Lloh51:
	ldr	x9, [x9, _xen_pvh_init_ops@GOTPAGEOFF]
Lloh52:
	adrp	x10, _init_ops@GOTPAGE
Lloh53:
	ldr	x10, [x10, _init_ops@GOTPAGEOFF]
Lloh54:
	ldr	w9, [x9]
Lloh55:
	str	w9, [x10]
	ldr	w8, [x8, #16]
Lloh56:
	adrp	x9, _hvm_start_flags@GOTPAGE
Lloh57:
	ldr	x9, [x9, _hvm_start_flags@GOTPAGEOFF]
Lloh58:
	str	w8, [x9]
	mov	w0, #0
	mov	x1, x19
	bl	_hammer_time
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotStr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotStr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotStr	Lloh41, Lloh42, Lloh43
	.loh AdrpAdd	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpLdrGotStr	Lloh56, Lloh57, Lloh58
	.loh AdrpLdrGotStr	Lloh52, Lloh53, Lloh55
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh54
	.cfi_endproc
                                        ; -- End function
	.comm	_XEN_HVM_DOMAIN,4,2             ; @XEN_HVM_DOMAIN
	.comm	_xen_domain_type,4,2            ; @xen_domain_type
	.comm	_VM_GUEST_XEN,4,2               ; @VM_GUEST_XEN
	.comm	_vm_guest,4,2                   ; @vm_guest
	.comm	_XEN_HVM_INIT_EARLY,4,2         ; @XEN_HVM_INIT_EARLY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ERROR: failed to initialize hypercall page: %d\n"

	.comm	_SHUTDOWN_crash,4,2             ; @SHUTDOWN_crash
	.comm	_KERNBASE,8,3                   ; @KERNBASE
	.comm	_start_info,8,3                 ; @start_info
	.comm	_XEN_HVM_START_MAGIC_VALUE,4,2  ; @XEN_HVM_START_MAGIC_VALUE
l_.str.1:                               ; @.str.1
	.asciz	"Unknown magic value in start_info struct: %#x\n"

	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
	.comm	_DOMID_SELF,4,2                 ; @DOMID_SELF
	.comm	_XENMAPSPACE_shared_info,4,2    ; @XENMAPSPACE_shared_info
	.comm	_XENMEM_add_to_physmap,4,2      ; @XENMEM_add_to_physmap
l_.str.2:                               ; @.str.2
	.asciz	"ERROR: failed to setup shared_info page\n"

	.comm	_HYPERVISOR_shared_info,8,3     ; @HYPERVISOR_shared_info
l_.str.3:                               ; @.str.3
	.asciz	"ERROR: unexpected module list memory address\n"

l_.str.4:                               ; @.str.4
	.asciz	"ERROR: modlist_paddr != 0 but nr_modules == 0\n"

l_.str.5:                               ; @.str.5
	.asciz	"ERROR: unexpected module memory address\n"

	.comm	_xen_pvh_init_ops,4,2           ; @xen_pvh_init_ops
	.comm	_init_ops,4,2                   ; @init_ops
	.comm	_hvm_start_flags,4,2            ; @hvm_start_flags
.subsections_via_symbols
