	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function VBArrayConstr_value
_VBArrayConstr_value:                   ## @VBArrayConstr_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r14
	movq	%r8, %r12
	movl	%ecx, %r13d
	movl	%edx, %ebx
	movq	%rdi, %r15
	leaq	L_.str(%rip), %rdi
	callq	_TRACE
	cmpl	$129, %ebx
	je	LBB0_6
## %bb.1:
	cmpl	$128, %ebx
	jne	LBB0_13
## %bb.2:
	testl	%r13d, %r13d
	je	LBB0_16
## %bb.3:
	movl	(%r12), %edi
	callq	_is_variant
	testl	%eax, %eax
	je	LBB0_16
## %bb.4:
	movl	(%r12), %edi
	callq	_get_variant
	movl	%eax, %edi
	callq	_V_VT
	movq	_VT_ARRAY@GOTPCREL(%rip), %rcx
	movq	_VT_VARIANT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	cmpl	%edx, %eax
	jne	LBB0_16
## %bb.5:
	movl	(%r12), %edi
	movq	%r14, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_jsval_copy                     ## TAILCALL
LBB0_6:
	testl	%r13d, %r13d
	je	LBB0_16
## %bb.7:
	movl	(%r12), %edi
	callq	_is_variant
	testl	%eax, %eax
	je	LBB0_16
## %bb.8:
	movl	(%r12), %edi
	callq	_get_variant
	movl	%eax, %edi
	callq	_V_VT
	movq	_VT_ARRAY@GOTPCREL(%rip), %rcx
	movq	_VT_VARIANT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	cmpl	%edx, %eax
	jne	LBB0_16
## %bb.9:
	leaq	-48(%rbp), %rdx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_alloc_vbarray
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testl	%eax, %eax
	jne	LBB0_15
## %bb.10:
	movl	(%r12), %edi
	callq	_get_variant
	movl	%eax, %edi
	callq	_V_ARRAY
	movq	-48(%rbp), %rsi
	addq	$4, %rsi
	movl	%eax, %edi
	callq	_SafeArrayCopy
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	movq	-48(%rbp), %rdi
	testl	%eax, %eax
	je	LBB0_12
## %bb.11:
	callq	_jsdisp_release
	jmp	LBB0_15
LBB0_16:
	movq	_JS_E_VBARRAY_EXPECTED@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r15, %rdi
	xorl	%edx, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_throw_type_error               ## TAILCALL
LBB0_13:
	leaq	L_.str.1(%rip), %rdi
	movl	%ebx, %esi
	callq	_FIXME
	movq	_E_NOTIMPL@GOTPCREL(%rip), %rax
LBB0_14:
	movl	(%rax), %ebx
LBB0_15:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_12:
	callq	_jsval_obj
	movl	%eax, (%r14)
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_14
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n"

	.comm	_VT_ARRAY,4,2                   ## @VT_ARRAY
	.comm	_VT_VARIANT,4,2                 ## @VT_VARIANT
	.comm	_JS_E_VBARRAY_EXPECTED,4,2      ## @JS_E_VBARRAY_EXPECTED
L_.str.1:                               ## @.str.1
	.asciz	"unimplemented flags: %x\n"

	.comm	_E_NOTIMPL,4,2                  ## @E_NOTIMPL
	.comm	_S_OK,4,2                       ## @S_OK
	.no_dead_strip	_VBArrayConstr_value
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function VBArrayConstr_value
_VBArrayConstr_value:                   ; @VBArrayConstr_value
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x5
	mov	x20, x4
	mov	x23, x3
	mov	x22, x2
	mov	x21, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_TRACE
	cmp	w22, #129
	b.eq	LBB0_6
; %bb.1:
	cmp	w22, #128
	b.ne	LBB0_13
; %bb.2:
	cbz	w23, LBB0_12
; %bb.3:
	ldr	w0, [x20]
	bl	_is_variant
	cbz	w0, LBB0_12
; %bb.4:
	ldr	w0, [x20]
	bl	_get_variant
	bl	_V_VT
Lloh2:
	adrp	x8, _VT_ARRAY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _VT_ARRAY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x9, _VT_VARIANT@GOTPAGE
Lloh6:
	ldr	x9, [x9, _VT_VARIANT@GOTPAGEOFF]
Lloh7:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.5:
	ldr	w0, [x20]
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_jsval_copy
LBB0_6:
	cbz	w23, LBB0_12
; %bb.7:
	ldr	w0, [x20]
	bl	_is_variant
	cbz	w0, LBB0_12
; %bb.8:
	ldr	w0, [x20]
	bl	_get_variant
	bl	_V_VT
Lloh8:
	adrp	x8, _VT_ARRAY@GOTPAGE
Lloh9:
	ldr	x8, [x8, _VT_ARRAY@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
Lloh11:
	adrp	x9, _VT_VARIANT@GOTPAGE
Lloh12:
	ldr	x9, [x9, _VT_VARIANT@GOTPAGEOFF]
Lloh13:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	w0, w8
	b.ne	LBB0_12
; %bb.9:
	add	x2, sp, #8
	mov	x0, x21
	mov	x1, #0
	bl	_alloc_vbarray
	mov	x21, x0
	bl	_FAILED
	cbnz	w0, LBB0_15
; %bb.10:
	ldr	w0, [x20]
	bl	_get_variant
	bl	_V_ARRAY
	ldr	x8, [sp, #8]
	add	x1, x8, #4
	bl	_SafeArrayCopy
	mov	x21, x0
	bl	_FAILED
	mov	x8, x0
	ldr	x0, [sp, #8]
	cbz	w8, LBB0_16
; %bb.11:
	bl	_jsdisp_release
	b	LBB0_15
LBB0_12:
Lloh14:
	adrp	x8, _JS_E_VBARRAY_EXPECTED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _JS_E_VBARRAY_EXPECTED@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x21
	mov	x2, #0
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_throw_type_error
LBB0_13:
Lloh17:
	adrp	x0, l_.str.1@PAGE
Lloh18:
	add	x0, x0, l_.str.1@PAGEOFF
	mov	x1, x22
	bl	_FIXME
Lloh19:
	adrp	x8, _E_NOTIMPL@GOTPAGE
Lloh20:
	ldr	x8, [x8, _E_NOTIMPL@GOTPAGEOFF]
LBB0_14:
	ldr	w21, [x8]
LBB0_15:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_16:
	bl	_jsval_obj
	str	w0, [x19]
Lloh21:
	adrp	x8, _S_OK@GOTPAGE
Lloh22:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
	b	LBB0_14
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGot	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n"

	.comm	_VT_ARRAY,4,2                   ; @VT_ARRAY
	.comm	_VT_VARIANT,4,2                 ; @VT_VARIANT
	.comm	_JS_E_VBARRAY_EXPECTED,4,2      ; @JS_E_VBARRAY_EXPECTED
l_.str.1:                               ; @.str.1
	.asciz	"unimplemented flags: %x\n"

	.comm	_E_NOTIMPL,4,2                  ; @E_NOTIMPL
	.comm	_S_OK,4,2                       ; @S_OK
	.no_dead_strip	_VBArrayConstr_value
.subsections_via_symbols
