	.file	"extr_v3_utl.c_skip_prefix.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	skip_prefix, @function
skip_prefix:
.LFB0:
	.cfi_startproc
	endbr64
	test	DWORD PTR _X509_CHECK_FLAG_DOT_SUBDOMAINS[rip], ecx
	je	.L1
	mov	r8, QWORD PTR [rsi]
	mov	rax, QWORD PTR [rdi]
	cmp	r8, rdx
	jbe	.L7
	test	DWORD PTR X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS[rip], ecx
	mov	r9, r8
	setne	r10b
	sub	r9, rdx
	add	r8, rax
	add	r9, rax
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	cmp	cl, 46
	jne	.L8
	test	r10b, r10b
	jne	.L1
.L8:
	add	rax, 1
	mov	rcx, r8
	sub	rcx, rax
	cmp	rax, r9
	je	.L3
.L4:
	movzx	ecx, BYTE PTR [rax]
	test	cl, cl
	jne	.L6
	ret
.L7:
	mov	rcx, r8
	mov	r9, rax
	.p2align 4,,10
	.p2align 3
.L3:
	cmp	rdx, rcx
	jne	.L1
	mov	QWORD PTR [rdi], r9
	mov	QWORD PTR [rsi], rdx
.L1:
	ret
	.cfi_endproc
.LFE0:
	.size	skip_prefix, .-skip_prefix
	.comm	_X509_CHECK_FLAG_DOT_SUBDOMAINS,4,4
	.comm	X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS,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_v3_utl.c_skip_prefix.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	skip_prefix, %function
skip_prefix:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	ldr	ip, .L17
	ldr	ip, [ip]
	tst	r3, ip
	bxeq	lr
	push	{r4, r5, r6, lr}
	ldr	lr, [r1]
	ldr	r4, [r0]
	cmp	lr, r2
	bls	.L6
	ldr	r6, .L17+4
	mov	ip, r4
	ldr	r6, [r6]
	sub	r5, lr, r2
	tst	r3, r6
	movne	r6, #1
	moveq	r6, #0
	add	lr, r4, lr
	add	r5, r4, r5
.L4:
	ldrb	r3, [ip], #1	@ zero_extendqisi2
	cmp	r3, #0
	popeq	{r4, r5, r6, pc}
	cmp	r3, #46
	movne	r3, #0
	andeq	r3, r6, #1
	cmp	r3, #0
	popne	{r4, r5, r6, pc}
	cmp	ip, r5
	mov	r4, ip
	sub	r3, lr, ip
	bne	.L4
.L3:
	cmp	r2, r3
	streq	r4, [r0]
	streq	r2, [r1]
	pop	{r4, r5, r6, pc}
.L6:
	mov	r3, lr
	b	.L3
.L18:
	.align	2
.L17:
	.word	_X509_CHECK_FLAG_DOT_SUBDOMAINS
	.word	X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS
	.size	skip_prefix, .-skip_prefix
	.comm	_X509_CHECK_FLAG_DOT_SUBDOMAINS,4,4
	.comm	X509_CHECK_FLAG_SINGLE_LABEL_SUBDOMAINS,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
