	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function compare2pow63
_compare2pow63:                         ## @compare2pow63
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	movslq	%esi, %r9
	xorl	%esi, %esi
	leaq	L_.str(%rip), %r8
	movq	%rdi, %rdx
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movsbl	(%rdx), %ecx
	movsbl	(%rsi,%r8), %ebx
	cmpb	%bl, %cl
	jne	LBB0_3
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	leaq	1(%rsi), %rax
	addq	%r9, %rdx
	cmpq	$17, %rsi
	movq	%rax, %rsi
	jb	LBB0_1
LBB0_3:
	cmpb	%bl, %cl
	jne	LBB0_4
## %bb.5:
	leaq	(%r9,%r9,8), %rax
	movsbl	(%rdi,%rax,2), %ebx
	addl	$-56, %ebx
	xorl	%edi, %edi
	cmpl	$-1, %ebx
	sete	%dil
	callq	_testcase
	xorl	%edi, %edi
	testl	%ebx, %ebx
	sete	%dil
	callq	_testcase
	xorl	%edi, %edi
	cmpl	$1, %ebx
	sete	%dil
	callq	_testcase
	jmp	LBB0_6
LBB0_4:
	subl	%ebx, %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ebx
LBB0_6:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"922337203685477580"

	.no_dead_strip	_compare2pow63
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function compare2pow63
_compare2pow63:                         ; @compare2pow63
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
                                        ; kill: def $w1 killed $w1 def $x1
	mov	x9, #0
	sxtw	x8, w1
Lloh0:
	adrp	x10, l_.str@PAGE
Lloh1:
	add	x10, x10, l_.str@PAGEOFF
	mov	x11, x0
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w12, [x10, x9]
	ldrb	w13, [x11]
	cmp	w13, w12
	ccmp	x9, #17, #2, eq
	add	x9, x9, #1
	add	x11, x11, x8
	b.lo	LBB0_1
; %bb.2:
	sxtb	w9, w13
	sxtb	w10, w12
	subs	w9, w9, w10
	b.ne	LBB0_4
; %bb.3:
	mov	w9, #18
	mul	x8, x8, x9
	ldrsb	w8, [x0, x8]
	sub	w19, w8, #56
	cmn	w19, #1
	cset	w0, eq
	bl	_testcase
	cmp	w19, #0
	cset	w0, eq
	bl	_testcase
	cmp	w19, #1
	cset	w0, eq
	bl	_testcase
	b	LBB0_5
LBB0_4:
	add	w8, w9, w9, lsl #2
	lsl	w19, w8, #1
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"922337203685477580"

	.no_dead_strip	_compare2pow63
.subsections_via_symbols
