	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_rand_drbg_reseed
_test_rand_drbg_reseed:                 ## @test_rand_drbg_reseed
	.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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_RAND_get_rand_method
	movl	%eax, %ebx
	xorl	%eax, %eax
	callq	_RAND_OpenSSL
	movl	%ebx, %edi
	movq	%rax, %rsi
	callq	_TEST_ptr_eq
	testl	%eax, %eax
	je	LBB0_19
## %bb.1:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_RAND_DRBG_get0_master
	movq	%rax, %r15
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_19
## %bb.2:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_RAND_DRBG_get0_public
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_19
## %bb.3:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_RAND_DRBG_get0_private
	movq	%rax, %r12
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_19
## %bb.4:
	movq	%r14, %rdi
	movq	%r12, %rsi
	callq	_TEST_ptr_ne
	testl	%eax, %eax
	je	LBB0_19
## %bb.5:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_TEST_ptr_ne
	testl	%eax, %eax
	je	LBB0_19
## %bb.6:
	movq	%r12, %rdi
	movq	%r15, %rsi
	callq	_TEST_ptr_ne
	testl	%eax, %eax
	je	LBB0_19
## %bb.7:
	movl	4(%r14), %edi
	movq	%r15, %rsi
	callq	_TEST_ptr_eq
	testl	%eax, %eax
	je	LBB0_19
## %bb.8:
	movl	4(%r12), %edi
	movq	%r15, %rsi
	callq	_TEST_ptr_eq
	testl	%eax, %eax
	je	LBB0_19
## %bb.9:
	movq	%r15, %rdi
	callq	_disable_crngt
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_19
## %bb.10:
	movq	%r12, %rdi
	callq	_RAND_DRBG_uninstantiate
	movq	%r14, %rdi
	callq	_RAND_DRBG_uninstantiate
	movq	%r15, %rdi
	callq	_RAND_DRBG_uninstantiate
	movq	_master_ctx@GOTPCREL(%rip), %rsi
	movq	%r15, %rdi
	callq	_hook_drbg
	movq	_public_ctx@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	callq	_hook_drbg
	movq	_private_ctx@GOTPCREL(%rip), %rsi
	movq	%r12, %rdi
	callq	_hook_drbg
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	$0
	pushq	$1
	callq	_test_drbg_reseed
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%r13d, %r13d
	testl	%eax, %eax
	je	LBB0_18
## %bb.11:
	xorl	%eax, %eax
	callq	_reset_drbg_hook_ctx
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_test_drbg_reseed
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_18
## %bb.12:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_reset_drbg_hook_ctx
	incl	(%r15)
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	pushq	$0
	pushq	$1
	callq	_test_drbg_reseed
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_18
## %bb.13:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_reset_drbg_hook_ctx
	incl	(%r15)
	incl	(%r12)
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	movl	$1, %r9d
	pushq	$0
	pushq	$0
	callq	_test_drbg_reseed
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_18
## %bb.14:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_reset_drbg_hook_ctx
	incl	(%r15)
	incl	(%r14)
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$1
	callq	_test_drbg_reseed
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_18
## %bb.15:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_reset_drbg_hook_ctx
	leaq	-304(%rbp), %rdi
	movl	$114, %esi
	movl	$256, %edx                      ## imm = 0x100
	callq	_memset
	xorl	%edi, %edi
	callq	_time
	movq	%rax, %rbx
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movl	$256, %edx                      ## imm = 0x100
	callq	_RAND_add
	movl	$1, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	movl	$1, %r8d
	movl	$1, %r9d
	pushq	%rbx
	movq	_master_ctx@GOTPCREL(%rip), %rbx
	pushq	$1
	callq	_test_drbg_reseed
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_18
## %bb.16:
	xorl	%r13d, %r13d
	xorl	%eax, %eax
	callq	_reset_drbg_hook_ctx
	movl	$1, (%rbx)
	incl	(%r15)
	leaq	-304(%rbp), %rdi
	movl	$256, %esi                      ## imm = 0x100
	movl	$256, %edx                      ## imm = 0x100
	callq	_RAND_add
	xorl	%edi, %edi
	movq	%r15, %rsi
	movq	%r14, %rdx
	movq	%r12, %rcx
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	pushq	$0
	callq	_test_drbg_reseed
	addq	$16, %rsp
	movl	%eax, %edi
	callq	_TEST_true
	testl	%eax, %eax
	je	LBB0_18
## %bb.17:
	xorl	%eax, %eax
	callq	_reset_drbg_hook_ctx
	movl	$1, %r13d
LBB0_18:
	movq	%r15, %rdi
	callq	_unhook_drbg
	movq	%r14, %rdi
	callq	_unhook_drbg
	movq	%r12, %rdi
	callq	_unhook_drbg
LBB0_19:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_21
## %bb.20:
	movl	%r13d, %eax
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_master_ctx,4,2                 ## @master_ctx
	.comm	_public_ctx,4,2                 ## @public_ctx
	.comm	_private_ctx,4,2                ## @private_ctx
	.no_dead_strip	_test_rand_drbg_reseed
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_rand_drbg_reseed
_test_rand_drbg_reseed:                 ; @test_rand_drbg_reseed
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #352
	.cfi_def_cfa_offset 352
	stp	x28, x27, [sp, #272]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #288]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #304]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #320]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #336]            ; 16-byte Folded Spill
	add	x29, sp, #336
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w27, -72
	.cfi_offset w28, -80
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
	bl	_RAND_get_rand_method
	mov	x19, x0
	bl	_RAND_OpenSSL
	mov	x1, x0
	mov	x0, x19
	bl	_TEST_ptr_eq
	cbz	w0, LBB0_18
; %bb.1:
	bl	_RAND_DRBG_get0_master
	mov	x19, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_18
; %bb.2:
	bl	_RAND_DRBG_get0_public
	mov	x20, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_18
; %bb.3:
	bl	_RAND_DRBG_get0_private
	mov	x21, x0
	bl	_TEST_ptr
	cbz	w0, LBB0_18
; %bb.4:
	mov	x0, x20
	mov	x1, x21
	bl	_TEST_ptr_ne
	cbz	w0, LBB0_18
; %bb.5:
	mov	x0, x20
	mov	x1, x19
	bl	_TEST_ptr_ne
	cbz	w0, LBB0_18
; %bb.6:
	mov	x0, x21
	mov	x1, x19
	bl	_TEST_ptr_ne
	cbz	w0, LBB0_18
; %bb.7:
	ldr	w0, [x20, #4]
	mov	x1, x19
	bl	_TEST_ptr_eq
	cbz	w0, LBB0_18
; %bb.8:
	ldr	w0, [x21, #4]
	mov	x1, x19
	bl	_TEST_ptr_eq
	cbz	w0, LBB0_18
; %bb.9:
	mov	x0, x19
	bl	_disable_crngt
	bl	_TEST_true
	cbz	w0, LBB0_18
; %bb.10:
	mov	x0, x21
	bl	_RAND_DRBG_uninstantiate
	mov	x0, x20
	bl	_RAND_DRBG_uninstantiate
	mov	x0, x19
	bl	_RAND_DRBG_uninstantiate
Lloh3:
	adrp	x22, _master_ctx@GOTPAGE
Lloh4:
	ldr	x22, [x22, _master_ctx@GOTPAGEOFF]
	mov	x0, x19
	mov	x1, x22
	bl	_hook_drbg
Lloh5:
	adrp	x1, _public_ctx@GOTPAGE
Lloh6:
	ldr	x1, [x1, _public_ctx@GOTPAGEOFF]
	mov	x0, x20
	bl	_hook_drbg
Lloh7:
	adrp	x1, _private_ctx@GOTPAGE
Lloh8:
	ldr	x1, [x1, _private_ctx@GOTPAGEOFF]
	mov	x0, x21
	bl	_hook_drbg
	mov	w0, #1
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	mov	x7, #0
	bl	_test_drbg_reseed
	bl	_TEST_true
	cbz	w0, LBB0_21
; %bb.11:
	bl	_reset_drbg_hook_ctx
	mov	w0, #1
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_test_drbg_reseed
	bl	_TEST_true
	cbz	w0, LBB0_21
; %bb.12:
	bl	_reset_drbg_hook_ctx
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	mov	w0, #1
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	w4, #0
	mov	w5, #1
	mov	w6, #1
	mov	x7, #0
	bl	_test_drbg_reseed
	bl	_TEST_true
	cbz	w0, LBB0_21
; %bb.13:
	bl	_reset_drbg_hook_ctx
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	w8, [x21]
	add	w8, w8, #1
	str	w8, [x21]
	mov	w0, #1
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	w4, #0
	mov	w5, #1
	mov	w6, #0
	mov	x7, #0
	bl	_test_drbg_reseed
	bl	_TEST_true
	cbz	w0, LBB0_21
; %bb.14:
	bl	_reset_drbg_hook_ctx
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	ldr	w8, [x20]
	add	w8, w8, #1
	str	w8, [x20]
	mov	w0, #1
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	w4, #0
	mov	w5, #0
	mov	w6, #1
	mov	x7, #0
	bl	_test_drbg_reseed
	bl	_TEST_true
	cbz	w0, LBB0_21
; %bb.15:
	bl	_reset_drbg_hook_ctx
	add	x0, sp, #8
	mov	w1, #114
	mov	w2, #256
	bl	_memset
	mov	x0, #0
	bl	_time
	mov	x23, x0
	add	x0, sp, #8
	mov	w1, #256
	mov	w2, #256
	bl	_RAND_add
	mov	w24, #1
	mov	w0, #1
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	w4, #1
	mov	w5, #1
	mov	w6, #1
	mov	x7, x23
	bl	_test_drbg_reseed
	bl	_TEST_true
	cbz	w0, LBB0_21
; %bb.16:
	bl	_reset_drbg_hook_ctx
	str	w24, [x22]
	ldr	w8, [x19]
	add	w8, w8, #1
	str	w8, [x19]
	add	x0, sp, #8
	mov	w1, #256
	mov	w2, #256
	bl	_RAND_add
	mov	w0, #0
	mov	x1, x19
	mov	x2, x20
	mov	x3, x21
	mov	w4, #0
	mov	w5, #0
	mov	w6, #0
	mov	x7, #0
	bl	_test_drbg_reseed
	bl	_TEST_true
	cbz	w0, LBB0_21
; %bb.17:
	bl	_reset_drbg_hook_ctx
	mov	w22, #1
	b	LBB0_22
LBB0_18:
	mov	w22, #0
LBB0_19:
	ldur	x8, [x29, #-72]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_23
; %bb.20:
	mov	x0, x22
	ldp	x29, x30, [sp, #336]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #320]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #304]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #288]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #272]            ; 16-byte Folded Reload
	add	sp, sp, #352
	ret
LBB0_21:
	mov	w22, #0
LBB0_22:
	mov	x0, x19
	bl	_unhook_drbg
	mov	x0, x20
	bl	_unhook_drbg
	mov	x0, x21
	bl	_unhook_drbg
	b	LBB0_19
LBB0_23:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_master_ctx,4,2                 ; @master_ctx
	.comm	_public_ctx,4,2                 ; @public_ctx
	.comm	_private_ctx,4,2                ; @private_ctx
	.no_dead_strip	_test_rand_drbg_reseed
.subsections_via_symbols
