	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cmp_he
_cmp_he:                                ## @cmp_he
	.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	(%rdi), %rax
	movq	(%rsi), %r14
	movq	(%rax), %rbx
	movq	(%r14), %r12
	cmpq	%r12, %rbx
	je	LBB0_1
## %bb.3:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rdi
	movl	$47, %esi
	callq	_strrchr
	movq	%rax, %r13
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r12, %rdi
	movl	$47, %esi
	callq	_strrchr
	movq	%rax, %r15
	xorl	%edi, %edi
	testq	%rax, %rax
	setne	%dil
	callq	_assert
	movq	%r13, -48(%rbp)                 ## 8-byte Spill
	movl	%r13d, %edx
	subl	%ebx, %edx
	movl	%r15d, %eax
	subl	%r12d, %eax
	movq	%rbx, %rdi
	movq	%r12, %rsi
	cmpl	%eax, %edx
	jne	LBB0_8
## %bb.4:
	callq	_strncmp
	testl	%eax, %eax
	jne	LBB0_2
## %bb.5:
	movq	8(%r14), %rcx
	movl	$-1, %eax
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	cmpq	%rcx, 8(%rdx)
	jl	LBB0_2
## %bb.6:
	movl	$1, %eax
	jg	LBB0_2
## %bb.7:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	incq	%rdi
	incq	%r15
	movq	%r15, %rsi
LBB0_8:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_strcmp                         ## TAILCALL
LBB0_1:
	xorl	%eax, %eax
LBB0_2:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_cmp_he
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cmp_he
_cmp_he:                                ; @cmp_he
	.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
	ldr	x23, [x0]
	ldr	x24, [x1]
	ldr	x21, [x23]
	ldr	x20, [x24]
	cmp	x21, x20
	b.eq	LBB0_5
; %bb.1:
	mov	x0, x21
	mov	w1, #47
	bl	_strrchr
	mov	x19, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	mov	x0, x20
	mov	w1, #47
	bl	_strrchr
	mov	x22, x0
	cmp	x0, #0
	cset	w0, ne
	bl	_assert
	sub	w2, w19, w21
	sub	w8, w22, w20
	mov	x0, x21
	mov	x1, x20
	cmp	w2, w8
	b.ne	LBB0_10
; %bb.2:
	bl	_strncmp
	cbnz	w0, LBB0_6
; %bb.3:
	ldr	x8, [x23, #8]
	ldr	x9, [x24, #8]
	cmp	x8, x9
	b.ge	LBB0_7
; %bb.4:
	mov	w0, #-1
	b	LBB0_6
LBB0_5:
	mov	w0, #0
LBB0_6:
	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_7:
	b.le	LBB0_9
; %bb.8:
	mov	w0, #1
	b	LBB0_6
LBB0_9:
	add	x0, x19, #1
	add	x1, x22, #1
LBB0_10:
	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	_strcmp
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_cmp_he
.subsections_via_symbols
