	.file	"extr_connect.c_process_ref_v2.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"symref-target:"
.LC1:
	.string	"peeled:"
.LC2:
	.string	"%s^{}"
	.text
	.p2align 4
	.type	process_ref_v2, @function
process_ref_v2:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	ecx, -1
	mov	edx, 32
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rsi
	mov	rsi, rdi
	push	r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	push	rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	sub	rsp, 104
	.cfi_def_cfa_offset 160
	movdqu	xmm0, XMMWORD PTR STRING_LIST_INIT_DUP[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 88[rsp], rax
	xor	eax, eax
	lea	r15, 64[rsp]
	mov	rdi, r15
	movaps	XMMWORD PTR 64[rsp], xmm0
	call	string_list_split@PLT
	cmp	eax, 1
	jle	.L2
	lea	rax, 48[rsp]
	lea	rbp, 40[rsp]
	mov	QWORD PTR 24[rsp], rax
	mov	rdx, rax
	mov	rax, QWORD PTR 72[rsp]
	mov	rsi, rbp
	mov	rdi, QWORD PTR [rax]
	call	parse_oid_hex@PLT
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR 48[rsp]
	cmp	BYTE PTR [rax], 0
	je	.L22
.L2:
	xor	r12d, r12d
.L4:
	xor	esi, esi
	mov	rdi, r15
	call	string_list_clear@PLT
	mov	rax, QWORD PTR 88[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L23
	add	rsp, 104
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	mov	eax, r12d
	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
.L22:
	.cfi_restore_state
	mov	rax, QWORD PTR 72[rsp]
	mov	ebx, 16
	lea	r12, 56[rsp]
	mov	rdi, QWORD PTR 8[rax]
	call	alloc_ref@PLT
	mov	rsi, rbp
	mov	ebp, 2
	lea	rdi, 8[rax]
	mov	r14, rax
	call	oidcpy@PLT
	mov	rax, QWORD PTR 0[r13]
	cmp	DWORD PTR 64[rsp], 2
	mov	QWORD PTR [rax], r14
	lea	rax, 44[rsp]
	mov	QWORD PTR 0[r13], r14
	mov	QWORD PTR [rsp], rax
	jg	.L3
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rdi, QWORD PTR 56[rsp]
	mov	rdx, r12
	lea	rsi, .LC1[rip]
	call	skip_prefix@PLT
	test	rax, rax
	jne	.L24
	add	ebp, 1
	add	rbx, 8
	cmp	DWORD PTR 64[rsp], ebp
	jle	.L9
.L3:
	mov	rax, QWORD PTR 72[rsp]
	mov	rdx, r12
	lea	rsi, .LC0[rip]
	mov	rdi, QWORD PTR [rax+rbx]
	mov	QWORD PTR 56[rsp], rdi
	call	skip_prefix@PLT
	test	rax, rax
	je	.L5
	mov	rdi, QWORD PTR 56[rsp]
	call	xstrdup@PLT
	mov	DWORD PTR 16[r14], eax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdx, QWORD PTR 24[rsp]
	mov	rsi, QWORD PTR [rsp]
	mov	rdi, QWORD PTR 56[rsp]
	call	parse_oid_hex@PLT
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR 48[rsp]
	cmp	BYTE PTR [rax], 0
	jne	.L2
	mov	esi, DWORD PTR 12[r14]
	lea	rdi, .LC2[rip]
	add	ebp, 1
	add	rbx, 8
	call	xstrfmt@PLT
	mov	rdi, rax
	mov	QWORD PTR 16[rsp], rax
	call	alloc_ref@PLT
	mov	rsi, QWORD PTR [rsp]
	lea	rdi, 8[rax]
	mov	QWORD PTR 8[rsp], rax
	call	oidcpy@PLT
	mov	rax, QWORD PTR 0[r13]
	mov	rdx, QWORD PTR 8[rsp]
	mov	r8, QWORD PTR 16[rsp]
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 0[r13], rdx
	mov	rdi, r8
	call	free@PLT
	cmp	DWORD PTR 64[rsp], ebp
	jg	.L3
.L9:
	mov	r12d, 1
	jmp	.L4
.L23:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	process_ref_v2, .-process_ref_v2
	.comm	STRING_LIST_INIT_DUP,16,16
	.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_connect.c_process_ref_v2.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"symref-target:\000"
	.align	2
.LC1:
	.ascii	"peeled:\000"
	.align	2
.LC2:
	.ascii	"%s^{}\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	process_ref_v2, %function
process_ref_v2:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	mov	ip, r0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L24
	sub	sp, sp, #44
	add	r6, sp, #28
	mov	r5, r1
	ldm	r3, {r0, r1}
	stm	r6, {r0, r1}
	mov	r1, ip
	ldr	ip, .L24+4
	mvn	r3, #0
	mov	r2, #32
	mov	r0, r6
	ldr	ip, [ip]
	str	ip, [sp, #36]
	mov	ip,#0
	bl	string_list_split
	cmp	r0, #1
	ble	.L2
	ldr	r3, [sp, #32]
	add	r2, sp, #16
	ldr	r0, [r3]
	add	r1, sp, #12
	bl	parse_oid_hex
	subs	r7, r0, #0
	bne	.L2
	ldr	r3, [sp, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L21
.L2:
	mov	r7, #0
.L4:
	mov	r0, r6
	mov	r1, #0
	bl	string_list_clear
	ldr	r3, .L24+4
	ldr	r2, [r3]
	ldr	r3, [sp, #36]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L22
	mov	r0, r7
	add	sp, sp, #44
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L21:
	ldr	r3, [sp, #32]
	ldr	r0, [r3, #4]
	bl	alloc_ref
	mov	r10, r0
	add	r1, sp, #12
	add	r0, r0, #4
	bl	oidcpy
	ldr	r2, [sp, #28]
	ldr	r3, [r5]
	cmp	r2, #2
	str	r10, [r3]
	str	r10, [r5]
	ble	.L9
	mov	r4, #2
	ldr	r9, .L24+8
	ldr	r8, .L24+12
	b	.L3
.L5:
	mov	r1, r8
	ldr	r0, [sp, #20]
	add	r2, sp, #20
	bl	skip_prefix
	cmp	r0, #0
	bne	.L23
	ldr	r3, [sp, #28]
	add	r4, r4, #1
	cmp	r3, r4
	ble	.L9
.L3:
	ldr	r3, [sp, #32]
	mov	r1, r9
	ldr	r0, [r3, r4, lsl #2]
	add	r2, sp, #20
	str	r0, [sp, #20]
	bl	skip_prefix
	cmp	r0, #0
	beq	.L5
	ldr	r0, [sp, #20]
	bl	xstrdup
	str	r0, [r10, #12]
	b	.L5
.L23:
	ldr	r0, [sp, #20]
	add	r1, sp, #24
	add	r2, sp, #16
	bl	parse_oid_hex
	cmp	r0, #0
	bne	.L4
	ldr	r3, [sp, #16]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #0
	bne	.L4
	ldr	r1, [r10, #8]
	ldr	r0, .L24+16
	bl	xstrfmt
	str	r0, [sp, #4]
	bl	alloc_ref
	mov	fp, r0
	add	r1, sp, #24
	add	r0, r0, #4
	bl	oidcpy
	ldr	r1, [r5]
	ldr	r2, [sp, #4]
	str	fp, [r1]
	mov	r0, r2
	str	fp, [r5]
	bl	free
	ldr	r3, [sp, #28]
	add	r4, r4, #1
	cmp	r3, r4
	bgt	.L3
.L9:
	mov	r7, #1
	b	.L4
.L22:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	STRING_LIST_INIT_DUP
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	process_ref_v2, .-process_ref_v2
	.comm	STRING_LIST_INIT_DUP,8,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
