	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_rand
_test_rand:                             ## @test_rand
	.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
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	callq	_BN_new
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_11
## %bb.1:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_BN_rand
	movl	%eax, %edi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_10
## %bb.2:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$1, %edx
	movl	$1, %ecx
	callq	_BN_rand
	movl	%eax, %edi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	$1, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_BN_rand
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_10
## %bb.4:
	movq	%rbx, %rdi
	callq	_TEST_BN_eq_one
	testl	%eax, %eax
	je	LBB0_10
## %bb.5:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_BN_rand
	movl	%eax, %edi
	callq	_TEST_false
	testl	%eax, %eax
	je	LBB0_10
## %bb.6:
	movq	%rbx, %rdi
	movl	$1, %esi
	movl	$-1, %edx
	movl	$1, %ecx
	callq	_BN_rand
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_10
## %bb.7:
	movq	%rbx, %rdi
	callq	_TEST_BN_eq_one
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	xorl	%r14d, %r14d
	movq	%rbx, %rdi
	movl	$2, %esi
	movl	$1, %edx
	xorl	%ecx, %ecx
	callq	_BN_rand
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_10
## %bb.9:
	movq	%rbx, %rdi
	movl	$3, %esi
	callq	_TEST_BN_eq_word
	xorl	%r14d, %r14d
	testl	%eax, %eax
	setne	%r14b
LBB0_10:
	movq	%rbx, %rdi
	callq	_BN_free
LBB0_11:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_test_rand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_rand
_test_rand:                             ; @test_rand
	.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
	bl	_BN_new
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_12
; %bb.1:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #0
	mov	w3, #0
	bl	_BN_rand
	bl	_TEST_false
	cbz	w0, LBB0_10
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #1
	mov	w3, #1
	bl	_BN_rand
	bl	_TEST_false
	cbz	w0, LBB0_10
; %bb.3:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #0
	mov	w3, #0
	bl	_BN_rand
	bl	_TEST_true
	cbz	w0, LBB0_10
; %bb.4:
	mov	x0, x19
	bl	_TEST_BN_eq_one
	cbz	w0, LBB0_10
; %bb.5:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #1
	mov	w3, #0
	bl	_BN_rand
	bl	_TEST_false
	cbz	w0, LBB0_10
; %bb.6:
	mov	x0, x19
	mov	w1, #1
	mov	w2, #-1
	mov	w3, #1
	bl	_BN_rand
	bl	_TEST_true
	cbz	w0, LBB0_10
; %bb.7:
	mov	x0, x19
	bl	_TEST_BN_eq_one
	cbz	w0, LBB0_10
; %bb.8:
	mov	x0, x19
	mov	w1, #2
	mov	w2, #1
	mov	w3, #0
	bl	_BN_rand
	bl	_TEST_true
	cbz	w0, LBB0_10
; %bb.9:
	mov	x0, x19
	mov	w1, #3
	bl	_TEST_BN_eq_word
	cmp	w0, #0
	cset	w20, ne
	b	LBB0_11
LBB0_10:
	mov	w20, #0
LBB0_11:
	mov	x0, x19
	bl	_BN_free
	b	LBB0_13
LBB0_12:
	mov	w20, #0
LBB0_13:
	mov	x0, x20
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_test_rand
.subsections_via_symbols
