	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function authsspi_destroy_context
_authsspi_destroy_context:              ## @authsspi_destroy_context
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	leaq	L_.str(%rip), %rdi
	callq	_log_debug
	movq	%rbx, %rdi
	callq	_AUTH_PRIVATE
	testq	%rax, %rax
	je	LBB0_6
## %bb.1:
	movq	%rax, %rbx
	leaq	24(%rax), %r14
	movq	%r14, %rdi
	callq	_SecIsValidHandle
	testq	%rax, %rax
	je	LBB0_5
## %bb.2:
	cmpq	$0, (%rbx)
	je	LBB0_4
## %bb.3:
	movq	_RPCSEC_SSPI_DESTROY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 32(%rbx)
	movl	36(%rbx), %edi
	movq	_NULLPROC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_xdr_void@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_AUTH_TIMEOUT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rsp)
	xorl	%ecx, %ecx
	movl	%edx, %r8d
	xorl	%r9d, %r9d
	callq	_clnt_call
	movq	%r14, %rdi
	callq	_DeleteSecurityContext
LBB0_4:
	movq	%rbx, %rdi
	addq	$28, %rdi
	callq	_sspi_release_buffer
	movq	%r14, %rdi
	callq	_SecInvalidateHandle
LBB0_5:
	movq	8(%rbx), %rsi
	movq	16(%rbx), %rdi
	callq	_mem_free
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rbx)
	movq	_FALSE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%rbx)
LBB0_6:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"in authgss_destroy_context()"

	.comm	_RPCSEC_SSPI_DESTROY,4,2        ## @RPCSEC_SSPI_DESTROY
	.comm	_NULLPROC,4,2                   ## @NULLPROC
	.comm	_xdr_void,8,3                   ## @xdr_void
	.comm	_AUTH_TIMEOUT,4,2               ## @AUTH_TIMEOUT
	.comm	_FALSE,8,3                      ## @FALSE
	.comm	_min_stat,4,2                   ## @min_stat
	.no_dead_strip	_authsspi_destroy_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function authsspi_destroy_context
_authsspi_destroy_context:              ; @authsspi_destroy_context
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x0
Lloh0:
	adrp	x0, l_.str@PAGE
Lloh1:
	add	x0, x0, l_.str@PAGEOFF
	bl	_log_debug
	mov	x0, x19
	bl	_AUTH_PRIVATE
	cbz	x0, LBB0_6
; %bb.1:
	mov	x19, x0
	add	x20, x0, #24
	mov	x0, x20
	bl	_SecIsValidHandle
	cbz	x0, LBB0_5
; %bb.2:
	ldr	x8, [x19]
	cbz	x8, LBB0_4
; %bb.3:
Lloh2:
	adrp	x8, _RPCSEC_SSPI_DESTROY@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RPCSEC_SSPI_DESTROY@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x19, #32]
	ldr	w0, [x19, #36]
Lloh5:
	adrp	x8, _NULLPROC@GOTPAGE
Lloh6:
	ldr	x8, [x8, _NULLPROC@GOTPAGEOFF]
Lloh7:
	ldr	w1, [x8]
Lloh8:
	adrp	x8, _xdr_void@GOTPAGE
Lloh9:
	ldr	x8, [x8, _xdr_void@GOTPAGEOFF]
Lloh10:
	ldr	w2, [x8]
Lloh11:
	adrp	x8, _AUTH_TIMEOUT@GOTPAGE
Lloh12:
	ldr	x8, [x8, _AUTH_TIMEOUT@GOTPAGEOFF]
Lloh13:
	ldr	w6, [x8]
	mov	x3, #0
	mov	x4, x2
	mov	x5, #0
	bl	_clnt_call
	mov	x0, x20
	bl	_DeleteSecurityContext
LBB0_4:
	add	x0, x19, #28
	bl	_sspi_release_buffer
	mov	x0, x20
	bl	_SecInvalidateHandle
LBB0_5:
	ldp	x1, x0, [x19, #8]
	bl	_mem_free
	str	xzr, [x19, #16]
Lloh14:
	adrp	x8, _FALSE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	stp	x8, xzr, [x19]
LBB0_6:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"in authgss_destroy_context()"

	.comm	_RPCSEC_SSPI_DESTROY,4,2        ; @RPCSEC_SSPI_DESTROY
	.comm	_NULLPROC,4,2                   ; @NULLPROC
	.comm	_xdr_void,8,3                   ; @xdr_void
	.comm	_AUTH_TIMEOUT,4,2               ; @AUTH_TIMEOUT
	.comm	_FALSE,8,3                      ; @FALSE
	.comm	_min_stat,4,2                   ; @min_stat
	.no_dead_strip	_authsspi_destroy_context
.subsections_via_symbols
