	.file	"extr_ngx_http_lua_balancer.c_ngx_http_lua_balancer_by_chunk.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"unknown reason"
.LC1:
	.string	"__index"
.LC2:
	.string	"rc == %d"
	.section	.rodata.str1.8,"aMS",@progbits,1
	.align 8
.LC3:
	.string	"failed to run balancer_by_lua*: %*s"
	.text
	.p2align 4
	.type	ngx_http_lua_balancer_by_chunk, @function
ngx_http_lua_balancer_by_chunk:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rsi
	sub	rsp, 16
	.cfi_def_cfa_offset 48
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 8[rsp], rax
	xor	eax, eax
	call	ngx_http_lua_set_req@PLT
	xor	esi, esi
	mov	edx, 1
	mov	rdi, rbp
	call	ngx_http_lua_create_new_globals_table@PLT
	xor	esi, esi
	mov	edx, 1
	mov	rdi, rbp
	call	lua_createtable@PLT
	mov	rdi, rbp
	call	ngx_http_lua_get_globals_table@PLT
	lea	rdx, .LC1[rip]
	mov	esi, -2
	mov	rdi, rbp
	call	lua_setfield@PLT
	mov	esi, -2
	mov	rdi, rbp
	call	lua_setmetatable@PLT
	mov	esi, -2
	mov	rdi, rbp
	call	lua_setfenv@PLT
	mov	esi, DWORD PTR ngx_http_lua_traceback[rip]
	mov	rdi, rbp
	call	lua_pushcfunction@PLT
	mov	esi, 1
	mov	rdi, rbp
	call	lua_insert@PLT
	xor	esi, esi
	mov	ecx, 1
	mov	rdi, rbp
	mov	edx, 1
	call	lua_pcall@PLT
	mov	esi, 1
	mov	rdi, rbp
	mov	r12, rax
	call	lua_remove@PLT
	mov	esi, r12d
	lea	rdi, .LC2[rip]
	call	dd@PLT
	test	r12, r12
	jne	.L9
	xor	esi, esi
	mov	rdi, rbp
	call	lua_settop@PLT
.L1:
	mov	rax, QWORD PTR 8[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L10
	add	rsp, 16
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	mov	rax, r12
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	mov	rdx, rsp
	mov	esi, -1
	mov	rdi, rbp
	call	lua_tolstring@PLT
	mov	r8, QWORD PTR [rsp]
	mov	r9, rax
	test	rax, rax
	je	.L11
.L4:
	mov	rax, QWORD PTR [rbx]
	mov	edi, DWORD PTR NGX_LOG_ERR[rip]
	lea	rcx, .LC3[rip]
	xor	edx, edx
	mov	esi, DWORD PTR [rax]
	call	ngx_log_error@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	lua_settop@PLT
	mov	r12, QWORD PTR NGX_ERROR[rip]
	jmp	.L1
	.p2align 4,,10
	.p2align 3
.L11:
	mov	QWORD PTR [rsp], 14
	mov	r8d, 14
	lea	r9, .LC0[rip]
	jmp	.L4
.L10:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	ngx_http_lua_balancer_by_chunk, .-ngx_http_lua_balancer_by_chunk
	.comm	ngx_http_lua_traceback,4,4
	.comm	NGX_LOG_ERR,4,4
	.comm	NGX_ERROR,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_lua_balancer.c_ngx_http_lua_balancer_by_chunk.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"unknown reason\000"
	.align	2
.LC1:
	.ascii	"__index\000"
	.align	2
.LC2:
	.ascii	"rc == %d\000"
	.align	2
.LC3:
	.ascii	"failed to run balancer_by_lua*: %*s\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_balancer_by_chunk, %function
ngx_http_lua_balancer_by_chunk:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L11
	sub	sp, sp, #16
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	mov	r6, r1
	bl	ngx_http_lua_set_req
	mov	r2, #1
	mov	r1, #0
	mov	r0, r4
	bl	ngx_http_lua_create_new_globals_table
	mov	r2, #1
	mov	r1, #0
	mov	r0, r4
	bl	lua_createtable
	mov	r0, r4
	bl	ngx_http_lua_get_globals_table
	ldr	r2, .L11+4
	mvn	r1, #1
	mov	r0, r4
	bl	lua_setfield
	mvn	r1, #1
	mov	r0, r4
	bl	lua_setmetatable
	mvn	r1, #1
	mov	r0, r4
	bl	lua_setfenv
	ldr	r3, .L11+8
	mov	r0, r4
	ldr	r1, [r3]
	bl	lua_pushcfunction
	mov	r1, #1
	mov	r0, r4
	bl	lua_insert
	mov	r3, #1
	mov	r1, #0
	mov	r2, r3
	mov	r0, r4
	bl	lua_pcall
	mov	r5, r0
	mov	r1, #1
	mov	r0, r4
	bl	lua_remove
	mov	r1, r5
	ldr	r0, .L11+12
	bl	dd
	cmp	r5, #0
	bne	.L9
	mov	r0, r4
	mov	r1, r5
	bl	lua_settop
.L1:
	ldr	r3, .L11
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L10
	mov	r0, r5
	add	sp, sp, #16
	@ sp needed
	pop	{r4, r5, r6, pc}
.L9:
	mvn	r1, #0
	add	r2, sp, #8
	mov	r0, r4
	bl	lua_tolstring
	subs	r3, r0, #0
	moveq	r1, #14
	moveq	r2, r1
	ldrne	r2, [sp, #8]
	ldreq	r3, .L11+16
	streq	r1, [sp, #8]
	ldr	r0, .L11+20
	ldr	r1, [r6]
	ldr	r0, [r0]
	ldr	r1, [r1]
	stm	sp, {r2, r3}
	ldr	r3, .L11+24
	mov	r2, #0
	bl	ngx_log_error
	mov	r0, r4
	mov	r1, #0
	bl	lua_settop
	ldr	r3, .L11+28
	ldr	r5, [r3]
	b	.L1
.L10:
	bl	__stack_chk_fail
.L12:
	.align	2
.L11:
	.word	.LC4
	.word	.LC1
	.word	ngx_http_lua_traceback
	.word	.LC2
	.word	.LC0
	.word	NGX_LOG_ERR
	.word	.LC3
	.word	NGX_ERROR
	.size	ngx_http_lua_balancer_by_chunk, .-ngx_http_lua_balancer_by_chunk
	.comm	ngx_http_lua_traceback,4,4
	.comm	NGX_LOG_ERR,4,4
	.comm	NGX_ERROR,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
