	.file	"extr_spl_directory.c_spl_filesystem_file_read_line_ex.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"Cannot read from file %s"
.LC1:
	.string	"getCurrentLine"
	.text
	.p2align 4
	.type	spl_filesystem_file_read_line_ex, @function
spl_filesystem_file_read_line_ex:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	mov	r13d, edx
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rdi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	edi, DWORD PTR 48[rsi]
	mov	esi, DWORD PTR SPL_FILE_OBJECT_READ_CSV[rip]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	SPL_HAS_FLAG@PLT
	test	rax, rax
	jne	.L2
	mov	rax, QWORD PTR 24[rbp]
	mov	rcx, QWORD PTR spl_ce_SplFileObject[rip]
	cmp	QWORD PTR [rax], rcx
	je	.L3
.L2:
	mov	edi, DWORD PTR 44[rbp]
	call	php_stream_eof@PLT
	test	rax, rax
	je	.L4
	test	r13d, r13d
	je	.L20
.L5:
	mov	eax, DWORD PTR FAILURE[rip]
.L1:
	mov	rcx, QWORD PTR 8[rsp]
	xor	rcx, QWORD PTR fs:40
	jne	.L21
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L4:
	.cfi_restore_state
	mov	edi, DWORD PTR 48[rbp]
	mov	esi, DWORD PTR SPL_FILE_OBJECT_READ_CSV[rip]
	call	SPL_HAS_FLAG@PLT
	test	rax, rax
	jne	.L22
	mov	edi, DWORD PTR current_execute_data[rip]
	call	EG@PLT
	mov	edi, DWORD PTR ZEND_THIS[rip]
	call	Z_OBJCE_P@PLT
	mov	rdi, r12
	lea	r12, 4[rsp]
	mov	r13d, eax
	call	Z_OBJ_P@PLT
	mov	r8, r12
	lea	rdx, 24[rbp]
	mov	esi, r13d
	mov	edi, eax
	lea	rcx, .LC1[rip]
	call	zend_call_method_with_0_params@PLT
	mov	edi, DWORD PTR 4[rsp]
	call	Z_ISUNDEF@PLT
	mov	r8d, eax
	mov	eax, DWORD PTR FAILURE[rip]
	test	r8d, r8d
	jne	.L1
	cmp	QWORD PTR 8[rbp], 0
	je	.L9
.L11:
	add	DWORD PTR 16[rbp], 1
.L10:
	mov	rdi, rbp
	call	spl_filesystem_file_free_line@PLT
	mov	edi, DWORD PTR 4[rsp]
	call	Z_TYPE@PLT
	cmp	rax, QWORD PTR IS_STRING[rip]
	je	.L23
	mov	rsi, r12
	mov	rdi, rbp
	call	ZVAL_COPY_DEREF@PLT
.L13:
	mov	rdi, r12
	call	zval_ptr_dtor@PLT
	mov	eax, DWORD PTR SUCCESS[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L20:
	mov	ecx, DWORD PTR 52[rbp]
	mov	edi, DWORD PTR spl_ce_RuntimeException[rip]
	lea	rdx, .LC0[rip]
	xor	esi, esi
	call	zend_throw_exception_ex@PLT
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L22:
	mov	ecx, DWORD PTR 32[rbp]
	mov	edx, DWORD PTR 36[rbp]
	xor	r8d, r8d
	mov	rdi, rbp
	mov	esi, DWORD PTR 40[rbp]
	call	spl_filesystem_file_read_csv@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L3:
	mov	esi, r13d
	mov	rdi, rbp
	call	spl_filesystem_file_read@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L23:
	mov	edi, DWORD PTR 4[rsp]
	call	Z_STRLEN@PLT
	mov	edi, DWORD PTR 4[rsp]
	mov	r13d, eax
	call	Z_STRVAL@PLT
	mov	esi, r13d
	mov	edi, eax
	call	estrndup@PLT
	mov	edi, DWORD PTR 4[rsp]
	mov	QWORD PTR 8[rbp], rax
	call	Z_STRLEN@PLT
	mov	DWORD PTR 4[rbp], eax
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L9:
	mov	edi, DWORD PTR 0[rbp]
	call	Z_ISUNDEF@PLT
	test	eax, eax
	je	.L11
	jmp	.L10
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	spl_filesystem_file_read_line_ex, .-spl_filesystem_file_read_line_ex
	.comm	spl_ce_SplFileObject,8,8
	.comm	spl_ce_RuntimeException,4,4
	.comm	current_execute_data,4,4
	.comm	ZEND_THIS,4,4
	.comm	SUCCESS,4,4
	.comm	SPL_FILE_OBJECT_READ_CSV,4,4
	.comm	IS_STRING,8,8
	.comm	FAILURE,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_spl_directory.c_spl_filesystem_file_read_line_ex.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"Cannot read from file %s\000"
	.align	2
.LC1:
	.ascii	"getCurrentLine\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	spl_filesystem_file_read_line_ex, %function
spl_filesystem_file_read_line_ex:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	ldr	r7, .L24
	ldr	r3, .L24+4
	sub	sp, sp, #16
	mov	r4, r1
	mov	r8, r0
	ldr	r0, [r1, #36]
	ldr	r1, [r7]
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	SPL_HAS_FLAG
	cmp	r0, #0
	bne	.L2
	ldr	r2, [r4, #16]
	ldr	r3, .L24+8
	ldr	r2, [r2]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L3
.L2:
	ldr	r0, [r4, #32]
	bl	php_stream_eof
	subs	r5, r0, #0
	beq	.L4
	cmp	r6, #0
	beq	.L20
.L8:
	ldr	r3, .L24+12
	ldr	r0, [r3]
.L1:
	ldr	r3, .L24+4
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L21
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, r7, r8, pc}
.L4:
	ldr	r1, [r7]
	ldr	r0, [r4, #36]
	bl	SPL_HAS_FLAG
	cmp	r0, #0
	bne	.L22
	ldr	r3, .L24+16
	add	r6, sp, #8
	ldr	r0, [r3]
	bl	EG
	mov	r0, r8
	bl	Z_OBJ_P
	ldr	r3, .L24+20
	mov	r5, r0
	ldr	r0, [r3]
	bl	Z_OBJCE_P
	ldr	r3, .L24+24
	mov	r1, r0
	add	r2, r4, #16
	mov	r0, r5
	str	r6, [sp]
	bl	zend_call_method_with_0_params
	ldr	r0, [sp, #8]
	bl	Z_ISUNDEF
	cmp	r0, #0
	bne	.L8
	ldr	r3, [r4, #8]
	cmp	r3, #0
	beq	.L9
.L11:
	ldr	r3, [r4, #12]
	add	r3, r3, #1
	str	r3, [r4, #12]
.L10:
	mov	r0, r4
	bl	spl_filesystem_file_free_line
	ldr	r0, [sp, #8]
	bl	Z_TYPE
	ldr	r3, .L24+28
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L23
	mov	r0, r4
	mov	r1, r6
	bl	ZVAL_COPY_DEREF
.L13:
	mov	r0, r6
	bl	zval_ptr_dtor
	ldr	r3, .L24+32
	ldr	r0, [r3]
	b	.L1
.L20:
	ldr	r2, .L24+36
	mov	r1, r6
	ldr	r3, [r4, #40]
	ldr	r0, [r2]
	ldr	r2, .L24+40
	bl	zend_throw_exception_ex
	b	.L8
.L22:
	str	r5, [sp]
	mov	r0, r4
	ldr	r3, [r4, #20]
	ldr	r2, [r4, #24]
	ldr	r1, [r4, #28]
	bl	spl_filesystem_file_read_csv
	b	.L1
.L3:
	mov	r1, r6
	mov	r0, r4
	bl	spl_filesystem_file_read
	b	.L1
.L23:
	ldr	r0, [sp, #8]
	bl	Z_STRVAL
	mov	r5, r0
	ldr	r0, [sp, #8]
	bl	Z_STRLEN
	mov	r1, r0
	mov	r0, r5
	bl	estrndup
	mov	r3, r0
	ldr	r0, [sp, #8]
	str	r3, [r4, #8]
	bl	Z_STRLEN
	str	r0, [r4, #4]
	b	.L13
.L9:
	ldr	r0, [r4]
	bl	Z_ISUNDEF
	cmp	r0, #0
	beq	.L11
	b	.L10
.L21:
	bl	__stack_chk_fail
.L25:
	.align	2
.L24:
	.word	SPL_FILE_OBJECT_READ_CSV
	.word	.LC2
	.word	spl_ce_SplFileObject
	.word	FAILURE
	.word	current_execute_data
	.word	ZEND_THIS
	.word	.LC1
	.word	IS_STRING
	.word	SUCCESS
	.word	spl_ce_RuntimeException
	.word	.LC0
	.size	spl_filesystem_file_read_line_ex, .-spl_filesystem_file_read_line_ex
	.comm	spl_ce_SplFileObject,4,4
	.comm	spl_ce_RuntimeException,4,4
	.comm	current_execute_data,4,4
	.comm	ZEND_THIS,4,4
	.comm	SUCCESS,4,4
	.comm	SPL_FILE_OBJECT_READ_CSV,4,4
	.comm	IS_STRING,4,4
	.comm	FAILURE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
