	.file	"extr_ngx_http_lua_bodyfilterby.c_ngx_http_lua_body_filter_param_get.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"index: %d"
.LC1:
	.string	""
.LC2:
	.string	"seen only single buffer"
.LC3:
	.string	"seen multiple buffers"
	.text
	.p2align 4
	.globl	ngx_http_lua_body_filter_param_get
	.type	ngx_http_lua_body_filter_param_get, @function
ngx_http_lua_body_filter_param_get:
.LFB0:
	.cfi_startproc
	endbr64
	push	r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	push	r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	mov	r13, rdi
	push	r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	mov	r12, rsi
	mov	esi, 2
	push	rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	push	rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	call	luaL_checkint@PLT
	lea	rdi, .LC0[rip]
	mov	ebp, eax
	mov	esi, eax
	xor	eax, eax
	call	dd@PLT
	lea	eax, -1[rbp]
	cmp	eax, 1
	ja	.L24
	mov	esi, DWORD PTR ngx_http_lua_module[rip]
	mov	rdi, r12
	call	ngx_http_get_module_main_conf@PLT
	mov	rbx, QWORD PTR [rax]
	cmp	ebp, 2
	je	.L22
	test	rbx, rbx
	je	.L25
	cmp	QWORD PTR 8[rbx], 0
	je	.L26
	lea	rdi, .LC3[rip]
	xor	eax, eax
	xor	r12d, r12d
	call	dd@PLT
	mov	rdx, rbx
	.p2align 4,,10
	.p2align 3
.L12:
	mov	rax, QWORD PTR [rdx]
	add	r12, QWORD PTR 8[rax]
	sub	r12, QWORD PTR [rax]
	cmp	QWORD PTR 24[rax], 0
	jne	.L11
	cmp	QWORD PTR 16[rax], 0
	jne	.L11
	mov	rdx, QWORD PTR 8[rdx]
	test	rdx, rdx
	jne	.L12
.L11:
	mov	rdi, r13
	mov	rsi, r12
	call	lua_newuserdata@PLT
	mov	r14, rax
	mov	rdi, rax
	.p2align 4,,10
	.p2align 3
.L14:
	mov	rbp, QWORD PTR [rbx]
	mov	rsi, QWORD PTR 0[rbp]
	mov	rdx, QWORD PTR 8[rbp]
	sub	rdx, rsi
	call	ngx_copy@PLT
	cmp	QWORD PTR 24[rbp], 0
	mov	rdi, rax
	jne	.L13
	cmp	QWORD PTR 16[rbp], 0
	jne	.L13
	mov	rbx, QWORD PTR 8[rbx]
	test	rbx, rbx
	jne	.L14
.L13:
	mov	rdx, r12
	mov	rsi, r14
	mov	rdi, r13
	call	lua_pushlstring@PLT
.L3:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rax, QWORD PTR [rbx]
	cmp	QWORD PTR 24[rax], 0
	jne	.L6
	cmp	QWORD PTR 16[rax], 0
	jne	.L6
	mov	rbx, QWORD PTR 8[rbx]
.L22:
	test	rbx, rbx
	jne	.L8
	xor	esi, esi
	mov	rdi, r13
	call	lua_pushboolean@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L24:
	mov	rdi, r13
	call	lua_pushnil@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	mov	rdi, r13
	mov	esi, 1
	call	lua_pushboolean@PLT
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	eax, 1
	pop	rbp
	.cfi_def_cfa_offset 32
	pop	r12
	.cfi_def_cfa_offset 24
	pop	r13
	.cfi_def_cfa_offset 16
	pop	r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L26:
	.cfi_restore_state
	lea	rdi, .LC2[rip]
	xor	eax, eax
	call	dd@PLT
	mov	rax, QWORD PTR [rbx]
	mov	rdi, r13
	mov	rsi, QWORD PTR [rax]
	mov	rdx, QWORD PTR 8[rax]
	sub	rdx, rsi
	call	lua_pushlstring@PLT
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L25:
	lea	rsi, .LC1[rip]
	mov	rdi, r13
	call	lua_pushliteral@PLT
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	ngx_http_lua_body_filter_param_get, .-ngx_http_lua_body_filter_param_get
	.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_get.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"index: %d\000"
	.align	2
.LC1:
	.ascii	"\000"
	.align	2
.LC2:
	.ascii	"seen only single buffer\000"
	.align	2
.LC3:
	.ascii	"seen multiple buffers\000"
	.text
	.align	2
	.global	ngx_http_lua_body_filter_param_get
	.syntax unified
	.arm
	.fpu softvfp
	.type	ngx_http_lua_body_filter_param_get, %function
ngx_http_lua_body_filter_param_get:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, lr}
	mov	r5, r1
	mov	r1, #2
	mov	r6, r0
	bl	luaL_checkint
	mov	r4, r0
	ldr	r0, .L27
	mov	r1, r4
	bl	dd
	sub	r3, r4, #1
	cmp	r3, #1
	bhi	.L24
	ldr	r3, .L27+4
	mov	r0, r5
	ldr	r1, [r3]
	bl	ngx_http_get_module_main_conf
	cmp	r4, #2
	ldr	r4, [r0]
	beq	.L22
	cmp	r4, #0
	beq	.L25
	ldr	r3, [r4, #4]
	cmp	r3, #0
	beq	.L26
	ldr	r0, .L27+8
	bl	dd
	mov	r7, #0
	mov	r1, r4
.L12:
	ldr	r3, [r1]
	ldr	r2, [r3, #4]
	ldr	ip, [r3]
	ldr	r0, [r3, #12]
	sub	r2, r2, ip
	cmp	r0, #0
	add	r7, r7, r2
	bne	.L11
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L11
	ldr	r1, [r1, #4]
	cmp	r1, #0
	bne	.L12
.L11:
	mov	r1, r7
	mov	r0, r6
	bl	lua_newuserdata
	mov	r8, r0
.L14:
	ldr	r5, [r4]
	ldm	r5, {r1, r2}
	sub	r2, r2, r1
	bl	ngx_copy
	ldr	r3, [r5, #12]
	cmp	r3, #0
	bne	.L13
	ldr	r3, [r5, #8]
	cmp	r3, #0
	bne	.L13
	ldr	r4, [r4, #4]
	cmp	r4, #0
	bne	.L14
.L13:
	mov	r2, r7
	mov	r1, r8
	mov	r0, r6
	bl	lua_pushlstring
.L3:
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L8:
	ldr	r3, [r4]
	ldr	r2, [r3, #12]
	cmp	r2, #0
	bne	.L6
	ldr	r3, [r3, #8]
	cmp	r3, #0
	bne	.L6
	ldr	r4, [r4, #4]
.L22:
	cmp	r4, #0
	bne	.L8
	mov	r0, r6
	mov	r1, #0
	bl	lua_pushboolean
	b	.L3
.L24:
	mov	r0, r6
	bl	lua_pushnil
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L6:
	mov	r0, r6
	mov	r1, #1
	bl	lua_pushboolean
	mov	r0, #1
	pop	{r4, r5, r6, r7, r8, pc}
.L26:
	ldr	r0, .L27+12
	bl	dd
	ldr	r3, [r4]
	mov	r0, r6
	ldm	r3, {r1, r2}
	sub	r2, r2, r1
	bl	lua_pushlstring
	b	.L3
.L25:
	mov	r0, r6
	ldr	r1, .L27+16
	bl	lua_pushliteral
	b	.L3
.L28:
	.align	2
.L27:
	.word	.LC0
	.word	ngx_http_lua_module
	.word	.LC3
	.word	.LC2
	.word	.LC1
	.size	ngx_http_lua_body_filter_param_get, .-ngx_http_lua_body_filter_param_get
	.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
