	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dell_smbios_smm_call
_dell_smbios_smm_call:                  ## @dell_smbios_smm_call
	.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	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %rbx
	movq	_SMI_CMD_MAGIC@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -32(%rbp)
	movq	_da_command_address@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -36(%rbp)
	movq	_da_command_code@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -40(%rbp)
	movq	_buffer@GOTPCREL(%rip), %r15
	movq	(%r15), %rdi
	callq	_virt_to_phys
	movl	%eax, -44(%rbp)
	movl	$1112754481, -48(%rbp)          ## imm = 0x42534931
	movq	_smm_mutex@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	callq	_mutex_lock
	movq	(%r15), %rdi
	movl	$4, %edx
	movq	%rbx, %rsi
	callq	_memcpy
	leaq	-48(%rbp), %rdi
	callq	_dcdbas_smi_request
	movq	(%r15), %rsi
	movl	$4, %edx
	movq	%rbx, %rdi
	callq	_memcpy
	movq	%r14, %rdi
	callq	_mutex_unlock
	xorl	%eax, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SMI_CMD_MAGIC,4,2              ## @SMI_CMD_MAGIC
	.comm	_da_command_address,4,2         ## @da_command_address
	.comm	_da_command_code,4,2            ## @da_command_code
	.comm	_buffer,8,3                     ## @buffer
	.comm	_smm_mutex,4,2                  ## @smm_mutex
	.no_dead_strip	_dell_smbios_smm_call
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dell_smbios_smm_call
_dell_smbios_smm_call:                  ; @dell_smbios_smm_call
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _SMI_CMD_MAGIC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _SMI_CMD_MAGIC@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [sp, #24]
Lloh3:
	adrp	x8, _da_command_address@GOTPAGE
Lloh4:
	ldr	x8, [x8, _da_command_address@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _da_command_code@GOTPAGE
Lloh7:
	ldr	x9, [x9, _da_command_code@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	stp	w9, w8, [sp, #16]
Lloh9:
	adrp	x21, _buffer@GOTPAGE
Lloh10:
	ldr	x21, [x21, _buffer@GOTPAGEOFF]
	ldr	x0, [x21]
	bl	_virt_to_phys
	mov	w8, #18737
	movk	w8, #16979, lsl #16
	stp	w8, w0, [sp, #8]
Lloh11:
	adrp	x20, _smm_mutex@GOTPAGE
Lloh12:
	ldr	x20, [x20, _smm_mutex@GOTPAGEOFF]
	mov	x0, x20
	bl	_mutex_lock
	ldr	x0, [x21]
	mov	x1, x19
	mov	w2, #4
	bl	_memcpy
	add	x0, sp, #8
	bl	_dcdbas_smi_request
	ldr	x1, [x21]
	mov	x0, x19
	mov	w2, #4
	bl	_memcpy
	mov	x0, x20
	bl	_mutex_unlock
	mov	w0, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_SMI_CMD_MAGIC,4,2              ; @SMI_CMD_MAGIC
	.comm	_da_command_address,4,2         ; @da_command_address
	.comm	_da_command_code,4,2            ; @da_command_code
	.comm	_buffer,8,3                     ; @buffer
	.comm	_smm_mutex,4,2                  ; @smm_mutex
	.no_dead_strip	_dell_smbios_smm_call
.subsections_via_symbols
