	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fail_requirement
_fail_requirement:                      ## @fail_requirement
	.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
	movq	%rsi, %rcx
	movq	%rdi, %rbx
	movq	(%rdi), %rax
	movq	_EXPECT_FAIL@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	jne	LBB0_1
## %bb.3:
	movq	%rbx, %rdi
	movq	%rcx, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_expected_failure               ## TAILCALL
LBB0_1:
	movq	_EXPECT_PASS@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	je	LBB0_4
## %bb.2:
	movq	%rcx, %rdi
	callq	_atf_dynstr_cstring
	leaq	L_.str.1(%rip), %rsi
	movq	%rbx, %rdi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	jmp	_error_in_expect                ## TAILCALL
LBB0_4:
	movl	8(%rbx), %edi
	leaq	L_.str(%rip), %rsi
	movl	$-1, %edx
	callq	_create_resfile
	movq	_EXIT_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_EXPECT_FAIL,8,3                ## @EXPECT_FAIL
	.comm	_EXPECT_PASS,8,3                ## @EXPECT_PASS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"failed"

	.comm	_EXIT_FAILURE,4,2               ## @EXIT_FAILURE
L_.str.1:                               ## @.str.1
	.asciz	"Test case raised a failure but was not expecting one; reason was %s"

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

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fail_requirement
_fail_requirement:                      ; @fail_requirement
	.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
	mov	x3, x1
	mov	x19, x0
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _EXPECT_FAIL@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EXPECT_FAIL@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
	mov	x0, x19
	mov	x1, x3
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_expected_failure
LBB0_2:
Lloh3:
	adrp	x9, _EXPECT_PASS@GOTPAGE
Lloh4:
	ldr	x9, [x9, _EXPECT_PASS@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_4
; %bb.3:
	mov	x0, x3
	bl	_atf_dynstr_cstring
	mov	x2, x0
Lloh6:
	adrp	x1, l_.str.1@PAGE
Lloh7:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_error_in_expect
LBB0_4:
	ldr	w0, [x19, #8]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #-1
	bl	_create_resfile
Lloh10:
	adrp	x8, _EXIT_FAILURE@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EXIT_FAILURE@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpAdd	Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.comm	_EXPECT_FAIL,8,3                ; @EXPECT_FAIL
	.comm	_EXPECT_PASS,8,3                ; @EXPECT_PASS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"failed"

	.comm	_EXIT_FAILURE,4,2               ; @EXIT_FAILURE
l_.str.1:                               ; @.str.1
	.asciz	"Test case raised a failure but was not expecting one; reason was %s"

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