	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mma8452_get_power_mode
_mma8452_get_power_mode:                ## @mma8452_get_power_mode
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movl	(%rdi), %edi
	movq	_MMA8452_CTRL_REG2@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_i2c_smbus_read_byte_data
	movq	_MMA8452_CTRL_REG2_MODS_MASK@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	andl	%eax, %edx
	movq	_MMA8452_CTRL_REG2_MODS_SHIFT@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	sarl	%cl, %edx
	testl	%eax, %eax
	cmovnsl	%edx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MMA8452_CTRL_REG2,4,2          ## @MMA8452_CTRL_REG2
	.comm	_MMA8452_CTRL_REG2_MODS_MASK,4,2 ## @MMA8452_CTRL_REG2_MODS_MASK
	.comm	_MMA8452_CTRL_REG2_MODS_SHIFT,4,2 ## @MMA8452_CTRL_REG2_MODS_SHIFT
	.no_dead_strip	_mma8452_get_power_mode
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mma8452_get_power_mode
_mma8452_get_power_mode:                ; @mma8452_get_power_mode
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	ldr	w0, [x0]
Lloh0:
	adrp	x8, _MMA8452_CTRL_REG2@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMA8452_CTRL_REG2@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_i2c_smbus_read_byte_data
Lloh3:
	adrp	x8, _MMA8452_CTRL_REG2_MODS_MASK@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MMA8452_CTRL_REG2_MODS_MASK@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x9, _MMA8452_CTRL_REG2_MODS_SHIFT@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MMA8452_CTRL_REG2_MODS_SHIFT@GOTPAGEOFF]
	and	w8, w8, w0
Lloh8:
	ldr	w9, [x9]
	asr	w8, w8, w9
	cmp	w0, #0
	csel	w0, w0, w8, lt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMA8452_CTRL_REG2,4,2          ; @MMA8452_CTRL_REG2
	.comm	_MMA8452_CTRL_REG2_MODS_MASK,4,2 ; @MMA8452_CTRL_REG2_MODS_MASK
	.comm	_MMA8452_CTRL_REG2_MODS_SHIFT,4,2 ; @MMA8452_CTRL_REG2_MODS_SHIFT
	.no_dead_strip	_mma8452_get_power_mode
.subsections_via_symbols
