	.file	"extr_ngx_http_lua_socket_tcp.c_ngx_http_lua_socket_push_input_data.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"bufs_in: %p, buf_in: %p"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC1:
	.string	"copying input data chunk from %p: \"%.*s\""
	.section	.rodata.str1.1
.LC2:
	.string	"recycle buffers: %d"
	.section	.rodata.str1.8
	.align 8
.LC3:
	.string	"resetting u->buffer pos & last"
	.text
	.p2align 4
	.type	ngx_http_lua_socket_push_input_data, @function
ngx_http_lua_socket_push_input_data:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	lea	rdi, .LC0[rip]
	push	r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	push	r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	mov	r13, rcx
	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
	mov	rbx, rdx
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 24[rsp], rsi
	mov	rsi, QWORD PTR 32[rbx]
	lea	r12, 36[rsp]
	mov	QWORD PTR 16[rsp], rdx
	mov	rdx, QWORD PTR 24[rdx]
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	dd@PLT
	mov	rsi, r12
	mov	rdi, r13
	call	luaL_buffinit@PLT
	mov	r15, QWORD PTR 32[rbx]
	test	r15, r15
	je	.L2
	mov	QWORD PTR 8[rsp], 0
	xor	ebx, ebx
	lea	r13, .LC1[rip]
	.p2align 4,,10
	.p2align 3
.L4:
	mov	rbp, QWORD PTR [r15]
	mov	rsi, r15
	mov	rdi, r13
	xor	eax, eax
	add	rbx, 1
	mov	rcx, QWORD PTR 8[rbp]
	mov	r14, QWORD PTR 0[rbp]
	sub	r14, rcx
	mov	edx, r14d
	call	dd@PLT
	mov	rsi, QWORD PTR 8[rbp]
	mov	rdx, r14
	mov	rdi, r12
	call	luaL_addlstring@PLT
	mov	rax, QWORD PTR 8[r15]
	test	rax, rax
	je	.L3
	lea	rdi, 8[r15]
	mov	r15, rax
	mov	QWORD PTR 8[rsp], rdi
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L3:
	mov	rdi, r12
	call	luaL_pushresult@PLT
	cmp	rbx, 1
	jbe	.L7
	cmp	QWORD PTR 8[rsp], 0
	je	.L7
	lea	esi, -1[rbx]
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	dd@PLT
	mov	rdi, QWORD PTR 24[rsp]
	mov	rbx, QWORD PTR 8[rsp]
	mov	rax, QWORD PTR [rdi]
	mov	QWORD PTR [rbx], rax
	mov	rbx, QWORD PTR 16[rsp]
	mov	rax, QWORD PTR 32[rbx]
	mov	QWORD PTR [rdi], rax
	mov	rax, QWORD PTR 24[rbx]
	mov	QWORD PTR 32[rbx], rax
.L7:
	mov	rax, QWORD PTR 16[rsp]
	mov	rbx, QWORD PTR 8[rax]
	cmp	QWORD PTR [rax], rbx
	je	.L17
.L5:
	mov	rdx, QWORD PTR 16[rsp]
	cmp	QWORD PTR 32[rdx], 0
	je	.L6
	mov	rax, QWORD PTR 24[rdx]
	mov	rdx, QWORD PTR [rdx]
	mov	rax, QWORD PTR [rax]
	mov	QWORD PTR [rax], rdx
	mov	QWORD PTR 8[rax], rdx
.L6:
	mov	rdi, QWORD PTR 40[rsp]
	xor	rdi, QWORD PTR fs:40
	mov	eax, DWORD PTR NGX_OK[rip]
	jne	.L18
	add	rsp, 56
	.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
.L17:
	.cfi_restore_state
	lea	rdi, .LC3[rip]
	xor	eax, eax
	call	dd@PLT
	mov	rbx, QWORD PTR 16[rsp]
	mov	rax, QWORD PTR 16[rbx]
	mov	QWORD PTR [rbx], rax
	mov	QWORD PTR 8[rbx], rax
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L2:
	mov	rdi, r12
	call	luaL_pushresult@PLT
	jmp	.L7
.L18:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ngx_http_lua_socket_push_input_data, .-ngx_http_lua_socket_push_input_data
	.comm	NGX_OK,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_ngx_http_lua_socket_tcp.c_ngx_http_lua_socket_push_input_data.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"bufs_in: %p, buf_in: %p\000"
	.align	2
.LC1:
	.ascii	"copying input data chunk from %p: \"%.*s\"\000"
	.align	2
.LC2:
	.ascii	"recycle buffers: %d\000"
	.align	2
.LC3:
	.ascii	"resetting u->buffer pos & last\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_lua_socket_push_input_data, %function
ngx_http_lua_socket_push_input_data:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	mov	r8, r2
	mov	r4, r3
	ldr	r3, .L18
	sub	sp, sp, #12
	ldr	r2, [r2, #12]
	mov	fp, r1
	ldr	r0, .L18+4
	ldr	r1, [r8, #16]
	ldr	r3, [r3]
	str	r3, [sp, #4]
	mov	r3,#0
	bl	dd
	mov	r0, r4
	mov	r1, sp
	bl	luaL_buffinit
	ldr	r5, [r8, #16]
	cmp	r5, #0
	beq	.L2
	mov	r7, #0
	mov	r10, r7
	ldr	r9, .L18+8
.L4:
	ldr	r6, [r5]
	mov	r1, r5
	ldr	r3, [r6, #4]
	ldr	r4, [r6]
	mov	r0, r9
	sub	r4, r4, r3
	mov	r2, r4
	bl	dd
	mov	r2, r4
	mov	r0, sp
	ldr	r1, [r6, #4]
	bl	luaL_addlstring
	ldr	r3, [r5, #4]
	add	r4, r7, #1
	cmp	r3, #0
	addne	r10, r5, #4
	movne	r7, r4
	movne	r5, r3
	bne	.L4
.L3:
	mov	r0, sp
	bl	luaL_pushresult
	cmp	r10, #0
	cmpne	r4, #1
	bls	.L7
	mov	r1, r7
	ldr	r0, .L18+12
	bl	dd
	ldr	r3, [fp]
	str	r3, [r10]
	ldr	r2, [r8, #16]
	ldr	r3, [r8, #12]
	str	r2, [fp]
	str	r3, [r8, #16]
.L7:
	ldm	r8, {r2, r3}
	cmp	r2, r3
	beq	.L16
.L5:
	ldr	r3, [r8, #16]
	cmp	r3, #0
	ldrne	r3, [r8, #12]
	ldrne	r2, [r8]
	ldrne	r3, [r3]
	strne	r2, [r3]
	strne	r2, [r3, #4]
	ldr	r3, .L18+16
	ldr	r0, [r3]
	ldr	r3, .L18
	ldr	r2, [r3]
	ldr	r3, [sp, #4]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L17
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L16:
	ldr	r0, .L18+20
	bl	dd
	ldr	r3, [r8, #8]
	str	r3, [r8]
	str	r3, [r8, #4]
	b	.L5
.L2:
	mov	r0, sp
	bl	luaL_pushresult
	b	.L7
.L17:
	bl	__stack_chk_fail
.L19:
	.align	2
.L18:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	NGX_OK
	.word	.LC3
	.size	ngx_http_lua_socket_push_input_data, .-ngx_http_lua_socket_push_input_data
	.comm	NGX_OK,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
