	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_make_spkm3_checksum            ## -- Begin function make_spkm3_checksum
	.p2align	4, 0x90
_make_spkm3_checksum:                   ## @make_spkm3_checksum
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	cmpl	$128, %edi
	jne	LBB0_10
## %bb.1:
	movq	%rsi, %rbx
	cmpq	$0, (%rsi)
	je	LBB0_8
## %bb.2:
	cmpl	$0, 8(%rbx)
	jle	LBB0_8
## %bb.3:
	movq	%r8, %r15
	movl	%ecx, %r12d
	movq	%rdx, %r13
	movl	%r9d, -60(%rbp)                 ## 4-byte Spill
	movq	_CRYPTO_ALG_ASYNC@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str(%rip), %rdi
	xorl	%esi, %esi
	callq	_crypto_alloc_hash
	movl	%eax, %r14d
	movl	%eax, -48(%rbp)
	movl	%eax, %edi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_8
## %bb.4:
	movl	%r14d, %edi
	callq	_crypto_hash_digestsize
	movq	16(%rbp), %rcx
	movl	%eax, 8(%rcx)
	movq	_CRYPTO_TFM_REQ_MAY_SLEEP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	(%rbx), %rsi
	movl	8(%rbx), %edx
	movl	%r14d, %edi
	callq	_crypto_hash_setkey
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.5:
	leaq	-48(%rbp), %rdi
	callq	_crypto_hash_init
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_7
## %bb.6:
	leaq	-56(%rbp), %rbx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movl	%r12d, %edx
	callq	_sg_init_one
	movl	-56(%rbp), %edx
	leaq	-48(%rbp), %r14
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_crypto_hash_update
	movq	(%r15), %rdx
	movl	-60(%rbp), %esi                 ## 4-byte Reload
	movl	%esi, %eax
	subq	%rax, %rdx
	movq	_spkm3_checksummer@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	%r15, %rdi
	movq	%r14, %r8
	callq	_xdr_process_buf
	movq	16(%rbp), %rax
	movq	(%rax), %rsi
	movq	%r14, %rdi
	callq	_crypto_hash_final
	xorl	%ebx, %ebx
LBB0_7:
	movl	-48(%rbp), %edi
	callq	_crypto_free_hash
	testl	%ebx, %ebx
	jne	LBB0_8
	jmp	LBB0_9
LBB0_10:
	movl	%edi, %esi
	leaq	L_.str.1(%rip), %rdi
	callq	_dprintk
LBB0_8:
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
LBB0_9:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hmac(md5)"

L_.str.1:                               ## @.str.1
	.asciz	"RPC:       spkm3_make_checksum: unsupported checksum %d"

	.comm	_GSS_S_FAILURE,4,2              ## @GSS_S_FAILURE
	.comm	_CRYPTO_ALG_ASYNC,4,2           ## @CRYPTO_ALG_ASYNC
	.comm	_CRYPTO_TFM_REQ_MAY_SLEEP,4,2   ## @CRYPTO_TFM_REQ_MAY_SLEEP
	.comm	_spkm3_checksummer,4,2          ## @spkm3_checksummer
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_make_spkm3_checksum            ; -- Begin function make_spkm3_checksum
	.p2align	2
_make_spkm3_checksum:                   ; @make_spkm3_checksum
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	cmp	w0, #128
	b.ne	LBB0_8
; %bb.1:
	mov	x24, x1
	ldr	x8, [x1]
	cbz	x8, LBB0_9
; %bb.2:
	ldr	w8, [x24, #8]
	cmp	w8, #0
	b.le	LBB0_9
; %bb.3:
	mov	x19, x6
	mov	x20, x5
	mov	x21, x4
	mov	x22, x3
	mov	x23, x2
Lloh0:
	adrp	x8, _CRYPTO_ALG_ASYNC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CRYPTO_ALG_ASYNC@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
Lloh3:
	adrp	x0, l_.str@PAGE
Lloh4:
	add	x0, x0, l_.str@PAGEOFF
	mov	w1, #0
	bl	_crypto_alloc_hash
	mov	x25, x0
	str	w0, [sp, #8]
	bl	_IS_ERR
	cbnz	x0, LBB0_9
; %bb.4:
	mov	x0, x25
	bl	_crypto_hash_digestsize
	str	w0, [x19, #8]
Lloh5:
	adrp	x8, _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPAGE
Lloh6:
	ldr	x8, [x8, _CRYPTO_TFM_REQ_MAY_SLEEP@GOTPAGEOFF]
Lloh7:
	ldr	w8, [x8]
	str	w8, [sp, #12]
	ldr	x1, [x24]
	ldr	w2, [x24, #8]
	mov	x0, x25
	bl	_crypto_hash_setkey
	mov	x24, x0
	cbnz	w0, LBB0_7
; %bb.5:
	add	x0, sp, #8
	bl	_crypto_hash_init
	mov	x24, x0
	cbnz	w0, LBB0_7
; %bb.6:
	mov	x0, sp
	mov	x1, x23
	mov	x2, x22
	bl	_sg_init_one
	ldr	w2, [sp]
	add	x0, sp, #8
	mov	x1, sp
	bl	_crypto_hash_update
	ldr	x8, [x21]
	sub	x2, x8, w20, uxtw
Lloh8:
	adrp	x8, _spkm3_checksummer@GOTPAGE
Lloh9:
	ldr	x8, [x8, _spkm3_checksummer@GOTPAGEOFF]
Lloh10:
	ldr	w3, [x8]
	add	x4, sp, #8
	mov	x0, x21
	mov	x1, x20
	bl	_xdr_process_buf
	ldr	x1, [x19]
	add	x0, sp, #8
	bl	_crypto_hash_final
LBB0_7:
	ldr	w0, [sp, #8]
	bl	_crypto_free_hash
Lloh11:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh13:
	ldr	w8, [x8]
	cmp	w24, #0
	csel	w0, wzr, w8, eq
	b	LBB0_10
LBB0_8:
	mov	x1, x0
Lloh14:
	adrp	x0, l_.str.1@PAGE
Lloh15:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_dprintk
LBB0_9:
Lloh16:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh18:
	ldr	w0, [x8]
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hmac(md5)"

l_.str.1:                               ; @.str.1
	.asciz	"RPC:       spkm3_make_checksum: unsupported checksum %d"

	.comm	_GSS_S_FAILURE,4,2              ; @GSS_S_FAILURE
	.comm	_CRYPTO_ALG_ASYNC,4,2           ; @CRYPTO_ALG_ASYNC
	.comm	_CRYPTO_TFM_REQ_MAY_SLEEP,4,2   ; @CRYPTO_TFM_REQ_MAY_SLEEP
	.comm	_spkm3_checksummer,4,2          ; @spkm3_checksummer
.subsections_via_symbols
