	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecma_op_abstract_relational_compare ## -- Begin function ecma_op_abstract_relational_compare
	.p2align	4, 0x90
_ecma_op_abstract_relational_compare:   ## @ecma_op_abstract_relational_compare
	.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
	movl	%edx, %r15d
	movl	%esi, %ebx
	movq	_ECMA_VALUE_EMPTY@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	movq	_ECMA_PREFERRED_TYPE_NUMBER@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	callq	_ecma_op_to_primitive
	movl	%eax, %r13d
	movl	%eax, %edi
	callq	_ECMA_IS_VALUE_ERROR
	testq	%rax, %rax
	jne	LBB0_33
## %bb.1:
	movl	(%r14), %esi
	movl	%ebx, %edi
	callq	_ecma_op_to_primitive
	movl	%eax, %ebx
	movl	%eax, %edi
	callq	_ECMA_IS_VALUE_ERROR
	testq	%rax, %rax
	jne	LBB0_32
## %bb.2:
	testl	%r15d, %r15d
	movl	%r13d, %eax
	cmovel	%ebx, %r13d
	movl	%ebx, -52(%rbp)                 ## 4-byte Spill
	movl	%ebx, %r15d
	movl	%eax, -44(%rbp)                 ## 4-byte Spill
	cmovel	%eax, %r15d
	movl	%r13d, %edi
	callq	_ecma_is_value_string
	movl	%eax, %r14d
	movl	%r15d, %edi
	callq	_ecma_is_value_string
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.3:
	testl	%eax, %eax
	je	LBB0_4
## %bb.30:
	movl	$1, %edi
	callq	_JERRY_ASSERT
	movl	%r13d, %edi
	callq	_ecma_get_string_from_value
	movq	%rax, %rbx
	movl	%r15d, %edi
	callq	_ecma_get_string_from_value
	movq	%rbx, %rdi
	movq	%rax, %rsi
	callq	_ecma_compare_ecma_strings_relational
	movl	%eax, %edi
	callq	_ecma_make_boolean_value
	movl	%eax, %ebx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_31
LBB0_4:
	movq	_nx@GOTPCREL(%rip), %r14
	movq	(%r14), %rdi
	movl	%r13d, %esi
	movl	%r12d, %edx
	callq	_ECMA_OP_TO_NUMBER_TRY_CATCH
	movq	_ny@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movl	%r15d, %esi
	movl	%r12d, %edx
	callq	_ECMA_OP_TO_NUMBER_TRY_CATCH
	movq	(%r14), %rdi
	callq	_ecma_number_is_nan
	testq	%rax, %rax
	jne	LBB0_6
## %bb.5:
	movq	(%rbx), %rdi
	callq	_ecma_number_is_nan
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movq	%rbx, %r15
	movq	_ECMA_VALUE_UNDEFINED@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movl	-44(%rbp), %r13d                ## 4-byte Reload
LBB0_29:
	movq	(%r15), %rdi
	callq	_ECMA_OP_TO_NUMBER_FINALIZE
	movq	(%r14), %rdi
	callq	_ECMA_OP_TO_NUMBER_FINALIZE
LBB0_31:
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	callq	_ecma_free_value
LBB0_32:
	movl	%r13d, %edi
	callq	_ecma_free_value
	movl	%ebx, %r13d
LBB0_33:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	(%r14), %rdi
	xorl	%r12d, %r12d
	xorl	%r15d, %r15d
	cmpq	(%rbx), %rdi
	setl	%r15b
	movl	%r15d, -48(%rbp)                ## 4-byte Spill
	jne	LBB0_9
## %bb.8:
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	jmp	LBB0_28
LBB0_9:
	callq	_ecma_number_is_zero
	testq	%rax, %rax
	movl	-44(%rbp), %r13d                ## 4-byte Reload
	je	LBB0_11
## %bb.10:
	movq	(%rbx), %rdi
	callq	_ecma_number_is_zero
	testq	%rax, %rax
	jne	LBB0_28
LBB0_11:
	movq	(%r14), %rdi
	callq	_ecma_number_is_infinity
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	movq	(%r14), %rdi
	callq	_ecma_number_is_negative
	testq	%rax, %rax
	je	LBB0_28
LBB0_13:
	movq	(%rbx), %rdi
	callq	_ecma_number_is_infinity
	testq	%rax, %rax
	je	LBB0_16
## %bb.14:
	movq	(%rbx), %rdi
	callq	_ecma_number_is_negative
	testq	%rax, %rax
	je	LBB0_15
LBB0_16:
	movq	(%rbx), %rdi
	callq	_ecma_number_is_infinity
	testq	%rax, %rax
	je	LBB0_18
## %bb.17:
	movq	(%rbx), %rdi
	callq	_ecma_number_is_negative
	testq	%rax, %rax
	jne	LBB0_28
LBB0_18:
	movq	(%r14), %rdi
	callq	_ecma_number_is_infinity
	testq	%rax, %rax
	je	LBB0_20
## %bb.19:
	movq	(%r14), %rdi
	callq	_ecma_number_is_negative
	movl	$1, %r12d
	testq	%rax, %rax
	jne	LBB0_28
LBB0_20:
	movq	%rbx, %r12
	movq	(%r14), %rdi
	callq	_ecma_number_is_nan
	xorl	%ebx, %ebx
	movl	$0, %edi
	testq	%rax, %rax
	jne	LBB0_22
## %bb.21:
	movq	(%r14), %rdi
	callq	_ecma_number_is_infinity
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
LBB0_22:
	callq	_JERRY_ASSERT
	movq	(%r12), %rdi
	callq	_ecma_number_is_nan
	testq	%rax, %rax
	jne	LBB0_24
## %bb.23:
	movq	(%r12), %rdi
	callq	_ecma_number_is_infinity
	xorl	%ebx, %ebx
	testq	%rax, %rax
	sete	%bl
LBB0_24:
	movl	%ebx, %edi
	callq	_JERRY_ASSERT
	movq	(%r14), %rdi
	callq	_ecma_number_is_zero
	testq	%rax, %rax
	je	LBB0_25
## %bb.26:
	movq	%r12, %rbx
	movq	(%r12), %rdi
	callq	_ecma_number_is_zero
	xorl	%edi, %edi
	testq	%rax, %rax
	sete	%dil
	jmp	LBB0_27
LBB0_15:
	movl	$1, %r12d
	jmp	LBB0_28
LBB0_25:
	movl	$1, %edi
	movq	%r12, %rbx
LBB0_27:
	callq	_JERRY_ASSERT
	movq	(%r14), %rax
	xorl	%r12d, %r12d
	cmpq	(%rbx), %rax
	setl	%r12b
LBB0_28:
	movq	%rbx, %r15
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	xorl	%ebx, %r12d
	xorl	$1, %r12d
	movl	%r12d, %edi
	callq	_JERRY_ASSERT
	movl	%ebx, %edi
	callq	_ecma_make_boolean_value
	movl	%eax, %ebx
	jmp	LBB0_29
	.cfi_endproc
                                        ## -- End function
	.comm	_ECMA_VALUE_EMPTY,4,2           ## @ECMA_VALUE_EMPTY
	.comm	_ECMA_PREFERRED_TYPE_NUMBER,4,2 ## @ECMA_PREFERRED_TYPE_NUMBER
	.comm	_nx,8,3                         ## @nx
	.comm	_ny,8,3                         ## @ny
	.comm	_ECMA_VALUE_UNDEFINED,4,2       ## @ECMA_VALUE_UNDEFINED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ecma_op_abstract_relational_compare ; -- Begin function ecma_op_abstract_relational_compare
	.p2align	2
_ecma_op_abstract_relational_compare:   ; @ecma_op_abstract_relational_compare
	.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	x22, x2
	mov	x20, x1
Lloh0:
	adrp	x8, _ECMA_VALUE_EMPTY@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ECMA_VALUE_EMPTY@GOTPAGEOFF]
Lloh2:
	ldr	w21, [x8]
Lloh3:
	adrp	x23, _ECMA_PREFERRED_TYPE_NUMBER@GOTPAGE
Lloh4:
	ldr	x23, [x23, _ECMA_PREFERRED_TYPE_NUMBER@GOTPAGEOFF]
	ldr	w1, [x23]
	bl	_ecma_op_to_primitive
	mov	x19, x0
	bl	_ECMA_IS_VALUE_ERROR
	cbnz	x0, LBB0_10
; %bb.1:
	ldr	w1, [x23]
	mov	x0, x20
	bl	_ecma_op_to_primitive
	mov	x20, x0
	bl	_ECMA_IS_VALUE_ERROR
	cbnz	x0, LBB0_9
; %bb.2:
	cmp	w22, #0
	csel	w23, w20, w19, eq
	csel	w22, w19, w20, eq
	mov	x0, x23
	bl	_ecma_is_value_string
	mov	x24, x0
	mov	x0, x22
	bl	_ecma_is_value_string
	cmp	w24, #0
	ccmp	w0, #0, #4, ne
	b.ne	LBB0_7
; %bb.3:
Lloh5:
	adrp	x24, _nx@GOTPAGE
Lloh6:
	ldr	x24, [x24, _nx@GOTPAGEOFF]
	ldr	x0, [x24]
	mov	x1, x23
	mov	x2, x21
	bl	_ECMA_OP_TO_NUMBER_TRY_CATCH
Lloh7:
	adrp	x23, _ny@GOTPAGE
Lloh8:
	ldr	x23, [x23, _ny@GOTPAGEOFF]
	ldr	x0, [x23]
	mov	x1, x22
	mov	x2, x21
	bl	_ECMA_OP_TO_NUMBER_TRY_CATCH
	ldr	x0, [x24]
	bl	_ecma_number_is_nan
	cbnz	x0, LBB0_5
; %bb.4:
	ldr	x0, [x23]
	bl	_ecma_number_is_nan
	cbz	x0, LBB0_11
LBB0_5:
Lloh9:
	adrp	x8, _ECMA_VALUE_UNDEFINED@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ECMA_VALUE_UNDEFINED@GOTPAGEOFF]
Lloh11:
	ldr	w21, [x8]
LBB0_6:
	ldr	x0, [x23]
	bl	_ECMA_OP_TO_NUMBER_FINALIZE
	ldr	x0, [x24]
	bl	_ECMA_OP_TO_NUMBER_FINALIZE
	b	LBB0_8
LBB0_7:
	mov	w0, #1
	bl	_JERRY_ASSERT
	mov	x0, x23
	bl	_ecma_get_string_from_value
	mov	x21, x0
	mov	x0, x22
	bl	_ecma_get_string_from_value
	mov	x1, x0
	mov	x0, x21
	bl	_ecma_compare_ecma_strings_relational
	bl	_ecma_make_boolean_value
	mov	x21, x0
LBB0_8:
	mov	x0, x20
	bl	_ecma_free_value
	mov	x20, x21
LBB0_9:
	mov	x0, x19
	bl	_ecma_free_value
	mov	x19, x20
LBB0_10:
	mov	x0, x19
	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
LBB0_11:
	ldr	x0, [x24]
	ldr	x8, [x23]
	cmp	x0, x8
	cset	w21, lt
	b.eq	LBB0_20
; %bb.12:
	bl	_ecma_number_is_zero
	cbz	x0, LBB0_14
; %bb.13:
	ldr	x0, [x23]
	bl	_ecma_number_is_zero
	cbnz	x0, LBB0_20
LBB0_14:
	ldr	x0, [x24]
	bl	_ecma_number_is_infinity
	cbz	x0, LBB0_16
; %bb.15:
	ldr	x0, [x24]
	bl	_ecma_number_is_negative
	cbz	x0, LBB0_20
LBB0_16:
	ldr	x0, [x23]
	bl	_ecma_number_is_infinity
	cbz	x0, LBB0_18
; %bb.17:
	ldr	x0, [x23]
	bl	_ecma_number_is_negative
	cbz	x0, LBB0_24
LBB0_18:
	ldr	x0, [x23]
	bl	_ecma_number_is_infinity
	cbz	x0, LBB0_22
; %bb.19:
	ldr	x0, [x23]
	bl	_ecma_number_is_negative
	cbz	x0, LBB0_22
LBB0_20:
	mov	w8, #0
LBB0_21:
	eor	w8, w8, w21
	eor	w0, w8, #0x1
	bl	_JERRY_ASSERT
	mov	x0, x21
	bl	_ecma_make_boolean_value
	mov	x21, x0
	b	LBB0_6
LBB0_22:
	ldr	x0, [x24]
	bl	_ecma_number_is_infinity
	cbz	x0, LBB0_25
; %bb.23:
	ldr	x0, [x24]
	bl	_ecma_number_is_negative
	cbz	x0, LBB0_25
LBB0_24:
	mov	w8, #1
	b	LBB0_21
LBB0_25:
	ldr	x0, [x24]
	bl	_ecma_number_is_nan
	cbz	x0, LBB0_27
; %bb.26:
	mov	w0, #0
	b	LBB0_28
LBB0_27:
	ldr	x0, [x24]
	bl	_ecma_number_is_infinity
	cmp	x0, #0
	cset	w0, eq
LBB0_28:
	bl	_JERRY_ASSERT
	ldr	x0, [x23]
	bl	_ecma_number_is_nan
	cbz	x0, LBB0_30
; %bb.29:
	mov	w0, #0
	b	LBB0_31
LBB0_30:
	ldr	x0, [x23]
	bl	_ecma_number_is_infinity
	cmp	x0, #0
	cset	w0, eq
LBB0_31:
	bl	_JERRY_ASSERT
	ldr	x0, [x24]
	bl	_ecma_number_is_zero
	cbz	x0, LBB0_33
; %bb.32:
	ldr	x0, [x23]
	bl	_ecma_number_is_zero
	cmp	x0, #0
	cset	w0, eq
	b	LBB0_34
LBB0_33:
	mov	w0, #1
LBB0_34:
	bl	_JERRY_ASSERT
	ldr	x8, [x24]
	ldr	x9, [x23]
	cmp	x8, x9
	cset	w8, lt
	b	LBB0_21
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ECMA_VALUE_EMPTY,4,2           ; @ECMA_VALUE_EMPTY
	.comm	_ECMA_PREFERRED_TYPE_NUMBER,4,2 ; @ECMA_PREFERRED_TYPE_NUMBER
	.comm	_nx,8,3                         ; @nx
	.comm	_ny,8,3                         ; @ny
	.comm	_ECMA_VALUE_UNDEFINED,4,2       ; @ECMA_VALUE_UNDEFINED
.subsections_via_symbols
