	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function authgss_validate
_authgss_validate:                      ## @authgss_validate
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	leaq	L_.str(%rip), %rdi
	callq	_log_debug
	movq	%r14, %rdi
	callq	_AUTH_PRIVATE
	movq	%rax, %rbx
	movq	(%rax), %rax
	movq	_FALSE@GOTPCREL(%rip), %r12
	cmpq	(%r12), %rax
	jne	LBB0_4
## %bb.1:
	movl	(%r15), %edi
	callq	_mem_alloc
	movq	%rax, 56(%rbx)
	testq	%rax, %rax
	je	LBB0_2
## %bb.3:
	movq	8(%r15), %rsi
	movl	(%r15), %edx
	movq	%rax, %rdi
	callq	_memcpy
	movl	(%r15), %eax
	movl	%eax, 48(%rbx)
	movq	_TRUE@GOTPCREL(%rip), %r12
	jmp	LBB0_9
LBB0_4:
	movq	24(%rbx), %rax
	movq	_RPCSEC_GSS_INIT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	sete	%cl
	movq	_RPCSEC_GSS_CONTINUE_INIT@GOTPCREL(%rip), %rdx
	cmpq	(%rdx), %rax
	sete	%al
	orb	%cl, %al
	movzbl	%al, %eax
	movl	32(%rbx,%rax,8), %edi
	callq	_htonl
	movq	%rax, -56(%rbp)
	leaq	-56(%rbp), %rax
	movq	%rax, -88(%rbp)
	movl	$8, -80(%rbp)
	movq	8(%r15), %rax
	movq	%rax, -72(%rbp)
	movl	(%r15), %eax
	movl	%eax, -64(%rbp)
	movl	16(%rbx), %esi
	leaq	-40(%rbp), %rdi
	leaq	-88(%rbp), %rdx
	leaq	-72(%rbp), %rcx
	leaq	-48(%rbp), %r8
	callq	_gss_verify_mic
	movq	%rax, %r15
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_7
## %bb.5:
	movq	-48(%rbp), %rax
	cmpq	8(%rbx), %rax
	jne	LBB0_7
## %bb.6:
	movq	_TRUE@GOTPCREL(%rip), %r12
	jmp	LBB0_9
LBB0_7:
	movq	-40(%rbp), %rdx
	leaq	L_.str.2(%rip), %rdi
	movq	%r15, %rsi
	callq	_log_status
	movq	_GSS_S_CONTEXT_EXPIRED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r15
	jne	LBB0_9
## %bb.8:
	movq	_FALSE@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, (%rbx)
	movq	%r14, %rdi
	callq	_authgss_destroy_context
	jmp	LBB0_9
LBB0_2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	callq	_fprintf
LBB0_9:
	movq	(%r12), %rax
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in authgss_validate()"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_stderr,4,2                     ## @stderr
L_.str.1:                               ## @.str.1
	.asciz	"gss_validate: out of memory\n"

	.comm	_TRUE,8,3                       ## @TRUE
	.comm	_RPCSEC_GSS_INIT,8,3            ## @RPCSEC_GSS_INIT
	.comm	_RPCSEC_GSS_CONTINUE_INIT,8,3   ## @RPCSEC_GSS_CONTINUE_INIT
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
L_.str.2:                               ## @.str.2
	.asciz	"gss_verify_mic"

	.comm	_GSS_S_CONTEXT_EXPIRED,8,3      ## @GSS_S_CONTEXT_EXPIRED
	.no_dead_strip	_authgss_validate
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function authgss_validate
_authgss_validate:                      ; @authgss_validate
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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	x21, x1
	mov	x20, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_debug
	mov	x0, x20
	bl	_AUTH_PRIVATE
	mov	x19, x0
	ldr	x8, [x0]
Lloh2:
	adrp	x9, _FALSE@GOTPAGE
Lloh3:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh4:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
; %bb.1:
	ldr	w0, [x21]
	bl	_mem_alloc
	str	x0, [x19, #56]
	cbz	x0, LBB0_8
; %bb.2:
	ldr	x1, [x21, #8]
	ldr	w2, [x21]
	bl	_memcpy
	ldr	w8, [x21]
	str	w8, [x19, #48]
	b	LBB0_5
LBB0_3:
Lloh5:
	adrp	x8, _RPCSEC_GSS_INIT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RPCSEC_GSS_INIT@GOTPAGEOFF]
	ldr	x9, [x19, #24]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x10, _RPCSEC_GSS_CONTINUE_INIT@GOTPAGE
Lloh9:
	ldr	x10, [x10, _RPCSEC_GSS_CONTINUE_INIT@GOTPAGEOFF]
Lloh10:
	ldr	x10, [x10]
	cmp	x9, x10
	ccmp	x9, x8, #4, ne
	mov	w8, #32
	mov	w9, #40
	csel	x8, x9, x8, eq
	ldr	w0, [x19, x8]
	bl	_htonl
	stur	x0, [x29, #-40]
	sub	x8, x29, #40
	str	x8, [sp, #32]
	mov	w8, #8
	str	w8, [sp, #40]
	ldr	x8, [x21, #8]
	str	x8, [sp, #16]
	ldr	w8, [x21]
	str	w8, [sp, #24]
	ldr	w1, [x19, #16]
	add	x0, sp, #8
	add	x2, sp, #32
	add	x3, sp, #16
	add	x4, sp, #48
	bl	_gss_verify_mic
	mov	x21, x0
Lloh11:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [sp, #48]
	ldr	x9, [x19, #8]
	cmp	x8, x9
	b.ne	LBB0_6
LBB0_5:
Lloh14:
	adrp	x22, _TRUE@GOTPAGE
Lloh15:
	ldr	x22, [x22, _TRUE@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	ldr	x2, [sp, #8]
Lloh16:
	adrp	x0, l_.str.2@PAGE
Lloh17:
	add	x0, x0, l_.str.2@PAGEOFF
	mov	x1, x21
	bl	_log_status
Lloh18:
	adrp	x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGEOFF]
Lloh20:
	ldr	x8, [x8]
Lloh21:
	adrp	x22, _FALSE@GOTPAGE
Lloh22:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
	cmp	x21, x8
	b.ne	LBB0_9
; %bb.7:
	ldr	x8, [x22]
	str	x8, [x19]
	mov	x0, x20
	bl	_authgss_destroy_context
	b	LBB0_9
LBB0_8:
Lloh23:
	adrp	x8, _stderr@GOTPAGE
Lloh24:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh25:
	ldr	w0, [x8]
Lloh26:
	adrp	x1, l_.str.1@PAGE
Lloh27:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
Lloh28:
	adrp	x22, _FALSE@GOTPAGE
Lloh29:
	ldr	x22, [x22, _FALSE@GOTPAGEOFF]
LBB0_9:
	ldr	x0, [x22]
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in authgss_validate()"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_stderr,4,2                     ; @stderr
l_.str.1:                               ; @.str.1
	.asciz	"gss_validate: out of memory\n"

	.comm	_TRUE,8,3                       ; @TRUE
	.comm	_RPCSEC_GSS_INIT,8,3            ; @RPCSEC_GSS_INIT
	.comm	_RPCSEC_GSS_CONTINUE_INIT,8,3   ; @RPCSEC_GSS_CONTINUE_INIT
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
l_.str.2:                               ; @.str.2
	.asciz	"gss_verify_mic"

	.comm	_GSS_S_CONTEXT_EXPIRED,8,3      ; @GSS_S_CONTEXT_EXPIRED
	.no_dead_strip	_authgss_validate
.subsections_via_symbols
