	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mma9551_set_device_state       ## -- Begin function mma9551_set_device_state
	.p2align	4, 0x90
_mma9551_set_device_state:              ## @mma9551_set_device_state
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_MMA9551_APPID_SLEEP_WAKE@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_MMA9551_SLEEP_CFG@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	_MMA9551_SLEEP_CFG_SNCEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %eax
	movq	_MMA9551_SLEEP_CFG_FLEEN@GOTPCREL(%rip), %r10
	movq	_MMA9551_SLEEP_CFG_SCHEN@GOTPCREL(%rip), %rcx
	movl	(%rcx), %r8d
	orl	(%r10), %r8d
	movl	%r8d, %ecx
	orl	%eax, %ecx
	testl	%esi, %esi
	cmovel	%eax, %r8d
	movl	%r9d, %esi
	popq	%rbp
	jmp	_mma9551_update_config_bits     ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_MMA9551_APPID_SLEEP_WAKE,4,2   ## @MMA9551_APPID_SLEEP_WAKE
	.comm	_MMA9551_SLEEP_CFG,4,2          ## @MMA9551_SLEEP_CFG
	.comm	_MMA9551_SLEEP_CFG_SNCEN,4,2    ## @MMA9551_SLEEP_CFG_SNCEN
	.comm	_MMA9551_SLEEP_CFG_FLEEN,4,2    ## @MMA9551_SLEEP_CFG_FLEEN
	.comm	_MMA9551_SLEEP_CFG_SCHEN,4,2    ## @MMA9551_SLEEP_CFG_SCHEN
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_mma9551_set_device_state       ; -- Begin function mma9551_set_device_state
	.p2align	2
_mma9551_set_device_state:              ; @mma9551_set_device_state
	.cfi_startproc
; %bb.0:
Lloh0:
	adrp	x8, _MMA9551_APPID_SLEEP_WAKE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MMA9551_APPID_SLEEP_WAKE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _MMA9551_SLEEP_CFG@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MMA9551_SLEEP_CFG@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x9]
Lloh6:
	adrp	x9, _MMA9551_SLEEP_CFG_SNCEN@GOTPAGE
Lloh7:
	ldr	x9, [x9, _MMA9551_SLEEP_CFG_SNCEN@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
Lloh9:
	adrp	x10, _MMA9551_SLEEP_CFG_FLEEN@GOTPAGE
Lloh10:
	ldr	x10, [x10, _MMA9551_SLEEP_CFG_FLEEN@GOTPAGEOFF]
Lloh11:
	ldr	w10, [x10]
Lloh12:
	adrp	x11, _MMA9551_SLEEP_CFG_SCHEN@GOTPAGE
Lloh13:
	ldr	x11, [x11, _MMA9551_SLEEP_CFG_SCHEN@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	orr	w10, w11, w10
	orr	w3, w10, w9
	cmp	w1, #0
	csel	w4, w9, w10, eq
	mov	x1, x8
	b	_mma9551_update_config_bits
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_MMA9551_APPID_SLEEP_WAKE,4,2   ; @MMA9551_APPID_SLEEP_WAKE
	.comm	_MMA9551_SLEEP_CFG,4,2          ; @MMA9551_SLEEP_CFG
	.comm	_MMA9551_SLEEP_CFG_SNCEN,4,2    ; @MMA9551_SLEEP_CFG_SNCEN
	.comm	_MMA9551_SLEEP_CFG_FLEEN,4,2    ; @MMA9551_SLEEP_CFG_FLEEN
	.comm	_MMA9551_SLEEP_CFG_SCHEN,4,2    ; @MMA9551_SLEEP_CFG_SCHEN
.subsections_via_symbols
