	.file	"extr_ngx_http_tfs.c_ngx_http_tfs_process_buf_overflow.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"tfs process buf overflow, %V"
.LC1:
	.string	"process request body failed"
.LC2:
	.string	"ngx handle read event failed"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"action: %V should not come to here process buf overflow"
	.text
	.p2align 4
	.type	ngx_http_tfs_process_buf_overflow, @function
ngx_http_tfs_process_buf_overflow:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdi
	lea	rcx, .LC0[rip]
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	rdx, QWORD PTR 48[rsi]
	mov	rax, QWORD PTR [rdi]
	mov	edi, DWORD PTR NGX_LOG_DEBUG_HTTP[rip]
	mov	r8d, DWORD PTR 8[rdx]
	mov	esi, DWORD PTR [rax]
	xor	edx, edx
	call	ngx_log_debug1@PLT
	mov	rax, QWORD PTR NGX_HTTP_TFS_ACTION_READ_FILE[rip]
	cmp	QWORD PTR 16[rbp], rax
	jne	.L2
	mov	rax, QWORD PTR NGX_HTTP_TFS_STATE_READ_READ_DATA[rip]
	cmp	QWORD PTR 0[rbp], rax
	je	.L9
.L2:
	mov	esi, DWORD PTR 32[rbp]
	mov	edi, DWORD PTR NGX_LOG_ERR[rip]
	lea	r8, 24[rbp]
	xor	edx, edx
	lea	rcx, .LC3[rip]
	xor	eax, eax
	call	ngx_log_error@PLT
	mov	edx, DWORD PTR NGX_HTTP_INTERNAL_SERVER_ERROR[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ngx_http_tfs_finalize_request@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdi, rbp
	call	[QWORD PTR 8[rbp]]
	cmp	QWORD PTR NGX_AGAIN[rip], rax
	mov	rsi, rax
	je	.L3
	cmp	QWORD PTR NGX_ERROR[rip], rax
	je	.L10
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ngx_http_tfs_finalize_state@PLT
	.p2align 4,,10
	.p2align 3
.L3:
	.cfi_restore_state
	mov	rax, QWORD PTR 48[rbp]
	xor	esi, esi
	mov	rax, QWORD PTR [rax]
	mov	edi, DWORD PTR [rax]
	call	ngx_handle_read_event@PLT
	cmp	rax, QWORD PTR NGX_OK[rip]
	je	.L5
	mov	esi, DWORD PTR 32[rbp]
	lea	rcx, .LC2[rip]
.L7:
	mov	edi, DWORD PTR NGX_LOG_ERR[rip]
	xor	edx, edx
	xor	eax, eax
	call	ngx_log_error@PLT
	mov	rdi, QWORD PTR 40[rbp]
	mov	edx, DWORD PTR NGX_HTTP_INTERNAL_SERVER_ERROR[rip]
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ngx_http_tfs_finalize_request@PLT
	.p2align 4,,10
	.p2align 3
.L5:
	.cfi_restore_state
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	rsi, rbp
	mov	rdi, r12
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	ngx_http_tfs_send_response@PLT
	.p2align 4,,10
	.p2align 3
.L10:
	.cfi_restore_state
	mov	esi, DWORD PTR 32[rbp]
	lea	rcx, .LC1[rip]
	jmp	.L7
	.cfi_endproc
.LFE0:
	.size	ngx_http_tfs_process_buf_overflow, .-ngx_http_tfs_process_buf_overflow
	.comm	NGX_OK,8,8
	.comm	NGX_LOG_ERR,4,4
	.comm	NGX_LOG_DEBUG_HTTP,4,4
	.comm	NGX_HTTP_TFS_STATE_READ_READ_DATA,8,8
	.comm	NGX_HTTP_TFS_ACTION_READ_FILE,8,8
	.comm	NGX_HTTP_INTERNAL_SERVER_ERROR,4,4
	.comm	NGX_ERROR,8,8
	.comm	NGX_AGAIN,8,8
	.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_tfs.c_ngx_http_tfs_process_buf_overflow.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"tfs process buf overflow, %V\000"
	.align	2
.LC1:
	.ascii	"process request body failed\000"
	.align	2
.LC2:
	.ascii	"ngx handle read event failed\000"
	.align	2
.LC3:
	.ascii	"action: %V should not come to here process buf over"
	.ascii	"flow\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_tfs_process_buf_overflow, %function
ngx_http_tfs_process_buf_overflow:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, lr}
	mov	r4, r1
	ldr	r2, [r0]
	ldr	r3, [r1, #24]
	ldr	r1, [r2]
	ldr	r2, [r3, #4]
	sub	sp, sp, #12
	ldr	r3, .L12
	str	r2, [sp]
	mov	r5, r0
	mov	r2, #0
	ldr	r0, [r3]
	ldr	r3, .L12+4
	bl	ngx_log_debug1
	ldr	r3, .L12+8
	ldr	r2, [r4, #8]
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L2
	ldr	r3, .L12+12
	ldr	r2, [r4]
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L10
.L2:
	ldr	r2, .L12+16
	add	r3, r4, #12
	ldr	r0, [r2]
	str	r3, [sp]
	mov	r2, #0
	ldr	r3, .L12+20
	ldr	r1, [r4, #16]
	bl	ngx_log_error
	mov	r1, r4
	mov	r0, r5
	ldr	r3, .L12+24
	ldr	r2, [r3]
.L7:
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	ngx_http_tfs_finalize_request
.L10:
	ldr	r3, [r4, #4]
	mov	r0, r4
	blx	r3
	ldr	r3, .L12+28
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L3
	ldr	r3, .L12+32
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L11
	mov	r1, r0
	mov	r0, r4
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	ngx_http_tfs_finalize_state
.L3:
	ldr	r3, [r4, #24]
	mov	r1, #0
	ldr	r3, [r3]
	ldr	r0, [r3]
	bl	ngx_handle_read_event
	ldr	r3, .L12+36
	ldr	r3, [r3]
	cmp	r0, r3
	beq	.L5
	ldr	r2, .L12+16
	ldr	r3, .L12+40
.L8:
	ldr	r0, [r2]
	ldr	r1, [r4, #16]
	mov	r2, #0
	bl	ngx_log_error
	ldr	r3, .L12+24
	mov	r1, r4
	ldr	r2, [r3]
	ldr	r0, [r4, #20]
	b	.L7
.L5:
	mov	r1, r4
	mov	r0, r5
	add	sp, sp, #12
	@ sp needed
	pop	{r4, r5, lr}
	b	ngx_http_tfs_send_response
.L11:
	ldr	r2, .L12+16
	ldr	r3, .L12+44
	b	.L8
.L13:
	.align	2
.L12:
	.word	NGX_LOG_DEBUG_HTTP
	.word	.LC0
	.word	NGX_HTTP_TFS_ACTION_READ_FILE
	.word	NGX_HTTP_TFS_STATE_READ_READ_DATA
	.word	NGX_LOG_ERR
	.word	.LC3
	.word	NGX_HTTP_INTERNAL_SERVER_ERROR
	.word	NGX_AGAIN
	.word	NGX_ERROR
	.word	NGX_OK
	.word	.LC2
	.word	.LC1
	.size	ngx_http_tfs_process_buf_overflow, .-ngx_http_tfs_process_buf_overflow
	.comm	NGX_OK,4,4
	.comm	NGX_LOG_ERR,4,4
	.comm	NGX_LOG_DEBUG_HTTP,4,4
	.comm	NGX_HTTP_TFS_STATE_READ_READ_DATA,4,4
	.comm	NGX_HTTP_TFS_ACTION_READ_FILE,4,4
	.comm	NGX_HTTP_INTERNAL_SERVER_ERROR,4,4
	.comm	NGX_ERROR,4,4
	.comm	NGX_AGAIN,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
