	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm_crypto_do_cipher_digest    ## -- Begin function nlm_crypto_do_cipher_digest
	.p2align	4, 0x90
_nlm_crypto_do_cipher_digest:           ## @nlm_crypto_do_cipher_digest
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	88(%rsi), %r15
	movq	(%rsi), %r8
	movq	80(%rsi), %r11
	movq	8(%r15), %r10
	movq	_NLM_CIPHER_3DES@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r8
	jne	LBB0_3
## %bb.1:
	movq	_CRD_F_ENCRYPT@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, (%r15)
	jne	LBB0_3
## %bb.2:
	movq	72(%rbx), %rcx
	movl	(%r10), %edx
	movl	%edx, 8(%rcx)
	movl	4(%r10), %edx
	movl	%edx, 4(%rcx)
	movl	8(%r10), %edx
	movl	%edx, (%rcx)
	movq	%rcx, %r10
LBB0_3:
	movl	4(%r11), %eax
	xorl	%esi, %esi
	testl	%eax, %eax
	setne	%sil
	movl	64(%rbx), %edx
	movl	60(%rbx), %ecx
	movl	52(%rbx), %edi
	movl	56(%rbx), %r9d
	movl	4(%r15), %r12d
	sarl	$3, %r12d
	sarl	$3, %eax
	pushq	%rax
	pushq	8(%r11)
	pushq	%r12
	pushq	%r10
	callq	_nlm_crypto_fill_pkt_ctrl
	addq	$32, %rsp
	movl	52(%rbx), %edi
	movl	48(%rbx), %esi
	movq	_CRD_F_ENCRYPT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edx, %edx
	andl	(%r15), %eax
	setne	%dl
	movl	44(%rbx), %ecx
	movl	40(%rbx), %r8d
	movl	36(%rbx), %r9d
	movl	32(%rbx), %r10d
	movl	28(%rbx), %r11d
	movl	24(%rbx), %r15d
	movl	20(%rbx), %r12d
	movl	16(%rbx), %eax
	pushq	8(%rbx)
	pushq	%rax
	pushq	%r12
	pushq	%r15
	pushq	%r11
	pushq	%r10
	callq	_nlm_crypto_fill_cipher_auth_pkt_param
	addq	$48, %rsp
	movq	%rbx, %rdi
	callq	_nlm_crypto_form_srcdst_segs
	movq	%r14, %rdi
	movq	%rbx, %rsi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_nlm_crypto_complete_sec_request ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NLM_CIPHER_3DES,8,3            ## @NLM_CIPHER_3DES
	.comm	_CRD_F_ENCRYPT,4,2              ## @CRD_F_ENCRYPT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_nlm_crypto_do_cipher_digest    ; -- Begin function nlm_crypto_do_cipher_digest
	.p2align	2
_nlm_crypto_do_cipher_digest:           ; @nlm_crypto_do_cipher_digest
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x19, x1
	mov	x20, x0
	ldp	x8, x21, [x1, #80]
	ldr	x6, [x21, #8]
	ldr	x4, [x1]
Lloh0:
	adrp	x9, _NLM_CIPHER_3DES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _NLM_CIPHER_3DES@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
Lloh3:
	adrp	x22, _CRD_F_ENCRYPT@GOTPAGE
Lloh4:
	ldr	x22, [x22, _CRD_F_ENCRYPT@GOTPAGEOFF]
	cmp	x4, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w9, [x21]
	ldr	w10, [x22]
	tst	w10, w9
	b.ne	LBB0_3
; %bb.2:
	ldr	x9, [x19, #72]
	ldr	w10, [x6]
	str	w10, [x9, #8]
	ldr	w10, [x6, #4]
	str	w10, [x9, #4]
	ldr	w10, [x6, #8]
	str	w10, [x9]
	mov	x6, x9
LBB0_3:
	ldr	w9, [x8, #4]
	cmp	w9, #0
	cset	w1, ne
	ldp	w3, w2, [x19, #60]
	ldp	w0, w5, [x19, #52]
	ldr	w10, [x21, #4]
	asr	w7, w10, #3
	ldr	x8, [x8, #8]
	asr	w9, w9, #3
	str	w9, [sp, #8]
	str	x8, [sp]
	bl	_nlm_crypto_fill_pkt_ctrl
	ldp	w1, w0, [x19, #48]
	ldr	w8, [x21]
	ldr	w9, [x22]
	tst	w9, w8
	cset	w2, ne
	ldp	w4, w3, [x19, #40]
	ldp	w6, w5, [x19, #32]
	ldp	w8, w7, [x19, #24]
	ldp	w10, w9, [x19, #16]
	ldr	x11, [x19, #8]
	str	x11, [sp, #16]
	stp	w9, w10, [sp, #4]
	str	w8, [sp]
	bl	_nlm_crypto_fill_cipher_auth_pkt_param
	mov	x0, x19
	bl	_nlm_crypto_form_srcdst_segs
	mov	x0, x20
	mov	x1, x19
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #80
	b	_nlm_crypto_complete_sec_request
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_NLM_CIPHER_3DES,8,3            ; @NLM_CIPHER_3DES
	.comm	_CRD_F_ENCRYPT,4,2              ; @CRD_F_ENCRYPT
.subsections_via_symbols
