	.file	"extr_filter.c_git_filter_list_stream_file.c"
	.intel_syntax noprefix
	.text
	.p2align 4
	.globl	git_filter_list_stream_file
	.type	git_filter_list_stream_file, @function
git_filter_list_stream_file:
.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, rdi
	push	r14
	push	r13
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	mov	r13, rsi
	push	r12
	push	rbx
	sub	rsp, 56
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -96[rbp], rdx
	movsx	rdx, DWORD PTR FILTERIO_BUFSIZE[rip]
	mov	rbx, rsp
	mov	r12, rdx
	add	rdx, 15
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	mov	rax, rdx
	and	rdx, -4096
	sub	rbx, rdx
	and	rax, -16
	mov	rdx, rbx
	cmp	rsp, rdx
	je	.L3
.L23:
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	cmp	rsp, rdx
	jne	.L23
.L3:
	and	eax, 4095
	sub	rsp, rax
	test	rax, rax
	jne	.L24
.L4:
	mov	eax, DWORD PTR GIT_BUF_INIT[rip]
	mov	rbx, rsp
	mov	DWORD PTR -72[rbp], eax
	test	r13, r13
	je	.L5
	mov	rdi, r13
	mov	QWORD PTR -88[rbp], rcx
	call	git_repository_workdir@PLT
	mov	rcx, QWORD PTR -88[rbp]
	mov	r13, rax
.L5:
	mov	eax, DWORD PTR GIT_VECTOR_INIT[rip]
	lea	r14, -68[rbp]
	lea	rdi, -64[rbp]
	mov	rdx, r15
	mov	rsi, r14
	mov	DWORD PTR -68[rbp], eax
	call	stream_list_init@PLT
	lea	rdi, -72[rbp]
	mov	QWORD PTR -88[rbp], rdi
	mov	r15d, eax
	test	eax, eax
	js	.L6
	mov	rsi, QWORD PTR -96[rbp]
	xor	ecx, ecx
	mov	rdx, r13
	call	git_path_join_unrooted@PLT
	mov	r15d, eax
	test	eax, eax
	js	.L6
	mov	edi, DWORD PTR -72[rbp]
	call	git_futils_open_ro@PLT
	mov	r13d, eax
	test	eax, eax
	jns	.L8
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L10:
	mov	rax, QWORD PTR -64[rbp]
	mov	rsi, rbx
	mov	rdi, rax
	call	[QWORD PTR [rax]]
	mov	r15d, eax
	test	eax, eax
	js	.L9
.L8:
	mov	edx, r12d
	mov	rsi, rbx
	mov	edi, r13d
	call	p_read@PLT
	mov	rdx, rax
	test	rax, rax
	jg	.L10
	mov	eax, -1
	cmovne	r15d, eax
.L9:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	[QWORD PTR 8[rax]]
	mov	edi, r13d
	or	r15d, eax
	call	p_close@PLT
.L6:
	mov	rdi, r14
	call	stream_list_free@PLT
	mov	rdi, QWORD PTR -88[rbp]
	call	git_buf_dispose@PLT
	mov	rax, QWORD PTR -56[rbp]
	xor	rax, QWORD PTR fs:40
	jne	.L26
	lea	rsp, -40[rbp]
	mov	eax, r15d
	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
.L24:
	.cfi_restore_state
	or	QWORD PTR -8[rsp+rax], 0
	jmp	.L4
.L26:
	call	__stack_chk_fail@PLT
.L25:
	mov	rax, QWORD PTR -64[rbp]
	mov	rdi, rax
	call	[QWORD PTR 8[rax]]
	or	eax, r13d
	mov	r15d, eax
	jmp	.L6
	.cfi_endproc
.LFE0:
	.size	git_filter_list_stream_file, .-git_filter_list_stream_file
	.comm	GIT_VECTOR_INIT,4,4
	.comm	GIT_BUF_INIT,4,4
	.comm	FILTERIO_BUFSIZE,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_filter.c_git_filter_list_stream_file.c"
	.text
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC0:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	git_filter_list_stream_file
	.syntax unified
	.arm
	.fpu softvfp
	.type	git_filter_list_stream_file, %function
git_filter_list_stream_file:
	@ args = 0, pretend = 0, frame = 16
	@ 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	lr, .L20
	ldr	ip, .L20+4
	ldr	r7, [lr]
	ldr	lr, [ip]
	add	ip, r7, #7
	mov	r8, r3
	bic	ip, ip, #7
	ldr	r3, .L20+8
	sub	sp, sp, ip
	subs	r5, r1, #0
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	mov	r4, r0
	mov	r9, r2
	mov	r6, sp
	str	lr, [fp, #-44]
	beq	.L2
	mov	r0, r5
	bl	git_repository_workdir
	mov	r5, r0
.L2:
	ldr	r3, .L20+12
	mov	r2, r4
	ldr	ip, [r3]
	sub	r1, fp, #40
	mov	r3, r8
	sub	r0, fp, #36
	str	ip, [fp, #-40]
	bl	stream_list_init
	subs	r4, r0, #0
	sub	r8, fp, #44
	blt	.L3
	mov	r2, r5
	mov	r1, r9
	mov	r0, r8
	mov	r3, #0
	bl	git_path_join_unrooted
	subs	r4, r0, #0
	blt	.L3
	ldr	r0, [fp, #-44]
	bl	git_futils_open_ro
	subs	r5, r0, #0
	bge	.L5
	b	.L18
.L7:
	ldr	r0, [fp, #-36]
	mov	r1, r6
	ldr	r3, [r0]
	blx	r3
	subs	r4, r0, #0
	blt	.L6
.L5:
	mov	r2, r7
	mov	r1, r6
	mov	r0, r5
	bl	p_read
	subs	r2, r0, #0
	bgt	.L7
	mvnne	r4, #0
.L6:
	ldr	r0, [fp, #-36]
	ldr	r3, [r0, #4]
	blx	r3
	mov	r3, r0
	mov	r0, r5
	orr	r4, r4, r3
	bl	p_close
.L3:
	sub	r0, fp, #40
	bl	stream_list_free
	mov	r0, r8
	bl	git_buf_dispose
	ldr	r3, .L20+8
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L19
	mov	r0, r4
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L19:
	bl	__stack_chk_fail
.L18:
	ldr	r0, [fp, #-36]
	ldr	r3, [r0, #4]
	blx	r3
	orr	r4, r0, r5
	b	.L3
.L21:
	.align	2
.L20:
	.word	FILTERIO_BUFSIZE
	.word	GIT_BUF_INIT
	.word	.LC0
	.word	GIT_VECTOR_INIT
	.size	git_filter_list_stream_file, .-git_filter_list_stream_file
	.comm	GIT_VECTOR_INIT,4,4
	.comm	GIT_BUF_INIT,4,4
	.comm	FILTERIO_BUFSIZE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
