	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blkcipher_walk_done            ## -- Begin function blkcipher_walk_done
	.p2align	4, 0x90
_blkcipher_walk_done:                   ## @blkcipher_walk_done
	.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
	movl	%edx, %r14d
	movq	%rsi, %r12
	movq	%rdi, %r15
	movq	16(%rdi), %rbx
	movl	%edx, %edi
	notl	%edi
	shrl	$31, %edi
	callq	_likely
	testq	%rax, %rax
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	je	LBB0_1
## %bb.2:
	movl	(%r12), %r13d
	subl	%r14d, %r13d
	movq	_BLKCIPHER_WALK_SLOW@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	xorl	%edi, %edi
	andl	4(%r12), %eax
	sete	%dil
	callq	_likely
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	%r12, %rdi
	movl	%r13d, %esi
	callq	_blkcipher_done_fast
LBB0_6:
	movl	8(%r12), %ebx
	subl	%eax, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_7
LBB0_1:
	xorl	%ebx, %ebx
LBB0_7:
	leaq	44(%r12), %rdi
	xorl	%esi, %esi
	movl	%ebx, %edx
	callq	_scatterwalk_done
	leaq	40(%r12), %rdi
	movl	$1, %esi
	movl	%ebx, %edx
	callq	_scatterwalk_done
	movl	%ebx, 8(%r12)
	movl	%ebx, (%r12)
	testl	%ebx, %ebx
	je	LBB0_10
## %bb.8:
	movl	8(%r15), %edi
	callq	_crypto_yield
	movq	%r15, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_blkcipher_walk_next            ## TAILCALL
LBB0_4:
	movl	%r14d, %edi
	callq	_WARN_ON
	testq	%rax, %rax
	je	LBB0_5
## %bb.9:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	xorl	%r14d, %r14d
	subl	(%rax), %r14d
	movl	$0, 8(%r12)
	movl	$0, (%r12)
LBB0_10:
	movq	16(%r12), %r13
	movq	(%r15), %rbx
	cmpq	%rbx, %r13
	je	LBB0_12
## %bb.11:
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_crypto_blkcipher_ivsize
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	callq	_memcpy
LBB0_12:
	movq	24(%r12), %rdi
	cmpq	32(%r12), %rdi
	je	LBB0_14
## %bb.13:
	callq	_kfree
	movq	32(%r12), %rdi
LBB0_14:
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.15:
	callq	_free_page
LBB0_16:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	%rbx, %rdi
	movq	%r12, %rsi
	movl	%r13d, %edx
	callq	_blkcipher_done_slow
	jmp	LBB0_6
	.cfi_endproc
                                        ## -- End function
	.comm	_BLKCIPHER_WALK_SLOW,4,2        ## @BLKCIPHER_WALK_SLOW
	.comm	_EINVAL,4,2                     ## @EINVAL
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_blkcipher_walk_done            ; -- Begin function blkcipher_walk_done
	.p2align	2
_blkcipher_walk_done:                   ; @blkcipher_walk_done
	.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	x20, x2
	mov	x19, x1
	mov	x22, x0
	ldr	x21, [x0, #16]
	mvn	w8, w2
	lsr	w0, w8, #31
	bl	_likely
	cbz	x0, LBB0_4
; %bb.1:
	ldp	w8, w9, [x19]
	sub	w23, w8, w20
Lloh0:
	adrp	x8, _BLKCIPHER_WALK_SLOW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _BLKCIPHER_WALK_SLOW@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	tst	w8, w9
	cset	w0, eq
	bl	_likely
	cbz	x0, LBB0_7
; %bb.2:
	mov	x0, x19
	mov	x1, x23
	bl	_blkcipher_done_fast
LBB0_3:
	mov	w20, #0
	ldr	w8, [x19, #8]
	sub	w23, w8, w0
	b	LBB0_5
LBB0_4:
	mov	w23, #0
LBB0_5:
	add	x0, x19, #44
	mov	w1, #0
	mov	x2, x23
	bl	_scatterwalk_done
	add	x0, x19, #40
	mov	w1, #1
	mov	x2, x23
	bl	_scatterwalk_done
	str	w23, [x19, #8]
	str	w23, [x19]
	cbz	w23, LBB0_9
; %bb.6:
	ldr	w0, [x22, #8]
	bl	_crypto_yield
	mov	x0, x22
	mov	x1, x19
	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
	b	_blkcipher_walk_next
LBB0_7:
	mov	x0, x20
	bl	_WARN_ON
	cbz	x0, LBB0_16
; %bb.8:
Lloh3:
	adrp	x8, _EINVAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w20, w8
	str	wzr, [x19, #8]
	str	wzr, [x19]
LBB0_9:
	ldr	x23, [x19, #16]
	ldr	x22, [x22]
	cmp	x23, x22
	b.eq	LBB0_11
; %bb.10:
	mov	x0, x21
	bl	_crypto_blkcipher_ivsize
	mov	x2, x0
	mov	x0, x22
	mov	x1, x23
	bl	_memcpy
LBB0_11:
	ldp	x0, x8, [x19, #24]
	cmp	x0, x8
	b.eq	LBB0_13
; %bb.12:
	bl	_kfree
	ldr	x0, [x19, #32]
LBB0_13:
	cbz	x0, LBB0_15
; %bb.14:
	bl	_free_page
LBB0_15:
	mov	x0, x20
	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_16:
	mov	x0, x21
	mov	x1, x19
	mov	x2, x23
	bl	_blkcipher_done_slow
	b	LBB0_3
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_BLKCIPHER_WALK_SLOW,4,2        ; @BLKCIPHER_WALK_SLOW
	.comm	_EINVAL,4,2                     ; @EINVAL
.subsections_via_symbols
