	.file	"extr_fc0013.c_fc0013_init.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"fc0013_writereg failed: %d"
	.text
	.p2align 4
	.type	fc0013_init, @function
fc0013_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 40
	.cfi_def_cfa_offset 80
	mov	rbp, QWORD PTR 8[rdi]
	movdqa	xmm0, XMMWORD PTR .LC1[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	eax, 336
	mov	DWORD PTR 16[rsp], 0
	mov	WORD PTR 20[rsp], ax
	mov	eax, DWORD PTR 0[rbp]
	movaps	XMMWORD PTR [rsp], xmm0
	sub	eax, 129
	cmp	eax, 1
	ja	.L2
	mov	BYTE PTR 7[rsp], 42
.L2:
	cmp	QWORD PTR 8[rbp], 0
	je	.L3
	mov	BYTE PTR 12[rsp], -2
.L3:
	mov	rax, QWORD PTR 0[r13]
	test	rax, rax
	je	.L4
	mov	esi, 1
	mov	rdi, r13
	call	rax
.L4:
	mov	ebx, 1
	mov	edx, 9
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	add	rbx, 1
	cmp	rbx, 22
	je	.L6
	movzx	edx, BYTE PTR [rsp+rbx]
.L7:
	mov	esi, ebx
	mov	rdi, rbp
	call	fc0013_writereg@PLT
	mov	r12d, eax
	test	eax, eax
	je	.L18
	mov	rax, QWORD PTR 0[r13]
	test	rax, rax
	je	.L10
	xor	esi, esi
	mov	rdi, r13
	call	rax
.L10:
	mov	esi, r12d
	lea	rdi, .LC0[rip]
	call	err@PLT
.L1:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L19
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, r12d
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rax, QWORD PTR 0[r13]
	test	rax, rax
	je	.L1
	xor	esi, esi
	mov	rdi, r13
	call	rax
	jmp	.L1
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	fc0013_init, .-fc0013_init
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	721164179101583616
	.quad	2184036511743
	.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_fc0013.c_fc0013_init.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC1:
	.ascii	"fc0013_writereg failed: %d\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	fc0013_init, %function
fc0013_init:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	lr, .L23
	sub	sp, sp, #32
	ldr	r7, [r0, #4]
	add	ip, sp, #4
	mov	r8, r0
	ldmia	lr!, {r0, r1, r2, r3}
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	ldr	r3, [r7]
	str	r0, [ip], #4
	sub	r3, r3, #129
	cmp	r3, #1
	ldr	r3, .L23+4
	ldr	r3, [r3]
	str	r3, [sp, #28]
	mov	r3,#0
	movls	r3, #42
	strbls	r3, [sp, #11]
	ldr	r3, [r7, #4]
	strh	r1, [ip]	@ movhi
	cmp	r3, #0
	mvnne	r3, #1
	strbne	r3, [sp, #16]
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L4
	mov	r1, #1
	mov	r0, r8
	blx	r3
.L4:
	mov	r2, #9
	mov	r5, #1
	add	r6, sp, #6
	b	.L7
.L21:
	add	r5, r5, #1
	cmp	r5, #22
	beq	.L6
	ldrb	r2, [r6], #1	@ zero_extendqisi2
.L7:
	mov	r1, r5
	mov	r0, r7
	bl	fc0013_writereg
	subs	r4, r0, #0
	beq	.L21
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L10
	mov	r0, r8
	mov	r1, #0
	blx	r3
.L10:
	mov	r1, r4
	ldr	r0, .L23+8
	bl	err
.L1:
	ldr	r3, .L23+4
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r4
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	ldr	r3, [r8]
	cmp	r3, #0
	beq	.L1
	mov	r0, r8
	mov	r1, r4
	blx	r3
	b	.L1
.L22:
	bl	__stack_chk_fail
.L24:
	.align	2
.L23:
	.word	.LANCHOR0
	.word	.LC2
	.word	.LC1
	.size	fc0013_init, .-fc0013_init
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC0:
	.ascii	"\000\011\026\000\000\027\002\012\377o\270\202\374\001"
	.ascii	"\000\000\000\000\000\000P\001"
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
