	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_CIPHER_CTX_rand_key        ## -- Begin function EVP_CIPHER_CTX_rand_key
	.p2align	4, 0x90
_EVP_CIPHER_CTX_rand_key:               ## @EVP_CIPHER_CTX_rand_key
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	%rsi, %rcx
	movq	8(%rdi), %rax
	movq	_EVP_CIPH_RAND_KEY@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	testl	%edx, (%rax)
	je	LBB0_1
## %bb.2:
	movq	_EVP_CTRL_RAND_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%edx, %edx
	popq	%rbp
	jmp	_EVP_CIPHER_CTX_ctrl            ## TAILCALL
LBB0_1:
	movl	(%rdi), %esi
	movq	%rcx, %rdi
	callq	_RAND_priv_bytes
	xorl	%ecx, %ecx
	testq	%rax, %rax
	setg	%cl
	movl	%ecx, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_CIPH_RAND_KEY,4,2          ## @EVP_CIPH_RAND_KEY
	.comm	_EVP_CTRL_RAND_KEY,4,2          ## @EVP_CTRL_RAND_KEY
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_EVP_CIPHER_CTX_rand_key        ; -- Begin function EVP_CIPHER_CTX_rand_key
	.p2align	2
_EVP_CIPHER_CTX_rand_key:               ; @EVP_CIPHER_CTX_rand_key
	.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
	mov	x3, x1
	ldr	x8, [x0, #8]
	ldr	w8, [x8]
Lloh0:
	adrp	x9, _EVP_CIPH_RAND_KEY@GOTPAGE
Lloh1:
	ldr	x9, [x9, _EVP_CIPH_RAND_KEY@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _EVP_CTRL_RAND_KEY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EVP_CTRL_RAND_KEY@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	w2, #0
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	b	_EVP_CIPHER_CTX_ctrl
LBB0_2:
	ldr	w1, [x0]
	mov	x0, x3
	bl	_RAND_priv_bytes
	cmp	x0, #0
	cset	w0, gt
	ldp	x29, x30, [sp], #16             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_CIPH_RAND_KEY,4,2          ; @EVP_CIPH_RAND_KEY
	.comm	_EVP_CTRL_RAND_KEY,4,2          ; @EVP_CTRL_RAND_KEY
.subsections_via_symbols
