	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lis3lv02d_poweroff             ## -- Begin function lis3lv02d_poweroff
	.p2align	4, 0x90
_lis3lv02d_poweroff:                    ## @lis3lv02d_poweroff
	.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
	pushq	%rax
	.cfi_offset %rbx, -24
	movq	%rdi, %rbx
	cmpq	$0, (%rdi)
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	callq	_lis3_context_save
LBB0_2:
	movq	_CTRL_REG1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	xorl	%edx, %edx
	callq	*8(%rbx)
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	movq	_LIS3_REG_OFF@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmpq	*%rax                           ## TAILCALL
LBB0_3:
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CTRL_REG1,4,2                  ## @CTRL_REG1
	.comm	_LIS3_REG_OFF,4,2               ## @LIS3_REG_OFF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_lis3lv02d_poweroff             ; -- Begin function lis3lv02d_poweroff
	.p2align	2
_lis3lv02d_poweroff:                    ; @lis3lv02d_poweroff
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
	mov	x0, x19
	bl	_lis3_context_save
LBB0_2:
	ldr	x8, [x19, #8]
Lloh0:
	adrp	x9, _CTRL_REG1@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CTRL_REG1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x9]
	mov	x0, x19
	mov	w2, #0
	blr	x8
	ldr	x2, [x19]
	cbz	x2, LBB0_4
; %bb.3:
Lloh3:
	adrp	x8, _LIS3_REG_OFF@GOTPAGE
Lloh4:
	ldr	x8, [x8, _LIS3_REG_OFF@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	br	x2
LBB0_4:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_CTRL_REG1,4,2                  ; @CTRL_REG1
	.comm	_LIS3_REG_OFF,4,2               ; @LIS3_REG_OFF
.subsections_via_symbols
