	.file	"extr_jsfunction.c_Fp_apply.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"not a function"
	.text
	.p2align 4
	.type	Fp_apply, @function
Fp_apply:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	xor	esi, esi
	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
	call	js_iscallable@PLT
	test	eax, eax
	je	.L9
.L2:
	xor	esi, esi
	mov	rdi, rbp
	call	js_copy@PLT
	mov	esi, 1
	mov	rdi, rbp
	call	js_copy@PLT
	mov	esi, 2
	mov	rdi, rbp
	call	js_isnull@PLT
	test	rax, rax
	je	.L10
.L3:
	xor	r12d, r12d
.L4:
	pop	rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	mov	esi, r12d
	mov	rdi, rbp
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	jmp	js_call@PLT
	.p2align 4,,10
	.p2align 3
.L9:
	.cfi_restore_state
	lea	rsi, .LC0[rip]
	mov	rdi, rbp
	call	js_typeerror@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	mov	esi, 2
	mov	rdi, rbp
	call	js_isundefined@PLT
	test	rax, rax
	jne	.L3
	mov	esi, 2
	mov	rdi, rbp
	call	js_getlength@PLT
	mov	r12d, eax
	test	eax, eax
	jle	.L4
	xor	ebx, ebx
	.p2align 4,,10
	.p2align 3
.L5:
	mov	edx, ebx
	mov	esi, 2
	mov	rdi, rbp
	add	ebx, 1
	call	js_getindex@PLT
	cmp	r12d, ebx
	jne	.L5
	jmp	.L4
	.cfi_endproc
.LFE0:
	.size	Fp_apply, .-Fp_apply
	.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_jsfunction.c_Fp_apply.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"not a function\000"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	Fp_apply, %function
Fp_apply:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, lr}
	mov	r1, #0
	mov	r4, r0
	bl	js_iscallable
	cmp	r0, #0
	beq	.L9
.L2:
	mov	r1, #0
	mov	r0, r4
	bl	js_copy
	mov	r1, #1
	mov	r0, r4
	bl	js_copy
	mov	r1, #2
	mov	r0, r4
	bl	js_isnull
	cmp	r0, #0
	beq	.L10
.L3:
	mov	r6, #0
.L4:
	mov	r1, r6
	mov	r0, r4
	pop	{r4, r5, r6, lr}
	b	js_call
.L9:
	mov	r0, r4
	ldr	r1, .L11
	bl	js_typeerror
	b	.L2
.L10:
	mov	r1, #2
	mov	r0, r4
	bl	js_isundefined
	subs	r5, r0, #0
	bne	.L3
	mov	r1, #2
	mov	r0, r4
	bl	js_getlength
	subs	r6, r0, #0
	ble	.L4
.L5:
	mov	r2, r5
	mov	r1, #2
	mov	r0, r4
	add	r5, r5, #1
	bl	js_getindex
	cmp	r6, r5
	bne	.L5
	b	.L4
.L12:
	.align	2
.L11:
	.word	.LC0
	.size	Fp_apply, .-Fp_apply
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
