	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lis3lv02d_acpi_read            ## -- Begin function lis3lv02d_acpi_read
	.p2align	4, 0x90
_lis3lv02d_acpi_read:                   ## @lis3lv02d_acpi_read
	.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	$40, %rsp
	.cfi_offset %rbx, -24
	movq	%rdx, %rbx
	movq	(%rdi), %rax
	movl	$1, -40(%rbp)
	leaq	-16(%rbp), %rcx
	movq	%rcx, -32(%rbp)
	movl	%esi, -16(%rbp)
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdx
	leaq	-24(%rbp), %rcx
	callq	_acpi_evaluate_integer
	movq	-24(%rbp), %rcx
	movq	%rcx, (%rbx)
	movq	_AE_OK@GOTPCREL(%rip), %rdx
	movq	_EINVAL@GOTPCREL(%rip), %rsi
	xorl	%edi, %edi
	xorl	%ecx, %ecx
	subl	(%rsi), %ecx
	cmpq	(%rdx), %rax
	cmovel	%edi, %ecx
	movl	%ecx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ACPI_TYPE_INTEGER,4,2          ## @ACPI_TYPE_INTEGER
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"ALRD"

	.comm	_AE_OK,8,3                      ## @AE_OK
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lis3lv02d_acpi_read            ; -- Begin function lis3lv02d_acpi_read
	.p2align	2
_lis3lv02d_acpi_read:                   ; @lis3lv02d_acpi_read
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x2
	ldr	x8, [x0]
	mov	w9, #1
	str	w9, [sp, #8]
	add	x9, sp, #24
	str	x9, [sp, #16]
	str	w1, [sp, #24]
	ldr	w0, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	add	x2, sp, #8
	mov	x3, sp
	bl	_acpi_evaluate_integer
	ldr	x8, [sp]
	str	x8, [x19]
Lloh2:
	adrp	x8, _AE_OK@GOTPAGE
Lloh3:
	ldr	x8, [x8, _AE_OK@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
Lloh5:
	adrp	x9, _EINVAL@GOTPAGE
Lloh6:
	ldr	x9, [x9, _EINVAL@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	cmp	x0, x8
	csneg	w0, wzr, w9, eq
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ACPI_TYPE_INTEGER,4,2          ; @ACPI_TYPE_INTEGER
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"ALRD"

	.comm	_AE_OK,8,3                      ; @AE_OK
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
