	.file	"extr_da9052_tsi.c_da9052_ts_configure_gpio.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	da9052_ts_configure_gpio, @function
da9052_ts_configure_gpio:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	esi, DWORD PTR DA9052_GPIO_2_3_REG[rip]
	xor	ecx, ecx
	mov	edx, 48
	mov	rbp, rdi
	call	da9052_reg_update@PLT
	test	eax, eax
	js	.L1
	mov	esi, DWORD PTR DA9052_GPIO_4_5_REG[rip]
	xor	ecx, ecx
	mov	edx, 51
	mov	rdi, rbp
	call	da9052_reg_update@PLT
	test	eax, eax
	js	.L1
	mov	esi, DWORD PTR DA9052_GPIO_6_7_REG[rip]
	xor	ecx, ecx
	mov	edx, 51
	mov	rdi, rbp
	call	da9052_reg_update@PLT
	mov	edx, 0
	test	eax, eax
	cmovg	eax, edx
.L1:
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.cfi_endproc
.LFE0:
	.size	da9052_ts_configure_gpio, .-da9052_ts_configure_gpio
	.comm	DA9052_GPIO_6_7_REG,4,4
	.comm	DA9052_GPIO_4_5_REG,4,4
	.comm	DA9052_GPIO_2_3_REG,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_da9052_tsi.c_da9052_ts_configure_gpio.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	da9052_ts_configure_gpio, %function
da9052_ts_configure_gpio:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, .L5
	push	{r4, lr}
	ldr	r1, [r2]
	mov	r3, #0
	mov	r2, #48
	mov	r4, r0
	bl	da9052_reg_update
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r2, .L5+4
	mov	r3, #0
	ldr	r1, [r2]
	mov	r0, r4
	mov	r2, #51
	bl	da9052_reg_update
	cmp	r0, #0
	poplt	{r4, pc}
	ldr	r3, .L5+8
	mov	r0, r4
	ldr	r1, [r3]
	mov	r2, #51
	mov	r3, #0
	bl	da9052_reg_update
	and	r0, r0, r0, asr #31
	pop	{r4, pc}
.L6:
	.align	2
.L5:
	.word	DA9052_GPIO_2_3_REG
	.word	DA9052_GPIO_4_5_REG
	.word	DA9052_GPIO_6_7_REG
	.size	da9052_ts_configure_gpio, .-da9052_ts_configure_gpio
	.comm	DA9052_GPIO_6_7_REG,4,4
	.comm	DA9052_GPIO_4_5_REG,4,4
	.comm	DA9052_GPIO_2_3_REG,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
