	.file	"extr_gpio-brcmstb.c_brcmstb_gpio_bank_save.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	brcmstb_gpio_bank_save, @function
brcmstb_gpio_bank_save:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR GIO_REG_STAT[rip]
	test	eax, eax
	je	.L6
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	xor	ebx, ebx
	sub	rsp, 8
	.cfi_def_cfa_offset 64
	.p2align 4,,10
	.p2align 3
.L3:
	mov	edi, DWORD PTR [r12]
	mov	esi, ebx
	mov	r15, QWORD PTR 16[r12]
	mov	rbp, QWORD PTR 0[r13]
	call	GIO_BANK_OFF@PLT
	mov	rdx, QWORD PTR 8[r12]
	mov	ecx, ebx
	add	ebx, 1
	lea	rdi, 0[rbp+rax]
	lea	r14, [rdx+rcx*4]
	call	r15
	mov	DWORD PTR [r14], eax
	cmp	DWORD PTR GIO_REG_STAT[rip], ebx
	ja	.L3
	add	rsp, 8
	.cfi_def_cfa_offset 56
	pop	rbx
	.cfi_def_cfa_offset 48
	pop	rbp
	.cfi_def_cfa_offset 40
	pop	r12
	.cfi_def_cfa_offset 32
	pop	r13
	.cfi_def_cfa_offset 24
	pop	r14
	.cfi_def_cfa_offset 16
	pop	r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	.cfi_restore 13
	.cfi_restore 14
	.cfi_restore 15
	ret
	.cfi_endproc
.LFE0:
	.size	brcmstb_gpio_bank_save, .-brcmstb_gpio_bank_save
	.comm	GIO_REG_STAT,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_gpio-brcmstb.c_brcmstb_gpio_bank_save.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	brcmstb_gpio_bank_save, %function
brcmstb_gpio_bank_save:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, lr}
	ldr	r9, .L10
	ldr	r3, [r9]
	cmp	r3, #0
	popeq	{r4, r5, r6, r7, r8, r9, r10, pc}
	mov	r8, r0
	mov	r5, r1
	mov	r4, #0
.L3:
	mov	r1, r4
	ldr	r0, [r5]
	ldr	r6, [r8]
	ldr	r7, [r5, #8]
	bl	GIO_BANK_OFF
	add	r0, r6, r0
	ldr	r6, [r5, #4]
	blx	r7
	str	r0, [r6, r4, lsl #2]
	ldr	r3, [r9]
	add	r4, r4, #1
	cmp	r3, r4
	bhi	.L3
	pop	{r4, r5, r6, r7, r8, r9, r10, pc}
.L11:
	.align	2
.L10:
	.word	GIO_REG_STAT
	.size	brcmstb_gpio_bank_save, .-brcmstb_gpio_bank_save
	.comm	GIO_REG_STAT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
