	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_mock_selftests            ## -- Begin function i915_mock_selftests
	.p2align	4, 0x90
_i915_mock_selftests:                   ## @i915_mock_selftests
	.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
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_i915_selftest@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	je	LBB0_1
## %bb.2:
	movq	_mock@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	callq	_run_selftests
	movl	%eax, %ecx
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movl	%eax, (%r14)
	movl	%ecx, %ebx
	jmp	LBB0_6
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_6
LBB0_3:
	cmpl	$0, (%r14)
	js	LBB0_4
LBB0_6:
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	_ENOTTY@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	movl	$1, %ecx
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_i915_selftest,4,2              ## @i915_selftest
	.comm	_mock,4,2                       ## @mock
	.comm	_ENOTTY,4,2                     ## @ENOTTY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_i915_mock_selftests            ; -- Begin function i915_mock_selftests
	.p2align	2
_i915_mock_selftests:                   ; @i915_mock_selftests
	.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
Lloh0:
	adrp	x19, _i915_selftest@GOTPAGE
Lloh1:
	ldr	x19, [x19, _i915_selftest@GOTPAGEOFF]
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.1:
Lloh2:
	adrp	x8, _mock@GOTPAGE
Lloh3:
	ldr	x8, [x8, _mock@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
	mov	x1, #0
	bl	_run_selftests
	mov	x8, x0
	cbz	w0, LBB0_3
LBB0_2:
	str	w8, [x19]
	b	LBB0_5
LBB0_3:
	ldr	w8, [x19]
	tbnz	w8, #31, LBB0_6
LBB0_4:
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_6:
Lloh5:
	adrp	x8, _ENOTTY@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOTTY@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	neg	w8, w8
	mov	w0, #1
	b	LBB0_2
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_i915_selftest,4,2              ; @i915_selftest
	.comm	_mock,4,2                       ; @mock
	.comm	_ENOTTY,4,2                     ; @ENOTTY
.subsections_via_symbols
