	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hardware_disable_all
_hardware_disable_all:                  ## @hardware_disable_all
	.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	%rbx
	subq	$88, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -32(%rbp)
	movaps	L___const.hardware_disable_all.event_string(%rip), %xmm0
	movaps	%xmm0, -80(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -112(%rbp)
	leaq	-64(%rbp), %r14
	movq	%r14, -104(%rbp)
	movq	$0, -96(%rbp)
	movq	_kvm_lock@GOTPCREL(%rip), %r15
	movq	%r15, %rdi
	callq	_spin_lock
	xorl	%eax, %eax
	callq	_hardware_disable_all_nolock
	movq	_kvm_usage_count@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%r15, %rdi
	callq	_spin_unlock
	leaq	L_.str(%rip), %rsi
	movq	%r14, %rdi
	movl	%ebx, %edx
	callq	_sprintf
	movq	_kvm_dev@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	_KOBJ_CHANGE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-112(%rbp), %rdx
	callq	_kobject_uevent_env
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-32(%rbp), %rax
	jne	LBB0_2
## %bb.1:
	addq	$88, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
	.p2align	4                               ## @__const.hardware_disable_all.event_string
L___const.hardware_disable_all.event_string:
	.asciz	"EVENT=terminate"

	.comm	_kvm_lock,4,2                   ## @kvm_lock
	.comm	_kvm_usage_count,4,2            ## @kvm_usage_count
L_.str:                                 ## @.str
	.asciz	"COUNT=%d"

	.comm	_kvm_dev,8,3                    ## @kvm_dev
	.comm	_KOBJ_CHANGE,4,2                ## @KOBJ_CHANGE
	.no_dead_strip	_hardware_disable_all
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hardware_disable_all
_hardware_disable_all:                  ; @hardware_disable_all
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
Lloh3:
	adrp	x8, l___const.hardware_disable_all.event_string@PAGE
Lloh4:
	add	x8, x8, l___const.hardware_disable_all.event_string@PAGEOFF
Lloh5:
	ldr	q0, [x8]
	str	q0, [sp, #32]
	add	x8, sp, #32
	sub	x9, x29, #44
	stp	x8, x9, [sp, #8]
	str	xzr, [sp, #24]
Lloh6:
	adrp	x19, _kvm_lock@GOTPAGE
Lloh7:
	ldr	x19, [x19, _kvm_lock@GOTPAGEOFF]
	mov	x0, x19
	bl	_spin_lock
	bl	_hardware_disable_all_nolock
Lloh8:
	adrp	x8, _kvm_usage_count@GOTPAGE
Lloh9:
	ldr	x8, [x8, _kvm_usage_count@GOTPAGEOFF]
Lloh10:
	ldr	w20, [x8]
	mov	x0, x19
	bl	_spin_unlock
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	sub	x0, x29, #44
	mov	x2, x20
	bl	_sprintf
Lloh13:
	adrp	x8, _kvm_dev@GOTPAGE
Lloh14:
	ldr	x8, [x8, _kvm_dev@GOTPAGEOFF]
Lloh15:
	ldr	x0, [x8]
Lloh16:
	adrp	x8, _KOBJ_CHANGE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _KOBJ_CHANGE@GOTPAGEOFF]
Lloh18:
	ldr	w1, [x8]
	add	x2, sp, #8
	bl	_kobject_uevent_env
	ldur	x8, [x29, #-24]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_2
; %bb.1:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_2:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAddLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l___const.hardware_disable_all.event_string: ; @__const.hardware_disable_all.event_string
	.asciz	"EVENT=terminate"

	.comm	_kvm_lock,4,2                   ; @kvm_lock
	.comm	_kvm_usage_count,4,2            ; @kvm_usage_count
l_.str:                                 ; @.str
	.asciz	"COUNT=%d"

	.comm	_kvm_dev,8,3                    ; @kvm_dev
	.comm	_KOBJ_CHANGE,4,2                ; @KOBJ_CHANGE
	.no_dead_strip	_hardware_disable_all
.subsections_via_symbols
