	.file	"extr_simple_pattern.c_parse_pattern.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.type	parse_pattern, @function
parse_pattern:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rsi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	movzx	eax, BYTE PTR [rdi]
	mov	rbx, rdi
	cmp	al, 42
	jne	.L2
	.p2align 4,,10
	.p2align 3
.L3:
	movzx	eax, BYTE PTR 1[rbx]
	add	rbx, 1
	cmp	al, 42
	je	.L3
.L2:
	xor	r14d, r14d
	test	al, al
	je	.L6
	.p2align 4,,10
	.p2align 3
.L4:
	movzx	eax, BYTE PTR 1[rbx]
	add	rbx, 1
	test	al, al
	je	.L18
	cmp	al, 42
	jne	.L4
.L18:
	xor	r14d, r14d
	cmp	al, 42
	je	.L32
.L6:
	mov	rdi, rbp
	call	strlen@PLT
	cmp	rax, 1
	jbe	.L7
	cmp	BYTE PTR 0[rbp], 42
	je	.L33
	test	rax, rax
	je	.L10
	lea	rax, -1[rbp+rax]
	cmp	BYTE PTR [rax], 42
	je	.L34
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, 32
	mov	edi, 1
	call	callocz@PLT
	cmp	BYTE PTR 0[rbp], 0
	mov	r12, rax
	jne	.L35
	mov	rax, QWORD PTR SIMPLE_PATTERN_SUBSTRING[rip]
	mov	QWORD PTR 16[r12], rax
.L12:
	mov	QWORD PTR 8[r12], r14
	mov	rax, r12
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L33:
	.cfi_restore_state
	lea	rdx, -1[rbp+rax]
	cmp	BYTE PTR [rdx], 42
	je	.L36
	test	rax, rax
	je	.L10
.L13:
	mov	r13, QWORD PTR SIMPLE_PATTERN_SUFFIX[rip]
	add	rbp, 1
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	test	rax, rax
	je	.L10
	cmp	BYTE PTR 0[rbp], 42
	jne	.L10
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L32:
	cmp	BYTE PTR 1[rbx], 0
	je	.L6
	mov	rsi, r13
	mov	rdi, rbx
	call	parse_pattern
	mov	BYTE PTR 1[rbx], 0
	mov	r14, rax
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L35:
	mov	rdi, rbp
	call	strdupz@PLT
	mov	QWORD PTR [r12], rax
	mov	rdi, rax
	call	strlen@PLT
	mov	QWORD PTR 16[r12], r13
	mov	QWORD PTR 24[r12], rax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L34:
	mov	BYTE PTR [rax], 0
	mov	r13, QWORD PTR SIMPLE_PATTERN_PREFIX[rip]
	jmp	.L10
.L36:
	mov	BYTE PTR [rdx], 0
	add	rbp, 1
	mov	r13, QWORD PTR SIMPLE_PATTERN_SUBSTRING[rip]
	jmp	.L10
	.cfi_endproc
.LFE0:
	.size	parse_pattern, .-parse_pattern
	.comm	SIMPLE_PATTERN_SUFFIX,8,8
	.comm	SIMPLE_PATTERN_SUBSTRING,8,8
	.comm	SIMPLE_PATTERN_PREFIX,8,8
	.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_simple_pattern.c_parse_pattern.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	parse_pattern, %function
parse_pattern:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldrb	r5, [r0]	@ zero_extendqisi2
	mov	r6, r0
	cmp	r5, #42
	mov	r7, r1
	mov	r4, r0
	bne	.L2
.L3:
	ldrb	r5, [r4, #1]!	@ zero_extendqisi2
	cmp	r5, #42
	beq	.L3
.L2:
	cmp	r5, #0
	beq	.L5
.L4:
	ldrb	r3, [r4, #1]!	@ zero_extendqisi2
	subs	r5, r3, #42
	movne	r5, #1
	cmp	r3, #0
	moveq	r5, #0
	cmp	r5, #0
	bne	.L4
	cmp	r3, #42
	beq	.L27
.L5:
	mov	r0, r6
	bl	strlen
	cmp	r0, #1
	bls	.L6
	ldrb	r3, [r6]	@ zero_extendqisi2
	cmp	r3, #42
	beq	.L28
	cmp	r0, #0
	beq	.L9
	sub	r0, r0, #1
	ldrb	r3, [r6, r0]	@ zero_extendqisi2
	cmp	r3, #42
	moveq	r2, #0
	ldreq	r3, .L31
	strbeq	r2, [r6, r0]
	ldreq	r7, [r3]
.L9:
	mov	r1, #16
	mov	r0, #1
	bl	callocz
	ldrb	r3, [r6]	@ zero_extendqisi2
	mov	r4, r0
	cmp	r3, #0
	bne	.L29
	ldr	r3, .L31+4
	ldr	r3, [r3]
	str	r3, [r0, #8]
.L11:
	mov	r0, r4
	str	r5, [r4, #4]
	pop	{r4, r5, r6, r7, r8, pc}
.L28:
	sub	r3, r0, #1
	ldrb	r2, [r6, r3]	@ zero_extendqisi2
	cmp	r2, #42
	beq	.L30
	cmp	r0, #0
	beq	.L9
.L12:
	ldr	r3, .L31+8
	add	r6, r6, #1
	ldr	r7, [r3]
	b	.L9
.L6:
	cmp	r0, #0
	beq	.L9
	ldrb	r3, [r6]	@ zero_extendqisi2
	cmp	r3, #42
	bne	.L9
	b	.L12
.L27:
	ldrb	r0, [r4, #1]	@ zero_extendqisi2
	cmp	r0, #0
	moveq	r5, r0
	beq	.L5
	mov	r1, r7
	mov	r0, r4
	bl	parse_pattern
	strb	r5, [r4, #1]
	mov	r5, r0
	b	.L5
.L29:
	mov	r0, r6
	bl	strdupz
	str	r0, [r4]
	bl	strlen
	str	r7, [r4, #8]
	str	r0, [r4, #12]
	b	.L11
.L30:
	mov	r1, #0
	ldr	r2, .L31+4
	strb	r1, [r6, r3]
	ldr	r7, [r2]
	add	r6, r6, #1
	b	.L9
.L32:
	.align	2
.L31:
	.word	SIMPLE_PATTERN_PREFIX
	.word	SIMPLE_PATTERN_SUBSTRING
	.word	SIMPLE_PATTERN_SUFFIX
	.size	parse_pattern, .-parse_pattern
	.comm	SIMPLE_PATTERN_SUFFIX,4,4
	.comm	SIMPLE_PATTERN_SUBSTRING,4,4
	.comm	SIMPLE_PATTERN_PREFIX,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
