	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_test_framework           ## -- Begin function setup_test_framework
	.p2align	4, 0x90
_setup_test_framework:                  ## @setup_test_framework
	.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	%rsi, %r14
	movl	%edi, %r15d
	leaq	L_.str(%rip), %rdi
	callq	_getenv
	movq	%rax, %rbx
	leaq	L_.str.1(%rip), %rdi
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %rdi
	callq	_atoi
	shll	$2, %eax
	movq	_level@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_2:
	testq	%rbx, %rbx
	je	LBB0_4
## %bb.3:
	movq	%rbx, %rdi
	callq	_atoi
	movl	%eax, %edi
	callq	_set_seed
LBB0_4:
	xorl	%eax, %eax
	callq	_should_report_leaks
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	$1, %edi
	callq	_CRYPTO_set_mem_debug
	movq	_CRYPTO_MEM_CHECK_ON@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_CRYPTO_mem_ctrl
LBB0_6:
	xorl	%eax, %eax
	callq	_test_get_options
	movl	%r15d, %edi
	movq	%r14, %rsi
	movl	%eax, %edx
	callq	_opt_init
	xorl	%ecx, %ecx
	testl	%eax, %eax
	setne	%cl
	movl	%ecx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"OPENSSL_TEST_RAND_ORDER"

L_.str.1:                               ## @.str.1
	.asciz	"HARNESS_OSSL_LEVEL"

	.comm	_level,4,2                      ## @level
	.comm	_CRYPTO_MEM_CHECK_ON,4,2        ## @CRYPTO_MEM_CHECK_ON
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_setup_test_framework           ; -- Begin function setup_test_framework
	.p2align	2
_setup_test_framework:                  ; @setup_test_framework
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_getenv
	mov	x21, x0
Lloh2:
	adrp	x0, l_.str.1@PAGE
Lloh3:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_getenv
	cbz	x0, LBB0_2
; %bb.1:
	bl	_atoi
	lsl	w8, w0, #2
Lloh4:
	adrp	x9, _level@GOTPAGE
Lloh5:
	ldr	x9, [x9, _level@GOTPAGEOFF]
Lloh6:
	str	w8, [x9]
LBB0_2:
	cbz	x21, LBB0_4
; %bb.3:
	mov	x0, x21
	bl	_atoi
	bl	_set_seed
LBB0_4:
	bl	_should_report_leaks
	cbz	x0, LBB0_6
; %bb.5:
	mov	w0, #1
	bl	_CRYPTO_set_mem_debug
Lloh7:
	adrp	x8, _CRYPTO_MEM_CHECK_ON@GOTPAGE
Lloh8:
	ldr	x8, [x8, _CRYPTO_MEM_CHECK_ON@GOTPAGEOFF]
Lloh9:
	ldr	w0, [x8]
	bl	_CRYPTO_mem_ctrl
LBB0_6:
	bl	_test_get_options
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_opt_init
	cmp	w0, #0
	cset	w0, ne
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"OPENSSL_TEST_RAND_ORDER"

l_.str.1:                               ; @.str.1
	.asciz	"HARNESS_OSSL_LEVEL"

	.comm	_level,4,2                      ; @level
	.comm	_CRYPTO_MEM_CHECK_ON,4,2        ; @CRYPTO_MEM_CHECK_ON
.subsections_via_symbols
