	.file	"extr_tool_urlglob.c_glob_match_url.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	""
.LC1:
	.string	"%0*lu"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC2:
	.string	"internal error: invalid pattern type (%d)\n"
	.text
	.p2align 4
	.globl	glob_match_url
	.type	glob_match_url, @function
glob_match_url:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	mov	rax, rdi
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	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, 72
	.cfi_def_cfa_offset 128
	mov	QWORD PTR 16[rsp], rdi
	mov	rdi, rsi
	mov	QWORD PTR 24[rsp], rsi
	mov	QWORD PTR 8[rsp], rdx
	mov	rcx, QWORD PTR fs:40
	mov	QWORD PTR 56[rsp], rcx
	xor	ecx, ecx
	mov	QWORD PTR [rax], 0
	call	strlen@PLT
	lea	ebp, 1[rax]
	movsx	rbp, ebp
	mov	rdi, rbp
	call	malloc@PLT
	test	rax, rax
	je	.L33
	mov	rdi, QWORD PTR 24[rsp]
	mov	r12, rax
	xor	ebx, ebx
	xor	r13d, r13d
	lea	r14, .LC0[rip]
	mov	r15, r12
	movzx	eax, BYTE PTR [rdi]
	test	al, al
	jne	.L3
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L6:
	lea	rax, 1[rdi]
	mov	r14, rdi
	mov	r13d, 1
	mov	QWORD PTR 24[rsp], rax
.L10:
	lea	r15, 0[r13+rbx]
	cmp	r15, rbp
	jb	.L11
	lea	rbp, [r15+r15]
	mov	rdi, r12
	lea	rsi, 1[rbp]
	call	realloc@PLT
	test	rax, rax
	je	.L35
	mov	r12, rax
.L11:
	lea	rdi, [r12+rbx]
	mov	rdx, r13
	mov	rsi, r14
	call	memcpy@PLT
	mov	rdi, QWORD PTR 24[rsp]
	movzx	eax, BYTE PTR [rdi]
	test	al, al
	je	.L36
	mov	rbx, r15
.L3:
	cmp	al, 35
	jne	.L6
	movsx	edi, BYTE PTR 1[rdi]
	call	ISDIGIT@PLT
	mov	rdi, QWORD PTR 24[rsp]
	test	rax, rax
	je	.L6
	mov	r15, rdi
	lea	rsi, 24[rsp]
	lea	rdi, 1[rdi]
	mov	edx, 10
	mov	QWORD PTR [rsp], rdi
	call	strtoul@PLT
	mov	rcx, QWORD PTR 8[rsp]
	mov	rdi, QWORD PTR [rsp]
	mov	r9, QWORD PTR [rcx]
	cmp	r9, rax
	ja	.L37
.L7:
	mov	QWORD PTR 24[rsp], rdi
	mov	r14, r15
	mov	r13d, 1
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L36:
	add	r15, r12
.L4:
	mov	rax, QWORD PTR 16[rsp]
	mov	BYTE PTR [r15], 0
	mov	QWORD PTR [rax], r12
	mov	eax, DWORD PTR CURLE_OK[rip]
.L1:
	mov	rcx, QWORD PTR 56[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L38
	add	rsp, 72
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	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
.L37:
	.cfi_restore_state
	lea	rdx, -1[rax]
	test	r9, r9
	je	.L7
	mov	rax, QWORD PTR 8[rcx]
	xor	esi, esi
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L39:
	add	rsi, 1
	add	rax, 40
	cmp	r9, rsi
	je	.L7
.L9:
	cmp	DWORD PTR [rax], edx
	jne	.L39
	mov	edx, DWORD PTR 4[rax]
	cmp	edx, 129
	je	.L12
	cmp	edx, 130
	je	.L13
	cmp	edx, 128
	je	.L40
	mov	edi, DWORD PTR stderr[rip]
	lea	rsi, .LC2[rip]
	call	fprintf@PLT
	mov	rdi, r12
	call	Curl_safefree@PLT
	mov	eax, DWORD PTR CURLE_FAILED_INIT[rip]
	jmp	.L1
.L12:
	mov	ecx, DWORD PTR 12[rax]
	mov	r8d, DWORD PTR 8[rax]
	lea	r14, 32[rsp]
	lea	rdx, .LC1[rip]
	mov	esi, 18
	mov	rdi, r14
	call	msnprintf@PLT
	mov	rdi, r14
	call	strlen@PLT
	movsx	r13, eax
	jmp	.L10
.L40:
	mov	rdx, QWORD PTR 24[rax]
	test	rdx, rdx
	je	.L10
	mov	rax, QWORD PTR 32[rax]
	mov	r14, QWORD PTR [rdx+rax*8]
	mov	rdi, r14
	call	strlen@PLT
	movsx	r13, eax
	jmp	.L10
.L13:
	movzx	eax, BYTE PTR 16[rax]
	mov	r13d, 1
	mov	BYTE PTR 33[rsp], 0
	lea	r14, 32[rsp]
	mov	BYTE PTR 32[rsp], al
	jmp	.L10
.L35:
	mov	rdi, r12
	call	Curl_safefree@PLT
.L33:
	mov	eax, DWORD PTR CURLE_OUT_OF_MEMORY[rip]
	jmp	.L1
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	glob_match_url, .-glob_match_url
	.comm	stderr,4,4
	.comm	SANITIZE_ALLOW_RESERVED,4,4
	.comm	SANITIZE_ALLOW_PATH,4,4
	.comm	CURLE_URL_MALFORMAT,4,4
	.comm	CURLE_OUT_OF_MEMORY,4,4
	.comm	CURLE_OK,4,4
	.comm	CURLE_FAILED_INIT,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_tool_urlglob.c_glob_match_url.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"\000"
	.align	2
.LC1:
	.ascii	"%0*lu\000"
	.align	2
.LC2:
	.ascii	"internal error: invalid pattern type (%d)\012\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	glob_match_url
	.syntax unified
	.arm
	.fpu softvfp
	.type	glob_match_url, %function
glob_match_url:
	@ args = 0, pretend = 0, frame = 40
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	ip, r0
	mov	r5, #0
	sub	sp, sp, #52
	str	r0, [sp, #16]
	ldr	r0, .L40
	mov	r10, r2
	ldr	r0, [r0]
	str	r0, [sp, #44]
	mov	r0,#0
	mov	r0, r1
	str	r5, [ip]
	str	r1, [sp, #12]
	str	r1, [sp, #20]
	bl	strlen
	add	r9, r0, #1
	mov	r0, r9
	bl	malloc
	subs	r8, r0, #0
	beq	.L32
	ldr	r3, [sp, #12]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, r5
	moveq	r4, r8
	beq	.L4
	mov	r6, r5
	ldr	r7, .L40+4
	b	.L3
.L6:
	mov	r6, #1
	ldr	r7, [sp, #20]
	add	r3, r7, r6
	str	r3, [sp, #20]
.L10:
	add	r4, r6, r5
	cmp	r4, r9
	bcc	.L11
	lsl	r9, r4, #1
	mov	r0, r8
	add	r1, r9, #1
	bl	realloc
	cmp	r0, #0
	beq	.L34
	mov	r8, r0
.L11:
	mov	r2, r6
	mov	r1, r7
	add	r0, r8, r5
	bl	memcpy
	ldr	r3, [sp, #20]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #0
	beq	.L35
	mov	r5, r4
.L3:
	cmp	r2, #35
	bne	.L6
	ldrb	r0, [r3, #1]	@ zero_extendqisi2
	bl	ISDIGIT
	cmp	r0, #0
	beq	.L6
	ldr	r4, [sp, #20]
	mov	r2, #10
	add	fp, r4, #1
	mov	r0, fp
	add	r1, sp, #20
	bl	strtoul
	ldr	ip, [r10]
	cmp	ip, r0
	bhi	.L36
.L7:
	mov	r7, r4
	mov	r6, #1
	str	fp, [sp, #20]
	b	.L10
.L35:
	add	r4, r8, r4
.L4:
	mov	r2, #0
	ldr	r3, .L40+8
	ldr	r1, [sp, #16]
	strb	r2, [r4]
	ldr	r0, [r3]
	str	r8, [r1]
.L1:
	ldr	r3, .L40
	ldr	r2, [r3]
	ldr	r3, [sp, #44]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L37
	add	sp, sp, #52
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L36:
	cmp	ip, #0
	sub	r2, r0, #1
	beq	.L7
	mov	r3, #0
	ldr	r1, [r10, #4]
	b	.L9
.L38:
	add	r3, r3, #1
	cmp	ip, r3
	add	r1, r1, #28
	beq	.L7
.L9:
	ldr	r0, [r1]
	cmp	r0, r2
	bne	.L38
	ldr	r2, [r1, #4]
	cmp	r2, #129
	beq	.L12
	cmp	r2, #130
	beq	.L13
	cmp	r2, #128
	beq	.L39
	ldr	r3, .L40+12
	ldr	r1, .L40+16
	ldr	r0, [r3]
	bl	fprintf
	mov	r0, r8
	bl	Curl_safefree
	ldr	r3, .L40+20
	ldr	r0, [r3]
	b	.L1
.L12:
	ldr	r2, [r1, #8]
	ldr	r3, [r1, #12]
	add	r0, sp, #24
	mov	r1, #18
	str	r2, [sp]
	ldr	r2, .L40+24
	bl	msnprintf
	add	r0, sp, #24
	bl	strlen
	add	r7, sp, #24
	mov	r6, r0
	b	.L10
.L39:
	ldr	r3, [r1, #20]
	cmp	r3, #0
	beq	.L10
	ldr	r2, [r1, #24]
	ldr	r7, [r3, r2, lsl #2]
	mov	r0, r7
	bl	strlen
	mov	r6, r0
	b	.L10
.L13:
	mov	r2, #0
	ldrb	r3, [r1, #16]	@ zero_extendqisi2
	mov	r6, #1
	strb	r2, [sp, #25]
	strb	r3, [sp, #24]
	add	r7, sp, #24
	b	.L10
.L34:
	mov	r0, r8
	bl	Curl_safefree
.L32:
	ldr	r3, .L40+28
	ldr	r0, [r3]
	b	.L1
.L37:
	bl	__stack_chk_fail
.L41:
	.align	2
.L40:
	.word	.LC3
	.word	.LC0
	.word	CURLE_OK
	.word	stderr
	.word	.LC2
	.word	CURLE_FAILED_INIT
	.word	.LC1
	.word	CURLE_OUT_OF_MEMORY
	.size	glob_match_url, .-glob_match_url
	.comm	stderr,4,4
	.comm	SANITIZE_ALLOW_RESERVED,4,4
	.comm	SANITIZE_ALLOW_PATH,4,4
	.comm	CURLE_URL_MALFORMAT,4,4
	.comm	CURLE_OUT_OF_MEMORY,4,4
	.comm	CURLE_OK,4,4
	.comm	CURLE_FAILED_INIT,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
