	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sha1_update
_sha1_update:                           ## @sha1_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	%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, %r15d
	movq	%rsi, %r14
	callq	_shash_desc_ctx
	movq	%rax, %r13
	movl	(%rax), %ebx
	leal	(%rbx,%r15,8), %eax
                                        ## kill: def $ebx killed $ebx killed $rbx def $rbx
	shrl	$3, %ebx
	andl	$63, %ebx
	movl	%eax, (%r13)
	leal	(%rbx,%r15), %eax
	cmpl	$64, %eax
	jb	LBB0_3
## %bb.1:
	leaq	(,%rbx,4), %rdi
	addq	8(%r13), %rdi
	movl	$64, %r12d
	subl	%ebx, %r12d
	movq	%r14, %rsi
	movl	%r12d, %edx
	callq	_memcpy
	movl	16(%r13), %esi
	movq	8(%r13), %rdx
	movq	%r13, %rdi
	callq	_sha1_transform
	xorl	$127, %ebx
	cmpl	%r15d, %ebx
	jae	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	leal	-63(%rbx), %eax
	movl	16(%r13), %esi
	leaq	(%r14,%rax,4), %rdx
	movq	%r13, %rdi
	callq	_sha1_transform
	addl	$64, %ebx
	cmpl	%r15d, %ebx
	jb	LBB0_4
## %bb.5:
	addl	$-63, %ebx
	xorl	%edi, %edi
	movl	%ebx, %r12d
	jmp	LBB0_6
LBB0_3:
	movl	%ebx, %edi
	xorl	%r12d, %r12d
	jmp	LBB0_6
LBB0_2:
	xorl	%edi, %edi
LBB0_6:
	shlq	$2, %rdi
	addq	8(%r13), %rdi
	movl	%r12d, %eax
	leaq	(%r14,%rax,4), %rsi
	subl	%r12d, %r15d
	movl	%r15d, %edx
	callq	_memcpy
	xorl	%eax, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_sha1_update
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sha1_update
_sha1_update:                           ; @sha1_update
	.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, x2
	mov	x20, x1
	bl	_shash_desc_ctx
	mov	x21, x0
	ldr	w8, [x0]
	ubfx	x23, x8, #3, #6
	add	w8, w8, w19, lsl #3
	str	w8, [x0]
	add	w8, w23, w19
	cmp	w8, #64
	b.lo	LBB0_5
; %bb.1:
	ldr	x8, [x21, #8]
	add	x0, x8, x23, lsl #2
	mov	w8, #64
	sub	w22, w8, w23
	mov	x1, x20
	mov	x2, x22
	bl	_memcpy
	ldr	w1, [x21, #16]
	ldr	x2, [x21, #8]
	mov	x0, x21
	bl	_sha1_transform
	eor	w8, w23, #0x7f
	cmp	w8, w19
	b.hs	LBB0_6
; %bb.2:
	mov	w8, #127
	sub	w22, w8, w23
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	sub	w8, w22, #63
	ldr	w1, [x21, #16]
	add	x2, x20, w8, uxtw #2
	mov	x0, x21
	bl	_sha1_transform
	add	w22, w22, #64
	cmp	w22, w19
	b.lo	LBB0_3
; %bb.4:
	mov	x8, #0
	sub	w22, w22, #63
	b	LBB0_7
LBB0_5:
	mov	w22, #0
	mov	w8, w23
	b	LBB0_7
LBB0_6:
	mov	x8, #0
LBB0_7:
	ldr	x9, [x21, #8]
	add	x0, x9, x8, lsl #2
	add	x1, x20, w22, uxtw #2
	sub	w2, w19, w22
	bl	_memcpy
	mov	w0, #0
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_sha1_update
.subsections_via_symbols
