	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dell_led_perform_fn
_dell_led_perform_fn:                   ## @dell_led_perform_fn
	.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
	subq	$104, %rsp
	.cfi_offset %rbx, -24
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -64(%rbp)
	movq	_ACPI_ALLOCATE_BUFFER@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -80(%rbp)
	movl	%edi, -48(%rbp)
	movl	%esi, -44(%rbp)
	movl	%edx, -40(%rbp)
	movl	%ecx, -36(%rbp)
	movl	%r8d, -32(%rbp)
	movl	%r9d, -28(%rbp)
	movups	%xmm0, -24(%rbp)
	movl	$40, -112(%rbp)
	leaq	-48(%rbp), %rax
	movq	%rax, -104(%rbp)
	movq	_DELL_LED_BIOS_GUID@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-112(%rbp), %rcx
	leaq	-80(%rbp), %r8
	xorl	%esi, %esi
	movl	$1, %edx
	callq	_wmi_evaluate_method
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ACPI_FAILURE
	testq	%rax, %rax
	jne	LBB0_6
## %bb.1:
	movq	-72(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_2
## %bb.3:
	movq	(%rdi), %rax
	movq	_ACPI_TYPE_BUFFER@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.5:
	movl	4(%rax), %ebx
	callq	_kfree
	jmp	LBB0_6
LBB0_4:
	callq	_kfree
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$104, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_ALLOCATE_BUFFER,4,2       ## @ACPI_ALLOCATE_BUFFER
	.comm	_DELL_LED_BIOS_GUID,4,2         ## @DELL_LED_BIOS_GUID
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_ACPI_TYPE_BUFFER,8,3           ## @ACPI_TYPE_BUFFER
	.no_dead_strip	_dell_led_perform_fn
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dell_led_perform_fn
_dell_led_perform_fn:                   ; @dell_led_perform_fn
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	movi.2d	v0, #0000000000000000
Lloh0:
	adrp	x8, _ACPI_ALLOCATE_BUFFER@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ACPI_ALLOCATE_BUFFER@GOTPAGEOFF]
	stp	q0, q0, [x29, #-48]
Lloh2:
	ldr	w8, [x8]
	stur	w8, [x29, #-48]
	stp	w0, w1, [sp, #8]
	stp	w2, w3, [sp, #16]
	stp	w4, w5, [sp, #24]
	stp	xzr, xzr, [sp, #32]
	mov	w8, #40
	str	w8, [sp, #48]
	add	x8, sp, #8
	str	x8, [sp, #56]
Lloh3:
	adrp	x8, _DELL_LED_BIOS_GUID@GOTPAGE
Lloh4:
	ldr	x8, [x8, _DELL_LED_BIOS_GUID@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	add	x3, sp, #48
	sub	x4, x29, #48
	mov	w1, #0
	mov	w2, #1
	bl	_wmi_evaluate_method
	mov	x19, x0
	bl	_ACPI_FAILURE
	cbnz	x0, LBB0_6
; %bb.1:
	ldur	x0, [x29, #-40]
	cbz	x0, LBB0_5
; %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_4
; %bb.3:
	ldr	w19, [x8, #4]
	bl	_kfree
	b	LBB0_6
LBB0_4:
	bl	_kfree
LBB0_5:
Lloh9:
	adrp	x8, _EINVAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh11:
	ldr	w8, [x8]
	neg	w19, w8
LBB0_6:
	mov	x0, x19
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	add	sp, sp, #144
	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	_DELL_LED_BIOS_GUID,4,2         ; @DELL_LED_BIOS_GUID
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_ACPI_TYPE_BUFFER,8,3           ; @ACPI_TYPE_BUFFER
	.no_dead_strip	_dell_led_perform_fn
.subsections_via_symbols
