	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dell_smbios_wmi_filter
_dell_smbios_wmi_filter:                ## @dell_smbios_wmi_filter
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$128, %esi
	jne	LBB0_9
## %bb.1:
	movq	%rdx, %r14
	movq	%rdi, %r15
	movq	_call_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	%r15, %rdi
	callq	_dev_get_drvdata
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	movq	%rax, %r12
	movq	8(%rax), %rdi
	movl	(%rax), %edx
	movq	%r14, %rsi
	callq	_memcpy
	movq	8(%r12), %rsi
	movq	%r15, %rdi
	callq	_dell_smbios_call_filter
	testl	%eax, %eax
	je	LBB0_6
## %bb.5:
	movq	8(%r12), %rax
	movl	12(%rax), %edx
	movl	8(%rax), %ecx
	movq	(%rax), %rax
	movl	(%rax), %r8d
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_dev_err
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_9:
	movq	_ENOIOCTLCMD@GOTPCREL(%rip), %rax
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
	jmp	LBB0_10
LBB0_2:
	movq	_ENODEV@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%ebx, %ebx
	subl	(%rax), %ebx
LBB0_8:
	movq	_call_mutex@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
LBB0_10:
	movslq	%ebx, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movl	16(%r12), %edi
	callq	_run_smbios_call
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_8
## %bb.7:
	movq	8(%r12), %rsi
	movl	(%r12), %edx
	movq	%r14, %rdi
	callq	_memcpy
	xorl	%ebx, %ebx
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_call_mutex,4,2                 ## @call_mutex
	.comm	_ENODEV,4,2                     ## @ENODEV
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid call %d/%d:%8x\n"

	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_ENOIOCTLCMD,4,2                ## @ENOIOCTLCMD
	.no_dead_strip	_dell_smbios_wmi_filter
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dell_smbios_wmi_filter
_dell_smbios_wmi_filter:                ; @dell_smbios_wmi_filter
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	cmp	w1, #128
	b.ne	LBB0_4
; %bb.1:
	mov	x19, x2
	mov	x20, x0
Lloh0:
	adrp	x0, _call_mutex@GOTPAGE
Lloh1:
	ldr	x0, [x0, _call_mutex@GOTPAGEOFF]
	bl	_mutex_lock
	mov	x0, x20
	bl	_dev_get_drvdata
	cbz	x0, LBB0_5
; %bb.2:
	mov	x21, x0
	ldr	x0, [x0, #8]
	ldr	w2, [x21]
	mov	x1, x19
	bl	_memcpy
	ldr	x1, [x21, #8]
	mov	x0, x20
	bl	_dell_smbios_call_filter
	cbz	w0, LBB0_9
; %bb.3:
	ldr	x8, [x21, #8]
	ldp	w3, w2, [x8, #8]
	ldr	x8, [x8]
	ldr	w4, [x8]
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	_dev_err
Lloh4:
	adrp	x8, _EFAULT@GOTPAGE
Lloh5:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_6
LBB0_4:
Lloh6:
	adrp	x8, _ENOIOCTLCMD@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOIOCTLCMD@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
	neg	w20, w8
	b	LBB0_8
LBB0_5:
Lloh9:
	adrp	x8, _ENODEV@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ENODEV@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w20, w8
LBB0_7:
Lloh11:
	adrp	x0, _call_mutex@GOTPAGE
Lloh12:
	ldr	x0, [x0, _call_mutex@GOTPAGEOFF]
	bl	_mutex_unlock
LBB0_8:
	sxtw	x0, w20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	w0, [x21, #16]
	bl	_run_smbios_call
	mov	x20, x0
	cbnz	w0, LBB0_7
; %bb.10:
	ldr	x1, [x21, #8]
	ldr	w2, [x21]
	mov	x0, x19
	bl	_memcpy
	b	LBB0_7
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_call_mutex,4,2                 ; @call_mutex
	.comm	_ENODEV,4,2                     ; @ENODEV
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid call %d/%d:%8x\n"

	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_ENOIOCTLCMD,4,2                ; @ENOIOCTLCMD
	.no_dead_strip	_dell_smbios_wmi_filter
.subsections_via_symbols
