	.file	"extr_matroxfb_misc.c_parse_pins1.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	parse_pins1, @function
parse_pins1:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	ebp, 175000
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, QWORD PTR [rsi]
	mov	eax, DWORD PTR 88[rdi]
	test	eax, eax
	je	.L2
	cmp	eax, 1
	mov	ebp, 240000
	mov	eax, 220000
	cmove	ebp, eax
.L2:
	add	rdi, 96
	call	get_unaligned_le16@PLT
	test	eax, eax
	jne	.L16
.L3:
	mov	rax, QWORD PTR [r12]
	mov	DWORD PTR 12[rbx], ebp
	lea	rdi, 112[rax]
	call	get_unaligned_le16@PLT
	mov	r8d, eax
	mov	eax, 50000
	test	r8d, r8d
	jne	.L17
.L4:
	mov	DWORD PTR 4[rbx], eax
	xor	eax, eax
	mov	DWORD PTR 8[rbx], 14318
	mov	DWORD PTR [rbx], 196865
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L16:
	.cfi_restore_state
	mov	rax, QWORD PTR [r12]
	lea	rdi, 96[rax]
	call	get_unaligned_le16@PLT
	lea	ebp, [rax+rax*4]
	add	ebp, ebp
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rdi, QWORD PTR [r12]
	add	rdi, 112
	call	get_unaligned_le16@PLT
	lea	eax, [rax+rax*4]
	add	eax, eax
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	parse_pins1, .-parse_pins1
	.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_matroxfb_misc.c_parse_pins1.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_pins1, %function
parse_pins1:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	r2, [r1]
	push	{r4, r5, r6, lr}
	ldr	r3, [r2, #88]
	mov	r6, r1
	cmp	r3, #0
	mov	r4, r0
	beq	.L5
	ldr	r0, .L15
	cmp	r3, #1
	ldr	r5, .L15+4
	moveq	r5, r0
	add	r0, r2, #96
	bl	get_unaligned_le16
	cmp	r0, #0
	bne	.L13
.L3:
	ldr	r0, [r6]
	str	r5, [r4, #12]
	add	r0, r0, #112
	bl	get_unaligned_le16
	cmp	r0, #0
	ldreq	r0, .L15+8
	bne	.L14
.L4:
	ldr	r2, .L15+12
	ldr	r3, .L15+16
	stmib	r4, {r0, r2}
	str	r3, [r4]
	mov	r0, #0
	pop	{r4, r5, r6, pc}
.L5:
	add	r0, r2, #96
	bl	get_unaligned_le16
	cmp	r0, #0
	ldr	r5, .L15+20
	beq	.L3
.L13:
	ldr	r0, [r6]
	add	r0, r0, #96
	bl	get_unaligned_le16
	add	r0, r0, r0, lsl #2
	lsl	r5, r0, #1
	b	.L3
.L14:
	ldr	r0, [r6]
	add	r0, r0, #112
	bl	get_unaligned_le16
	add	r0, r0, r0, lsl #2
	lsl	r0, r0, #1
	b	.L4
.L16:
	.align	2
.L15:
	.word	220000
	.word	240000
	.word	50000
	.word	14318
	.word	196865
	.word	175000
	.size	parse_pins1, .-parse_pins1
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
