	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function authsspi_refresh
_authsspi_refresh:                      ## @authsspi_refresh
	.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	$264, %rsp                      ## imm = 0x108
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_ISC_REQ_MUTUAL_AUTH@GOTPCREL(%rip), %rax
	movq	_ISC_REQ_INTEGRITY@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	orq	(%rax), %rcx
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	_ISC_REQ_ALLOCATE_MEMORY@GOTPCREL(%rip), %rax
	orq	(%rax), %rcx
	movq	%rcx, -160(%rbp)                ## 8-byte Spill
	leaq	L_.str(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debug
	movq	%r14, %rdi
	callq	_AUTH_PRIVATE
	movq	%rax, %r12
	movq	_TRUE@GOTPCREL(%rip), %rax
	testq	%rbx, %rbx
	jne	LBB0_2
## %bb.1:
	cmpq	$0, 48(%r12)
	jne	LBB0_34
LBB0_2:
	cmpq	$0, 40(%r12)
	jne	LBB0_34
## %bb.3:
	testq	%rbx, %rbx
	je	LBB0_5
## %bb.4:
	leaq	L_.str.1(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debug
	leaq	72(%r12), %rbx
	movq	%rbx, %rdi
	callq	_DeleteSecurityContext
	leaq	16(%r12), %rdi
	callq	_sspi_release_buffer
	movq	%rbx, %rdi
	callq	_SecInvalidateHandle
	movq	56(%r12), %rsi
	movq	64(%r12), %rdi
	callq	_mem_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 56(%r12)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movq	_RPCSEC_SSPI_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
LBB0_5:
	movq	%r14, -144(%rbp)                ## 8-byte Spill
	leaq	-208(%rbp), %rdi
	xorl	%ebx, %ebx
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	_SSPI_C_NO_BUFFER@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -128(%rbp)
	movq	88(%r12), %rdi
	callq	_print_rpc_gss_sec
	movq	88(%r12), %rax
	movq	(%rax), %rcx
	movq	_RPCSEC_SSPI_SVC_PRIVACY@GOTPCREL(%rip), %rdx
	movl	$0, %eax
	cmpq	(%rdx), %rcx
	jne	LBB0_7
## %bb.6:
	movq	_ISC_REQ_CONFIDENTIALITY@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_7:
	orq	%rax, -160(%rbp)                ## 8-byte Folded Spill
	leaq	72(%r12), %rax
	movq	%rax, -152(%rbp)                ## 8-byte Spill
	leaq	80(%r12), %rax
	movq	%rax, -224(%rbp)                ## 8-byte Spill
	leaq	-200(%rbp), %r15
	leaq	16(%r12), %rax
	movq	%rax, -216(%rbp)                ## 8-byte Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_24:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_RPCSEC_SSPI_CONTINUE_INIT@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	_SEC_E_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_25:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%rax, %r14
	movq	-232(%rbp), %rbx                ## 8-byte Reload
	je	LBB0_26
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	_SSPI_C_NO_BUFFER@GOTPCREL(%rip), %rax
	cmpq	(%rax), %r13
	je	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movq	(%r13), %rsi
	leaq	L_.str.2(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debug
	movq	(%r13), %rcx
	movq	8(%r13), %rdx
	xorl	%edi, %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r8d, %r8d
	callq	_log_hexdump
LBB0_10:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	movl	$1, -296(%rbp)
	leaq	-80(%rbp), %rax
	movq	%rax, -280(%rbp)
	movq	_SECBUFFER_VERSION@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -288(%rbp)
	movq	_SECBUFFER_TOKEN@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -64(%rbp)
	movaps	-128(%rbp), %xmm0
	movaps	%xmm0, -80(%rbp)
	movl	84(%r12), %esi
	leaq	L_.str.4(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debug
	movq	88(%r12), %rdi
	addq	$8, %rdi
	subq	$1, %rbx
	movq	%rbx, -232(%rbp)                ## 8-byte Spill
	movq	-152(%rbp), %r10                ## 8-byte Reload
	movq	%r10, %rsi
	movl	$0, %ecx
	cmovbq	%rcx, %rsi
	movl	84(%r12), %edx
	movq	_SECURITY_NATIVE_DREP@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	leaq	-272(%rbp), %rax
	cmovbq	%rcx, %rax
	movq	-160(%rbp), %rcx                ## 8-byte Reload
	xorl	%r8d, %r8d
	pushq	-224(%rbp)                      ## 8-byte Folded Reload
	leaq	-304(%rbp), %rbx
	pushq	%rbx
	leaq	-296(%rbp), %rbx
	pushq	%rbx
	pushq	%r10
	pushq	$0
	pushq	%rax
	callq	_InitializeSecurityContextA
	addq	$48, %rsp
	movq	%rax, %r14
	movq	_SSPI_C_NO_BUFFER@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %r13
	je	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	%r15, %rdi
	callq	_sspi_release_buffer
	movq	(%rbx), %r13
LBB0_12:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	_SEC_E_OK@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	%rax, %r14
	je	LBB0_15
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_SEC_I_CONTINUE_NEEDED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	jne	LBB0_14
LBB0_15:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-80(%rbp), %rcx
	movq	-72(%rbp), %rdx
	movq	%rcx, -128(%rbp)
	movq	%rdx, -120(%rbp)
	testq	%rcx, %rcx
	je	LBB0_25
## %bb.16:                              ##   in Loop: Header=BB0_8 Depth=1
	leaq	-208(%rbp), %rdi
	xorl	%esi, %esi
	movl	$48, %edx
	callq	_memset
	movq	-128(%rbp), %rsi
	leaq	L_.str.6(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debug
	movq	-128(%rbp), %rcx
	movq	-120(%rbp), %rdx
	xorl	%edi, %edi
	leaq	L_.str.3(%rip), %rsi
	xorl	%r8d, %r8d
	callq	_log_hexdump
	movl	76(%r12), %edi
	movq	_NULLPROC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_xdr_rpc_sspi_init_args@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_xdr_rpc_sspi_init_res@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_AUTH_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	subq	$8, %rsp
	leaq	-128(%rbp), %rcx
	leaq	-208(%rbp), %r9
                                        ## kill: def $r9d killed $r9d killed $r9
	pushq	%rax
	callq	_clnt_call
	addq	$16, %rsp
	movq	%rax, %rbx
	movq	-120(%rbp), %rdi
	callq	_FreeContextBuffer
	movq	_RPC_SUCCESS@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	leaq	-200(%rbp), %r15
	jne	LBB0_30
## %bb.17:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-208(%rbp), %rax
	movq	_SEC_E_OK@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_SEC_I_CONTINUE_NEEDED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_30
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	$0, -176(%rbp)
	je	LBB0_21
## %bb.20:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-216(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_sspi_release_buffer
	movups	24(%r15), %xmm0
	movups	%xmm0, (%rbx)
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=1
	movq	-200(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_24
## %bb.22:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	_SEC_I_CONTINUE_NEEDED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %r14
	jne	LBB0_30
## %bb.23:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	$1, -272(%rbp)
	leaq	-112(%rbp), %rcx
	movq	%rcx, -256(%rbp)
	movq	_SECBUFFER_VERSION@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -264(%rbp)
	movq	_SECBUFFER_TOKEN@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movq	%rcx, -96(%rbp)
	movq	%rax, -112(%rbp)
	movq	-192(%rbp), %rax
	movq	%rax, -104(%rbp)
	movq	%r15, %r13
	jmp	LBB0_24
LBB0_14:
	leaq	L_.str.5(%rip), %rdi
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_log_debug
	jmp	LBB0_30
LBB0_26:
	movl	$0, -132(%rbp)
	movq	-152(%rbp), %rbx                ## 8-byte Reload
	movq	%rbx, %rdi
	callq	_print_negotiated_attrs
	movl	-184(%rbp), %edi
	callq	_htonl
	movl	%eax, -136(%rbp)
	leaq	-136(%rbp), %rax
	movq	%rax, -240(%rbp)
	movq	$4, -248(%rbp)
	movq	%r12, %rcx
	addq	$56, %rcx
	leaq	-248(%rbp), %rdx
	leaq	-132(%rbp), %r8
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	_sspi_verify_mic
	movq	%rax, %rbx
	movq	_SEC_E_OK@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_27
## %bb.29:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 40(%r12)
	movq	_RPCSEC_SSPI_DATA@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r12)
	movq	$0, 8(%r12)
	movl	-184(%rbp), %eax
	movl	%eax, 32(%r12)
	leaq	L_.str.8(%rip), %rdi
	xorl	%eax, %eax
	callq	_log_debug
	jmp	LBB0_30
LBB0_27:
	leaq	L_.str.7(%rip), %rdi
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_log_debug
	movq	_SEC_E_NO_AUTHENTICATING_AUTHORITY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_30
## %bb.28:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 48(%r12)
	movq	-144(%rbp), %rdi                ## 8-byte Reload
	callq	_authsspi_destroy_context
LBB0_30:
	movq	(%r12), %rax
	movq	_RPCSEC_SSPI_DATA@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-144(%rbp), %rbx                ## 8-byte Reload
	movq	_TRUE@GOTPCREL(%rip), %rax
	je	LBB0_34
## %bb.31:
	cmpq	$0, -200(%rbp)
	je	LBB0_33
## %bb.32:
	leaq	-200(%rbp), %rdi
	callq	_sspi_release_buffer
LBB0_33:
	movq	%rbx, %rdi
	callq	_authsspi_destroy
	movq	_RPC_AUTHERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_rpc_createerr@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movq	_FALSE@GOTPCREL(%rip), %rax
LBB0_34:
	movq	(%rax), %rax
	movq	___stack_chk_guard@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	cmpq	-48(%rbp), %rcx
	jne	LBB0_36
## %bb.35:
	addq	$264, %rsp                      ## imm = 0x108
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_36:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_ISC_REQ_MUTUAL_AUTH,8,3        ## @ISC_REQ_MUTUAL_AUTH
	.comm	_ISC_REQ_INTEGRITY,8,3          ## @ISC_REQ_INTEGRITY
	.comm	_ISC_REQ_ALLOCATE_MEMORY,8,3    ## @ISC_REQ_ALLOCATE_MEMORY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in authgss_refresh()"

	.comm	_TRUE,8,3                       ## @TRUE
L_.str.1:                               ## @.str.1
	.asciz	"trying to refresh credentials\n"

	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_RPCSEC_SSPI_INIT,8,3           ## @RPCSEC_SSPI_INIT
	.comm	_SSPI_C_NO_BUFFER,8,3           ## @SSPI_C_NO_BUFFER
	.comm	_RPCSEC_SSPI_SVC_PRIVACY,8,3    ## @RPCSEC_SSPI_SVC_PRIVACY
	.comm	_ISC_REQ_CONFIDENTIALITY,8,3    ## @ISC_REQ_CONFIDENTIALITY
L_.str.2:                               ## @.str.2
	.asciz	"The token we just received (length %d):"

L_.str.3:                               ## @.str.3
	.space	1

	.comm	_SECBUFFER_VERSION,8,3          ## @SECBUFFER_VERSION
	.comm	_SECBUFFER_TOKEN,8,3            ## @SECBUFFER_TOKEN
L_.str.4:                               ## @.str.4
	.asciz	"calling InitializeSecurityContextA for %s"

	.comm	_SECURITY_NATIVE_DREP,4,2       ## @SECURITY_NATIVE_DREP
	.comm	_SEC_E_OK,8,3                   ## @SEC_E_OK
	.comm	_SEC_I_CONTINUE_NEEDED,8,3      ## @SEC_I_CONTINUE_NEEDED
L_.str.5:                               ## @.str.5
	.asciz	"InitializeSecurityContext failed with %x"

L_.str.6:                               ## @.str.6
	.asciz	"The token being sent (length %d):"

	.comm	_NULLPROC,4,2                   ## @NULLPROC
	.comm	_xdr_rpc_sspi_init_args,8,3     ## @xdr_rpc_sspi_init_args
	.comm	_xdr_rpc_sspi_init_res,8,3      ## @xdr_rpc_sspi_init_res
	.comm	_AUTH_TIMEOUT,4,2               ## @AUTH_TIMEOUT
	.comm	_RPC_SUCCESS,8,3                ## @RPC_SUCCESS
	.comm	_RPCSEC_SSPI_CONTINUE_INIT,8,3  ## @RPCSEC_SSPI_CONTINUE_INIT
L_.str.7:                               ## @.str.7
	.asciz	"authgss_refresh: sspi_verify_mic failed with %x"

	.comm	_SEC_E_NO_AUTHENTICATING_AUTHORITY,8,3 ## @SEC_E_NO_AUTHENTICATING_AUTHORITY
	.comm	_RPCSEC_SSPI_DATA,8,3           ## @RPCSEC_SSPI_DATA
L_.str.8:                               ## @.str.8
	.asciz	"authgss_refresh: established GSS context"

	.comm	_RPC_AUTHERROR,4,2              ## @RPC_AUTHERROR
	.comm	_rpc_createerr,4,2              ## @rpc_createerr
	.comm	_bufout,4,2                     ## @bufout
	.comm	_min_stat,4,2                   ## @min_stat
	.no_dead_strip	_authsspi_refresh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function authsspi_refresh
_authsspi_refresh:                      ; @authsspi_refresh
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #384
	.cfi_def_cfa_offset 384
	stp	x28, x27, [sp, #288]            ; 16-byte Folded Spill
	stp	x26, x25, [sp, #304]            ; 16-byte Folded Spill
	stp	x24, x23, [sp, #320]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #336]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #352]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #368]            ; 16-byte Folded Spill
	add	x29, sp, #368
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x21, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh3:
	adrp	x8, _ISC_REQ_MUTUAL_AUTH@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ISC_REQ_MUTUAL_AUTH@GOTPAGEOFF]
Lloh5:
	ldr	x19, [x8]
Lloh6:
	adrp	x8, _ISC_REQ_INTEGRITY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ISC_REQ_INTEGRITY@GOTPAGEOFF]
Lloh8:
	ldr	x22, [x8]
Lloh9:
	adrp	x8, _ISC_REQ_ALLOCATE_MEMORY@GOTPAGE
Lloh10:
	ldr	x8, [x8, _ISC_REQ_ALLOCATE_MEMORY@GOTPAGEOFF]
Lloh11:
	ldr	x23, [x8]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_debug
	mov	x0, x24
	bl	_AUTH_PRIVATE
	mov	x20, x0
	cbnz	x21, LBB0_3
; %bb.1:
	ldr	x8, [x20, #48]
	cbz	x8, LBB0_3
LBB0_2:
Lloh14:
	adrp	x25, _TRUE@GOTPAGE
Lloh15:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
	b	LBB0_32
LBB0_3:
	ldr	x8, [x20, #40]
Lloh16:
	adrp	x25, _TRUE@GOTPAGE
Lloh17:
	ldr	x25, [x25, _TRUE@GOTPAGEOFF]
	cbnz	x8, LBB0_32
; %bb.4:
	str	x24, [sp, #40]                  ; 8-byte Folded Spill
	orr	x8, x22, x19
	orr	x22, x8, x23
	cbz	x21, LBB0_6
; %bb.5:
Lloh18:
	adrp	x0, l_.str.1@PAGE
Lloh19:
	add	x0, x0, l_.str.1@PAGEOFF
	bl	_log_debug
	add	x21, x20, #72
	mov	x0, x21
	bl	_DeleteSecurityContext
	add	x0, x20, #16
	bl	_sspi_release_buffer
	mov	x0, x21
	bl	_SecInvalidateHandle
	ldp	x1, x0, [x20, #56]
	bl	_mem_free
	str	xzr, [x20, #64]
Lloh20:
	adrp	x8, _FALSE@GOTPAGE
Lloh21:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	stp	x8, xzr, [x20, #48]
Lloh23:
	adrp	x8, _RPCSEC_SSPI_INIT@GOTPAGE
Lloh24:
	ldr	x8, [x8, _RPCSEC_SSPI_INIT@GOTPAGEOFF]
Lloh25:
	ldr	x8, [x8]
	str	x8, [x20]
LBB0_6:
	add	x26, sp, #176
	add	x0, sp, #176
	mov	w1, #0
	mov	w2, #48
	bl	_memset
Lloh26:
	adrp	x19, _SSPI_C_NO_BUFFER@GOTPAGE
Lloh27:
	ldr	x19, [x19, _SSPI_C_NO_BUFFER@GOTPAGEOFF]
	ldr	x24, [x19]
	stp	xzr, xzr, [sp, #160]
	ldr	x0, [x20, #88]
	bl	_print_rpc_gss_sec
	mov	x27, #0
Lloh28:
	adrp	x8, _RPCSEC_SSPI_SVC_PRIVACY@GOTPAGE
Lloh29:
	ldr	x8, [x8, _RPCSEC_SSPI_SVC_PRIVACY@GOTPAGEOFF]
Lloh30:
	adrp	x9, _ISC_REQ_CONFIDENTIALITY@GOTPAGE
Lloh31:
	ldr	x9, [x9, _ISC_REQ_CONFIDENTIALITY@GOTPAGEOFF]
	ldr	x10, [x20, #88]
	ldr	x10, [x10]
Lloh32:
	ldr	x8, [x8]
Lloh33:
	ldr	x9, [x9]
	cmp	x10, x8
	csel	x8, x9, xzr, eq
	orr	x8, x22, x8
	str	x8, [sp, #64]                   ; 8-byte Folded Spill
	add	x22, x20, #72
	add	x21, x20, #80
	add	x8, x26, #8
	str	x8, [sp, #72]                   ; 8-byte Folded Spill
	add	x9, x26, #32
	add	x8, x20, #16
	stp	x8, x9, [sp, #48]               ; 16-byte Folded Spill
Lloh34:
	adrp	x28, _SEC_E_OK@GOTPAGE
Lloh35:
	ldr	x28, [x28, _SEC_E_OK@GOTPAGEOFF]
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_9 Depth=1
Lloh36:
	adrp	x8, _RPCSEC_SSPI_CONTINUE_INIT@GOTPAGE
Lloh37:
	ldr	x8, [x8, _RPCSEC_SSPI_CONTINUE_INIT@GOTPAGEOFF]
Lloh38:
	ldr	x8, [x8]
	str	x8, [x20]
	ldr	x8, [x28]
LBB0_8:                                 ;   in Loop: Header=BB0_9 Depth=1
	sub	x27, x27, #1
	cmp	x26, x8
	b.eq	LBB0_25
LBB0_9:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19]
	cmp	x24, x8
	b.eq	LBB0_11
; %bb.10:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x24]
	str	x8, [sp]
Lloh39:
	adrp	x0, l_.str.2@PAGE
Lloh40:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_log_debug
	ldp	x3, x2, [x24]
	mov	w0, #0
Lloh41:
	adrp	x1, l_.str.3@PAGE
Lloh42:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w4, #0
	bl	_log_hexdump
LBB0_11:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x25]
	str	x8, [x20, #40]
	mov	w8, #1
	str	w8, [sp, #128]
Lloh43:
	adrp	x8, _SECBUFFER_VERSION@GOTPAGE
Lloh44:
	ldr	x8, [x8, _SECBUFFER_VERSION@GOTPAGEOFF]
Lloh45:
	ldr	x8, [x8]
	sub	x9, x29, #120
	stp	x8, x9, [sp, #136]
Lloh46:
	adrp	x8, _SECBUFFER_TOKEN@GOTPAGE
Lloh47:
	ldr	x8, [x8, _SECBUFFER_TOKEN@GOTPAGEOFF]
Lloh48:
	ldr	x10, [x8]
	ldp	x8, x9, [sp, #160]
	stur	x8, [x29, #-120]
	stp	x9, x10, [x29, #-112]
	ldr	w8, [x20, #84]
	str	x8, [sp]
Lloh49:
	adrp	x0, l_.str.4@PAGE
Lloh50:
	add	x0, x0, l_.str.4@PAGEOFF
	bl	_log_debug
	ldr	x8, [x20, #88]
	add	x0, x8, #8
	cmp	x27, #0
	csel	x1, xzr, x22, eq
	ldr	w2, [x20, #84]
Lloh51:
	adrp	x8, _SECURITY_NATIVE_DREP@GOTPAGE
Lloh52:
	ldr	x8, [x8, _SECURITY_NATIVE_DREP@GOTPAGEOFF]
Lloh53:
	ldr	w5, [x8]
	add	x8, sp, #104
	csel	x6, xzr, x8, eq
	add	x8, sp, #152
	stp	x8, x21, [sp, #16]
	add	x8, sp, #128
	stp	x22, x8, [sp]
	ldr	x3, [sp, #64]                   ; 8-byte Folded Reload
	mov	w4, #0
	mov	w7, #0
	bl	_InitializeSecurityContextA
	mov	x26, x0
	ldr	x8, [x19]
	cmp	x24, x8
	b.eq	LBB0_13
; %bb.12:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_sspi_release_buffer
	ldr	x24, [x19]
LBB0_13:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [x28]
	cmp	x26, x8
	b.eq	LBB0_15
; %bb.14:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh54:
	adrp	x9, _SEC_I_CONTINUE_NEEDED@GOTPAGE
Lloh55:
	ldr	x9, [x9, _SEC_I_CONTINUE_NEEDED@GOTPAGEOFF]
Lloh56:
	ldr	x9, [x9]
	cmp	x26, x9
	b.ne	LBB0_24
LBB0_15:                                ;   in Loop: Header=BB0_9 Depth=1
	ldp	x9, x10, [x29, #-120]
	stp	x9, x10, [sp, #160]
	cbz	x9, LBB0_8
; %bb.16:                               ;   in Loop: Header=BB0_9 Depth=1
	add	x0, sp, #176
	mov	w1, #0
	mov	w2, #48
	bl	_memset
	ldr	x8, [sp, #160]
	str	x8, [sp]
Lloh57:
	adrp	x0, l_.str.6@PAGE
Lloh58:
	add	x0, x0, l_.str.6@PAGEOFF
	bl	_log_debug
	ldp	x3, x2, [sp, #160]
	mov	w0, #0
Lloh59:
	adrp	x1, l_.str.3@PAGE
Lloh60:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w4, #0
	bl	_log_hexdump
	ldr	w0, [x20, #76]
Lloh61:
	adrp	x8, _NULLPROC@GOTPAGE
Lloh62:
	ldr	x8, [x8, _NULLPROC@GOTPAGEOFF]
Lloh63:
	ldr	w1, [x8]
Lloh64:
	adrp	x8, _xdr_rpc_sspi_init_args@GOTPAGE
Lloh65:
	ldr	x8, [x8, _xdr_rpc_sspi_init_args@GOTPAGEOFF]
Lloh66:
	ldr	w2, [x8]
Lloh67:
	adrp	x8, _xdr_rpc_sspi_init_res@GOTPAGE
Lloh68:
	ldr	x8, [x8, _xdr_rpc_sspi_init_res@GOTPAGEOFF]
Lloh69:
	ldr	w4, [x8]
Lloh70:
	adrp	x8, _AUTH_TIMEOUT@GOTPAGE
Lloh71:
	ldr	x8, [x8, _AUTH_TIMEOUT@GOTPAGEOFF]
Lloh72:
	ldr	w6, [x8]
	add	x3, sp, #160
	add	x5, sp, #176
	bl	_clnt_call
	mov	x23, x28
	mov	x28, x0
	ldr	x0, [sp, #168]
	bl	_FreeContextBuffer
Lloh73:
	adrp	x8, _RPC_SUCCESS@GOTPAGE
Lloh74:
	ldr	x8, [x8, _RPC_SUCCESS@GOTPAGEOFF]
Lloh75:
	ldr	x8, [x8]
	cmp	x28, x8
	b.ne	LBB0_28
; %bb.17:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	x28, x23
	ldr	x8, [sp, #176]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_19
; %bb.18:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh76:
	adrp	x9, _SEC_I_CONTINUE_NEEDED@GOTPAGE
Lloh77:
	ldr	x9, [x9, _SEC_I_CONTINUE_NEEDED@GOTPAGEOFF]
Lloh78:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_28
LBB0_19:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #208]
	cbz	x8, LBB0_21
; %bb.20:                               ;   in Loop: Header=BB0_9 Depth=1
	ldr	x23, [sp, #48]                  ; 8-byte Folded Reload
	mov	x0, x23
	bl	_sspi_release_buffer
	ldr	x8, [sp, #56]                   ; 8-byte Folded Reload
	ldr	q0, [x8]
	str	q0, [x23]
LBB0_21:                                ;   in Loop: Header=BB0_9 Depth=1
	ldr	x8, [sp, #184]
	cbz	x8, LBB0_7
; %bb.22:                               ;   in Loop: Header=BB0_9 Depth=1
Lloh79:
	adrp	x9, _SEC_I_CONTINUE_NEEDED@GOTPAGE
Lloh80:
	ldr	x9, [x9, _SEC_I_CONTINUE_NEEDED@GOTPAGEOFF]
Lloh81:
	ldr	x9, [x9]
	cmp	x26, x9
	b.ne	LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_9 Depth=1
	mov	w9, #1
	str	w9, [sp, #104]
Lloh82:
	adrp	x9, _SECBUFFER_VERSION@GOTPAGE
Lloh83:
	ldr	x9, [x9, _SECBUFFER_VERSION@GOTPAGEOFF]
Lloh84:
	ldr	x9, [x9]
	sub	x10, x29, #144
	stp	x9, x10, [sp, #112]
Lloh85:
	adrp	x9, _SECBUFFER_TOKEN@GOTPAGE
Lloh86:
	ldr	x9, [x9, _SECBUFFER_TOKEN@GOTPAGEOFF]
Lloh87:
	ldr	x11, [x9]
	ldr	x9, [sp, #192]
	stur	x8, [x29, #-144]
	stp	x9, x11, [x29, #-136]
	ldr	x24, [sp, #72]                  ; 8-byte Folded Reload
	b	LBB0_7
LBB0_24:
	str	x26, [sp]
Lloh88:
	adrp	x0, l_.str.5@PAGE
Lloh89:
	add	x0, x0, l_.str.5@PAGEOFF
	b	LBB0_27
LBB0_25:
	str	wzr, [sp, #80]
	mov	x0, x22
	bl	_print_negotiated_attrs
	ldr	w0, [sp, #200]
	bl	_htonl
	str	w0, [sp, #84]
	add	x8, sp, #84
	mov	w9, #4
	stp	x9, x8, [sp, #88]
	add	x3, x20, #56
	add	x2, sp, #88
	add	x4, sp, #80
	mov	x0, x22
	mov	w1, #0
	bl	_sspi_verify_mic
	ldr	x8, [x28]
	cmp	x0, x8
	b.ne	LBB0_34
; %bb.26:
	ldr	x8, [x25]
Lloh90:
	adrp	x9, _FALSE@GOTPAGE
Lloh91:
	ldr	x9, [x9, _FALSE@GOTPAGEOFF]
Lloh92:
	ldr	x9, [x9]
Lloh93:
	adrp	x10, _RPCSEC_SSPI_DATA@GOTPAGE
Lloh94:
	ldr	x10, [x10, _RPCSEC_SSPI_DATA@GOTPAGEOFF]
	stp	x9, x8, [x20, #40]
Lloh95:
	ldr	x8, [x10]
	stp	x8, xzr, [x20]
	ldr	w8, [sp, #200]
	str	w8, [x20, #32]
Lloh96:
	adrp	x0, l_.str.8@PAGE
Lloh97:
	add	x0, x0, l_.str.8@PAGEOFF
LBB0_27:
	bl	_log_debug
LBB0_28:
	ldr	x8, [x20]
Lloh98:
	adrp	x9, _RPCSEC_SSPI_DATA@GOTPAGE
Lloh99:
	ldr	x9, [x9, _RPCSEC_SSPI_DATA@GOTPAGEOFF]
Lloh100:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_2
; %bb.29:
	ldr	x8, [sp, #184]
	cbz	x8, LBB0_31
; %bb.30:
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	bl	_sspi_release_buffer
LBB0_31:
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_authsspi_destroy
Lloh101:
	adrp	x8, _RPC_AUTHERROR@GOTPAGE
Lloh102:
	ldr	x8, [x8, _RPC_AUTHERROR@GOTPAGEOFF]
Lloh103:
	ldr	w8, [x8]
Lloh104:
	adrp	x9, _rpc_createerr@GOTPAGE
Lloh105:
	ldr	x9, [x9, _rpc_createerr@GOTPAGEOFF]
Lloh106:
	str	w8, [x9]
Lloh107:
	adrp	x25, _FALSE@GOTPAGE
Lloh108:
	ldr	x25, [x25, _FALSE@GOTPAGEOFF]
LBB0_32:
	ldr	x0, [x25]
	ldur	x8, [x29, #-96]
Lloh109:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh110:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh111:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_36
; %bb.33:
	ldp	x29, x30, [sp, #368]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #352]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #336]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #320]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #304]            ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #288]            ; 16-byte Folded Reload
	add	sp, sp, #384
	ret
LBB0_34:
	mov	x22, x0
	str	x0, [sp]
Lloh112:
	adrp	x0, l_.str.7@PAGE
Lloh113:
	add	x0, x0, l_.str.7@PAGEOFF
	bl	_log_debug
Lloh114:
	adrp	x8, _SEC_E_NO_AUTHENTICATING_AUTHORITY@GOTPAGE
Lloh115:
	ldr	x8, [x8, _SEC_E_NO_AUTHENTICATING_AUTHORITY@GOTPAGEOFF]
Lloh116:
	ldr	x8, [x8]
	cmp	x22, x8
	b.ne	LBB0_28
; %bb.35:
Lloh117:
	adrp	x8, _FALSE@GOTPAGE
Lloh118:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh119:
	ldr	x8, [x8]
	str	x8, [x20, #48]
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	bl	_authsspi_destroy_context
	b	LBB0_28
LBB0_36:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh32
	.loh AdrpLdrGot	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpLdrGotLdr	Lloh43, Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh70, Lloh71, Lloh72
	.loh AdrpLdrGotLdr	Lloh67, Lloh68, Lloh69
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpLdrGotLdr	Lloh61, Lloh62, Lloh63
	.loh AdrpAdd	Lloh59, Lloh60
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGotLdr	Lloh85, Lloh86, Lloh87
	.loh AdrpLdrGotLdr	Lloh82, Lloh83, Lloh84
	.loh AdrpAdd	Lloh88, Lloh89
	.loh AdrpAdd	Lloh96, Lloh97
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpLdrGotLdr	Lloh90, Lloh91, Lloh92
	.loh AdrpLdrGotLdr	Lloh98, Lloh99, Lloh100
	.loh AdrpLdrGot	Lloh107, Lloh108
	.loh AdrpLdrGotStr	Lloh104, Lloh105, Lloh106
	.loh AdrpLdrGotLdr	Lloh101, Lloh102, Lloh103
	.loh AdrpLdrGotLdr	Lloh109, Lloh110, Lloh111
	.loh AdrpLdrGotLdr	Lloh114, Lloh115, Lloh116
	.loh AdrpAdd	Lloh112, Lloh113
	.loh AdrpLdrGotLdr	Lloh117, Lloh118, Lloh119
	.cfi_endproc
                                        ; -- End function
	.comm	_ISC_REQ_MUTUAL_AUTH,8,3        ; @ISC_REQ_MUTUAL_AUTH
	.comm	_ISC_REQ_INTEGRITY,8,3          ; @ISC_REQ_INTEGRITY
	.comm	_ISC_REQ_ALLOCATE_MEMORY,8,3    ; @ISC_REQ_ALLOCATE_MEMORY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in authgss_refresh()"

	.comm	_TRUE,8,3                       ; @TRUE
l_.str.1:                               ; @.str.1
	.asciz	"trying to refresh credentials\n"

	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_RPCSEC_SSPI_INIT,8,3           ; @RPCSEC_SSPI_INIT
	.comm	_SSPI_C_NO_BUFFER,8,3           ; @SSPI_C_NO_BUFFER
	.comm	_RPCSEC_SSPI_SVC_PRIVACY,8,3    ; @RPCSEC_SSPI_SVC_PRIVACY
	.comm	_ISC_REQ_CONFIDENTIALITY,8,3    ; @ISC_REQ_CONFIDENTIALITY
l_.str.2:                               ; @.str.2
	.asciz	"The token we just received (length %d):"

l_.str.3:                               ; @.str.3
	.space	1

	.comm	_SECBUFFER_VERSION,8,3          ; @SECBUFFER_VERSION
	.comm	_SECBUFFER_TOKEN,8,3            ; @SECBUFFER_TOKEN
l_.str.4:                               ; @.str.4
	.asciz	"calling InitializeSecurityContextA for %s"

	.comm	_SECURITY_NATIVE_DREP,4,2       ; @SECURITY_NATIVE_DREP
	.comm	_SEC_E_OK,8,3                   ; @SEC_E_OK
	.comm	_SEC_I_CONTINUE_NEEDED,8,3      ; @SEC_I_CONTINUE_NEEDED
l_.str.5:                               ; @.str.5
	.asciz	"InitializeSecurityContext failed with %x"

l_.str.6:                               ; @.str.6
	.asciz	"The token being sent (length %d):"

	.comm	_NULLPROC,4,2                   ; @NULLPROC
	.comm	_xdr_rpc_sspi_init_args,8,3     ; @xdr_rpc_sspi_init_args
	.comm	_xdr_rpc_sspi_init_res,8,3      ; @xdr_rpc_sspi_init_res
	.comm	_AUTH_TIMEOUT,4,2               ; @AUTH_TIMEOUT
	.comm	_RPC_SUCCESS,8,3                ; @RPC_SUCCESS
	.comm	_RPCSEC_SSPI_CONTINUE_INIT,8,3  ; @RPCSEC_SSPI_CONTINUE_INIT
l_.str.7:                               ; @.str.7
	.asciz	"authgss_refresh: sspi_verify_mic failed with %x"

	.comm	_SEC_E_NO_AUTHENTICATING_AUTHORITY,8,3 ; @SEC_E_NO_AUTHENTICATING_AUTHORITY
	.comm	_RPCSEC_SSPI_DATA,8,3           ; @RPCSEC_SSPI_DATA
l_.str.8:                               ; @.str.8
	.asciz	"authgss_refresh: established GSS context"

	.comm	_RPC_AUTHERROR,4,2              ; @RPC_AUTHERROR
	.comm	_rpc_createerr,4,2              ; @rpc_createerr
	.comm	_bufout,4,2                     ; @bufout
	.comm	_min_stat,4,2                   ; @min_stat
	.no_dead_strip	_authsspi_refresh
.subsections_via_symbols
