	.file	"extr_zl10353.c_zl10353_init.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	zl10353_init, @function
zl10353_init:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	r12, QWORD PTR [rdi]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	cmp	QWORD PTR debug_regs[rip], 0
	movabs	rax, 12884901968
	mov	QWORD PTR [rsp], rax
	movabs	rax, 300647710820
	mov	QWORD PTR 8[rsp], rax
	movabs	rax, 64424509461
	mov	QWORD PTR 16[rsp], rax
	jne	.L20
.L2:
	cmp	QWORD PTR 8[r12], 0
	je	.L3
	and	DWORD PTR 8[rsp], -33
.L3:
	mov	eax, DWORD PTR [r12]
	test	eax, eax
	je	.L4
	mov	DWORD PTR 12[rsp], eax
.L4:
	mov	eax, DWORD PTR 4[r12]
	test	eax, eax
	je	.L5
	mov	DWORD PTR 16[rsp], eax
.L5:
	mov	esi, 80
	mov	rdi, r12
	call	zl10353_read_register@PLT
	cmp	eax, DWORD PTR 4[rsp]
	je	.L6
.L9:
	mov	rsi, rsp
	mov	edx, 24
	mov	rdi, rbp
	call	zl10353_write@PLT
	cmp	QWORD PTR debug_regs[rip], 0
	jne	.L21
.L10:
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L22
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xor	eax, eax
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	esi, 81
	mov	rdi, r12
	call	zl10353_read_register@PLT
	cmp	eax, DWORD PTR 8[rsp]
	jne	.L9
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L20:
	call	zl10353_dump_regs@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L21:
	mov	rdi, rbp
	call	zl10353_dump_regs@PLT
	jmp	.L10
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	zl10353_init, .-zl10353_init
	.comm	debug_regs,8,8
	.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_zl10353.c_zl10353_init.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	zl10353_init, %function
zl10353_init:
	@ args = 0, pretend = 0, frame = 32
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	sub	sp, sp, #32
	ldr	lr, .L29
	add	ip, sp, #4
	ldmia	lr!, {r0, r1, r2, r3}
	ldr	r6, .L29+4
	stmia	ip!, {r0, r1, r2, r3}
	ldm	lr, {r0, r1}
	ldr	r3, [r6]
	ldr	r2, .L29+8
	cmp	r3, #0
	ldr	r2, [r2]
	str	r2, [sp, #28]
	mov	r2,#0
	ldr	r5, [r4]
	stm	ip, {r0, r1}
	bne	.L26
.L2:
	ldr	r3, [r5, #8]
	mov	r1, #80
	cmp	r3, #0
	ldrne	r3, [sp, #12]
	mov	r0, r5
	bicne	r3, r3, #32
	strne	r3, [sp, #12]
	ldr	r3, [r5]
	cmp	r3, #0
	strne	r3, [sp, #16]
	ldr	r3, [r5, #4]
	cmp	r3, #0
	strne	r3, [sp, #20]
	bl	zl10353_read_register
	ldr	r3, [sp, #8]
	cmp	r0, r3
	beq	.L6
.L9:
	mov	r2, #24
	mov	r0, r4
	add	r1, sp, #4
	bl	zl10353_write
	ldr	r3, [r6]
	cmp	r3, #0
	bne	.L27
.L10:
	ldr	r3, .L29+8
	ldr	r2, [r3]
	ldr	r3, [sp, #28]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L28
	mov	r0, #0
	add	sp, sp, #32
	@ sp needed
	pop	{r4, r5, r6, pc}
.L6:
	mov	r0, r5
	mov	r1, #81
	bl	zl10353_read_register
	ldr	r3, [sp, #12]
	cmp	r0, r3
	bne	.L9
	b	.L10
.L26:
	mov	r0, r4
	bl	zl10353_dump_regs
	b	.L2
.L27:
	mov	r0, r4
	bl	zl10353_dump_regs
	b	.L10
.L28:
	bl	__stack_chk_fail
.L30:
	.align	2
.L29:
	.word	.LANCHOR0
	.word	debug_regs
	.word	.LC1
	.size	zl10353_init, .-zl10353_init
	.comm	debug_regs,4,4
	.section	.rodata
	.align	2
	.set	.LANCHOR0,. + 0
.LC0:
	.word	80
	.word	3
	.word	100
	.word	70
	.word	21
	.word	15
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
