	.file	"extr_panel.c_phys_scan_contacts.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	phys_scan_contacts, @function
phys_scan_contacts:
.LFB0:
	.cfi_startproc
	endbr64
	mov	eax, DWORD PTR phys_curr[rip]
	mov	edi, DWORD PTR pprt[rip]
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	mov	DWORD PTR phys_prev[rip], eax
	mov	eax, DWORD PTR phys_read[rip]
	mov	DWORD PTR phys_read[rip], 0
	mov	DWORD PTR phys_read_prev[rip], eax
	call	r_dtr@PLT
	movzx	edx, BYTE PTR scan_mask_o[rip]
	mov	edi, DWORD PTR pprt[rip]
	mov	r12d, eax
	mov	esi, eax
	or	r12d, edx
	not	edx
	and	edx, esi
	movsx	r13d, r12b
	movsx	esi, dl
	call	w_dtr@PLT
	mov	edi, DWORD PTR pprt[rip]
	call	r_str@PLT
	mov	edi, eax
	call	PNL_PINPUT@PLT
	mov	edi, DWORD PTR pprt[rip]
	mov	esi, r13d
	and	al, BYTE PTR scan_mask_i[rip]
	mov	ebp, eax
	call	w_dtr@PLT
	mov	edi, DWORD PTR pprt[rip]
	call	r_str@PLT
	mov	edi, eax
	call	PNL_PINPUT@PLT
	and	al, BYTE PTR scan_mask_i[rip]
	cmp	bpl, al
	je	.L2
	mov	edi, DWORD PTR pprt[rip]
	mov	ebx, eax
	xor	r14d, r14d
	mov	ebp, 1
	.p2align 4,,10
	.p2align 3
.L4:
	mov	esi, ebp
	mov	ecx, r14d
	movsx	eax, BYTE PTR scan_mask_o[rip]
	sal	esi, cl
	test	eax, esi
	je	.L3
	not	esi
	and	esi, r12d
	movsx	esi, sil
	call	w_dtr@PLT
	mov	edi, DWORD PTR pprt[rip]
	call	r_str@PLT
	mov	edi, eax
	call	PNL_PINPUT@PLT
	lea	ecx, [r14+r14*4]
	mov	edi, DWORD PTR pprt[rip]
	mov	r8d, eax
	mov	eax, ebx
	not	eax
	and	eax, r8d
	movsx	eax, al
	sal	eax, cl
	or	DWORD PTR phys_read[rip], eax
.L3:
	add	r14d, 1
	cmp	r14d, 8
	jne	.L4
	mov	esi, r13d
	call	w_dtr@PLT
.L2:
	mov	edx, DWORD PTR phys_read[rip]
	mov	eax, DWORD PTR phys_prev[rip]
	mov	ecx, DWORD PTR phys_read_prev[rip]
	pop	rbx
	.cfi_def_cfa_offset 40
	xor	eax, edx
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	xor	ecx, edx
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	and	eax, ecx
	xor	eax, edx
	mov	DWORD PTR phys_curr[rip], eax
	ret
	.cfi_endproc
.LFE0:
	.size	phys_scan_contacts, .-phys_scan_contacts
	.comm	scan_mask_o,1,1
	.comm	scan_mask_i,1,1
	.comm	pprt,4,4
	.comm	phys_read_prev,4,4
	.comm	phys_read,4,4
	.comm	phys_prev,4,4
	.comm	phys_curr,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_panel.c_phys_scan_contacts.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	phys_scan_contacts, %function
phys_scan_contacts:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r3, r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r4, #0
	ldr	r3, .L11
	ldr	r1, .L11+4
	ldr	r2, [r3]
	ldr	r6, .L11+8
	ldr	r5, .L11+12
	ldr	r3, [r6]
	str	r2, [r1]
	ldr	r2, .L11+16
	ldr	r0, [r5]
	str	r3, [r2]
	str	r4, [r6]
	bl	r_dtr
	mov	r9, r0
	ldr	r10, .L11+20
	ldr	r0, [r5]
	ldrb	r1, [r10]	@ zero_extendqisi2
	ldr	r8, .L11+24
	orr	r9, r9, r1
	lsl	r7, r9, #24
	asr	r7, r7, #24
	bic	r1, r7, r1
	and	r1, r1, #255
	bl	w_dtr
	ldr	r0, [r5]
	bl	r_str
	bl	PNL_PINPUT
	mov	fp, r0
	ldrb	r2, [r8]	@ zero_extendqisi2
	and	r9, r9, #255
	mov	r1, r9
	ldr	r0, [r5]
	and	fp, fp, r2
	bl	w_dtr
	ldr	r0, [r5]
	bl	r_str
	bl	PNL_PINPUT
	ldrb	r8, [r8]	@ zero_extendqisi2
	and	r8, r8, r0
	cmp	fp, r8
	beq	.L2
	mvn	r8, r8
	mov	fp, #1
	ldr	r0, [r5]
.L4:
	ldrb	r2, [r10]	@ zero_extendqisi2
	lsl	r3, fp, r4
	bic	r1, r7, r3
	tst	r2, r3
	and	r1, r1, #255
	beq	.L3
	bl	w_dtr
	ldr	r0, [r5]
	bl	r_str
	bl	PNL_PINPUT
	ldr	r3, [r6]
	and	r0, r0, r8
	and	r0, r0, #255
	add	r2, r4, r4, lsl #2
	orr	r3, r3, r0, lsl r2
	ldr	r0, [r5]
	str	r3, [r6]
.L3:
	add	r4, r4, #1
	cmp	r4, #8
	bne	.L4
	mov	r1, r9
	bl	w_dtr
.L2:
	ldr	r3, .L11+4
	ldr	r1, .L11+16
	ldr	r2, [r6]
	ldr	r3, [r3]
	ldr	r1, [r1]
	eor	r3, r3, r2
	eor	r1, r1, r2
	and	r3, r3, r1
	eor	r3, r3, r2
	ldr	r2, .L11
	str	r3, [r2]
	pop	{r3, r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L12:
	.align	2
.L11:
	.word	phys_curr
	.word	phys_prev
	.word	phys_read
	.word	pprt
	.word	phys_read_prev
	.word	scan_mask_o
	.word	scan_mask_i
	.size	phys_scan_contacts, .-phys_scan_contacts
	.comm	scan_mask_o,1,1
	.comm	scan_mask_i,1,1
	.comm	pprt,4,4
	.comm	phys_read_prev,4,4
	.comm	phys_read,4,4
	.comm	phys_prev,4,4
	.comm	phys_curr,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
