	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_value_equal                    ## -- Begin function value_equal
	.p2align	4, 0x90
_value_equal:                           ## @value_equal
	.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
	movq	%rsi, %rbx
	movq	%rdi, %r15
	callq	_COERCE_NUMBER
	movq	%rbx, %rdi
	callq	_COERCE_NUMBER
	movq	%r15, %rdi
	callq	_VALUE_TYPE
	movl	%eax, %edi
	callq	_check_typedef
	movq	%rax, %r13
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_VALUE_TYPE
	movl	%eax, %edi
	callq	_check_typedef
	movq	%rax, %rbx
	movq	%r13, %rdi
	callq	_TYPE_CODE
	movl	%eax, %r14d
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	callq	_TYPE_CODE
	movl	%eax, %r12d
	movq	_TYPE_CODE_INT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	cmpl	%ecx, %r14d
	sete	%dl
	movq	_TYPE_CODE_BOOL@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	cmpl	%edi, %r14d
	sete	%al
	orb	%dl, %al
	cmpb	$1, %al
	jne	LBB0_3
## %bb.1:
	cmpl	%ecx, %r12d
	je	LBB0_15
## %bb.2:
	cmpl	%edi, %r12d
	je	LBB0_15
LBB0_3:
	movq	_TYPE_CODE_FLT@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpl	%esi, %r14d
	je	LBB0_6
## %bb.4:
	cmpl	%ecx, %r14d
	je	LBB0_6
## %bb.5:
	cmpl	%edi, %r14d
	jne	LBB0_9
LBB0_6:
	cmpl	%esi, %r12d
	je	LBB0_23
## %bb.7:
	cmpl	%ecx, %r12d
	je	LBB0_23
## %bb.8:
	cmpl	%edi, %r12d
	je	LBB0_23
LBB0_9:
	movq	_TYPE_CODE_PTR@GOTPCREL(%rip), %rdx
	movl	(%rdx), %esi
	cmpl	%esi, %r14d
	jne	LBB0_12
## %bb.10:
	cmpl	%ecx, %r12d
	je	LBB0_27
## %bb.11:
	cmpl	%edi, %r12d
	je	LBB0_27
LBB0_12:
	cmpl	%esi, %r12d
	jne	LBB0_16
## %bb.13:
	xorb	$1, %al
	jne	LBB0_16
## %bb.14:
	movq	%r15, %rdi
	callq	_value_as_long
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_value_as_address
	jmp	LBB0_28
LBB0_15:
	movq	_BINOP_EQUAL@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_value_binop
	movq	%rax, %rdi
	callq	_value_as_long
	movq	%rax, %rdi
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_longest_to_int                 ## TAILCALL
LBB0_16:
	cmpl	%r12d, %r14d
	jne	LBB0_24
## %bb.17:
	movq	%r13, %rdi
	callq	_TYPE_LENGTH
	movq	%rax, %r13
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_TYPE_LENGTH
	cmpl	%eax, %r13d
	jne	LBB0_24
## %bb.18:
	movq	%r15, %rdi
	callq	_VALUE_CONTENTS
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_VALUE_CONTENTS
	movl	%r13d, %esi
	sarl	$31, %esi
	andl	%r13d, %esi
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	testl	%r13d, %r13d
	jle	LBB0_22
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	decl	%r13d
	movzbl	(%rbx,%rdx), %ecx
	leaq	1(%rdx), %rdi
	cmpb	(%rax,%rdx), %cl
	movq	%rdi, %rdx
	je	LBB0_19
## %bb.21:
	incl	%r13d
	movl	%r13d, %esi
LBB0_22:
	xorl	%eax, %eax
	testl	%esi, %esi
	setle	%al
	jmp	LBB0_30
LBB0_23:
	movq	%r15, %rdi
	callq	_value_as_double
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_value_as_double
	jmp	LBB0_28
LBB0_24:
	movq	_TYPE_CODE_STRING@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	cmpl	%eax, %r14d
	jne	LBB0_31
## %bb.25:
	cmpl	%eax, %r12d
	jne	LBB0_31
## %bb.26:
	movq	%r15, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_value_strcmp
	movq	%rax, %rcx
	xorl	%eax, %eax
	testq	%rcx, %rcx
	jmp	LBB0_29
LBB0_27:
	movq	%r15, %rdi
	callq	_value_as_address
	movq	%rax, %rbx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_value_as_long
LBB0_28:
	movq	%rax, %rcx
	xorl	%eax, %eax
	cmpq	%rcx, %rbx
LBB0_29:
	sete	%al
LBB0_30:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_31:
	leaq	L_.str(%rip), %rdi
	callq	_error
	xorl	%eax, %eax
	jmp	LBB0_30
	.cfi_endproc
                                        ## -- End function
	.comm	_TYPE_CODE_INT,4,2              ## @TYPE_CODE_INT
	.comm	_TYPE_CODE_BOOL,4,2             ## @TYPE_CODE_BOOL
	.comm	_BINOP_EQUAL,4,2                ## @BINOP_EQUAL
	.comm	_TYPE_CODE_FLT,4,2              ## @TYPE_CODE_FLT
	.comm	_TYPE_CODE_PTR,4,2              ## @TYPE_CODE_PTR
	.comm	_TYPE_CODE_STRING,4,2           ## @TYPE_CODE_STRING
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Invalid type combination in equality test."

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_value_equal                    ; -- Begin function value_equal
	.p2align	2
_value_equal:                           ; @value_equal
	.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, x1
	mov	x20, x0
	bl	_COERCE_NUMBER
	mov	x0, x19
	bl	_COERCE_NUMBER
	mov	x0, x20
	bl	_VALUE_TYPE
	bl	_check_typedef
	mov	x23, x0
	mov	x0, x19
	bl	_VALUE_TYPE
	bl	_check_typedef
	mov	x24, x0
	mov	x0, x23
	bl	_TYPE_CODE
	mov	x21, x0
	mov	x0, x24
	bl	_TYPE_CODE
	mov	x22, x0
Lloh0:
	adrp	x8, _TYPE_CODE_INT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _TYPE_CODE_INT@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x8]
	cmp	w21, w9
Lloh3:
	adrp	x8, _TYPE_CODE_BOOL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _TYPE_CODE_BOOL@GOTPAGEOFF]
Lloh5:
	ldr	w10, [x8]
	ccmp	w21, w10, #4, ne
	cset	w8, eq
	b.ne	LBB0_3
; %bb.1:
	cmp	w22, w9
	ccmp	w22, w10, #4, ne
	b.ne	LBB0_3
; %bb.2:
Lloh6:
	adrp	x8, _BINOP_EQUAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _BINOP_EQUAL@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x20
	mov	x1, x19
	bl	_value_binop
	bl	_value_as_long
	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
	b	_longest_to_int
LBB0_3:
Lloh9:
	adrp	x11, _TYPE_CODE_FLT@GOTPAGE
Lloh10:
	ldr	x11, [x11, _TYPE_CODE_FLT@GOTPAGEOFF]
Lloh11:
	ldr	w11, [x11]
	cmp	w21, w11
	ccmp	w21, w9, #4, ne
	ccmp	w21, w10, #4, ne
	b.ne	LBB0_6
; %bb.4:
	cmp	w22, w11
	ccmp	w22, w9, #4, ne
	ccmp	w22, w10, #4, ne
	b.ne	LBB0_6
; %bb.5:
	mov	x0, x20
	bl	_value_as_double
	mov	x20, x0
	mov	x0, x19
	bl	_value_as_double
	b	LBB0_12
LBB0_6:
Lloh12:
	adrp	x11, _TYPE_CODE_PTR@GOTPAGE
Lloh13:
	ldr	x11, [x11, _TYPE_CODE_PTR@GOTPAGEOFF]
Lloh14:
	ldr	w11, [x11]
	cmp	w21, w11
	b.ne	LBB0_9
; %bb.7:
	cmp	w22, w9
	ccmp	w22, w10, #4, ne
	b.ne	LBB0_9
; %bb.8:
	mov	x0, x20
	bl	_value_as_address
	mov	x20, x0
	mov	x0, x19
	bl	_value_as_long
	b	LBB0_12
LBB0_9:
	cmp	w22, w11
	b.ne	LBB0_15
; %bb.10:
	eor	w8, w8, #0x1
	tbnz	w8, #0, LBB0_15
; %bb.11:
	mov	x0, x20
	bl	_value_as_long
	mov	x20, x0
	mov	x0, x19
	bl	_value_as_address
LBB0_12:
	cmp	x20, x0
LBB0_13:
	cset	w0, eq
LBB0_14:
	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_15:
	cmp	w21, w22
	b.ne	LBB0_22
; %bb.16:
	mov	x0, x23
	bl	_TYPE_LENGTH
	mov	x23, x0
	mov	x0, x24
	bl	_TYPE_LENGTH
	cmp	w23, w0
	b.ne	LBB0_22
; %bb.17:
	mov	x0, x20
	bl	_VALUE_CONTENTS
	mov	x20, x0
	mov	x0, x19
	bl	_VALUE_CONTENTS
	cmp	w23, #0
	csel	w8, w23, wzr, lt
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	subs	w23, w23, #1
	b.lt	LBB0_21
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldrb	w9, [x20], #1
	ldrb	w10, [x0], #1
	cmp	w9, w10
	b.eq	LBB0_18
; %bb.20:
	add	w8, w23, #1
LBB0_21:
	cmp	w8, #1
	cset	w0, lt
	b	LBB0_14
LBB0_22:
Lloh15:
	adrp	x8, _TYPE_CODE_STRING@GOTPAGE
Lloh16:
	ldr	x8, [x8, _TYPE_CODE_STRING@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	cmp	w21, w8
	b.ne	LBB0_25
; %bb.23:
	cmp	w22, w8
	b.ne	LBB0_25
; %bb.24:
	mov	x0, x20
	mov	x1, x19
	bl	_value_strcmp
	cmp	x0, #0
	b	LBB0_13
LBB0_25:
Lloh18:
	adrp	x0, l_.str@PAGE
Lloh19:
	add	x0, x0, l_.str@PAGEOFF
	bl	_error
	mov	w0, #0
	b	LBB0_14
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_TYPE_CODE_INT,4,2              ; @TYPE_CODE_INT
	.comm	_TYPE_CODE_BOOL,4,2             ; @TYPE_CODE_BOOL
	.comm	_BINOP_EQUAL,4,2                ; @BINOP_EQUAL
	.comm	_TYPE_CODE_FLT,4,2              ; @TYPE_CODE_FLT
	.comm	_TYPE_CODE_PTR,4,2              ; @TYPE_CODE_PTR
	.comm	_TYPE_CODE_STRING,4,2           ; @TYPE_CODE_STRING
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Invalid type combination in equality test."

.subsections_via_symbols
