	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function dmatest_run_set
_dmatest_run_set:                       ## @dmatest_run_set
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	_test_info@GOTPCREL(%rip), %rdi
	callq	_mutex_lock
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_param_set_bool
	movl	%eax, %ebx
	testl	%eax, %eax
	je	LBB0_1
LBB0_6:
	movq	_test_info@GOTPCREL(%rip), %rdi
	callq	_mutex_unlock
	movl	%ebx, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_1:
	movq	_dmatest_run@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_5
## %bb.2:
	movq	_test_info@GOTPCREL(%rip), %rdi
	callq	_is_threaded_test_pending
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	_test_info@GOTPCREL(%rip), %rdi
	callq	_start_threaded_tests
	jmp	LBB0_6
LBB0_5:
	movq	_test_info@GOTPCREL(%rip), %rdi
	callq	_stop_threaded_test
	jmp	LBB0_6
LBB0_4:
	leaq	L_.str(%rip), %rdi
	callq	_pr_info
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_test_info,4,2                  ## @test_info
	.comm	_dmatest_run,8,3                ## @dmatest_run
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Could not start test, no channels configured\n"

	.no_dead_strip	_dmatest_run_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function dmatest_run_set
_dmatest_run_set:                       ; @dmatest_run_set
	.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	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, _test_info@GOTPAGE
Lloh1:
	ldr	x0, [x0, _test_info@GOTPAGEOFF]
	bl	_mutex_lock
	mov	x0, x20
	mov	x1, x19
	bl	_param_set_bool
	mov	x19, x0
	cbz	w0, LBB0_2
LBB0_1:
Lloh2:
	adrp	x0, _test_info@GOTPAGE
Lloh3:
	ldr	x0, [x0, _test_info@GOTPAGEOFF]
	bl	_mutex_unlock
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_2:
Lloh4:
	adrp	x8, _dmatest_run@GOTPAGE
Lloh5:
	ldr	x8, [x8, _dmatest_run@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cbz	x8, LBB0_5
; %bb.3:
Lloh7:
	adrp	x0, _test_info@GOTPAGE
Lloh8:
	ldr	x0, [x0, _test_info@GOTPAGEOFF]
	bl	_is_threaded_test_pending
	cbz	x0, LBB0_6
; %bb.4:
Lloh9:
	adrp	x0, _test_info@GOTPAGE
Lloh10:
	ldr	x0, [x0, _test_info@GOTPAGEOFF]
	bl	_start_threaded_tests
	b	LBB0_1
LBB0_5:
Lloh11:
	adrp	x0, _test_info@GOTPAGE
Lloh12:
	ldr	x0, [x0, _test_info@GOTPAGEOFF]
	bl	_stop_threaded_test
	b	LBB0_1
LBB0_6:
Lloh13:
	adrp	x0, l_.str@PAGE
Lloh14:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_info
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_test_info,4,2                  ; @test_info
	.comm	_dmatest_run,8,3                ; @dmatest_run
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Could not start test, no channels configured\n"

	.no_dead_strip	_dmatest_run_set
.subsections_via_symbols
