	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__krb5_evp_encrypt              ## -- Begin function _krb5_evp_encrypt
	.p2align	4, 0x90
__krb5_evp_encrypt:                     ## @_krb5_evp_encrypt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %rbx
	movq	%rdx, %r15
	xorl	%eax, %eax
	testq	%r8, %r8
	setne	%al
	movq	16(%rbp), %r8
	movq	(%rsi), %rcx
	movq	(%rcx), %rcx
	movq	(%rcx,%rax,8), %r12
	testq	%r8, %r8
	je	LBB0_1
## %bb.4:
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movl	$-1, %r9d
	callq	_EVP_CipherInit_ex
	jmp	LBB0_5
LBB0_1:
	movl	%edi, -44(%rbp)                 ## 4-byte Spill
	movq	%r12, %rdi
	callq	_EVP_CIPHER_CTX_iv_length
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	%rax, %r13
	movq	%rax, %rdi
	xorl	%esi, %esi
	movq	%r14, %rdx
	callq	_memset
	movq	%r12, %rdi
	xorl	%esi, %esi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	movq	%r13, %r8
	movl	$-1, %r9d
	callq	_EVP_CipherInit_ex
	movq	%r13, %rdi
	callq	_free
LBB0_5:
	movq	%r12, %rdi
	movq	%r15, %rsi
	movq	%r15, %rdx
	movq	%rbx, %rcx
	callq	_EVP_Cipher
	xorl	%eax, %eax
LBB0_6:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	callq	_krb5_clear_error_message
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__krb5_evp_encrypt              ; -- Begin function _krb5_evp_encrypt
	.p2align	2
__krb5_evp_encrypt:                     ; @_krb5_evp_encrypt
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	mov	x19, x3
	mov	x20, x2
	cmp	x4, #0
	cset	w8, ne
	ldr	x9, [x1]
	ldr	x9, [x9]
	ldr	x21, [x9, w8, uxtw #3]
	cbz	x6, LBB0_2
; %bb.1:
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x6
	mov	w5, #-1
	bl	_EVP_CipherInit_ex
	b	LBB0_4
LBB0_2:
	mov	x23, x0
	mov	x0, x21
	bl	_EVP_CIPHER_CTX_iv_length
	mov	x24, x0
	bl	_malloc
	cbz	x0, LBB0_6
; %bb.3:
	mov	x22, x0
	mov	w1, #0
	mov	x2, x24
	bl	_memset
	mov	x0, x21
	mov	x1, #0
	mov	x2, #0
	mov	x3, #0
	mov	x4, x22
	mov	w5, #-1
	bl	_EVP_CipherInit_ex
	mov	x0, x22
	bl	_free
LBB0_4:
	mov	x0, x21
	mov	x1, x20
	mov	x2, x20
	mov	x3, x19
	bl	_EVP_Cipher
	mov	w0, #0
LBB0_5:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_6:
	mov	x0, x23
	bl	_krb5_clear_error_message
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
.subsections_via_symbols
