	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spkm3_verify_mic_token         ## -- Begin function spkm3_verify_mic_token
	.p2align	4, 0x90
_spkm3_verify_mic_token:                ## @spkm3_verify_mic_token
	.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
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -64(%rbp)
	movq	(%rdi), %rbx
	movq	_GSS_S_DEFECTIVE_TOKEN@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	cmpb	$-92, (%rbx)
	jne	LBB0_2
## %bb.1:
	cmpb	$48, 2(%rbx)
	jne	LBB0_2
## %bb.4:
	movq	%rsi, %r13
	movzbl	3(%rbx), %eax
	movl	%eax, (%rsi)
	cmpb	$2, 4(%rbx)
	jne	LBB0_6
## %bb.5:
	cmpb	$2, 5(%rbx)
	jne	LBB0_6
## %bb.7:
	cmpb	$1, 6(%rbx)
	jne	LBB0_9
## %bb.8:
	cmpb	$1, 7(%rbx)
	jne	LBB0_9
## %bb.10:
	cmpb	$3, 8(%rbx)
	jne	LBB0_11
## %bb.12:
	movzbl	9(%rbx), %r12d
	cmpl	$18, %r12d
	jb	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rdi
	movl	%r12d, %esi
	jmp	LBB0_17
LBB0_2:
	leaq	L_.str(%rip), %rdi
LBB0_3:
	xorl	%eax, %eax
	callq	_dprintk
LBB0_19:
	movq	-64(%rbp), %rdi
	callq	_kfree
	movl	%r15d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	L_.str.1(%rip), %rdi
	jmp	LBB0_3
LBB0_9:
	leaq	L_.str.2(%rip), %rdi
	jmp	LBB0_3
LBB0_11:
	leaq	L_.str.3(%rip), %rdi
	jmp	LBB0_3
LBB0_14:
	movq	%rdx, %r14
	leaq	11(%rbx), %rsi
	leal	-1(%r12), %edx
	leaq	-64(%rbp), %rdi
	movl	$16, %ecx
	callq	_decode_asn1_bitstring
	testl	%eax, %eax
	je	LBB0_19
## %bb.15:
	movl	(%r13), %esi
	leal	6(%r12), %eax
	cmpl	%eax, %esi
	jne	LBB0_16
## %bb.18:
	movl	%r12d, %eax
	addq	%rbx, %rax
	addq	$10, %rax
	movq	%rax, (%r14)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	jmp	LBB0_19
LBB0_16:
	leaq	L_.str.5(%rip), %rdi
LBB0_17:
	xorl	%eax, %eax
	callq	_dprintk
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_DEFECTIVE_TOKEN,4,2      ## @GSS_S_DEFECTIVE_TOKEN
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"RPC:       BAD SPKM ictoken preamble\n"

L_.str.1:                               ## @.str.1
	.asciz	"RPC:       BAD asn1 SPKM3 token type\n"

L_.str.2:                               ## @.str.2
	.asciz	"RPC:       ERROR unsupported SPKM3 token \n"

L_.str.3:                               ## @.str.3
	.asciz	"RPC:       BAD SPKM3 asn1 context-id type\n"

L_.str.4:                               ## @.str.4
	.asciz	"RPC:       BAD SPKM3 contextid len %d\n"

L_.str.5:                               ## @.str.5
	.asciz	"RPC:       BAD SPKM_ MIC_TOK header len %d: we only support default int-alg (should be absent) and do not support snd-seq\n"

	.comm	_GSS_S_COMPLETE,4,2             ## @GSS_S_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_spkm3_verify_mic_token         ; -- Begin function spkm3_verify_mic_token
	.p2align	2
_spkm3_verify_mic_token:                ; @spkm3_verify_mic_token
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	stp	xzr, xzr, [sp, #16]
	ldr	x22, [x0]
Lloh0:
	adrp	x8, _GSS_S_DEFECTIVE_TOKEN@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_S_DEFECTIVE_TOKEN@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
	ldrb	w8, [x22]
	cmp	w8, #164
	b.ne	LBB0_9
; %bb.1:
	ldrb	w8, [x22, #2]
	cmp	w8, #48
	b.ne	LBB0_9
; %bb.2:
	mov	x21, x1
	ldrb	w8, [x22, #3]
	str	w8, [x1]
	ldrb	w8, [x22, #4]
	cmp	w8, #2
	b.ne	LBB0_12
; %bb.3:
	ldrb	w8, [x22, #5]
	cmp	w8, #2
	b.ne	LBB0_12
; %bb.4:
	ldrb	w8, [x22, #6]
	cmp	w8, #1
	b.ne	LBB0_13
; %bb.5:
	ldrb	w8, [x22, #7]
	cmp	w8, #1
	b.ne	LBB0_13
; %bb.6:
	ldrb	w8, [x22, #8]
	cmp	w8, #3
	b.ne	LBB0_14
; %bb.7:
	ldrb	w23, [x22, #9]
	cmp	w23, #18
	b.lo	LBB0_15
; %bb.8:
	str	x23, [sp]
Lloh3:
	adrp	x0, l_.str.4@PAGE
Lloh4:
	add	x0, x0, l_.str.4@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh5:
	adrp	x0, l_.str@PAGE
Lloh6:
	add	x0, x0, l_.str@PAGEOFF
LBB0_10:
	bl	_dprintk
LBB0_11:
	ldr	x0, [sp, #16]
	bl	_kfree
	mov	x0, x19
	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
	add	sp, sp, #96
	ret
LBB0_12:
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
	b	LBB0_10
LBB0_13:
Lloh9:
	adrp	x0, l_.str.2@PAGE
Lloh10:
	add	x0, x0, l_.str.2@PAGEOFF
	b	LBB0_10
LBB0_14:
Lloh11:
	adrp	x0, l_.str.3@PAGE
Lloh12:
	add	x0, x0, l_.str.3@PAGEOFF
	b	LBB0_10
LBB0_15:
	mov	x20, x2
	add	x1, x22, #11
	sub	w2, w23, #1
	add	x0, sp, #16
	mov	w3, #16
	bl	_decode_asn1_bitstring
	cbz	w0, LBB0_11
; %bb.16:
	ldr	w8, [x21]
	add	w9, w23, #6
	cmp	w8, w9
	b.ne	LBB0_18
; %bb.17:
	add	x8, x22, w23, uxtw
	add	x8, x8, #10
	str	x8, [x20]
Lloh13:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh15:
	ldr	w19, [x8]
	b	LBB0_11
LBB0_18:
	str	x8, [sp]
Lloh16:
	adrp	x0, l_.str.5@PAGE
Lloh17:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_10
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_DEFECTIVE_TOKEN,4,2      ; @GSS_S_DEFECTIVE_TOKEN
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"RPC:       BAD SPKM ictoken preamble\n"

l_.str.1:                               ; @.str.1
	.asciz	"RPC:       BAD asn1 SPKM3 token type\n"

l_.str.2:                               ; @.str.2
	.asciz	"RPC:       ERROR unsupported SPKM3 token \n"

l_.str.3:                               ; @.str.3
	.asciz	"RPC:       BAD SPKM3 asn1 context-id type\n"

l_.str.4:                               ; @.str.4
	.asciz	"RPC:       BAD SPKM3 contextid len %d\n"

l_.str.5:                               ; @.str.5
	.asciz	"RPC:       BAD SPKM_ MIC_TOK header len %d: we only support default int-alg (should be absent) and do not support snd-seq\n"

	.comm	_GSS_S_COMPLETE,4,2             ; @GSS_S_COMPLETE
.subsections_via_symbols
