	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_rand
_change_rand:                           ## @change_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -24
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	callq	_RAND_get_rand_method
	movq	_old_rand@GOTPCREL(%rip), %rcx
	movq	%rax, (%rcx)
	movq	%rax, %rdi
	callq	_TEST_ptr
	testl	%eax, %eax
	je	LBB0_2
## %bb.1:
	movq	_fbytes@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_fake_rand@GOTPCREL(%rip), %rdi
	movl	%eax, (%rdi)
	callq	_RAND_set_rand_method
	movl	%eax, %edi
	callq	_TEST_true
	xorl	%ebx, %ebx
	testl	%eax, %eax
	setne	%bl
LBB0_2:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_old_rand,8,3                   ## @old_rand
	.comm	_fake_rand,4,2                  ## @fake_rand
	.comm	_fbytes,4,2                     ## @fbytes
	.no_dead_strip	_change_rand
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_rand
_change_rand:                           ; @change_rand
	.cfi_startproc
; %bb.0:
	stp	x29, x30, [sp, #-16]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 16
	mov	x29, sp
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	bl	_RAND_get_rand_method
Lloh0:
	adrp	x8, _old_rand@GOTPAGE
Lloh1:
	ldr	x8, [x8, _old_rand@GOTPAGEOFF]
Lloh2:
	str	x0, [x8]
	bl	_TEST_ptr
	cbz	w0, LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _fbytes@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fbytes@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
Lloh6:
	adrp	x0, _fake_rand@GOTPAGE
Lloh7:
	ldr	x0, [x0, _fake_rand@GOTPAGEOFF]
	str	w8, [x0]
	bl	_RAND_set_rand_method
	bl	_TEST_true
	cmp	w0, #0
	cset	w0, ne
LBB0_2:
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotStr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_old_rand,8,3                   ; @old_rand
	.comm	_fake_rand,4,2                  ; @fake_rand
	.comm	_fbytes,4,2                     ; @fbytes
	.no_dead_strip	_change_rand
.subsections_via_symbols
