	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function error_constr
_error_constr:                          ## @error_constr
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movq	%r8, -72(%rbp)                  ## 8-byte Spill
	movl	%esi, %r12d
	movq	%rdi, %r13
	movq	$0, -48(%rbp)
	testl	%edx, %edx
	je	LBB0_1
## %bb.3:
	movq	%rcx, %r14
	movl	%edx, %r15d
	movl	(%rcx), %esi
	leaq	-56(%rbp), %rdx
	movq	%r13, %rdi
	callq	_to_number
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	je	LBB0_4
## %bb.5:
	movq	_NAN@GOTPCREL(%rip), %rax
	movsd	(%rax), %xmm0                   ## xmm0 = mem[0],zero
	movsd	%xmm0, -56(%rbp)
	jmp	LBB0_6
LBB0_1:
	xorps	%xmm0, %xmm0
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
LBB0_2:
	xorl	%eax, %eax
	callq	_jsstr_empty
	movq	%rax, -48(%rbp)
	jmp	LBB0_12
LBB0_4:
	movsd	-56(%rbp), %xmm0                ## xmm0 = mem[0],zero
LBB0_6:
	callq	_isnan
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	(%r14), %esi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_to_string
	movl	%eax, %ebx
LBB0_8:
	movl	%ebx, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_22
## %bb.9:
	movsd	-56(%rbp), %xmm0                ## xmm0 = mem[0],zero
	movsd	%xmm0, -64(%rbp)                ## 8-byte Spill
	cmpq	$0, -48(%rbp)
	je	LBB0_10
LBB0_12:
	movl	%r12d, %eax
	andl	$-2, %eax
	movq	-48(%rbp), %rdx
	cmpl	$128, %eax
	jne	LBB0_18
## %bb.13:
	leaq	-56(%rbp), %rcx
	movq	%r13, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movsd	-64(%rbp), %xmm0                ## 8-byte Reload
                                        ## xmm0 = mem[0],zero
	callq	_create_error
	movl	%eax, %ebx
	movq	-48(%rbp), %rdi
	callq	_jsstr_release
	movl	%ebx, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_22
## %bb.14:
	movq	-56(%rbp), %rdi
	movq	-72(%rbp), %rbx                 ## 8-byte Reload
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.15:
	callq	_jsval_obj
	movl	%eax, (%rbx)
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_21
LBB0_18:
	testq	%rdx, %rdx
	je	LBB0_20
## %bb.19:
	movq	%rdx, %rdi
	callq	_jsstr_release
LBB0_20:
	leaq	L_.str(%rip), %rdi
	movl	%r12d, %esi
	callq	_FIXME
	movq	_E_NOTIMPL@GOTPCREL(%rip), %rax
LBB0_21:
	movl	(%rax), %ebx
LBB0_22:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	cmpl	$2, %r15d
	jb	LBB0_2
## %bb.11:
	movl	4(%r14), %esi
	leaq	-48(%rbp), %rdx
	movq	%r13, %rdi
	callq	_to_string
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_FAILED
	testq	%rax, %rax
	jne	LBB0_22
	jmp	LBB0_12
LBB0_16:
	callq	_jsdisp_release
	movq	_S_OK@GOTPCREL(%rip), %rax
	jmp	LBB0_21
	.cfi_endproc
                                        ## -- End function
	.comm	_NAN,8,3                        ## @NAN
	.comm	_S_OK,4,2                       ## @S_OK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"unimplemented flags %x\n"

	.comm	_E_NOTIMPL,4,2                  ## @E_NOTIMPL
	.no_dead_strip	_error_constr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function error_constr
_error_constr:                          ; @error_constr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	d9, d8, [sp, #16]               ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset b8, -88
	.cfi_offset b9, -96
	mov	x21, x5
	mov	x19, x4
	mov	x20, x1
	mov	x22, x0
	str	xzr, [sp]
	cbz	w2, LBB0_8
; %bb.1:
	mov	x24, x3
	mov	x25, x2
	ldr	w1, [x3]
	add	x2, sp, #8
	mov	x0, x22
	bl	_to_number
	mov	x23, x0
	bl	_FAILED
	cbz	x0, LBB0_17
; %bb.2:
Lloh0:
	adrp	x8, _NAN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NAN@GOTPAGEOFF]
Lloh2:
	ldr	d0, [x8]
	str	d0, [sp, #8]
	bl	_isnan
	cbz	x0, LBB0_4
LBB0_3:
	ldr	w1, [x24]
	mov	x2, sp
	mov	x0, x22
	bl	_to_string
	mov	x23, x0
LBB0_4:
	mov	x0, x23
	bl	_FAILED
	cbnz	x0, LBB0_21
; %bb.5:
	ldr	d8, [sp, #8]
	ldr	x8, [sp]
	cbnz	x8, LBB0_10
; %bb.6:
	cmp	w25, #2
	b.lo	LBB0_9
; %bb.7:
	ldr	w1, [x24, #4]
	mov	x2, sp
	mov	x0, x22
	bl	_to_string
	mov	x23, x0
	bl	_FAILED
	cbnz	x0, LBB0_21
	b	LBB0_10
LBB0_8:
	movi	d8, #0000000000000000
LBB0_9:
	bl	_jsstr_empty
	str	x0, [sp]
LBB0_10:
	and	w8, w20, #0xfffffffe
	ldr	x2, [sp]
	cmp	w8, #128
	b.ne	LBB0_14
; %bb.11:
	add	x3, sp, #8
	mov	x0, x22
	mov	x1, x21
	fmov	d0, d8
	bl	_create_error
	mov	x23, x0
	ldr	x0, [sp]
	bl	_jsstr_release
	mov	x0, x23
	bl	_FAILED
	cbnz	x0, LBB0_21
; %bb.12:
	ldr	x0, [sp, #8]
	cbz	x19, LBB0_18
; %bb.13:
	bl	_jsval_obj
	str	w0, [x19]
	b	LBB0_19
LBB0_14:
	cbz	x2, LBB0_16
; %bb.15:
	mov	x0, x2
	bl	_jsstr_release
LBB0_16:
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	x1, x20
	bl	_FIXME
Lloh5:
	adrp	x8, _E_NOTIMPL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _E_NOTIMPL@GOTPAGEOFF]
	b	LBB0_20
LBB0_17:
	ldr	d0, [sp, #8]
	bl	_isnan
	cbnz	x0, LBB0_3
	b	LBB0_4
LBB0_18:
	bl	_jsdisp_release
LBB0_19:
Lloh7:
	adrp	x8, _S_OK@GOTPAGE
Lloh8:
	ldr	x8, [x8, _S_OK@GOTPAGEOFF]
LBB0_20:
	ldr	w23, [x8]
LBB0_21:
	mov	x0, x23
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	d9, d8, [sp, #16]               ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_NAN,8,3                        ; @NAN
	.comm	_S_OK,4,2                       ; @S_OK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"unimplemented flags %x\n"

	.comm	_E_NOTIMPL,4,2                  ; @E_NOTIMPL
	.no_dead_strip	_error_constr
.subsections_via_symbols
