	.file	"extr_mma8452.c_mma8452_data_rdy_trigger_set_state.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	mma8452_data_rdy_trigger_set_state, @function
mma8452_data_rdy_trigger_set_state:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	ebx, esi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	call	iio_trigger_get_drvdata@PLT
	mov	rdi, rax
	call	iio_priv@PLT
	mov	esi, ebx
	mov	edi, DWORD PTR [rax]
	mov	rbp, rax
	call	mma8452_set_runtime_pm_state@PLT
	test	eax, eax
	je	.L7
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L7:
	.cfi_restore_state
	mov	esi, DWORD PTR MMA8452_CTRL_REG4[rip]
	mov	edi, DWORD PTR 0[rbp]
	call	i2c_smbus_read_byte_data@PLT
	test	eax, eax
	js	.L1
	mov	edx, DWORD PTR MMA8452_INT_DRDY[rip]
	mov	ecx, eax
	mov	esi, DWORD PTR MMA8452_CTRL_REG4[rip]
	mov	rdi, rbp
	or	ecx, edx
	not	edx
	and	edx, eax
	test	ebx, ebx
	cmovne	edx, ecx
	add	rsp, 8
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	mma8452_change_config@PLT
	.cfi_endproc
.LFE0:
	.size	mma8452_data_rdy_trigger_set_state, .-mma8452_data_rdy_trigger_set_state
	.comm	MMA8452_INT_DRDY,4,4
	.comm	MMA8452_CTRL_REG4,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_mma8452.c_mma8452_data_rdy_trigger_set_state.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	mma8452_data_rdy_trigger_set_state, %function
mma8452_data_rdy_trigger_set_state:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r5, r1
	bl	iio_trigger_get_drvdata
	bl	iio_priv
	mov	r1, r5
	mov	r4, r0
	ldr	r0, [r0]
	bl	mma8452_set_runtime_pm_state
	cmp	r0, #0
	popne	{r4, r5, r6, pc}
	ldr	r6, .L7
	ldr	r0, [r4]
	ldr	r1, [r6]
	bl	i2c_smbus_read_byte_data
	cmp	r0, #0
	poplt	{r4, r5, r6, pc}
	ldr	r3, .L7+4
	cmp	r5, #0
	ldr	r2, [r3]
	ldr	r1, [r6]
	orrne	r2, r0, r2
	biceq	r2, r0, r2
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	mma8452_change_config
.L8:
	.align	2
.L7:
	.word	MMA8452_CTRL_REG4
	.word	MMA8452_INT_DRDY
	.size	mma8452_data_rdy_trigger_set_state, .-mma8452_data_rdy_trigger_set_state
	.comm	MMA8452_INT_DRDY,4,4
	.comm	MMA8452_CTRL_REG4,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
