	.file	"extr_function.c_c_regex.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-iregex"
.LC1:
	.string	"-regex"
.LC2:
	.string	"%s: %s: %s"
	.text
	.p2align 4
	.globl	c_regex
	.type	c_regex, @function
c_regex:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	.cfi_offset 15, -24
	mov	r15, rsi
	push	r14
	.cfi_offset 14, -32
	mov	r14, rdi
	push	r13
	push	r12
	push	rbx
	sub	rsp, 24
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	movsx	rax, DWORD PTR LINE_MAX[rip]
	mov	rcx, rsp
	mov	r12, rax
	add	rax, 15
	mov	rdx, rax
	and	rax, -4096
	sub	rcx, rax
	and	rdx, -16
	mov	rax, rcx
	cmp	rsp, rax
	je	.L3
.L21:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rax
	jne	.L21
.L3:
	and	edx, 4095
	sub	rsp, rdx
	test	rdx, rdx
	jne	.L22
.L4:
	mov	edi, 4
	mov	r13, rsp
	call	malloc@PLT
	mov	rbx, rax
	test	rax, rax
	jne	.L5
	xor	esi, esi
	mov	edi, 1
	call	err@PLT
.L5:
	mov	rsi, r15
	mov	rdi, r14
	call	nextarg@PLT
	mov	edx, DWORD PTR [r14]
	mov	rdi, rbx
	and	edx, DWORD PTR F_IGNCASE[rip]
	mov	rsi, rax
	cmovne	edx, DWORD PTR REG_ICASE[rip]
	or	edx, DWORD PTR regexp_flags[rip]
	mov	r15, rax
	call	regcomp@PLT
	test	eax, eax
	jne	.L23
.L7:
	mov	rdi, r14
	call	palloc@PLT
	mov	QWORD PTR [rax], rbx
	mov	rbx, QWORD PTR -56[rbp]
	xor	rbx, QWORD PTR fs:40
	jne	.L24
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
	.p2align 4,,10
	.p2align 3
.L23:
	.cfi_restore_state
	mov	ecx, r12d
	mov	rdx, r13
	mov	rsi, rbx
	mov	edi, eax
	call	regerror@PLT
	mov	eax, DWORD PTR [r14]
	mov	r8, r13
	mov	rcx, r15
	test	DWORD PTR F_IGNCASE[rip], eax
	lea	rdx, .LC0[rip]
	mov	edi, 1
	lea	rax, .LC1[rip]
	lea	rsi, .LC2[rip]
	cmove	rdx, rax
	call	errx@PLT
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L22:
	or	QWORD PTR -8[rsp+rdx], 0
	jmp	.L4
.L24:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	c_regex, .-c_regex
	.comm	regexp_flags,4,4
	.comm	REG_ICASE,4,4
	.comm	LINE_MAX,4,4
	.comm	F_IGNCASE,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_function.c_c_regex.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"-iregex\000"
	.align	2
.LC1:
	.ascii	"-regex\000"
	.align	2
.LC2:
	.ascii	"%s: %s: %s\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	c_regex
	.syntax unified
	.arm
	.fpu softvfp
	.type	c_regex, %function
c_regex:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #16
	ldr	r3, .L19
	mov	r5, r0
	ldr	r8, [r3]
	mov	r0, #4
	add	r3, r8, #7
	bic	r3, r3, #7
	sub	sp, sp, r3
	ldr	r3, .L19+4
	mov	r6, r1
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	bl	malloc
	subs	r4, r0, #0
	add	r9, sp, #8
	beq	.L16
.L2:
	mov	r1, r6
	mov	r0, r5
	bl	nextarg
	ldr	r7, .L19+8
	ldr	r2, [r5]
	ldr	r3, [r7]
	mov	r1, r0
	ands	r2, r2, r3
	ldrne	r3, .L19+12
	mov	r6, r0
	ldrne	r2, [r3]
	ldr	r3, .L19+16
	mov	r0, r4
	ldr	r3, [r3]
	orr	r2, r2, r3
	bl	regcomp
	cmp	r0, #0
	bne	.L17
.L4:
	mov	r0, r5
	bl	palloc
	ldr	r3, .L19+4
	str	r4, [r0]
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L18
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L17:
	mov	r3, r8
	mov	r2, r9
	mov	r1, r4
	bl	regerror
	ldr	r0, [r5]
	ldr	r3, [r7]
	ldr	r1, .L19+20
	tst	r0, r3
	ldr	r2, .L19+24
	mov	r3, r6
	movne	r2, r1
	str	r9, [sp]
	ldr	r1, .L19+28
	mov	r0, #1
	bl	errx
	b	.L4
.L16:
	mov	r1, r4
	mov	r0, #1
	bl	err
	b	.L2
.L18:
	bl	__stack_chk_fail
.L20:
	.align	2
.L19:
	.word	LINE_MAX
	.word	.LC3
	.word	F_IGNCASE
	.word	REG_ICASE
	.word	regexp_flags
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	c_regex, .-c_regex
	.comm	regexp_flags,4,4
	.comm	REG_ICASE,4,4
	.comm	LINE_MAX,4,4
	.comm	F_IGNCASE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
