	.file	"extr_patch_ca0132.c_sbz_region2_exit.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	sbz_region2_exit, @function
sbz_region2_exit:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbp, QWORD PTR [rdi]
	mov	ebx, 4
.L2:
	mov	rax, QWORD PTR 0[rbp]
	xor	edi, edi
	lea	rsi, 256[rax]
	call	writeb@PLT
	sub	ebx, 1
	jne	.L2
	mov	ebx, 8
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rax, QWORD PTR 0[rbp]
	mov	edi, 179
	lea	rsi, 772[rax]
	call	writeb@PLT
	sub	ebx, 1
	jne	.L3
	mov	rdi, r12
	xor	edx, edx
	xor	esi, esi
	call	ca0113_mmio_gpio_set@PLT
	mov	rdi, r12
	xor	edx, edx
	mov	esi, 1
	call	ca0113_mmio_gpio_set@PLT
	mov	rdi, r12
	mov	edx, 1
	mov	esi, 4
	call	ca0113_mmio_gpio_set@PLT
	mov	rdi, r12
	xor	edx, edx
	mov	esi, 5
	call	ca0113_mmio_gpio_set@PLT
	pop	rbx
	.cfi_def_cfa_offset 24
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	xor	edx, edx
	mov	esi, 7
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ca0113_mmio_gpio_set@PLT
	.cfi_endproc
.LFE0:
	.size	sbz_region2_exit, .-sbz_region2_exit
	.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_patch_ca0132.c_sbz_region2_exit.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	sbz_region2_exit, %function
sbz_region2_exit:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r6, r0
	mov	r4, #4
	ldr	r5, [r0]
.L2:
	ldr	r1, [r5]
	mov	r0, #0
	add	r1, r1, #256
	bl	writeb
	subs	r4, r4, #1
	bne	.L2
	mov	r4, #8
.L3:
	ldr	r1, [r5]
	mov	r0, #179
	add	r1, r1, #772
	bl	writeb
	subs	r4, r4, #1
	bne	.L3
	mov	r2, r4
	mov	r1, r4
	mov	r0, r6
	bl	ca0113_mmio_gpio_set
	mov	r2, r4
	mov	r1, #1
	mov	r0, r6
	bl	ca0113_mmio_gpio_set
	mov	r2, #1
	mov	r1, #4
	mov	r0, r6
	bl	ca0113_mmio_gpio_set
	mov	r2, r4
	mov	r1, #5
	mov	r0, r6
	bl	ca0113_mmio_gpio_set
	mov	r2, r4
	mov	r0, r6
	pop	{r4, r5, r6, lr}
	mov	r1, #7
	b	ca0113_mmio_gpio_set
	.size	sbz_region2_exit, .-sbz_region2_exit
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
