	.file	"extr_ldc.c_process_ver_info.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC0:
	.string	"GOT VERSION INFO major[%x] minor[%x]\n"
	.text
	.p2align 4
	.type	process_ver_info, @function
process_ver_info:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	mov	rbx, rsi
	sub	rsp, 40
	.cfi_def_cfa_offset 64
	mov	rcx, QWORD PTR 8[rsi]
	mov	rdx, QWORD PTR [rsi]
	lea	rsi, .LC0[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	mov	edi, DWORD PTR HS[rip]
	call	ldcdbg@PLT
	mov	rax, QWORD PTR LDC_HS_GOTVERS[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L16
	mov	rdi, QWORD PTR [rbx]
	call	find_by_major@PLT
	test	rax, rax
	je	.L17
.L3:
	mov	rsi, QWORD PTR [rax]
	cmp	rsi, QWORD PTR [rbx]
	jne	.L18
	movdqu	xmm0, XMMWORD PTR [rbx]
	movaps	XMMWORD PTR [rsp], xmm0
	mov	rax, QWORD PTR 8[rax]
	cmp	QWORD PTR 8[rsp], rax
	jle	.L6
	mov	QWORD PTR 8[rsp], rax
.L6:
	mov	rsi, rsp
	mov	rdi, rbp
	call	send_version_ack@PLT
	test	eax, eax
	jne	.L10
	mov	rdx, QWORD PTR LDC_HS_GOTVERS[rip]
	movdqa	xmm1, XMMWORD PTR [rsp]
	mov	QWORD PTR 0[rbp], rdx
	movups	XMMWORD PTR 8[rbp], xmm1
	.p2align 4,,10
	.p2align 3
.L1:
	mov	rcx, QWORD PTR 24[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L19
	add	rsp, 40
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L18:
	.cfi_restore_state
	mov	rdx, QWORD PTR 8[rax]
	mov	rdi, rbp
	call	send_version_nack@PLT
.L4:
	test	eax, eax
	je	.L1
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rdi, rbp
	call	LDC_ABORT@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L16:
	mov	rax, QWORD PTR LDC_HS_OPEN[rip]
	lea	rdi, 8[rbp]
	xor	esi, esi
	mov	edx, 16
	mov	QWORD PTR 0[rbp], rax
	call	memset@PLT
	mov	rdi, QWORD PTR [rbx]
	call	find_by_major@PLT
	test	rax, rax
	jne	.L3
.L17:
	xor	edx, edx
	xor	esi, esi
	mov	rdi, rbp
	call	send_version_nack@PLT
	jmp	.L4
.L19:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	process_ver_info, .-process_ver_info
	.comm	LDC_HS_OPEN,8,8
	.comm	LDC_HS_GOTVERS,8,8
	.comm	HS,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_ldc.c_process_ver_info.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"GOT VERSION INFO major[%x] minor[%x]\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_ver_info, %function
process_ver_info:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	mov	r4, r1
	mov	r5, r0
	ldm	r4, {r2, r3}
	ldr	r1, .L20
	ldr	ip, .L20+4
	ldr	r6, .L20+8
	ldr	r0, [r1]
	sub	sp, sp, #20
	ldr	r1, .L20+12
	ldr	ip, [ip]
	str	ip, [sp, #12]
	mov	ip,#0
	bl	ldcdbg
	ldr	r2, [r5]
	ldr	r3, [r6]
	cmp	r2, r3
	beq	.L16
	ldr	r0, [r4]
	bl	find_by_major
	subs	r2, r0, #0
	beq	.L17
.L3:
	ldr	r1, [r2]
	ldr	r3, [r4]
	cmp	r1, r3
	bne	.L18
	ldm	r4, {r0, r1}
	add	r7, sp, #4
	stm	r7, {r0, r1}
	ldr	r3, [r2, #4]
	ldr	r2, [sp, #8]
	mov	r1, r7
	cmp	r2, r3
	mov	r0, r5
	strgt	r3, [sp, #8]
	bl	send_version_ack
	subs	r3, r0, #0
	bne	.L10
	ldm	r7, {r0, r1}
	ldr	r2, [r6]
	stmib	r5, {r0, r1}
	str	r2, [r5]
.L1:
	ldr	r2, .L20+4
	ldr	r1, [r2]
	ldr	r2, [sp, #12]
	eors	r1, r2, r1
	mov	r2, #0
	bne	.L19
	mov	r0, r3
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L18:
	mov	r0, r5
	ldr	r2, [r2, #4]
	bl	send_version_nack
	mov	r3, r0
.L4:
	cmp	r3, #0
	beq	.L1
.L10:
	mov	r0, r5
	bl	LDC_ABORT
	mov	r3, r0
	b	.L1
.L16:
	mov	r0, r5
	ldr	r3, .L20+16
	mov	r2, #8
	ldr	r3, [r3]
	mov	r1, #0
	str	r3, [r0], #4
	bl	memset
	ldr	r0, [r4]
	bl	find_by_major
	subs	r2, r0, #0
	bne	.L3
.L17:
	mov	r1, r2
	mov	r0, r5
	bl	send_version_nack
	mov	r3, r0
	b	.L4
.L19:
	bl	__stack_chk_fail
.L21:
	.align	2
.L20:
	.word	HS
	.word	.LC1
	.word	LDC_HS_GOTVERS
	.word	.LC0
	.word	LDC_HS_OPEN
	.size	process_ver_info, .-process_ver_info
	.comm	LDC_HS_OPEN,4,4
	.comm	LDC_HS_GOTVERS,4,4
	.comm	HS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
