	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wmi_method_enable
_wmi_method_enable:                     ## @wmi_method_enable
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	(%rdi), %rax
	movl	(%rax), %ebx
	movl	8(%rdi), %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-29(%rbp), %r15
	movq	%r15, %rdi
	movl	$5, %esi
	callq	_snprintf
	movl	%ebx, %edi
	movq	%r15, %rsi
	movl	%r14d, %edx
	callq	_acpi_execute_simple_method
	movq	_AE_OK@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rdx
	movq	_AE_NOT_FOUND@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	%rax, %rcx
	cmoveq	%rdx, %rcx
	cmpq	%rdx, %rax
	cmoveq	%rdx, %rcx
	movq	%rcx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"WE%02X"

	.comm	_AE_OK,8,3                      ## @AE_OK
	.comm	_AE_NOT_FOUND,8,3               ## @AE_NOT_FOUND
	.no_dead_strip	_wmi_method_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wmi_method_enable
_wmi_method_enable:                     ; @wmi_method_enable
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	ldr	x8, [x0]
	ldr	w20, [x8]
	ldr	w3, [x0, #8]
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #11
	mov	w1, #5
	bl	_snprintf
	add	x1, sp, #11
	mov	x0, x20
	mov	x2, x19
	bl	_acpi_execute_simple_method
Lloh2:
	adrp	x8, _AE_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh4:
	adrp	x9, _AE_NOT_FOUND@GOTPAGE
Lloh5:
	ldr	x9, [x9, _AE_NOT_FOUND@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
Lloh7:
	ldr	x9, [x9]
	cmp	x0, x9
	ccmp	x0, x8, #4, ne
	csel	x0, x8, x0, eq
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh6
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"WE%02X"

	.comm	_AE_OK,8,3                      ; @AE_OK
	.comm	_AE_NOT_FOUND,8,3               ; @AE_NOT_FOUND
	.no_dead_strip	_wmi_method_enable
.subsections_via_symbols
