	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dname_canon_lab_cmp            ## -- Begin function dname_canon_lab_cmp
	.p2align	4, 0x90
_dname_canon_lab_cmp:                   ## @dname_canon_lab_cmp
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %ebx
	movq	%rdx, %r13
	movl	%esi, %r14d
	movq	%rdi, %r12
	movl	%esi, %eax
	subl	%ecx, %eax
	movq	%r8, -56(%rbp)                  ## 8-byte Spill
	jle	LBB0_5
## %bb.1:
	movl	%ebx, %ecx
	notl	%ecx
	addl	%r14d, %ecx
	andl	$7, %eax
	je	LBB0_14
## %bb.2:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rsi
	leaq	(%r12,%rsi,8), %r12
	addq	$8, %r12
	incl	%edx
	cmpl	%edx, %eax
	jne	LBB0_3
## %bb.4:
	movl	%r14d, %eax
	subl	%edx, %eax
	cmpl	$7, %ecx
	jb	LBB0_17
	.p2align	4, 0x90
LBB0_16:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rcx
	leaq	(%r12,%rcx,8), %rdx
	movq	8(%r12,%rcx,8), %rcx
	leaq	(%rdx,%rcx,8), %rsi
	addq	$8, %rsi
	movq	16(%rdx,%rcx,8), %rcx
	leaq	8(%rsi,%rcx,8), %rdx
	movq	16(%rsi,%rcx,8), %rcx
	leaq	8(%rdx,%rcx,8), %rsi
	movq	16(%rdx,%rcx,8), %rcx
	leaq	8(%rsi,%rcx,8), %rdx
	movq	16(%rsi,%rcx,8), %rcx
	leaq	8(%rdx,%rcx,8), %rsi
	movq	16(%rdx,%rcx,8), %rcx
	leaq	(%rsi,%rcx,8), %rdx
	addq	$8, %rdx
	movq	16(%rsi,%rcx,8), %rcx
	leaq	(%rdx,%rcx,8), %r12
	addq	$16, %r12
	addl	$-8, %eax
	cmpl	%ebx, %eax
	jg	LBB0_16
LBB0_17:
	movl	%ebx, %r15d
	jmp	LBB0_18
LBB0_5:
	jge	LBB0_12
## %bb.6:
	movl	%ebx, %eax
	subl	%r14d, %eax
	movl	%r14d, %ecx
	notl	%ecx
	addl	%ebx, %ecx
	andl	$7, %eax
	je	LBB0_26
## %bb.7:
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rsi
	leaq	8(%r13,%rsi,8), %r13
	incl	%edx
	cmpl	%edx, %eax
	jne	LBB0_8
## %bb.9:
	movl	%ebx, %eax
	subl	%edx, %eax
	cmpl	$7, %ecx
	jb	LBB0_11
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rcx
	leaq	(,%rcx,8), %rdx
	addq	%r13, %rdx
	movq	8(%r13,%rcx,8), %rcx
	leaq	8(%rdx,%rcx,8), %rsi
	movq	16(%rdx,%rcx,8), %rcx
	leaq	8(%rsi,%rcx,8), %rdx
	movq	16(%rsi,%rcx,8), %rcx
	leaq	8(%rdx,%rcx,8), %rsi
	movq	16(%rdx,%rcx,8), %rcx
	leaq	8(%rsi,%rcx,8), %rdx
	movq	16(%rsi,%rcx,8), %rcx
	leaq	8(%rdx,%rcx,8), %rsi
	movq	16(%rdx,%rcx,8), %rcx
	leaq	(%rsi,%rcx,8), %rdx
	addq	$8, %rdx
	movq	16(%rsi,%rcx,8), %rcx
	leaq	(%rdx,%rcx,8), %r13
	addq	$16, %r13
	addl	$-8, %eax
	cmpl	%r14d, %eax
	jg	LBB0_10
LBB0_11:
	movl	%r14d, %r15d
LBB0_18:
	movl	$1, %edi
	callq	_log_assert
	movq	%r15, %rax
	movq	-56(%rbp), %r8                  ## 8-byte Reload
	cmpl	$2, %eax
	jl	LBB0_13
LBB0_19:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%ebx, -48(%rbp)                 ## 4-byte Spill
	leal	1(%rax), %ebx
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_20:                                ## =>This Inner Loop Header: Depth=1
	leaq	8(%r12), %rdi
	movq	(%r12), %rsi
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	leaq	8(%r13), %rdx
	movq	(%r13), %rcx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %r14
	callq	_memcanoncmp
	movl	%eax, %ecx
	sarl	$31, %ecx
	orl	$1, %ecx
	testl	%eax, %eax
	cmovnel	%r14d, %ebx
	cmovnel	%ecx, %r15d
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	leaq	(%r12,%rax,8), %r12
	addq	$8, %r12
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	leaq	8(%r13,%rax,8), %r13
	leal	-1(%r14), %eax
	cmpl	$2, %r14d
                                        ## kill: def $eax killed $eax def $rax
	ja	LBB0_20
## %bb.21:
	decl	%ebx
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movl	%ebx, (%rax)
	testl	%r15d, %r15d
	movl	-48(%rbp), %ebx                 ## 4-byte Reload
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	jne	LBB0_24
	jmp	LBB0_22
LBB0_12:
	movl	%r14d, %eax
	cmpl	$2, %eax
	jge	LBB0_19
LBB0_13:
	movl	%eax, (%r8)
LBB0_22:
	movl	$1, %eax
	cmpl	%ebx, %r14d
	jg	LBB0_25
## %bb.23:
	xorl	%r15d, %r15d
	movl	$-1, %eax
	cmpl	%ebx, %r14d
	jl	LBB0_25
LBB0_24:
	movl	%r15d, %eax
LBB0_25:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	movl	%r14d, %eax
	cmpl	$7, %ecx
	jb	LBB0_17
	jmp	LBB0_16
LBB0_26:
	movl	%ebx, %eax
	cmpl	$7, %ecx
	jae	LBB0_10
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_dname_canon_lab_cmp            ; -- Begin function dname_canon_lab_cmp
	.p2align	2
_dname_canon_lab_cmp:                   ; @dname_canon_lab_cmp
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x4
	mov	x19, x3
	mov	x22, x2
	mov	x20, x1
	mov	x23, x0
	cmp	w1, w3
	b.le	LBB0_4
; %bb.1:
	mov	x8, x20
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x23]
	add	x9, x23, x9, lsl #3
	add	x23, x9, #8
	sub	w8, w8, #1
	cmp	w8, w19
	b.gt	LBB0_2
; %bb.3:
	mov	x27, x19
	b	LBB0_8
LBB0_4:
	b.ge	LBB0_14
; %bb.5:
	mov	x8, x19
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x22]
	add	x9, x22, x9, lsl #3
	add	x22, x9, #8
	sub	w8, w8, #1
	cmp	w8, w20
	b.gt	LBB0_6
; %bb.7:
	mov	x27, x20
LBB0_8:
	mov	w0, #1
	bl	_log_assert
	cmp	w27, #2
	b.lt	LBB0_15
LBB0_9:
	mov	w24, #0
	add	w28, w27, #1
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x25, [x23], #8
	ldr	x26, [x22], #8
	mov	x0, x23
	mov	x1, x25
	mov	x2, x22
	mov	x3, x26
	bl	_memcanoncmp
	asr	w8, w0, #31
	orr	w8, w8, #0x1
	cmp	w0, #0
	csel	w28, w28, w27, eq
	csel	w24, w24, w8, eq
	add	x23, x23, x25, lsl #3
	add	x22, x22, x26, lsl #3
	sub	w8, w27, #1
	cmp	w27, #2
	mov	x27, x8
	b.hi	LBB0_10
; %bb.11:
	sub	w8, w28, #1
	str	w8, [x21]
	cbnz	w24, LBB0_19
; %bb.12:
	cmp	w20, w19
	b.le	LBB0_16
LBB0_13:
	mov	w24, #1
	b	LBB0_19
LBB0_14:
	mov	x27, x20
	cmp	w27, #2
	b.ge	LBB0_9
LBB0_15:
	str	w27, [x21]
	cmp	w20, w19
	b.gt	LBB0_13
LBB0_16:
	cmp	w20, w19
	b.ge	LBB0_18
; %bb.17:
	mov	w24, #-1
	b	LBB0_19
LBB0_18:
	mov	w24, #0
LBB0_19:
	mov	x0, x24
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
