	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_jscript_object          ## -- Begin function create_jscript_object
	.p2align	4, 0x90
_create_jscript_object:                 ## @create_jscript_object
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r14
	movl	%esi, %r15d
	movl	%edi, %r12d
	movl	$64, %edi
	callq	_heap_alloc_zero
	testq	%rax, %rax
	je	LBB0_1
## %bb.3:
	movq	%rax, %rbx
	xorl	%eax, %eax
	callq	_lock_module
	movq	%rbx, %r13
	addq	$8, %r13
	movq	_JScriptVtbl@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	_JScriptParseVtbl@GOTPCREL(%rip), %rax
	movq	%rax, 56(%rbx)
	movq	_JScriptParseProcedureVtbl@GOTPCREL(%rip), %rax
	movq	%rax, 48(%rbx)
	movq	_JScriptPropertyVtbl@GOTPCREL(%rip), %rax
	movq	%rax, 40(%rbx)
	movq	_JScriptSafetyVtbl@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	_VariantChangeTypeVtbl@GOTPCREL(%rip), %rax
	movq	%rax, 24(%rbx)
	movl	$1, (%rbx)
	movq	_INTERFACE_USES_DISPEX@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movl	%r12d, 16(%rbx)
	movq	%r13, %rdi
	movl	%r15d, %esi
	movq	%r14, %rdx
	callq	_IActiveScript_QueryInterface
	movl	%eax, %ebx
	movq	%r13, %rdi
	callq	_IActiveScript_Release
	movl	%ebx, %eax
	jmp	LBB0_2
LBB0_1:
	movq	_E_OUTOFMEMORY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_2:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_E_OUTOFMEMORY,4,2              ## @E_OUTOFMEMORY
	.comm	_JScriptVtbl,4,2                ## @JScriptVtbl
	.comm	_JScriptParseVtbl,4,2           ## @JScriptParseVtbl
	.comm	_JScriptParseProcedureVtbl,4,2  ## @JScriptParseProcedureVtbl
	.comm	_JScriptPropertyVtbl,4,2        ## @JScriptPropertyVtbl
	.comm	_JScriptSafetyVtbl,4,2          ## @JScriptSafetyVtbl
	.comm	_VariantChangeTypeVtbl,4,2      ## @VariantChangeTypeVtbl
	.comm	_INTERFACE_USES_DISPEX,4,2      ## @INTERFACE_USES_DISPEX
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_create_jscript_object          ; -- Begin function create_jscript_object
	.p2align	2
_create_jscript_object:                 ; @create_jscript_object
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x2
	mov	x20, x1
	mov	x21, x0
	mov	w0, #64
	bl	_heap_alloc_zero
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	bl	_lock_module
Lloh0:
	adrp	x8, _JScriptVtbl@GOTPAGE
Lloh1:
	ldr	x8, [x8, _JScriptVtbl@GOTPAGEOFF]
	mov	x23, x22
	str	x8, [x23, #8]!
Lloh2:
	adrp	x8, _JScriptParseVtbl@GOTPAGE
Lloh3:
	ldr	x8, [x8, _JScriptParseVtbl@GOTPAGEOFF]
Lloh4:
	adrp	x9, _JScriptParseProcedureVtbl@GOTPAGE
Lloh5:
	ldr	x9, [x9, _JScriptParseProcedureVtbl@GOTPAGEOFF]
	str	x8, [x22, #56]
Lloh6:
	adrp	x8, _JScriptPropertyVtbl@GOTPAGE
Lloh7:
	ldr	x8, [x8, _JScriptPropertyVtbl@GOTPAGEOFF]
Lloh8:
	adrp	x10, _JScriptSafetyVtbl@GOTPAGE
Lloh9:
	ldr	x10, [x10, _JScriptSafetyVtbl@GOTPAGEOFF]
	stp	x8, x9, [x22, #40]
Lloh10:
	adrp	x8, _VariantChangeTypeVtbl@GOTPAGE
Lloh11:
	ldr	x8, [x8, _VariantChangeTypeVtbl@GOTPAGEOFF]
	stp	x8, x10, [x22, #24]
	mov	w8, #1
	str	w8, [x22]
Lloh12:
	adrp	x8, _INTERFACE_USES_DISPEX@GOTPAGE
Lloh13:
	ldr	x8, [x8, _INTERFACE_USES_DISPEX@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	stp	w21, w8, [x22, #16]
	mov	x0, x23
	mov	x1, x20
	mov	x2, x19
	bl	_IActiveScript_QueryInterface
	mov	x19, x0
	mov	x0, x23
	bl	_IActiveScript_Release
	mov	x0, x19
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x8, _E_OUTOFMEMORY@GOTPAGE
Lloh16:
	ldr	x8, [x8, _E_OUTOFMEMORY@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_E_OUTOFMEMORY,4,2              ; @E_OUTOFMEMORY
	.comm	_JScriptVtbl,4,2                ; @JScriptVtbl
	.comm	_JScriptParseVtbl,4,2           ; @JScriptParseVtbl
	.comm	_JScriptParseProcedureVtbl,4,2  ; @JScriptParseProcedureVtbl
	.comm	_JScriptPropertyVtbl,4,2        ; @JScriptPropertyVtbl
	.comm	_JScriptSafetyVtbl,4,2          ; @JScriptSafetyVtbl
	.comm	_VariantChangeTypeVtbl,4,2      ; @VariantChangeTypeVtbl
	.comm	_INTERFACE_USES_DISPEX,4,2      ; @INTERFACE_USES_DISPEX
.subsections_via_symbols
