	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jsdisp_call_value              ## -- Begin function jsdisp_call_value
	.p2align	4, 0x90
_jsdisp_call_value:                     ## @jsdisp_call_value
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_DISPATCH_METHOD@GOTPCREL(%rip), %r10
	movq	_DISPATCH_CONSTRUCT@GOTPCREL(%rip), %rbx
	movl	(%rbx), %eax
	orl	(%r10), %eax
	movq	%r9, -56(%rbp)                  ## 8-byte Spill
	movq	%r8, %r12
	movl	%ecx, %r14d
	movl	%edx, %r13d
	movq	%rsi, %r15
	movq	%rdi, %rbx
	movq	_DISPATCH_JSCRIPT_INTERNAL_MASK@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	notl	%eax
	xorl	%edi, %edi
	testl	%edx, %eax
	sete	%dil
	callq	_assert
	movq	_JSCLASS_FUNCTION@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_is_class
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	movq	%r15, %rsi
	movl	%r13d, %edx
	movl	%r14d, %ecx
	movq	%r12, %r8
	movq	-56(%rbp), %r9                  ## 8-byte Reload
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_Function_invoke                ## TAILCALL
LBB0_1:
	movq	%r15, %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movq	8(%rbx), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.2:
	leaq	-44(%rbp), %rdi
	callq	_set_disp
	movq	_DISPATCH_JSCRIPT_INTERNAL_MASK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	notl	%edx
	andl	%r13d, %edx
	movq	8(%rbx), %rax
	movl	(%rbx), %edi
	leaq	-44(%rbp), %r13
	movq	%r13, %rsi
	movl	%r14d, %ecx
	movq	%r12, %r8
	movq	%r15, %r9
	callq	*(%rax)
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_vdisp_release
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_WARN
	movl	(%rbx), %edi
	movq	_JS_E_FUNCTION_EXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_throw_type_error               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_DISPATCH_METHOD,4,2            ## @DISPATCH_METHOD
	.comm	_DISPATCH_CONSTRUCT,4,2         ## @DISPATCH_CONSTRUCT
	.comm	_DISPATCH_JSCRIPT_INTERNAL_MASK,4,2 ## @DISPATCH_JSCRIPT_INTERNAL_MASK
	.comm	_JSCLASS_FUNCTION,4,2           ## @JSCLASS_FUNCTION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Not a function\n"

	.comm	_JS_E_FUNCTION_EXPECTED,4,2     ## @JS_E_FUNCTION_EXPECTED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_jsdisp_call_value              ; -- Begin function jsdisp_call_value
	.p2align	2
_jsdisp_call_value:                     ; @jsdisp_call_value
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x21, x3
	mov	x23, x2
	mov	x24, x1
	mov	x22, x0
Lloh0:
	adrp	x8, _DISPATCH_METHOD@GOTPAGE
Lloh1:
	ldr	x8, [x8, _DISPATCH_METHOD@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _DISPATCH_CONSTRUCT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _DISPATCH_CONSTRUCT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
Lloh6:
	adrp	x25, _DISPATCH_JSCRIPT_INTERNAL_MASK@GOTPAGE
Lloh7:
	ldr	x25, [x25, _DISPATCH_JSCRIPT_INTERNAL_MASK@GOTPAGEOFF]
	ldr	w9, [x25]
	orr	w8, w8, w9
	bics	wzr, w2, w8
	cset	w0, eq
	bl	_assert
Lloh8:
	adrp	x8, _JSCLASS_FUNCTION@GOTPAGE
Lloh9:
	ldr	x8, [x8, _JSCLASS_FUNCTION@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x22
	bl	_is_class
	cbz	x0, LBB0_2
; %bb.1:
	mov	x0, x22
	mov	x1, x24
	mov	x2, x23
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_Function_invoke
LBB0_2:
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	add	x0, sp, #12
	mov	x1, x24
	bl	_set_disp
	ldr	w8, [x25]
	bic	w2, w23, w8
	ldr	x8, [x22, #8]
	ldr	x8, [x8]
	ldr	w0, [x22]
	add	x1, sp, #12
	mov	x3, x21
	mov	x4, x20
	mov	x5, x19
	blr	x8
	mov	x19, x0
	add	x0, sp, #12
	bl	_vdisp_release
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_4:
Lloh11:
	adrp	x0, l_.str@PAGE
Lloh12:
	add	x0, x0, l_.str@PAGEOFF
	bl	_WARN
	ldr	w0, [x22]
Lloh13:
	adrp	x8, _JS_E_FUNCTION_EXPECTED@GOTPAGE
Lloh14:
	ldr	x8, [x8, _JS_E_FUNCTION_EXPECTED@GOTPAGEOFF]
Lloh15:
	ldr	w1, [x8]
	mov	x2, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	b	_throw_type_error
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_DISPATCH_METHOD,4,2            ; @DISPATCH_METHOD
	.comm	_DISPATCH_CONSTRUCT,4,2         ; @DISPATCH_CONSTRUCT
	.comm	_DISPATCH_JSCRIPT_INTERNAL_MASK,4,2 ; @DISPATCH_JSCRIPT_INTERNAL_MASK
	.comm	_JSCLASS_FUNCTION,4,2           ; @JSCLASS_FUNCTION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Not a function\n"

	.comm	_JS_E_FUNCTION_EXPECTED,4,2     ; @JS_E_FUNCTION_EXPECTED
.subsections_via_symbols
