	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_r4_cipher
_test_r4_cipher:                        ## @test_r4_cipher
	.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	_r4_cipher@GOTPCREL(%rip), %r14
	movq	(%r14), %rbx
	testq	%rbx, %rbx
	jne	LBB0_9
## %bb.1:
	movq	_NID_rc4@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_TEST_RC4_KEY_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %esi
	callq	_EVP_CIPHER_meth_new
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_7
## %bb.2:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_EVP_CIPHER_meth_set_iv_length
	testl	%eax, %eax
	je	LBB0_7
## %bb.3:
	movq	_EVP_CIPH_VARIABLE_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EVP_CIPHER_meth_set_flags
	testl	%eax, %eax
	je	LBB0_7
## %bb.4:
	movq	_test_rc4_init_key@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EVP_CIPHER_meth_set_init
	testl	%eax, %eax
	je	LBB0_7
## %bb.5:
	movq	_test_rc4_cipher@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_EVP_CIPHER_meth_set_do_cipher
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	%rbx, %rdi
	movl	$4, %esi
	callq	_EVP_CIPHER_meth_set_impl_ctx_size
	testl	%eax, %eax
	jne	LBB0_8
LBB0_7:
	movq	%rbx, %rdi
	callq	_EVP_CIPHER_meth_free
	xorl	%ebx, %ebx
LBB0_8:
	movq	%rbx, (%r14)
LBB0_9:
	movq	%rbx, %rax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_r4_cipher,8,3                  ## @r4_cipher
	.comm	_NID_rc4,4,2                    ## @NID_rc4
	.comm	_TEST_RC4_KEY_SIZE,4,2          ## @TEST_RC4_KEY_SIZE
	.comm	_EVP_CIPH_VARIABLE_LENGTH,4,2   ## @EVP_CIPH_VARIABLE_LENGTH
	.comm	_test_rc4_init_key,4,2          ## @test_rc4_init_key
	.comm	_test_rc4_cipher,4,2            ## @test_rc4_cipher
	.no_dead_strip	_test_r4_cipher
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_r4_cipher
_test_r4_cipher:                        ; @test_r4_cipher
	.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
Lloh0:
	adrp	x20, _r4_cipher@GOTPAGE
Lloh1:
	ldr	x20, [x20, _r4_cipher@GOTPAGEOFF]
	ldr	x19, [x20]
	cbnz	x19, LBB0_9
; %bb.1:
Lloh2:
	adrp	x8, _NID_rc4@GOTPAGE
Lloh3:
	ldr	x8, [x8, _NID_rc4@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
Lloh5:
	adrp	x8, _TEST_RC4_KEY_SIZE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _TEST_RC4_KEY_SIZE@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w1, #1
	bl	_EVP_CIPHER_meth_new
	mov	x19, x0
	cbz	x0, LBB0_7
; %bb.2:
	mov	x0, x19
	mov	w1, #0
	bl	_EVP_CIPHER_meth_set_iv_length
	cbz	w0, LBB0_7
; %bb.3:
Lloh8:
	adrp	x8, _EVP_CIPH_VARIABLE_LENGTH@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EVP_CIPH_VARIABLE_LENGTH@GOTPAGEOFF]
Lloh10:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EVP_CIPHER_meth_set_flags
	cbz	w0, LBB0_7
; %bb.4:
Lloh11:
	adrp	x8, _test_rc4_init_key@GOTPAGE
Lloh12:
	ldr	x8, [x8, _test_rc4_init_key@GOTPAGEOFF]
Lloh13:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EVP_CIPHER_meth_set_init
	cbz	w0, LBB0_7
; %bb.5:
Lloh14:
	adrp	x8, _test_rc4_cipher@GOTPAGE
Lloh15:
	ldr	x8, [x8, _test_rc4_cipher@GOTPAGEOFF]
Lloh16:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_EVP_CIPHER_meth_set_do_cipher
	cbz	w0, LBB0_7
; %bb.6:
	mov	x0, x19
	mov	w1, #4
	bl	_EVP_CIPHER_meth_set_impl_ctx_size
	cbnz	w0, LBB0_8
LBB0_7:
	mov	x0, x19
	bl	_EVP_CIPHER_meth_free
	mov	x19, #0
LBB0_8:
	str	x19, [x20]
LBB0_9:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_r4_cipher,8,3                  ; @r4_cipher
	.comm	_NID_rc4,4,2                    ; @NID_rc4
	.comm	_TEST_RC4_KEY_SIZE,4,2          ; @TEST_RC4_KEY_SIZE
	.comm	_EVP_CIPH_VARIABLE_LENGTH,4,2   ; @EVP_CIPH_VARIABLE_LENGTH
	.comm	_test_rc4_init_key,4,2          ; @test_rc4_init_key
	.comm	_test_rc4_cipher,4,2            ; @test_rc4_cipher
	.no_dead_strip	_test_r4_cipher
.subsections_via_symbols
