	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecma_create_error_reference    ## -- Begin function ecma_create_error_reference
	.p2align	4, 0x90
_ecma_create_error_reference:           ## @ecma_create_error_reference
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%esi, %ebx
	movl	%edi, %r14d
	movl	$8, %edi
	callq	_jmem_pools_alloc
	movq	_ECMA_ERROR_REF_ONE@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	testl	%ebx, %ebx
	jne	LBB0_2
## %bb.1:
	movq	_ECMA_ERROR_REF_ABORT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
LBB0_2:
	orl	(%rcx), %edx
	movl	%edx, (%rax)
	movl	%r14d, 4(%rax)
	movq	%rax, %rdi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_ecma_make_error_reference_value ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_ECMA_ERROR_REF_ONE,4,2         ## @ECMA_ERROR_REF_ONE
	.comm	_ECMA_ERROR_REF_ABORT,4,2       ## @ECMA_ERROR_REF_ABORT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecma_create_error_reference    ; -- Begin function ecma_create_error_reference
	.p2align	2
_ecma_create_error_reference:           ; @ecma_create_error_reference
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	mov	w0, #8
	bl	_jmem_pools_alloc
Lloh0:
	adrp	x8, _ECMA_ERROR_REF_ONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECMA_ERROR_REF_ONE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
Lloh3:
	adrp	x9, _ECMA_ERROR_REF_ABORT@GOTPAGE
Lloh4:
	ldr	x9, [x9, _ECMA_ERROR_REF_ABORT@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	cmp	w19, #0
	csel	w9, w9, wzr, eq
	orr	w8, w9, w8
	stp	w8, w20, [x0]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_ecma_make_error_reference_value
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ECMA_ERROR_REF_ONE,4,2         ; @ECMA_ERROR_REF_ONE
	.comm	_ECMA_ERROR_REF_ABORT,4,2       ; @ECMA_ERROR_REF_ABORT
.subsections_via_symbols
