	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_hash_walk_done          ## -- Begin function crypto_hash_walk_done
	.p2align	4, 0x90
_crypto_hash_walk_done:                 ## @crypto_hash_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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r15d
	movq	%rdi, %rbx
	movl	(%rdi), %esi
	movl	4(%rdi), %r14d
	movl	12(%rdi), %eax
	movl	8(%rdi), %edi
	subl	%eax, %edi
	movl	%edi, 8(%rbx)
	testl	%r14d, %r14d
	je	LBB0_4
## %bb.1:
	testl	%r15d, %r15d
	jne	LBB0_4
## %bb.2:
	movl	%eax, %ecx
	andl	%esi, %ecx
	je	LBB0_4
## %bb.3:
	leal	(%rsi,%rax), %edi
	decl	%edi
	movl	%edi, 12(%rbx)
	incl	%esi
                                        ## kill: def $esi killed $esi killed $rsi
	callq	_ALIGN
	movl	%eax, 12(%rbx)
	addl	%eax, 8(%rbx)
	movq	_PAGE_SIZE@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	subl	%eax, %esi
	movl	%r14d, %edi
	callq	_min
	movl	%eax, %r15d
	subl	%eax, 4(%rbx)
	jmp	LBB0_8
LBB0_4:
	xorl	%esi, %esi
	callq	_crypto_kunmap
	movl	28(%rbx), %edi
	callq	_crypto_yield
	testl	%r15d, %r15d
	je	LBB0_5
LBB0_8:
	movl	%r15d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	testl	%r14d, %r14d
	je	LBB0_6
## %bb.9:
	movl	$0, 12(%rbx)
	incl	24(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hash_walk_next                 ## TAILCALL
LBB0_6:
	cmpl	$0, 20(%rbx)
	je	LBB0_7
## %bb.10:
	movl	16(%rbx), %edi
	callq	_scatterwalk_sg_next
	movl	%eax, 16(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_hash_walk_new_entry            ## TAILCALL
LBB0_7:
	xorl	%r15d, %r15d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_PAGE_SIZE,8,3                  ## @PAGE_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_crypto_hash_walk_done          ; -- Begin function crypto_hash_walk_done
	.p2align	2
_crypto_hash_walk_done:                 ; @crypto_hash_walk_done
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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, x0
	ldp	w8, w20, [x0]
	ldp	w10, w9, [x0, #8]
	sub	w0, w10, w9
	str	w0, [x19, #8]
	cmp	w20, #0
	and	w10, w9, w8
	ccmp	w1, #0, #0, ne
	ccmp	w10, #0, #4, eq
	b.ne	LBB0_4
; %bb.1:
	mov	x21, x1
	mov	w1, #0
	bl	_crypto_kunmap
	ldr	w0, [x19, #28]
	bl	_crypto_yield
	cbnz	w21, LBB0_5
; %bb.2:
	cbz	w20, LBB0_6
; %bb.3:
	str	wzr, [x19, #12]
	ldr	w8, [x19, #24]
	add	w8, w8, #1
	str	w8, [x19, #24]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_hash_walk_next
LBB0_4:
	add	w9, w8, w9
	sub	w0, w9, #1
	str	w0, [x19, #12]
	add	w1, w8, #1
	bl	_ALIGN
	ldr	w8, [x19, #8]
	add	w8, w8, w0
	stp	w8, w0, [x19, #8]
Lloh0:
	adrp	x8, _PAGE_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PAGE_SIZE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	sub	w1, w8, w0
	mov	x0, x20
	bl	_min
	mov	x21, x0
	ldr	w8, [x19, #4]
	sub	w8, w8, w0
	str	w8, [x19, #4]
LBB0_5:
	mov	x0, x21
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_6:
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_8
; %bb.7:
	ldr	w0, [x19, #16]
	bl	_scatterwalk_sg_next
	str	w0, [x19, #16]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_hash_walk_new_entry
LBB0_8:
	mov	w21, #0
	b	LBB0_5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PAGE_SIZE,8,3                  ; @PAGE_SIZE
.subsections_via_symbols
