	.file	"extr_javascript.c_script__run_script.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"@/norm_err.js"
.LC1:
	.string	"@/defaults.js"
.LC2:
	.string	"mp_event_loop"
.LC3:
	.string	"no event loop function"
	.text
	.p2align 4
	.type	script__run_script, @function
script__run_script:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	lea	rsi, .LC0[rip]
	mov	rbp, rdi
	push	rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	sub	rsp, 8
	.cfi_def_cfa_offset 32
	mov	edx, DWORD PTR norm_err_proto_js[rip]
	call	js_loadstring@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	js_copy@PLT
	xor	esi, esi
	mov	rdi, rbp
	call	js_pcall@PLT
	mov	rdi, rbp
	call	jctx@PLT
	mov	rdi, rbp
	mov	rsi, rax
	mov	rbx, rax
	call	add_functions@PLT
	lea	rsi, .LC1[rip]
	mov	rdi, rbp
	call	run_file@PLT
	mov	rsi, QWORD PTR [rbx]
	mov	rdi, rbp
	call	run_file@PLT
	xor	esi, esi
	lea	rdx, .LC2[rip]
	mov	rdi, rbp
	call	js_hasproperty@PLT
	test	eax, eax
	je	.L4
	mov	esi, -1
	mov	rdi, rbp
	call	js_iscallable@PLT
	test	eax, eax
	jne	.L3
.L4:
	lea	rsi, .LC3[rip]
	mov	rdi, rbp
	call	js_error@PLT
.L3:
	mov	rdi, rbp
	xor	esi, esi
	call	js_copy@PLT
	add	rsp, 8
	.cfi_def_cfa_offset 24
	mov	rdi, rbp
	xor	esi, esi
	pop	rbx
	.cfi_def_cfa_offset 16
	pop	rbp
	.cfi_def_cfa_offset 8
	jmp	js_call@PLT
	.cfi_endproc
.LFE0:
	.size	script__run_script, .-script__run_script
	.comm	norm_err_proto_js,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_javascript.c_script__run_script.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"@/norm_err.js\000"
	.align	2
.LC1:
	.ascii	"@/defaults.js\000"
	.align	2
.LC2:
	.ascii	"mp_event_loop\000"
	.align	2
.LC3:
	.ascii	"no event loop function\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	script__run_script, %function
script__run_script:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r4, r0
	ldr	r3, .L10
	ldr	r1, .L10+4
	ldr	r2, [r3]
	bl	js_loadstring
	mov	r1, #0
	mov	r0, r4
	bl	js_copy
	mov	r1, #0
	mov	r0, r4
	bl	js_pcall
	mov	r0, r4
	bl	jctx
	mov	r5, r0
	mov	r0, r4
	mov	r1, r5
	bl	add_functions
	ldr	r1, .L10+8
	mov	r0, r4
	bl	run_file
	ldr	r1, [r5]
	mov	r0, r4
	bl	run_file
	mov	r0, r4
	mov	r1, #0
	ldr	r2, .L10+12
	bl	js_hasproperty
	cmp	r0, #0
	beq	.L4
	mvn	r1, #0
	mov	r0, r4
	bl	js_iscallable
	cmp	r0, #0
	bne	.L3
.L4:
	mov	r0, r4
	ldr	r1, .L10+16
	bl	js_error
.L3:
	mov	r1, #0
	mov	r0, r4
	bl	js_copy
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	mov	r1, #0
	b	js_call
.L11:
	.align	2
.L10:
	.word	norm_err_proto_js
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	script__run_script, .-script__run_script
	.comm	norm_err_proto_js,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
