	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sm_test_end                    ## -- Begin function sm_test_end
	.p2align	4, 0x90
_sm_test_end:                           ## @sm_test_end
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_stderr@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	_SmTestIndex@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_SmTestNumErrors@GOTPCREL(%rip), %r14
	movl	%ecx, %edx
	subl	(%r14), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %edx
	testl	%edx, %edx
	je	LBB0_2
## %bb.1:
	movl	(%r15), %edi
	cmpl	$2, %edx
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.3(%rip), %rcx
	cmovgeq	%rax, %rcx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r14), %ebx
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d of %d tests completed successfully\n"

	.comm	_SmTestIndex,4,2                ## @SmTestIndex
	.comm	_SmTestNumErrors,4,2            ## @SmTestNumErrors
L_.str.1:                               ## @.str.1
	.asciz	"*** %d error%s in test! ***\n"

L_.str.2:                               ## @.str.2
	.asciz	"s"

L_.str.3:                               ## @.str.3
	.space	1

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sm_test_end                    ; -- Begin function sm_test_end
	.p2align	2
_sm_test_end:                           ; @sm_test_end
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
Lloh0:
	adrp	x20, _stderr@GOTPAGE
Lloh1:
	ldr	x20, [x20, _stderr@GOTPAGEOFF]
Lloh2:
	adrp	x8, _SmTestIndex@GOTPAGE
Lloh3:
	ldr	x8, [x8, _SmTestIndex@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh4:
	ldr	w8, [x8]
Lloh5:
	adrp	x19, _SmTestNumErrors@GOTPAGE
Lloh6:
	ldr	x19, [x19, _SmTestNumErrors@GOTPAGEOFF]
	ldr	w9, [x19]
	sub	w2, w8, w9
	str	x8, [sp]
Lloh7:
	adrp	x1, l_.str@PAGE
Lloh8:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	ldr	w2, [x19]
	cbz	w2, LBB0_2
; %bb.1:
	ldr	w0, [x20]
Lloh9:
	adrp	x8, l_.str.3@PAGE
Lloh10:
	add	x8, x8, l_.str.3@PAGEOFF
Lloh11:
	adrp	x9, l_.str.2@PAGE
Lloh12:
	add	x9, x9, l_.str.2@PAGEOFF
	cmp	w2, #1
	csel	x8, x9, x8, gt
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.1@PAGE
Lloh14:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	w0, [x19]
	b	LBB0_3
LBB0_2:
	mov	w0, #0
LBB0_3:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d of %d tests completed successfully\n"

	.comm	_SmTestIndex,4,2                ; @SmTestIndex
	.comm	_SmTestNumErrors,4,2            ; @SmTestNumErrors
l_.str.1:                               ; @.str.1
	.asciz	"*** %d error%s in test! ***\n"

l_.str.2:                               ; @.str.2
	.asciz	"s"

l_.str.3:                               ; @.str.3
	.space	1

.subsections_via_symbols
