	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function do_longhaul1
_do_longhaul1:                          ## @do_longhaul1
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	_MSR_VIA_BCR2@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	_rdmsrl
	xorl	%eax, %eax
	callq	_safe_halt
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_wrmsrl
	xorl	%eax, %eax
	callq	_ACPI_FLUSH_CPU_CACHE
	xorl	%eax, %eax
	callq	_halt
	xorl	%eax, %eax
	callq	_local_irq_disable
	movl	(%rbx), %edi
	movl	$1, %esi
	callq	_rdmsrl
	movl	(%rbx), %edi
	xorl	%esi, %esi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_wrmsrl                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MSR_VIA_BCR2,4,2               ## @MSR_VIA_BCR2
	.no_dead_strip	_do_longhaul1
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function do_longhaul1
_do_longhaul1:                          ; @do_longhaul1
	.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
Lloh0:
	adrp	x19, _MSR_VIA_BCR2@GOTPAGE
Lloh1:
	ldr	x19, [x19, _MSR_VIA_BCR2@GOTPAGEOFF]
	ldr	w0, [x19]
	bl	_rdmsrl
	bl	_safe_halt
	ldr	w0, [x19]
	mov	w1, #1
	bl	_wrmsrl
	bl	_ACPI_FLUSH_CPU_CACHE
	bl	_halt
	bl	_local_irq_disable
	ldr	w0, [x19]
	mov	w1, #1
	bl	_rdmsrl
	ldr	w0, [x19]
	mov	w1, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_wrmsrl
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_MSR_VIA_BCR2,4,2               ; @MSR_VIA_BCR2
	.no_dead_strip	_do_longhaul1
.subsections_via_symbols
