	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function michael_update
_michael_update:                        ## @michael_update
	.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
	movl	%edx, %r12d
	movq	%rsi, %r15
	callq	_shash_desc_ctx
	movq	%rax, %r14
	movslq	(%rax), %rdi
	testq	%rdi, %rdi
	je	LBB0_3
## %bb.1:
	movl	$4, %ebx
	subl	%edi, %ebx
	cmpl	%r12d, %ebx
	cmovael	%r12d, %ebx
	shlq	$2, %rdi
	addq	8(%r14), %rdi
	movq	%r15, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movl	(%r14), %eax
	addl	%ebx, %eax
	movl	%eax, (%r14)
	cmpl	$4, %eax
	jl	LBB0_8
## %bb.2:
	subl	%ebx, %r12d
	movslq	%ebx, %rax
	leaq	(%r15,%rax,4), %r15
	movq	8(%r14), %rdi
	callq	_le32_to_cpup
	xorl	20(%r14), %eax
	movl	%eax, 20(%r14)
	movl	16(%r14), %esi
	movl	%eax, %edi
	callq	_michael_block
	movl	$0, (%r14)
LBB0_3:
	cmpl	$4, %r12d
	jb	LBB0_4
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	leaq	4(%r15), %rbx
	movq	%r15, %rdi
	callq	_le32_to_cpup
	xorl	20(%r14), %eax
	movl	%eax, 20(%r14)
	movl	16(%r14), %esi
	movl	%eax, %edi
	callq	_michael_block
	addl	$-4, %r12d
	movq	%rbx, %r15
	cmpl	$3, %r12d
	ja	LBB0_5
## %bb.6:
	testl	%r12d, %r12d
	je	LBB0_8
LBB0_7:
	movl	%r12d, (%r14)
	movq	8(%r14), %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	_memcpy
LBB0_8:
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	%r15, %rbx
	testl	%r12d, %r12d
	jne	LBB0_7
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_michael_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function michael_update
_michael_update:                        ; @michael_update
	.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, x2
	mov	x21, x1
	bl	_shash_desc_ctx
	mov	x20, x0
	ldrsw	x8, [x0]
	cbz	w8, LBB0_3
; %bb.1:
	mov	w9, #4
	sub	w9, w9, w8
	cmp	w9, w19
	csel	w22, w9, w19, lo
	ldr	x9, [x20, #8]
	add	x0, x9, x8, lsl #2
	mov	x1, x21
	mov	x2, x22
	bl	_memcpy
	ldr	w8, [x20]
	add	w8, w8, w22
	str	w8, [x20]
	cmp	w8, #4
	b.lt	LBB0_7
; %bb.2:
	sub	w19, w19, w22
	add	x21, x21, w22, sxtw #2
	ldr	x0, [x20, #8]
	bl	_le32_to_cpup
	ldp	w1, w8, [x20, #16]
	eor	w0, w8, w0
	str	w0, [x20, #20]
	bl	_michael_block
	str	wzr, [x20]
LBB0_3:
	cmp	w19, #4
	b.lo	LBB0_8
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	add	x22, x21, #4
	mov	x0, x21
	bl	_le32_to_cpup
	ldp	w1, w8, [x20, #16]
	eor	w0, w8, w0
	str	w0, [x20, #20]
	bl	_michael_block
	sub	w19, w19, #4
	mov	x21, x22
	cmp	w19, #3
	b.hi	LBB0_4
; %bb.5:
	cbz	w19, LBB0_7
LBB0_6:
	str	w19, [x20]
	ldr	x0, [x20, #8]
	mov	x1, x22
	mov	x2, x19
	bl	_memcpy
LBB0_7:
	mov	w0, #0
	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_8:
	mov	x22, x21
	cbnz	w19, LBB0_6
	b	LBB0_7
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_michael_update
.subsections_via_symbols
