	.file	"extr_mc5.c_init_mask_data_array.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	init_mask_data_array, @function
init_mask_data_array:
.LFB0:
	.cfi_startproc
	endbr64
	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, rdx
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	mov	r12d, r8d
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	mov	rbp, rcx
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rdi
	sub	rsp, 40
	.cfi_def_cfa_offset 96
	mov	r15, QWORD PTR 16[rdi]
	mov	r14d, DWORD PTR [rdi]
	mov	QWORD PTR 16[rsp], rsi
	mov	esi, DWORD PTR A_MC5_DB_SERVER_INDEX[rip]
	mov	QWORD PTR 24[rsp], rdi
	mov	rdi, r15
	call	t3_read_reg@PLT
	mov	DWORD PTR 12[rsp], eax
	mov	rax, QWORD PTR MC5_MODE_144_BIT[rip]
	cmp	QWORD PTR 8[rbx], rax
	jne	.L2
	add	r14d, r14d
	sal	DWORD PTR 12[rsp]
.L2:
	xor	ecx, ecx
	xor	edx, edx
	xor	esi, esi
	mov	rdi, r15
	call	dbgi_wr_data3@PLT
	test	r14d, r14d
	je	.L3
	xor	ebx, ebx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	lea	eax, 1[rbx]
	cmp	r14d, eax
	je	.L19
	mov	ebx, eax
.L6:
	mov	esi, ebx
	mov	ecx, r12d
	mov	rdx, rbp
	mov	rdi, r15
	sal	esi, cl
	add	rsi, r13
	call	mc5_write@PLT
	test	rax, rax
	je	.L4
.L10:
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, -1
	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
.L19:
	.cfi_restore_state
	mov	ecx, 255
	mov	edx, -1
	mov	rdi, r15
	xor	r13d, r13d
	mov	esi, -1
	call	dbgi_wr_data3@PLT
	jmp	.L11
	.p2align 4,,10
	.p2align 3
.L8:
	mov	esi, r13d
	mov	ecx, r12d
	mov	rdx, rbp
	mov	rdi, r15
	sal	esi, cl
	add	rsi, QWORD PTR 16[rsp]
	call	mc5_write@PLT
	test	rax, rax
	jne	.L10
	lea	eax, 1[r13]
	cmp	ebx, r13d
	je	.L17
	mov	r13d, eax
.L11:
	cmp	DWORD PTR 12[rsp], r13d
	jne	.L8
	mov	rax, QWORD PTR 24[rsp]
	mov	rdx, QWORD PTR MC5_MODE_144_BIT[rip]
	mov	rdi, r15
	mov	esi, DWORD PTR A_MC5_DB_DBGI_REQ_DATA0[rip]
	cmp	QWORD PTR 8[rax], rdx
	setne	dl
	movzx	edx, dl
	lea	edx, -7[0+rdx*4]
	call	t3_write_reg@PLT
	jmp	.L8
.L3:
	mov	ecx, 255
	mov	edx, -1
	mov	esi, -1
	mov	rdi, r15
	call	dbgi_wr_data3@PLT
.L17:
	add	rsp, 40
	.cfi_def_cfa_offset 56
	xor	eax, eax
	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
	.cfi_endproc
.LFE0:
	.size	init_mask_data_array, .-init_mask_data_array
	.comm	MC5_MODE_144_BIT,8,8
	.comm	A_MC5_DB_SERVER_INDEX,4,4
	.comm	A_MC5_DB_DBGI_REQ_DATA0,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_mc5.c_init_mask_data_array.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	init_mask_data_array, %function
init_mask_data_array:
	@ args = 4, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	ip, r1
	mov	fp, r0
	ldr	r6, [r0, #8]
	ldr	r1, .L19
	sub	sp, sp, #12
	ldr	r1, [r1]
	mov	r0, r6
	ldr	r4, [fp]
	mov	r9, r2
	mov	r7, r3
	str	ip, [sp, #4]
	ldr	r8, [sp, #48]
	bl	t3_read_reg
	ldr	r3, .L19+4
	ldr	r2, [fp, #4]
	ldr	r3, [r3]
	mov	r10, r0
	cmp	r2, r3
	mov	r3, #0
	lsleq	r10, r0, #1
	lsleq	r4, r4, #1
	mov	r0, r6
	mov	r2, r3
	mov	r1, r3
	bl	dbgi_wr_data3
	cmp	r4, #0
	beq	.L3
	mov	r5, #0
	b	.L6
.L4:
	cmp	r4, r3
	beq	.L18
	mov	r5, r3
.L6:
	mov	r2, r7
	mov	r0, r6
	add	r1, r9, r5, lsl r8
	bl	mc5_write
	cmp	r0, #0
	add	r3, r5, #1
	beq	.L4
.L10:
	mvn	r0, #0
.L1:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L18:
	mvn	r2, #0
	mov	ip, r0
	mov	r3, #255
	mov	r1, r2
	mov	r0, r6
	mov	r9, ip
	ldr	r4, .L19+8
	bl	dbgi_wr_data3
	str	fp, [sp]
	mov	fp, r5
	ldr	r5, [sp, #4]
	b	.L11
.L8:
	mov	r2, r7
	mov	r0, r6
	add	r1, r5, r9, lsl r8
	bl	mc5_write
	cmp	r0, #0
	bne	.L10
	cmp	fp, r9
	add	r3, r9, #1
	beq	.L1
	mov	r9, r3
.L11:
	cmp	r10, r9
	bne	.L8
	ldr	r3, [sp]
	ldr	r1, [r4]
	ldr	r0, [r3, #4]
	ldr	r3, .L19+4
	ldr	r2, [r3]
	cmp	r0, r2
	mvneq	r2, #6
	mvnne	r2, #2
	mov	r0, r6
	bl	t3_write_reg
	b	.L8
.L3:
	mvn	r2, #0
	mov	r0, r6
	mov	r1, r2
	mov	r3, #255
	bl	dbgi_wr_data3
	mov	r0, r4
	b	.L1
.L20:
	.align	2
.L19:
	.word	A_MC5_DB_SERVER_INDEX
	.word	MC5_MODE_144_BIT
	.word	A_MC5_DB_DBGI_REQ_DATA0
	.size	init_mask_data_array, .-init_mask_data_array
	.comm	MC5_MODE_144_BIT,4,4
	.comm	A_MC5_DB_SERVER_INDEX,4,4
	.comm	A_MC5_DB_DBGI_REQ_DATA0,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
