	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RSA_security_bits              ## -- Begin function RSA_security_bits
	.p2align	4, 0x90
_RSA_security_bits:                     ## @RSA_security_bits
	.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
	movq	%rdi, %rbx
	movl	12(%rdi), %edi
	callq	_BN_num_bits
	movl	%eax, %r14d
	movq	(%rbx), %rax
	movq	_RSA_ASN1_VERSION_MULTI@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_4
## %bb.1:
	movl	8(%rbx), %edi
	callq	_sk_RSA_PRIME_INFO_num
	testl	%eax, %eax
	jle	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	addl	$2, %ebx
	movl	%r14d, %edi
	callq	_rsa_multip_cap
	cmpl	%eax, %ebx
	jle	LBB0_4
LBB0_3:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movl	%r14d, %edi
	movl	$-1, %esi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_BN_security_bits               ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_RSA_ASN1_VERSION_MULTI,8,3     ## @RSA_ASN1_VERSION_MULTI
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_RSA_security_bits              ; -- Begin function RSA_security_bits
	.p2align	2
_RSA_security_bits:                     ; @RSA_security_bits
	.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
	mov	x20, x0
	ldr	w0, [x0, #12]
	bl	_BN_num_bits
	mov	x19, x0
	ldr	x8, [x20]
Lloh0:
	adrp	x9, _RSA_ASN1_VERSION_MULTI@GOTPAGE
Lloh1:
	ldr	x9, [x9, _RSA_ASN1_VERSION_MULTI@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_4
; %bb.1:
	ldr	w0, [x20, #8]
	bl	_sk_RSA_PRIME_INFO_num
	cmp	w0, #1
	b.lt	LBB0_3
; %bb.2:
	add	w20, w0, #2
	mov	x0, x19
	bl	_rsa_multip_cap
	cmp	w20, w0
	b.le	LBB0_4
LBB0_3:
	mov	w0, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	mov	x0, x19
	mov	w1, #-1
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_BN_security_bits
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_RSA_ASN1_VERSION_MULTI,8,3     ; @RSA_ASN1_VERSION_MULTI
.subsections_via_symbols
