	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_decapsulate_token          ## -- Begin function gss_decapsulate_token
	.p2align	4, 0x90
_gss_decapsulate_token:                 ## @gss_decapsulate_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
	movq	%rdx, %r12
	movl	%esi, %ebx
	movq	(%rdi), %r14
	movq	8(%rdi), %r15
	movq	%rdx, %rdi
	callq	__gss_buffer_zero
	movq	_GSS_S_DEFECTIVE_TOKEN@GOTPCREL(%rip), %r13
	testq	%r15, %r15
	je	LBB0_25
## %bb.1:
	cmpb	$96, (%r14)
	jne	LBB0_25
## %bb.2:
	cmpq	$1, %r15
	je	LBB0_25
## %bb.3:
	movzbl	1(%r14), %edx
	testb	$-128, %dl
	jne	LBB0_5
## %bb.4:
	movl	%ebx, %esi
	movl	%edx, %ecx
	addq	$2, %r14
	addq	$-2, %r15
	movq	%r14, %rbx
	movq	%r15, %r9
	jmp	LBB0_16
LBB0_5:
	andl	$127, %edx
	addq	$-2, %r15
	movq	%r15, %r9
	subq	%rdx, %r9
	jb	LBB0_25
## %bb.6:
	movl	%ebx, %esi
	leaq	2(%r14), %rbx
	testl	%edx, %edx
	je	LBB0_7
## %bb.8:
	leaq	-1(%rdx), %rcx
	movl	%edx, %r8d
	andl	$3, %r8d
	cmpq	$3, %rcx
	jae	LBB0_10
## %bb.9:
	xorl	%ecx, %ecx
	jmp	LBB0_12
LBB0_7:
	xorl	%ecx, %ecx
	movq	%r15, %r9
	jmp	LBB0_16
LBB0_10:
	movl	%edx, %eax
	andl	$-4, %eax
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_11:                                ## =>This Inner Loop Header: Depth=1
	movzbl	(%rbx), %edi
	shlq	$16, %rcx
	shlq	$8, %rdi
	orq	%rcx, %rdi
	movzbl	1(%rbx), %ecx
	orq	%rdi, %rcx
	movzbl	2(%rbx), %edi
	shlq	$16, %rcx
	shlq	$8, %rdi
	orq	%rcx, %rdi
	movzbl	3(%rbx), %ecx
	orq	%rdi, %rcx
	addq	$4, %rbx
	addq	$-4, %rax
	jne	LBB0_11
LBB0_12:
	addq	$2, %rdx
	testq	%r8, %r8
	je	LBB0_15
## %bb.13:
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_14:                                ## =>This Inner Loop Header: Depth=1
	shlq	$8, %rcx
	movzbl	(%rbx,%rax), %edi
	orq	%rdi, %rcx
	incq	%rax
	cmpq	%rax, %r8
	jne	LBB0_14
LBB0_15:
	addq	%rdx, %r14
	movq	%r14, %rbx
LBB0_16:
	cmpq	$2, %r9
	jb	LBB0_25
## %bb.17:
	cmpq	%r9, %rcx
	jne	LBB0_25
## %bb.18:
	cmpb	$6, (%rbx)
	jne	LBB0_25
## %bb.19:
	movb	1(%rbx), %al
	testb	%al, %al
	js	LBB0_25
## %bb.20:
	movzbl	%al, %ecx
	addq	$-2, %r9
	cmpq	%rcx, %r9
	jb	LBB0_25
## %bb.21:
	movq	%r9, %r15
	movb	%al, -56(%rbp)
	addq	$2, %rbx
	movq	%rbx, -48(%rbp)
	leaq	-56(%rbp), %rdi
	callq	_gss_oid_equal
	testl	%eax, %eax
	je	LBB0_22
## %bb.23:
	movzbl	-56(%rbp), %r14d
	subq	%r14, %r15
	movq	%r15, 8(%r12)
	movq	%r15, %rdi
	callq	_malloc
	movq	%rax, (%r12)
	testq	%rax, %rax
	je	LBB0_25
## %bb.24:
	addq	%r14, %rbx
	movq	%rax, %rdi
	movq	%rbx, %rsi
	movq	%r15, %rdx
	callq	_memcpy
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %r13
	jmp	LBB0_25
LBB0_22:
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %r13
LBB0_25:
	movl	(%r13), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_DEFECTIVE_TOKEN,4,2      ## @GSS_S_DEFECTIVE_TOKEN
	.comm	_GSS_S_FAILURE,4,2              ## @GSS_S_FAILURE
	.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	_gss_decapsulate_token          ; -- Begin function gss_decapsulate_token
	.p2align	2
_gss_decapsulate_token:                 ; @gss_decapsulate_token
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	ldp	x21, x22, [x0]
	mov	x0, x2
	bl	__gss_buffer_zero
	cbz	x22, LBB0_2
; %bb.1:
	ldrb	w8, [x21]
	cmp	w8, #96
	ccmp	x22, #1, #4, eq
	b.ne	LBB0_4
LBB0_2:
Lloh0:
	adrp	x10, _GSS_S_DEFECTIVE_TOKEN@GOTPAGE
Lloh1:
	ldr	x10, [x10, _GSS_S_DEFECTIVE_TOKEN@GOTPAGEOFF]
LBB0_3:
	ldr	w0, [x10]
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
LBB0_4:
	ldrb	w9, [x21, #1]
	tbnz	w9, #7, LBB0_6
; %bb.5:
	add	x8, x21, #2
	sub	x12, x22, #2
	b	LBB0_11
LBB0_6:
	and	x11, x9, #0x7f
	sub	x12, x22, #2
	subs	x10, x12, x11
	b.lo	LBB0_2
; %bb.7:
	add	x8, x21, #2
	mov	x9, #0
	cbz	w11, LBB0_11
; %bb.8:
	add	x12, x11, #2
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w13, [x8], #1
	bfi	x13, x9, #8, #56
	mov	x9, x13
	subs	x11, x11, #1
	b.ne	LBB0_9
; %bb.10:
	add	x8, x21, x12
	mov	x12, x10
LBB0_11:
Lloh2:
	adrp	x10, _GSS_S_DEFECTIVE_TOKEN@GOTPAGE
Lloh3:
	ldr	x10, [x10, _GSS_S_DEFECTIVE_TOKEN@GOTPAGEOFF]
	subs	x21, x12, #2
	b.lo	LBB0_3
; %bb.12:
	cmp	x9, x12
	b.ne	LBB0_3
; %bb.13:
	ldrb	w9, [x8]
	cmp	w9, #6
	b.ne	LBB0_2
; %bb.14:
	ldrsb	w9, [x8, #1]
	tbnz	w9, #31, LBB0_2
; %bb.15:
	and	x10, x9, #0xff
	cmp	x21, x10
	b.lo	LBB0_2
; %bb.16:
	strb	w9, [sp]
	add	x22, x8, #2
	str	x22, [sp, #8]
	mov	x0, sp
	mov	x1, x20
	bl	_gss_oid_equal
	cbz	w0, LBB0_19
; %bb.17:
	ldrb	w23, [sp]
	sub	x20, x21, x23
	str	x20, [x19, #8]
	mov	x0, x20
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_2
; %bb.18:
	add	x1, x22, x23
	mov	x2, x20
	bl	_memcpy
Lloh4:
	adrp	x10, _GSS_S_COMPLETE@GOTPAGE
Lloh5:
	ldr	x10, [x10, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_3
LBB0_19:
Lloh6:
	adrp	x10, _GSS_S_FAILURE@GOTPAGE
Lloh7:
	ldr	x10, [x10, _GSS_S_FAILURE@GOTPAGEOFF]
	b	LBB0_3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_DEFECTIVE_TOKEN,4,2      ; @GSS_S_DEFECTIVE_TOKEN
	.comm	_GSS_S_FAILURE,4,2              ; @GSS_S_FAILURE
	.comm	_GSS_S_COMPLETE,4,2             ; @GSS_S_COMPLETE
.subsections_via_symbols
