	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sha1_init_hmac                 ## -- Begin function sha1_init_hmac
	.p2align	4, 0x90
_sha1_init_hmac:                        ## @sha1_init_hmac
	.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
	movq	%rdi, %r13
	movq	(%rdi), %rdi
	movq	_BLOCK_LENGTH@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	xorl	%esi, %esi
	callq	_memset
	cmpl	%r15d, (%r12)
	jge	LBB0_5
## %bb.1:
	movq	%r13, %rdi
	callq	_sha1_init
	testl	%r15d, %r15d
	je	LBB0_4
## %bb.2:
	movl	%r15d, %r15d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r14,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_sha1_write1
	incq	%rbx
	cmpl	%ebx, %r15d
	jne	LBB0_3
LBB0_4:
	movq	(%r13), %r14
	movq	%r13, %rdi
	callq	_sha1_final
	movq	_HASH_LENGTH@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	movq	%r14, %rdi
	movq	%rax, %rsi
	jmp	LBB0_6
LBB0_5:
	movq	(%r13), %rdi
	movq	%r14, %rsi
	movl	%r15d, %edx
LBB0_6:
	callq	_memcpy
	movq	%r13, %rdi
	callq	_sha1_init
	cmpl	$0, (%r12)
	jle	LBB0_9
## %bb.7:
	xorl	%ebx, %ebx
	movq	_HMAC_IPAD@GOTPCREL(%rip), %r14
	.p2align	4, 0x90
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r13), %rax
	movl	(%r14), %esi
	xorl	(%rax,%rbx,4), %esi
	movq	%r13, %rdi
	callq	_sha1_write1
	incq	%rbx
	movslq	(%r12), %rax
	cmpq	%rax, %rbx
	jl	LBB0_8
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_BLOCK_LENGTH,4,2               ## @BLOCK_LENGTH
	.comm	_HASH_LENGTH,4,2                ## @HASH_LENGTH
	.comm	_HMAC_IPAD,4,2                  ## @HMAC_IPAD
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_sha1_init_hmac                 ; -- Begin function sha1_init_hmac
	.p2align	2
_sha1_init_hmac:                        ; @sha1_init_hmac
	.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	x20, x2
	mov	x21, x1
	mov	x19, x0
	ldr	x0, [x0]
Lloh0:
	adrp	x22, _BLOCK_LENGTH@GOTPAGE
Lloh1:
	ldr	x22, [x22, _BLOCK_LENGTH@GOTPAGEOFF]
	ldr	w2, [x22]
	mov	w1, #0
	bl	_memset
	ldr	w8, [x22]
	cmp	w8, w20
	b.ge	LBB0_4
; %bb.1:
	mov	x0, x19
	bl	_sha1_init
	cbz	w20, LBB0_3
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	sub	w20, w20, #1
	ldr	w1, [x21], #4
	mov	x0, x19
	bl	_sha1_write1
	cbnz	w20, LBB0_2
LBB0_3:
	ldr	x20, [x19]
	mov	x0, x19
	bl	_sha1_final
	mov	x1, x0
Lloh2:
	adrp	x8, _HASH_LENGTH@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HASH_LENGTH@GOTPAGEOFF]
Lloh4:
	ldr	w2, [x8]
	mov	x0, x20
	b	LBB0_5
LBB0_4:
	ldr	x0, [x19]
	mov	x1, x21
	mov	x2, x20
LBB0_5:
	bl	_memcpy
	mov	x0, x19
	bl	_sha1_init
	ldr	w8, [x22]
	cmp	w8, #1
	b.lt	LBB0_8
; %bb.6:
	mov	x20, #0
Lloh5:
	adrp	x21, _HMAC_IPAD@GOTPAGE
Lloh6:
	ldr	x21, [x21, _HMAC_IPAD@GOTPAGEOFF]
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	ldr	w8, [x8, x20, lsl #2]
	ldr	w9, [x21]
	eor	w1, w9, w8
	mov	x0, x19
	bl	_sha1_write1
	add	x20, x20, #1
	ldrsw	x8, [x22]
	cmp	x20, x8
	b.lt	LBB0_7
LBB0_8:
	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
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_BLOCK_LENGTH,4,2               ; @BLOCK_LENGTH
	.comm	_HASH_LENGTH,4,2                ; @HASH_LENGTH
	.comm	_HMAC_IPAD,4,2                  ; @HMAC_IPAD
.subsections_via_symbols
