	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function name_compare
_name_compare:                          ## @name_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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r12
	movq	%rdi, %rbx
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_xmalloc
	movq	%rax, %r14
	movq	%r12, %rdi
	callq	_strlen
	leaq	1(%rax), %rdi
	callq	_xmalloc
	movq	%rax, %r15
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_stricpy
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_stricpy
	leaq	L_.str(%rip), %r12
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_strcut
	leaq	L_.str.1(%rip), %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_strcut
	movq	%r15, %rdi
	movq	%r12, %rsi
	callq	_strcut
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_strcut
	movb	(%r14), %al
	xorl	%ebx, %ebx
	cmpb	(%r15), %al
	jne	LBB0_5
## %bb.1:
	xorl	%ebx, %ebx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testb	%al, %al
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	leaq	1(%rcx), %rdx
	movzbl	1(%r14,%rcx), %eax
	addl	$10, %ebx
	cmpb	1(%r15,%rcx), %al
	movq	%rdx, %rcx
	je	LBB0_2
## %bb.4:
	movl	%edx, %ebx
LBB0_5:
	movq	%r14, %rdi
	callq	_free
	movq	%r15, %rdi
	callq	_free
	movl	%ebx, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"big"

L_.str.1:                               ## @.str.1
	.asciz	"little"

	.no_dead_strip	_name_compare
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function name_compare
_name_compare:                          ; @name_compare
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x21, x1
	mov	x22, x0
	bl	_strlen
	add	x0, x0, #1
	bl	_xmalloc
	mov	x19, x0
	mov	x0, x21
	bl	_strlen
	add	x0, x0, #1
	bl	_xmalloc
	mov	x20, x0
	mov	x0, x19
	mov	x1, x22
	bl	_stricpy
	mov	x0, x20
	mov	x1, x21
	bl	_stricpy
Lloh0:
	adrp	x21, l_.str@PAGE
Lloh1:
	add	x21, x21, l_.str@PAGEOFF
	mov	x0, x19
	mov	x1, x21
	bl	_strcut
Lloh2:
	adrp	x22, l_.str.1@PAGE
Lloh3:
	add	x22, x22, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	x1, x22
	bl	_strcut
	mov	x0, x20
	mov	x1, x21
	bl	_strcut
	mov	x0, x20
	mov	x1, x22
	bl	_strcut
	ldrb	w8, [x19]
	ldrb	w9, [x20]
	cmp	w8, w9
	b.ne	LBB0_5
; %bb.1:
	mov	w21, #0
	mov	x11, #0
	add	x9, x20, #1
	add	x10, x19, #1
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	cbz	w8, LBB0_6
; %bb.3:                                ;   in Loop: Header=BB0_2 Depth=1
	ldrb	w8, [x10, x11]
	add	x12, x11, #1
	ldrb	w13, [x9, x11]
	add	w21, w21, #10
	mov	x11, x12
	cmp	w8, w13
	b.eq	LBB0_2
; %bb.4:
	mov	x21, x12
	b	LBB0_6
LBB0_5:
	mov	w21, #0
LBB0_6:
	mov	x0, x19
	bl	_free
	mov	x0, x20
	bl	_free
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"big"

l_.str.1:                               ; @.str.1
	.asciz	"little"

	.no_dead_strip	_name_compare
.subsections_via_symbols
