	.file	"extr_lua.c_handle_script.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"-"
.LC1:
	.string	"--"
	.text
	.p2align 4
	.type	handle_script, @function
handle_script:
.LFB0:
	.cfi_startproc
	endbr64
	push	r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	push	r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	mov	r12, rsi
	push	rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	sub	rsp, 8
	.cfi_def_cfa_offset 48
	mov	r13, QWORD PTR [rsi]
	lea	rsi, .LC0[rip]
	mov	rdi, r13
	call	strcmp@PLT
	test	rax, rax
	je	.L8
.L2:
	mov	rsi, r13
	mov	rdi, rbp
	call	luaL_loadfile@PLT
	cmp	DWORD PTR LUA_OK[rip], eax
	mov	esi, eax
	je	.L9
.L3:
	add	rsp, 8
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	mov	rdi, rbp
	pop	rbx
	.cfi_def_cfa_offset 32
	pop	rbp
	.cfi_def_cfa_offset 24
	pop	r12
	.cfi_def_cfa_offset 16
	pop	r13
	.cfi_def_cfa_offset 8
	jmp	report@PLT
	.p2align 4,,10
	.p2align 3
.L8:
	.cfi_restore_state
	mov	rdi, QWORD PTR -8[r12]
	lea	rsi, .LC1[rip]
	mov	rbx, rax
	call	strcmp@PLT
	test	rax, rax
	cmovne	r13, rbx
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L9:
	mov	rdi, rbp
	call	pushargs@PLT
	mov	edx, DWORD PTR LUA_MULTRET[rip]
	mov	rdi, rbp
	mov	esi, eax
	call	docall@PLT
	mov	esi, eax
	jmp	.L3
	.cfi_endproc
.LFE0:
	.size	handle_script, .-handle_script
	.comm	LUA_OK,4,4
	.comm	LUA_MULTRET,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_lua.c_handle_script.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	handle_script, %function
handle_script:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, lr}
	mov	r3, r1
	ldr	r1, [r1]
	mov	r4, r0
	ldrb	r2, [r1]	@ zero_extendqisi2
	cmp	r2, #45
	bne	.L3
	ldrb	r2, [r1, #1]	@ zero_extendqisi2
	cmp	r2, #0
	bne	.L3
	ldr	r3, [r3, #-4]
	ldrb	r2, [r3]	@ zero_extendqisi2
	cmp	r2, #45
	beq	.L12
.L6:
	mov	r1, #0
.L3:
	mov	r0, r4
	bl	luaL_loadfile
	ldr	r3, .L14
	mov	r1, r0
	ldr	r3, [r3]
	cmp	r3, r0
	beq	.L13
	mov	r0, r4
	pop	{r4, lr}
	b	report
.L12:
	ldrb	r2, [r3, #1]	@ zero_extendqisi2
	cmp	r2, #45
	bne	.L6
	ldrb	r3, [r3, #2]	@ zero_extendqisi2
	cmp	r3, #0
	beq	.L3
	b	.L6
.L13:
	mov	r0, r4
	bl	pushargs
	ldr	r3, .L14+4
	mov	r1, r0
	ldr	r2, [r3]
	mov	r0, r4
	bl	docall
	mov	r1, r0
	mov	r0, r4
	pop	{r4, lr}
	b	report
.L15:
	.align	2
.L14:
	.word	LUA_OK
	.word	LUA_MULTRET
	.size	handle_script, .-handle_script
	.comm	LUA_OK,4,4
	.comm	LUA_MULTRET,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
