	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function WMI_execute_u32
_WMI_execute_u32:                       ## @WMI_execute_u32
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdx, %r14
	movq	%rdi, %rdx
	movq	%rsi, -24(%rbp)
	movq	$8, -72(%rbp)
	leaq	-24(%rbp), %rax
	movq	%rax, -64(%rbp)
	movl	$0, -56(%rbp)
	movq	_ACPI_ALLOCATE_BUFFER@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -40(%rbp)
	movl	$0, -32(%rbp)
	movq	_WMID_GUID1@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-72(%rbp), %rcx
	leaq	-48(%rbp), %r8
	xorl	%esi, %esi
	callq	_wmi_evaluate_method
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	-40(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.2:
	movq	(%rdi), %rax
	movq	_ACPI_TYPE_BUFFER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movl	(%rdi), %ecx
	cmpl	$8, %ecx
	je	LBB0_5
## %bb.4:
	cmpl	$4, %ecx
	jne	LBB0_6
LBB0_5:
	movq	8(%rdi), %rax
	movq	(%rax), %rax
	testq	%r14, %r14
	jne	LBB0_9
	jmp	LBB0_10
LBB0_6:
	movq	_ACPI_TYPE_INTEGER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
## %bb.7:
	movslq	(%rdi), %rax
	testq	%r14, %r14
	jne	LBB0_9
	jmp	LBB0_10
LBB0_8:
	xorl	%eax, %eax
	testq	%r14, %r14
	je	LBB0_10
LBB0_9:
	movq	%rax, (%r14)
LBB0_10:
	callq	_kfree
LBB0_11:
	movl	%ebx, %eax
	addq	$64, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_ALLOCATE_BUFFER,4,2       ## @ACPI_ALLOCATE_BUFFER
	.comm	_WMID_GUID1,4,2                 ## @WMID_GUID1
	.comm	_ACPI_TYPE_BUFFER,8,3           ## @ACPI_TYPE_BUFFER
	.comm	_ACPI_TYPE_INTEGER,8,3          ## @ACPI_TYPE_INTEGER
	.no_dead_strip	_WMI_execute_u32
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function WMI_execute_u32
_WMI_execute_u32:                       ; @WMI_execute_u32
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x19, x2
	mov	x2, x0
	stur	x1, [x29, #-24]
	mov	w8, #8
	sub	x9, x29, #24
	stp	x8, x9, [sp, #32]
	str	wzr, [sp, #48]
Lloh0:
	adrp	x8, _ACPI_ALLOCATE_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_ALLOCATE_BUFFER@GOTPAGEOFF]
Lloh2:
	ldrsw	x8, [x8]
	stp	x8, xzr, [sp, #8]
	str	wzr, [sp, #24]
Lloh3:
	adrp	x8, _WMID_GUID1@GOTPAGE
Lloh4:
	ldr	x8, [x8, _WMID_GUID1@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x3, sp, #32
	add	x4, sp, #8
	mov	w1, #0
	bl	_wmi_evaluate_method
	mov	x20, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_10
; %bb.1:
	ldr	x0, [sp, #16]
	cbz	x0, LBB0_7
; %bb.2:
	ldr	x8, [x0]
Lloh6:
	adrp	x9, _ACPI_TYPE_BUFFER@GOTPAGE
Lloh7:
	ldr	x9, [x9, _ACPI_TYPE_BUFFER@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	w9, [x0]
	cmp	w9, #8
	ccmp	w9, #4, #4, ne
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x0, #8]
	ldr	x8, [x8]
	cbnz	x19, LBB0_8
	b	LBB0_9
LBB0_5:
Lloh9:
	adrp	x9, _ACPI_TYPE_INTEGER@GOTPAGE
Lloh10:
	ldr	x9, [x9, _ACPI_TYPE_INTEGER@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_7
; %bb.6:
	ldrsw	x8, [x0]
	cbnz	x19, LBB0_8
	b	LBB0_9
LBB0_7:
	mov	x8, #0
	cbz	x19, LBB0_9
LBB0_8:
	str	x8, [x19]
LBB0_9:
	bl	_kfree
LBB0_10:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_ALLOCATE_BUFFER,4,2       ; @ACPI_ALLOCATE_BUFFER
	.comm	_WMID_GUID1,4,2                 ; @WMID_GUID1
	.comm	_ACPI_TYPE_BUFFER,8,3           ; @ACPI_TYPE_BUFFER
	.comm	_ACPI_TYPE_INTEGER,8,3          ; @ACPI_TYPE_INTEGER
	.no_dead_strip	_WMI_execute_u32
.subsections_via_symbols
