	.file	"extr_pinctrl-as3722.c_as3722_gpio_set.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"GPIO_CONTROL%d_REG read failed: %d\n"
	.align 8
.LC1:
	.string	"GPIO_SIGNAL_OUT_REG update failed: %d\n"
	.text
	.p2align 4
	.type	as3722_gpio_set, @function
as3722_gpio_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	mov	r14d, edx
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13d, esi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	sub	rsp, 16
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	gpiochip_get_data@PLT
	mov	edi, r13d
	mov	rbp, QWORD PTR 8[rax]
	mov	rbx, rax
	call	AS3722_GPIOn_CONTROL_REG@PLT
	lea	rdx, 4[rsp]
	mov	esi, eax
	mov	rdi, rbp
	call	as3722_read@PLT
	test	eax, eax
	js	.L17
	mov	r12d, DWORD PTR 4[rsp]
	and	r12d, DWORD PTR AS3722_GPIO_INV[rip]
	test	r14d, r14d
	jne	.L18
	test	r12d, r12d
	jne	.L15
.L7:
	mov	edi, r13d
	mov	DWORD PTR 4[rsp], r12d
	call	AS3722_GPIOn_SIGNAL@PLT
	mov	esi, DWORD PTR AS3722_GPIO_SIGNAL_OUT_REG[rip]
	mov	ecx, r12d
	mov	rdi, rbp
	mov	edx, eax
	call	as3722_update_bits@PLT
	test	eax, eax
	js	.L19
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L20
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	pop	rbx
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	test	r12d, r12d
	je	.L15
	xor	r12d, r12d
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L15:
	mov	edi, r13d
	call	AS3722_GPIOn_SIGNAL@PLT
	mov	r12d, eax
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L19:
	mov	edi, DWORD PTR [rbx]
	mov	edx, eax
	lea	rsi, .LC1[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L17:
	mov	edi, DWORD PTR [rbx]
	mov	ecx, eax
	mov	edx, r13d
	lea	rsi, .LC0[rip]
	xor	eax, eax
	call	dev_err@PLT
	jmp	.L1
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	as3722_gpio_set, .-as3722_gpio_set
	.comm	AS3722_GPIO_SIGNAL_OUT_REG,4,4
	.comm	AS3722_GPIO_INV,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_pinctrl-as3722.c_as3722_gpio_set.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"GPIO_CONTROL%d_REG read failed: %d\012\000"
	.align	2
.LC1:
	.ascii	"GPIO_SIGNAL_OUT_REG update failed: %d\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	as3722_gpio_set, %function
as3722_gpio_set:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L21
	sub	sp, sp, #12
	mov	r4, r1
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	mov	r7, r2
	bl	gpiochip_get_data
	mov	r5, r0
	mov	r0, r4
	ldr	r6, [r5, #4]
	bl	AS3722_GPIOn_CONTROL_REG
	mov	r2, sp
	mov	r1, r0
	mov	r0, r6
	bl	as3722_read
	subs	r3, r0, #0
	blt	.L17
	ldr	r3, .L21+4
	ldr	r0, [sp]
	ldr	r3, [r3]
	cmp	r7, #0
	and	r0, r0, r3
	bne	.L18
	cmp	r0, #0
	bne	.L15
.L7:
	ldr	r3, .L21+8
	str	r0, [sp]
	mov	r0, r4
	ldr	r4, [r3]
	bl	AS3722_GPIOn_SIGNAL
	mov	r1, r4
	mov	r2, r0
	ldr	r3, [sp]
	mov	r0, r6
	bl	as3722_update_bits
	subs	r2, r0, #0
	blt	.L19
.L1:
	ldr	r3, .L21
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L20
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L18:
	cmp	r0, #0
	movne	r0, #0
	bne	.L7
.L15:
	mov	r0, r4
	bl	AS3722_GPIOn_SIGNAL
	b	.L7
.L19:
	ldr	r0, [r5]
	ldr	r1, .L21+12
	bl	dev_err
	b	.L1
.L17:
	mov	r2, r4
	ldr	r0, [r5]
	ldr	r1, .L21+16
	bl	dev_err
	b	.L1
.L20:
	bl	__stack_chk_fail
.L22:
	.align	2
.L21:
	.word	.LC2
	.word	AS3722_GPIO_INV
	.word	AS3722_GPIO_SIGNAL_OUT_REG
	.word	.LC1
	.word	.LC0
	.size	as3722_gpio_set, .-as3722_gpio_set
	.comm	AS3722_GPIO_SIGNAL_OUT_REG,4,4
	.comm	AS3722_GPIO_INV,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
