	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_tc_run                     ## -- Begin function atf_tc_run
	.p2align	4, 0x90
_atf_tc_run:                            ## @atf_tc_run
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rsi, %rdx
	movq	%rdi, %rbx
	movq	_Current@GOTPCREL(%rip), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_context_init
	movq	(%rbx), %rax
	movq	%rbx, %rdi
	callq	*(%rax)
	movq	%r14, %rdi
	callq	_validate_expect
	movq	(%r14), %r8
	testq	%r8, %r8
	jle	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	leaq	-24(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_format_reason_fmt
	movq	_Current@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_fail_requirement
	jmp	LBB0_5
LBB0_2:
	movq	8(%r14), %r8
	testq	%r8, %r8
	jle	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rcx
	leaq	-20(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	callq	_format_reason_fmt
	movq	_Current@GOTPCREL(%rip), %rdi
	movq	%rbx, %rsi
	callq	_expected_failure
	jmp	LBB0_5
LBB0_4:
	movq	_Current@GOTPCREL(%rip), %rdi
	callq	_pass
LBB0_5:
	xorl	%eax, %eax
	callq	_atf_no_error
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_Current,16,3                   ## @Current
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%d checks failed; see output for more details"

L_.str.1:                               ## @.str.1
	.asciz	"%d checks failed as expected; see output for more details"

	.comm	_UNREACHABLE,4,2                ## @UNREACHABLE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_atf_tc_run                     ; -- Begin function atf_tc_run
	.p2align	2
_atf_tc_run:                            ; @atf_tc_run
	.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
	mov	x2, x1
	mov	x20, x0
Lloh0:
	adrp	x19, _Current@GOTPAGE
Lloh1:
	ldr	x19, [x19, _Current@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x20
	bl	_context_init
	ldr	x8, [x20]
	ldr	x8, [x8]
	mov	x0, x20
	blr	x8
	mov	x0, x19
	bl	_validate_expect
	ldr	x4, [x19]
	cmp	x4, #1
	b.lt	LBB0_2
; %bb.1:
Lloh2:
	adrp	x3, l_.str@PAGE
Lloh3:
	add	x3, x3, l_.str@PAGEOFF
	add	x0, sp, #12
	mov	x1, #0
	mov	w2, #0
	bl	_format_reason_fmt
Lloh4:
	adrp	x0, _Current@GOTPAGE
Lloh5:
	ldr	x0, [x0, _Current@GOTPAGEOFF]
	add	x1, sp, #12
	bl	_fail_requirement
	b	LBB0_5
LBB0_2:
	ldr	x4, [x19, #8]
	cmp	x4, #1
	b.lt	LBB0_4
; %bb.3:
Lloh6:
	adrp	x3, l_.str.1@PAGE
Lloh7:
	add	x3, x3, l_.str.1@PAGEOFF
	add	x0, sp, #8
	mov	x1, #0
	mov	w2, #0
	bl	_format_reason_fmt
Lloh8:
	adrp	x0, _Current@GOTPAGE
Lloh9:
	ldr	x0, [x0, _Current@GOTPAGEOFF]
	add	x1, sp, #8
	bl	_expected_failure
	b	LBB0_5
LBB0_4:
Lloh10:
	adrp	x0, _Current@GOTPAGE
Lloh11:
	ldr	x0, [x0, _Current@GOTPAGEOFF]
	bl	_pass
LBB0_5:
	bl	_atf_no_error
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_Current,16,3                   ; @Current
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%d checks failed; see output for more details"

l_.str.1:                               ; @.str.1
	.asciz	"%d checks failed as expected; see output for more details"

	.comm	_UNREACHABLE,4,2                ; @UNREACHABLE
.subsections_via_symbols
