	.file	"extr_ngx_http_lua_bodyfilterby.c_ngx_http_lua_body_filter_param_set.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"index: %d"
.LC1:
	.string	"bad index: %d"
.LC2:
	.string	"mark the buf as consumed: %d"
.LC3:
	.string	"bad chunk data type: %s"
.LC4:
	.string	"no memory"
	.text
	.p2align 4
	.globl	ngx_http_lua_body_filter_param_set
	.type	ngx_http_lua_body_filter_param_set, @function
ngx_http_lua_body_filter_param_set:
.LFB0:
	.cfi_startproc
	endbr64
	push	r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	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
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	mov	rbx, rsi
	mov	esi, 2
	sub	rsp, 56
	.cfi_def_cfa_offset 112
	mov	QWORD PTR 8[rsp], rdx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 40[rsp], rax
	xor	eax, eax
	call	luaL_checkint@PLT
	lea	rdi, .LC0[rip]
	mov	r12d, eax
	mov	esi, eax
	call	dd@PLT
	lea	eax, -1[r12]
	cmp	eax, 1
	ja	.L66
	mov	esi, DWORD PTR ngx_http_lua_module[rip]
	mov	rdi, rbx
	call	ngx_http_get_module_main_conf@PLT
	mov	esi, 3
	mov	rdi, rbp
	mov	QWORD PTR [rsp], rax
	cmp	r12d, 2
	je	.L67
	call	lua_type@PLT
	mov	DWORD PTR 16[rsp], eax
	cmp	eax, 130
	jg	.L18
	cmp	eax, 128
	jg	.L19
	jne	.L21
	mov	ecx, 1
	mov	edx, 3
	mov	esi, 3
	mov	rdi, rbp
	call	ngx_http_lua_calc_strlen_in_table@PLT
	mov	QWORD PTR 24[rsp], 0
	mov	QWORD PTR 32[rsp], rax
.L23:
	mov	rax, QWORD PTR [rsp]
	mov	r14, QWORD PTR [rax]
	test	r14, r14
	je	.L29
	xor	r13d, r13d
	xor	r15d, r15d
	mov	r12d, 1
	.p2align 4,,10
	.p2align 3
.L32:
	mov	rdi, QWORD PTR [r14]
	mov	eax, DWORD PTR 28[rdi]
	test	eax, eax
	cmovne	r13d, r12d
	cmp	QWORD PTR [rdi], 0
	cmovne	r15d, r12d
	call	ngx_buf_size@PLT
	lea	rdi, .LC2[rip]
	mov	rsi, rax
	call	dd@PLT
	mov	rax, QWORD PTR [r14]
	mov	r14, QWORD PTR 8[r14]
	mov	rcx, QWORD PTR 8[rax]
	mov	QWORD PTR 16[rax], rcx
	test	r14, r14
	jne	.L32
	mov	rcx, QWORD PTR 32[rsp]
	test	rcx, rcx
	jne	.L33
	mov	eax, r15d
	or	eax, r13d
	je	.L35
.L34:
	mov	rax, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR 8[rbx]
	xor	ecx, ecx
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR [rax]
	call	ngx_http_lua_chain_get_free_buf@PLT
	mov	r12, rax
	test	rax, rax
	jne	.L39
.L63:
	lea	rsi, .LC4[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	luaL_error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L18:
	cmp	DWORD PTR 16[rsp], 131
	jne	.L21
	mov	rax, QWORD PTR [rsp]
	xor	r13d, r13d
	xor	r15d, r15d
	mov	r12, QWORD PTR [rax]
	test	r12, r12
	je	.L35
	.p2align 4,,10
	.p2align 3
.L24:
	mov	r14, QWORD PTR [r12]
	mov	eax, 1
	mov	edx, DWORD PTR 28[r14]
	mov	rdi, r14
	test	edx, edx
	cmovne	r13d, eax
	cmp	QWORD PTR [r14], 0
	cmovne	r15d, eax
	call	ngx_buf_size@PLT
	lea	rdi, .LC2[rip]
	mov	rsi, rax
	call	dd@PLT
	mov	rax, QWORD PTR 8[r14]
	mov	r12, QWORD PTR 8[r12]
	mov	QWORD PTR 16[r14], rax
	test	r12, r12
	jne	.L24
	mov	eax, r15d
	or	eax, r13d
	jne	.L34
.L35:
	xor	r12d, r12d
.L25:
	mov	rax, QWORD PTR [rsp]
	mov	QWORD PTR [rax], r12
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L66:
	mov	edx, r12d
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	xor	eax, eax
	call	luaL_error@PLT
.L1:
	mov	rbx, QWORD PTR 40[rsp]
	xor	rbx, QWORD PTR fs:40
	jne	.L68
	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
.L67:
	.cfi_restore_state
	call	lua_toboolean@PLT
	mov	rcx, QWORD PTR [rsp]
	mov	rbp, QWORD PTR [rcx]
	test	eax, eax
	jne	.L5
	xor	edx, edx
	test	rbp, rbp
	jne	.L6
	jmp	.L17
	.p2align 4,,10
	.p2align 3
.L69:
	mov	DWORD PTR [rbx], 0
	test	eax, eax
	je	.L12
.L11:
	mov	DWORD PTR 4[rbx], 0
.L12:
	mov	rax, QWORD PTR 16[rbx]
	cmp	QWORD PTR 8[rbx], rax
	je	.L15
.L62:
	mov	edx, 1
.L14:
	mov	rbp, QWORD PTR 8[rbp]
	test	rbp, rbp
	je	.L17
.L6:
	mov	rbx, QWORD PTR 0[rbp]
	mov	ecx, DWORD PTR [rbx]
	mov	eax, DWORD PTR 4[rbx]
	test	ecx, ecx
	jne	.L69
	test	eax, eax
	jne	.L11
	test	edx, edx
	je	.L14
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L29:
	mov	rcx, QWORD PTR 32[rsp]
	test	rcx, rcx
	je	.L35
	xor	r15d, r15d
	xor	r13d, r13d
	.p2align 4,,10
	.p2align 3
.L33:
	mov	rax, QWORD PTR 8[rsp]
	mov	esi, DWORD PTR 8[rbx]
	lea	rdx, 4[rax]
	mov	rax, QWORD PTR 16[rbx]
	mov	edi, DWORD PTR [rax]
	call	ngx_http_lua_chain_get_free_buf@PLT
	mov	r12, rax
	test	rax, rax
	je	.L63
	cmp	DWORD PTR 16[rsp], 128
	mov	rcx, QWORD PTR [rax]
	je	.L70
	mov	rdi, QWORD PTR 16[rcx]
	mov	rdx, QWORD PTR 32[rsp]
	mov	QWORD PTR 16[rsp], rcx
	mov	rsi, QWORD PTR 24[rsp]
	call	ngx_copy@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	QWORD PTR 8[rcx], rax
.L38:
	mov	eax, r15d
	or	eax, r13d
	je	.L25
.L39:
	test	r15d, r15d
	je	.L40
	mov	rax, QWORD PTR 8[rsp]
	mov	DWORD PTR [rax], 1
	mov	rax, QWORD PTR [r12]
	cmp	QWORD PTR [rbx], rbx
	je	.L71
	mov	DWORD PTR 4[rax], 1
.L40:
	test	r13d, r13d
	je	.L25
	mov	rax, QWORD PTR [r12]
	mov	DWORD PTR 28[rax], 1
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L21:
	mov	esi, DWORD PTR 16[rsp]
	mov	rdi, rbp
	call	lua_typename@PLT
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	mov	edx, eax
	xor	eax, eax
	call	luaL_error@PLT
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L19:
	lea	rdx, 32[rsp]
	mov	esi, 3
	mov	rdi, rbp
	call	lua_tolstring@PLT
	mov	QWORD PTR 24[rsp], rax
	jmp	.L23
	.p2align 4,,10
	.p2align 3
.L15:
	mov	rdi, rbx
	call	ngx_buf_in_memory@PLT
	test	eax, eax
	jne	.L62
	mov	DWORD PTR 24[rbx], 1
	jmp	.L62
	.p2align 4,,10
	.p2align 3
.L17:
	mov	rax, QWORD PTR 8[rsp]
	mov	DWORD PTR [rax], 0
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L5:
	mov	rax, QWORD PTR 8[rsp]
	mov	DWORD PTR [rax], 1
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rax, QWORD PTR 8[rbp]
	test	rax, rax
	je	.L72
	mov	rbp, rax
.L7:
	test	rbp, rbp
	jne	.L9
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L70:
	mov	rdx, QWORD PTR 8[rcx]
	mov	esi, 3
	mov	rdi, rbp
	mov	QWORD PTR 16[rsp], rcx
	call	ngx_http_lua_copy_str_in_table@PLT
	mov	rcx, QWORD PTR 16[rsp]
	mov	QWORD PTR 8[rcx], rax
	jmp	.L38
	.p2align 4,,10
	.p2align 3
.L72:
	mov	rax, QWORD PTR 0[rbp]
	cmp	QWORD PTR [rbx], rbx
	je	.L73
	mov	DWORD PTR 4[rax], 1
	xor	eax, eax
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L71:
	mov	DWORD PTR [rax], 1
	jmp	.L40
.L73:
	mov	DWORD PTR [rax], 1
	xor	eax, eax
	jmp	.L1
.L68:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ngx_http_lua_body_filter_param_set, .-ngx_http_lua_body_filter_param_set
	.comm	ngx_http_lua_module,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_bodyfilterby.c_ngx_http_lua_body_filter_param_set.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"index: %d\000"
	.align	2
.LC1:
	.ascii	"bad index: %d\000"
	.align	2
.LC2:
	.ascii	"mark the buf as consumed: %d\000"
	.align	2
.LC3:
	.ascii	"bad chunk data type: %s\000"
	.align	2
.LC4:
	.ascii	"no memory\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	ngx_http_lua_body_filter_param_set
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_lua_body_filter_param_set, %function
ngx_http_lua_body_filter_param_set:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, r10, fp, lr}
	ldr	r3, .L78
	sub	sp, sp, #20
	str	r2, [sp]
	mov	r7, r1
	mov	r1, #2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r6, r0
	bl	luaL_checkint
	mov	r4, r0
	ldr	r0, .L78+4
	mov	r1, r4
	bl	dd
	sub	r3, r4, #1
	cmp	r3, #1
	bhi	.L73
	ldr	r3, .L78+8
	mov	r0, r7
	ldr	r1, [r3]
	bl	ngx_http_get_module_main_conf
	cmp	r4, #2
	mov	r10, r0
	beq	.L74
	mov	r1, #3
	mov	r0, r6
	bl	lua_type
	cmp	r0, #130
	mov	r9, r0
	bgt	.L18
	cmp	r0, #128
	bgt	.L19
	bne	.L21
	mov	r2, #3
	mov	r3, #1
	mov	r1, r2
	mov	r0, r6
	bl	ngx_http_lua_calc_strlen_in_table
	mov	r3, #0
	str	r0, [sp, #8]
	str	r3, [sp, #4]
.L23:
	ldr	r8, [r10]
	cmp	r8, #0
	beq	.L29
	mov	r4, #0
	mov	r5, r4
	ldr	fp, .L78+12
.L32:
	ldr	r0, [r8]
	ldr	r1, [r0, #20]
	ldr	r3, [r0]
	cmp	r1, #0
	movne	r4, #1
	cmp	r3, #0
	movne	r5, #1
	bne	.L31
	ldr	r3, [r0, #4]
	cmp	r3, #0
	movne	r5, #1
.L31:
	bl	ngx_buf_size
	mov	r1, r0
	mov	r0, fp
	bl	dd
	ldm	r8, {r3, r8}
	ldr	r1, [r3, #8]
	cmp	r8, #0
	str	r1, [r3, #12]
	bne	.L32
	ldr	r3, [sp, #8]
	cmp	r3, #0
	bne	.L33
	orrs	r3, r5, r4
	beq	.L35
.L34:
	ldr	r2, [r7, #8]
	mov	r3, #0
	ldr	r0, [r2]
	ldr	r2, [sp]
	ldr	r1, [r7, #4]
	add	r2, r2, #4
	bl	ngx_http_lua_chain_get_free_buf
	subs	fp, r0, #0
	bne	.L39
.L70:
	mov	r0, r6
	ldr	r1, .L78+16
	bl	luaL_error
	b	.L1
.L18:
	cmp	r0, #131
	bne	.L21
	ldr	r8, [r10]
	cmp	r8, #0
	beq	.L35
	mov	r4, #0
	mov	r5, r4
	ldr	fp, .L78+12
.L24:
	ldr	r9, [r8]
	ldr	r1, [r9, #20]
	ldr	r2, [r9, #4]
	cmp	r1, #0
	movne	r4, #1
	cmp	r2, #0
	movne	r5, #1
	bne	.L27
	ldr	r2, [r9]
	cmp	r2, #0
	movne	r5, #1
.L27:
	mov	r0, r9
	bl	ngx_buf_size
	mov	r1, r0
	mov	r0, fp
	bl	dd
	ldr	r8, [r8, #4]
	ldr	r2, [r9, #8]
	cmp	r8, #0
	str	r2, [r9, #12]
	bne	.L24
	orrs	r3, r5, r4
	bne	.L34
.L35:
	mov	fp, #0
.L25:
	str	fp, [r10]
.L71:
	mov	r0, #0
	b	.L1
.L73:
	mov	r2, r4
	mov	r0, r6
	ldr	r1, .L78+20
	bl	luaL_error
.L1:
	ldr	r3, .L78
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L75
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, r10, fp, pc}
.L74:
	mov	r0, r6
	mov	r1, #3
	bl	lua_toboolean
	cmp	r0, #0
	ldr	r4, [r10]
	bne	.L5
	cmp	r4, #0
	movne	r6, #1
	movne	r7, r0
	bne	.L6
	b	.L17
.L76:
	cmp	r3, #0
	str	r7, [r5]
	beq	.L12
.L11:
	str	r7, [r5, #4]
.L12:
	ldr	r2, [r5, #8]
	ldr	r3, [r5, #12]
	cmp	r2, r3
	beq	.L15
.L16:
	mov	r0, #1
.L14:
	ldr	r4, [r4, #4]
	cmp	r4, #0
	beq	.L17
.L6:
	ldr	r5, [r4]
	ldm	r5, {r2, r3}
	cmp	r2, #0
	bne	.L76
	cmp	r3, #0
	bne	.L11
	cmp	r0, #0
	beq	.L14
	b	.L12
.L29:
	ldr	r3, [sp, #8]
	cmp	r3, #0
	movne	r5, r8
	movne	r4, r5
	beq	.L35
.L33:
	ldr	r2, [r7, #8]
	ldr	r1, [r7, #4]
	ldr	r0, [r2]
	ldr	r2, [sp]
	add	r2, r2, #4
	bl	ngx_http_lua_chain_get_free_buf
	subs	fp, r0, #0
	beq	.L70
	cmp	r9, #128
	ldr	r9, [fp]
	beq	.L77
	ldmib	sp, {r1, r2}
	ldr	r0, [r9, #12]
	bl	ngx_copy
	str	r0, [r9, #8]
.L38:
	orrs	r3, r5, r4
	beq	.L25
.L39:
	cmp	r5, #0
	beq	.L40
	mov	r3, #1
	ldr	r2, [r7]
	ldr	r1, [sp]
	cmp	r2, r7
	ldr	r2, [fp]
	str	r3, [r1]
	streq	r3, [r2]
	strne	r3, [r2, #4]
.L40:
	cmp	r4, #0
	movne	r2, #1
	ldrne	r3, [fp]
	strne	r2, [r3, #20]
	b	.L25
.L21:
	mov	r1, r9
	mov	r0, r6
	bl	lua_typename
	ldr	r1, .L78+24
	mov	r2, r0
	mov	r0, r6
	bl	luaL_error
	b	.L1
.L19:
	mov	r1, #3
	mov	r0, r6
	add	r2, sp, #8
	bl	lua_tolstring
	str	r0, [sp, #4]
	b	.L23
.L15:
	mov	r0, r5
	bl	ngx_buf_in_memory
	cmp	r0, #0
	bne	.L16
	mov	r0, #1
	str	r6, [r5, #16]
	b	.L14
.L17:
	mov	r0, #0
	ldr	r3, [sp]
	str	r0, [r3]
	b	.L1
.L5:
	mov	r3, #1
	ldr	r2, [sp]
	str	r3, [r2]
	b	.L7
.L44:
	mov	r4, r0
.L7:
	cmp	r4, #0
	beq	.L71
	ldr	r0, [r4, #4]
	cmp	r0, #0
	bne	.L44
	ldr	r3, [r7]
	ldr	r2, [r4]
	cmp	r3, r7
	mov	r3, #1
	streq	r3, [r2]
	strne	r3, [r2, #4]
	b	.L1
.L77:
	mov	r0, r6
	mov	r1, #3
	ldr	r2, [r9, #8]
	bl	ngx_http_lua_copy_str_in_table
	str	r0, [r9, #8]
	b	.L38
.L75:
	bl	__stack_chk_fail
.L79:
	.align	2
.L78:
	.word	.LC5
	.word	.LC0
	.word	ngx_http_lua_module
	.word	.LC2
	.word	.LC4
	.word	.LC1
	.word	.LC3
	.size	ngx_http_lua_body_filter_param_set, .-ngx_http_lua_body_filter_param_set
	.comm	ngx_http_lua_module,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
