	.file	"extr_max8925-regulator.c_max8925_is_enabled.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	max8925_is_enabled, @function
max8925_is_enabled:
.LFB0:
	.cfi_startproc
	endbr64
	sub	rsp, 8
	.cfi_def_cfa_offset 16
	call	rdev_get_drvdata@PLT
	mov	edi, DWORD PTR 4[rax]
	mov	esi, DWORD PTR [rax]
	call	max8925_reg_read@PLT
	test	eax, eax
	js	.L1
	mov	ecx, DWORD PTR LDO_SEQ_SHIFT[rip]
	mov	edx, eax
	sar	edx, cl
	and	edx, DWORD PTR LDO_SEQ_MASK[rip]
	cmp	DWORD PTR LDO_SEQ_I2C[rip], edx
	je	.L6
	mov	eax, 1
.L1:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	ecx, DWORD PTR LDO_I2C_EN_SHIFT[rip]
	mov	edx, DWORD PTR LDO_I2C_EN_MASK[rip]
	add	rsp, 8
	.cfi_def_cfa_offset 8
	sal	edx, cl
	and	eax, edx
	ret
	.cfi_endproc
.LFE0:
	.size	max8925_is_enabled, .-max8925_is_enabled
	.comm	LDO_SEQ_SHIFT,4,4
	.comm	LDO_SEQ_MASK,4,4
	.comm	LDO_SEQ_I2C,4,4
	.comm	LDO_I2C_EN_SHIFT,4,4
	.comm	LDO_I2C_EN_MASK,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_max8925-regulator.c_max8925_is_enabled.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	max8925_is_enabled, %function
max8925_is_enabled:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	bl	rdev_get_drvdata
	ldr	r1, [r0]
	ldr	r0, [r0, #4]
	bl	max8925_reg_read
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r1, .L6
	ldr	r3, .L6+4
	ldr	r2, .L6+8
	ldr	r1, [r1]
	ldr	r3, [r3]
	ldr	r2, [r2]
	and	r3, r3, r0, asr r1
	cmp	r2, r3
	ldreq	r2, .L6+12
	ldreq	r3, .L6+16
	ldreq	r2, [r2]
	ldreq	r3, [r3]
	andeq	r0, r0, r2, lsl r3
	movne	r0, #1
	pop	{r4, pc}
.L7:
	.align	2
.L6:
	.word	LDO_SEQ_SHIFT
	.word	LDO_SEQ_MASK
	.word	LDO_SEQ_I2C
	.word	LDO_I2C_EN_MASK
	.word	LDO_I2C_EN_SHIFT
	.size	max8925_is_enabled, .-max8925_is_enabled
	.comm	LDO_SEQ_SHIFT,4,4
	.comm	LDO_SEQ_MASK,4,4
	.comm	LDO_SEQ_I2C,4,4
	.comm	LDO_I2C_EN_SHIFT,4,4
	.comm	LDO_I2C_EN_MASK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
