	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rc2_meth_to_magic
_rc2_meth_to_magic:                     ## @rc2_meth_to_magic
	.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
	movq	_EVP_CTRL_GET_RC2_KEY_BITS@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	xorl	%ebx, %ebx
	leaq	-12(%rbp), %rcx
	xorl	%edx, %edx
	callq	_EVP_CIPHER_CTX_ctrl
	testq	%rax, %rax
	jle	LBB0_8
## %bb.1:
	movl	-12(%rbp), %eax
	cmpl	$40, %eax
	je	LBB0_6
## %bb.2:
	cmpl	$64, %eax
	je	LBB0_5
## %bb.3:
	cmpl	$128, %eax
	jne	LBB0_8
## %bb.4:
	movq	_RC2_128_MAGIC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_6:
	movq	_RC2_40_MAGIC@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_RC2_64_MAGIC@GOTPCREL(%rip), %rax
LBB0_7:
	movl	(%rax), %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_CTRL_GET_RC2_KEY_BITS,4,2  ## @EVP_CTRL_GET_RC2_KEY_BITS
	.comm	_RC2_128_MAGIC,4,2              ## @RC2_128_MAGIC
	.comm	_RC2_64_MAGIC,4,2               ## @RC2_64_MAGIC
	.comm	_RC2_40_MAGIC,4,2               ## @RC2_40_MAGIC
	.no_dead_strip	_rc2_meth_to_magic
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rc2_meth_to_magic
_rc2_meth_to_magic:                     ; @rc2_meth_to_magic
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
Lloh0:
	adrp	x8, _EVP_CTRL_GET_RC2_KEY_BITS@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EVP_CTRL_GET_RC2_KEY_BITS@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	sub	x3, x29, #4
	mov	w2, #0
	bl	_EVP_CIPHER_CTX_ctrl
	cmp	x0, #1
	b.lt	LBB0_5
; %bb.1:
	ldur	w8, [x29, #-4]
	cmp	w8, #40
	b.eq	LBB0_6
; %bb.2:
	cmp	w8, #64
	b.eq	LBB0_7
; %bb.3:
	cmp	w8, #128
	b.ne	LBB0_5
; %bb.4:
Lloh3:
	adrp	x8, _RC2_128_MAGIC@GOTPAGE
Lloh4:
	ldr	x8, [x8, _RC2_128_MAGIC@GOTPAGEOFF]
	b	LBB0_8
LBB0_5:
	mov	w0, #0
	b	LBB0_9
LBB0_6:
Lloh5:
	adrp	x8, _RC2_40_MAGIC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RC2_40_MAGIC@GOTPAGEOFF]
	b	LBB0_8
LBB0_7:
Lloh7:
	adrp	x8, _RC2_64_MAGIC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _RC2_64_MAGIC@GOTPAGEOFF]
LBB0_8:
	ldr	w0, [x8]
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_CTRL_GET_RC2_KEY_BITS,4,2  ; @EVP_CTRL_GET_RC2_KEY_BITS
	.comm	_RC2_128_MAGIC,4,2              ; @RC2_128_MAGIC
	.comm	_RC2_64_MAGIC,4,2               ; @RC2_64_MAGIC
	.comm	_RC2_40_MAGIC,4,2               ; @RC2_40_MAGIC
	.no_dead_strip	_rc2_meth_to_magic
.subsections_via_symbols
