	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function ssh_hmac_init
LCPI0_0:
	.long	54                              ## 0x36
	.long	54                              ## 0x36
	.long	54                              ## 0x36
	.long	54                              ## 0x36
LCPI0_1:
	.long	106                             ## 0x6a
	.long	106                             ## 0x6a
	.long	106                             ## 0x6a
	.long	106                             ## 0x6a
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_ssh_hmac_init
	.p2align	4, 0x90
_ssh_hmac_init:                         ## @ssh_hmac_init
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	testq	%rsi, %rsi
	je	LBB0_30
## %bb.1:
	movq	(%rbx), %r8
	cmpq	%rdx, %r8
	jae	LBB0_2
## %bb.7:
	movl	28(%rbx), %edi
	movq	8(%rbx), %rcx
	callq	_ssh_digest_memory
	testq	%rax, %rax
	jns	LBB0_3
## %bb.8:
	movl	$-1, %r14d
	jmp	LBB0_31
LBB0_2:
	movq	8(%rbx), %rdi
	callq	_memcpy
LBB0_3:
	movq	(%rbx), %rdx
	movq	8(%rbx), %rsi
	testq	%rdx, %rdx
	je	LBB0_16
## %bb.4:
	cmpq	$8, %rdx
	jae	LBB0_9
## %bb.5:
	xorl	%eax, %eax
	jmp	LBB0_6
LBB0_9:
	movq	%rdx, %rax
	andq	$-8, %rax
	leaq	-8(%rax), %rcx
	movq	%rcx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_10
## %bb.11:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%ecx, %ecx
	movaps	LCPI0_0(%rip), %xmm0            ## xmm0 = [54,54,54,54]
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rcx,4), %xmm1
	movups	16(%rsi,%rcx,4), %xmm2
	movups	32(%rsi,%rcx,4), %xmm3
	movups	48(%rsi,%rcx,4), %xmm4
	xorps	%xmm0, %xmm1
	xorps	%xmm0, %xmm2
	movups	%xmm1, (%rsi,%rcx,4)
	movups	%xmm2, 16(%rsi,%rcx,4)
	xorps	%xmm0, %xmm3
	xorps	%xmm0, %xmm4
	movups	%xmm3, 32(%rsi,%rcx,4)
	movups	%xmm4, 48(%rsi,%rcx,4)
	addq	$16, %rcx
	addq	$-2, %rdi
	jne	LBB0_12
## %bb.13:
	testb	$1, %r8b
	jne	LBB0_14
	jmp	LBB0_15
LBB0_10:
	xorl	%ecx, %ecx
	testb	$1, %r8b
	je	LBB0_15
LBB0_14:
	movups	(%rsi,%rcx,4), %xmm0
	movups	16(%rsi,%rcx,4), %xmm1
	movaps	LCPI0_0(%rip), %xmm2            ## xmm2 = [54,54,54,54]
	xorps	%xmm2, %xmm0
	xorps	%xmm2, %xmm1
	movups	%xmm0, (%rsi,%rcx,4)
	movups	%xmm1, 16(%rsi,%rcx,4)
	jmp	LBB0_15
LBB0_6:
	xorb	$54, (%rsi,%rax,4)
	incq	%rax
LBB0_15:
	cmpq	%rax, %rdx
	jne	LBB0_6
LBB0_16:
	movl	20(%rbx), %edi
	callq	_ssh_digest_update
	movl	$-1, %r14d
	testq	%rax, %rax
	js	LBB0_31
## %bb.17:
	movq	(%rbx), %rdx
	movq	8(%rbx), %rsi
	testq	%rdx, %rdx
	je	LBB0_28
## %bb.18:
	cmpq	$8, %rdx
	jae	LBB0_21
## %bb.19:
	xorl	%eax, %eax
	jmp	LBB0_20
LBB0_21:
	movq	%rdx, %rax
	andq	$-8, %rax
	leaq	-8(%rax), %rcx
	movq	%rcx, %r8
	shrq	$3, %r8
	incq	%r8
	testq	%rcx, %rcx
	je	LBB0_22
## %bb.23:
	movq	%r8, %rdi
	andq	$-2, %rdi
	xorl	%ecx, %ecx
	movaps	LCPI0_1(%rip), %xmm0            ## xmm0 = [106,106,106,106]
	.p2align	4, 0x90
LBB0_24:                                ## =>This Inner Loop Header: Depth=1
	movups	(%rsi,%rcx,4), %xmm1
	movups	16(%rsi,%rcx,4), %xmm2
	movups	32(%rsi,%rcx,4), %xmm3
	movups	48(%rsi,%rcx,4), %xmm4
	xorps	%xmm0, %xmm1
	xorps	%xmm0, %xmm2
	movups	%xmm1, (%rsi,%rcx,4)
	movups	%xmm2, 16(%rsi,%rcx,4)
	xorps	%xmm0, %xmm3
	xorps	%xmm0, %xmm4
	movups	%xmm3, 32(%rsi,%rcx,4)
	movups	%xmm4, 48(%rsi,%rcx,4)
	addq	$16, %rcx
	addq	$-2, %rdi
	jne	LBB0_24
## %bb.25:
	testb	$1, %r8b
	jne	LBB0_26
	jmp	LBB0_27
LBB0_22:
	xorl	%ecx, %ecx
	testb	$1, %r8b
	je	LBB0_27
LBB0_26:
	movups	(%rsi,%rcx,4), %xmm0
	movups	16(%rsi,%rcx,4), %xmm1
	movaps	LCPI0_1(%rip), %xmm2            ## xmm2 = [106,106,106,106]
	xorps	%xmm2, %xmm0
	xorps	%xmm2, %xmm1
	movups	%xmm0, (%rsi,%rcx,4)
	movups	%xmm1, 16(%rsi,%rcx,4)
	jmp	LBB0_27
LBB0_20:
	xorb	$106, (%rsi,%rax,4)
	incq	%rax
LBB0_27:
	cmpq	%rax, %rdx
	jne	LBB0_20
LBB0_28:
	movl	24(%rbx), %edi
	callq	_ssh_digest_update
	testq	%rax, %rax
	js	LBB0_31
## %bb.29:
	movq	(%rbx), %rsi
	movq	8(%rbx), %rdi
	callq	_explicit_bzero
LBB0_30:
	movl	16(%rbx), %esi
	movl	20(%rbx), %edi
	callq	_ssh_digest_copy_state
	movq	%rax, %r14
	sarq	$63, %r14
LBB0_31:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_ssh_hmac_init                  ; -- Begin function ssh_hmac_init
	.p2align	2
_ssh_hmac_init:                         ; @ssh_hmac_init
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
	cbz	x1, LBB0_23
; %bb.1:
	ldr	x4, [x19]
	cmp	x4, x2
	b.hs	LBB0_4
; %bb.2:
	ldr	w0, [x19, #28]
	ldr	x3, [x19, #8]
	bl	_ssh_digest_memory
	tbnz	x0, #63, LBB0_24
; %bb.3:
	ldp	x2, x1, [x19]
	cbnz	x2, LBB0_5
	b	LBB0_12
LBB0_4:
	ldr	x0, [x19, #8]
	bl	_memcpy
	ldp	x2, x1, [x19]
	cbz	x2, LBB0_12
LBB0_5:
	cmp	x2, #16
	b.hs	LBB0_7
; %bb.6:
	mov	x8, #0
	b	LBB0_10
LBB0_7:
	and	x8, x2, #0xfffffffffffffff0
	add	x9, x1, #32
	movi.4s	v0, #54
	mov	x10, x8
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x9, #-32]
	ldp	q3, q4, [x9]
	eor.16b	v1, v1, v0
	eor.16b	v2, v2, v0
	eor.16b	v3, v3, v0
	eor.16b	v4, v4, v0
	stp	q1, q2, [x9, #-32]
	stp	q3, q4, [x9], #64
	subs	x10, x10, #16
	b.ne	LBB0_8
; %bb.9:
	cmp	x2, x8
	b.eq	LBB0_12
LBB0_10:
	sub	x9, x2, x8
	add	x8, x1, x8, lsl #2
	mov	w10, #54
LBB0_11:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	eor	w11, w11, w10
	str	w11, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_11
LBB0_12:
	ldr	w0, [x19, #20]
	bl	_ssh_digest_update
	tbnz	x0, #63, LBB0_24
; %bb.13:
	ldp	x2, x1, [x19]
	cbz	x2, LBB0_21
; %bb.14:
	cmp	x2, #16
	b.hs	LBB0_16
; %bb.15:
	mov	x8, #0
	b	LBB0_19
LBB0_16:
	and	x8, x2, #0xfffffffffffffff0
	add	x9, x1, #32
	movi.4s	v0, #106
	mov	x10, x8
LBB0_17:                                ; =>This Inner Loop Header: Depth=1
	ldp	q1, q2, [x9, #-32]
	ldp	q3, q4, [x9]
	eor.16b	v1, v1, v0
	eor.16b	v2, v2, v0
	eor.16b	v3, v3, v0
	eor.16b	v4, v4, v0
	stp	q1, q2, [x9, #-32]
	stp	q3, q4, [x9], #64
	subs	x10, x10, #16
	b.ne	LBB0_17
; %bb.18:
	cmp	x2, x8
	b.eq	LBB0_21
LBB0_19:
	sub	x9, x2, x8
	add	x8, x1, x8, lsl #2
	mov	w10, #106
LBB0_20:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x8]
	eor	w11, w11, w10
	str	w11, [x8], #4
	subs	x9, x9, #1
	b.ne	LBB0_20
LBB0_21:
	ldr	w0, [x19, #24]
	bl	_ssh_digest_update
	tbnz	x0, #63, LBB0_24
; %bb.22:
	ldp	x1, x0, [x19]
	bl	_explicit_bzero
LBB0_23:
	ldp	w1, w0, [x19, #16]
	bl	_ssh_digest_copy_state
	asr	x0, x0, #63
	b	LBB0_25
LBB0_24:
	mov	w0, #-1
LBB0_25:
                                        ; kill: def $w0 killed $w0 killed $x0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
