	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function jsstr_cmp_str
_jsstr_cmp_str:                         ## @jsstr_cmp_str
	.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
	movl	%edx, %r12d
	movq	%rsi, %r14
	movq	%rdi, %r15
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r15, %rdi
	callq	_jsstr_tag
	cmpl	$128, %eax
	jne	LBB0_5
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	%r15, %rdi
	callq	_jsstr_as_rope
	movq	%rax, %r13
	movq	8(%rax), %rdi
	callq	_jsstr_length
	movl	%eax, %ebx
	movq	8(%r13), %r15
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_min
	movq	%r15, %rdi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_jsstr_cmp_str
	movl	%eax, %r15d
	subl	%ebx, %r12d
	jbe	LBB0_13
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	testl	%r15d, %r15d
	jne	LBB0_13
## %bb.4:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r13), %r15
	movl	%ebx, %eax
	leaq	(%r14,%rax,4), %r14
	jmp	LBB0_1
LBB0_5:
	cmpl	$130, %eax
	je	LBB0_10
## %bb.6:
	cmpl	$129, %eax
	jne	LBB0_12
## %bb.7:
	movq	%r15, %rdi
	callq	_jsstr_as_inline
	jmp	LBB0_8
LBB0_10:
	movq	%r15, %rdi
	callq	_jsstr_as_heap
LBB0_8:
	movl	(%rax), %edi
	leal	(,%r12,4), %edx
	movq	%r14, %rsi
	callq	_memcmp
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_9
## %bb.11:
	movq	%r15, %rdi
	callq	_jsstr_length
	movl	$1, %r15d
	cmpl	%r12d, %eax
	jne	LBB0_13
LBB0_9:
	movl	%ebx, %r15d
	jmp	LBB0_13
LBB0_12:
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_assert
LBB0_13:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_jsstr_cmp_str
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function jsstr_cmp_str
_jsstr_cmp_str:                         ; @jsstr_cmp_str
	.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, x2
	mov	x20, x1
	mov	x21, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	mov	x0, x21
	bl	_jsstr_tag
	cmp	w0, #128
	b.ne	LBB0_4
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	mov	x0, x21
	bl	_jsstr_as_rope
	mov	x21, x0
	ldr	x0, [x0, #8]
	bl	_jsstr_length
	mov	x23, x0
	ldr	x22, [x21, #8]
	mov	x0, x19
	mov	x1, x23
	bl	_min
	mov	x2, x0
	mov	x0, x22
	mov	x1, x20
	bl	_jsstr_cmp_str
	subs	w19, w19, w23
	ccmp	w0, #0, #0, hi
	b.ne	LBB0_7
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x21, [x21]
	add	x20, x20, w23, uxtw #2
	b	LBB0_1
LBB0_4:
	cmp	w0, #130
	b.eq	LBB0_8
; %bb.5:
	cmp	w0, #129
	b.ne	LBB0_11
; %bb.6:
	mov	x0, x21
	bl	_jsstr_as_inline
	b	LBB0_9
LBB0_7:
	mov	x22, x0
	b	LBB0_12
LBB0_8:
	mov	x0, x21
	bl	_jsstr_as_heap
LBB0_9:
	ldr	w0, [x0]
	lsl	w2, w19, #2
	mov	x1, x20
	bl	_memcmp
	mov	x22, x0
	cbnz	w0, LBB0_12
; %bb.10:
	mov	x0, x21
	bl	_jsstr_length
	mov	w8, #1
	cmp	w0, w19
	csel	w22, w8, w22, ne
	b	LBB0_12
LBB0_11:
	mov	w0, #0
	bl	_assert
	mov	w22, #0
LBB0_12:
	mov	x0, x22
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_jsstr_cmp_str
.subsections_via_symbols
