	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function inquire_sec_context_has_updated_spnego
_inquire_sec_context_has_updated_spnego: ## @inquire_sec_context_has_updated_spnego
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	$0, (%rdi)
	movq	_GSS_C_NO_BUFFER_SET@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rdx)
	leaq	4(%rsi), %r14
	movq	%r14, %rdi
	callq	_HEIMDAL_MUTEX_lock
	movl	(%r15), %eax
	movq	_IS_CFX@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ebx
	andl	%eax, %ebx
	jne	LBB0_4
## %bb.1:
	movq	_LOCAL@GOTPCREL(%rip), %rcx
	xorl	%edx, %edx
	testl	%eax, (%rcx)
	setne	%dl
	movq	8(%r15), %rax
	movq	8(%rax,%rdx,8), %rcx
	testq	%rcx, %rcx
	je	LBB0_2
## %bb.3:
	movq	(%rcx), %rcx
	movq	(%rax), %rax
	xorl	%ebx, %ebx
	cmpq	(%rax), %rcx
	setne	%bl
	jmp	LBB0_4
LBB0_2:
	xorl	%ebx, %ebx
LBB0_4:
	movq	%r14, %rdi
	callq	_HEIMDAL_MUTEX_unlock
	testl	%ebx, %ebx
	jne	LBB0_5
## %bb.6:
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_5:
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
LBB0_7:
	movq	(%rax), %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_C_NO_BUFFER_SET,4,2        ## @GSS_C_NO_BUFFER_SET
	.comm	_IS_CFX,4,2                     ## @IS_CFX
	.comm	_LOCAL,4,2                      ## @LOCAL
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.no_dead_strip	_inquire_sec_context_has_updated_spnego
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function inquire_sec_context_has_updated_spnego
_inquire_sec_context_has_updated_spnego: ; @inquire_sec_context_has_updated_spnego
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	str	xzr, [x0]
Lloh0:
	adrp	x8, _GSS_C_NO_BUFFER_SET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_C_NO_BUFFER_SET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x2]
	add	x19, x1, #4
	mov	x0, x19
	bl	_HEIMDAL_MUTEX_lock
	ldr	w9, [x20]
Lloh3:
	adrp	x8, _IS_CFX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _IS_CFX@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	ands	w21, w8, w9
	b.ne	LBB0_4
; %bb.1:
Lloh6:
	adrp	x8, _LOCAL@GOTPAGE
Lloh7:
	ldr	x8, [x8, _LOCAL@GOTPAGEOFF]
Lloh8:
	ldr	w10, [x8]
	ldr	x8, [x20, #8]
	tst	w10, w9
	mov	w9, #16
	mov	w10, #8
	csel	x9, x10, x9, eq
	ldr	x9, [x8, x9]
	cbz	x9, LBB0_3
; %bb.2:
	ldr	x9, [x9]
	ldr	x8, [x8]
	ldr	x8, [x8]
	cmp	x9, x8
	cset	w21, ne
	b	LBB0_4
LBB0_3:
	mov	w21, #0
LBB0_4:
	mov	x0, x19
	bl	_HEIMDAL_MUTEX_unlock
Lloh9:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh11:
	adrp	x9, _GSS_S_FAILURE@GOTPAGE
Lloh12:
	ldr	x9, [x9, _GSS_S_FAILURE@GOTPAGEOFF]
	cmp	w21, #0
	csel	x8, x9, x8, eq
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_C_NO_BUFFER_SET,4,2        ; @GSS_C_NO_BUFFER_SET
	.comm	_IS_CFX,4,2                     ; @IS_CFX
	.comm	_LOCAL,4,2                      ; @LOCAL
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.no_dead_strip	_inquire_sec_context_has_updated_spnego
.subsections_via_symbols
