	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rpc_gss_refresh
_rpc_gss_refresh:                       ## @rpc_gss_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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	callq	_AUTH_PRIVATE
	movq	%rax, %rbx
	leaq	8(%rax), %r12
	movq	%r12, %rdi
	callq	_mtx_lock
	movq	(%rbx), %r13
	movq	_RPCSEC_GSS_DESTROYING@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	movq	%r12, %rdi
	callq	_mtx_unlock
	cmpq	%rbx, %r13
	je	LBB0_6
## %bb.1:
	movq	(%r15), %rax
	movq	_MSG_DENIED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.2:
	movq	8(%r15), %rax
	movq	_AUTH_ERROR@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_6
## %bb.3:
	movq	16(%r15), %rax
	movq	_RPCSEC_GSS_CREDPROBLEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
## %bb.4:
	movq	_RPCSEC_GSS_CTXPROBLEM@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_5
LBB0_6:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
LBB0_7:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	callq	_rpc_gss_destroy_context
	leaq	-44(%rbp), %rbx
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movq	%r14, %rdi
	movq	%rbx, %rsi
	callq	_rpc_gss_init
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_RPCSEC_GSS_DESTROYING,8,3      ## @RPCSEC_GSS_DESTROYING
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_MSG_DENIED,8,3                 ## @MSG_DENIED
	.comm	_AUTH_ERROR,8,3                 ## @AUTH_ERROR
	.comm	_RPCSEC_GSS_CREDPROBLEM,8,3     ## @RPCSEC_GSS_CREDPROBLEM
	.comm	_RPCSEC_GSS_CTXPROBLEM,8,3      ## @RPCSEC_GSS_CTXPROBLEM
	.no_dead_strip	_rpc_gss_refresh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rpc_gss_refresh
_rpc_gss_refresh:                       ; @rpc_gss_refresh
	.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	x20, x1
	mov	x19, x0
	bl	_AUTH_PRIVATE
	mov	x21, x0
	add	x22, x0, #8
	mov	x0, x22
	bl	_mtx_lock
	ldr	x21, [x21]
Lloh0:
	adrp	x8, _RPCSEC_GSS_DESTROYING@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RPCSEC_GSS_DESTROYING@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	mov	x0, x22
	bl	_mtx_unlock
	cmp	x21, x23
	b.eq	LBB0_5
; %bb.1:
	ldr	x8, [x20]
Lloh3:
	adrp	x9, _MSG_DENIED@GOTPAGE
Lloh4:
	ldr	x9, [x9, _MSG_DENIED@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.2:
	ldr	x8, [x20, #8]
Lloh6:
	adrp	x9, _AUTH_ERROR@GOTPAGE
Lloh7:
	ldr	x9, [x9, _AUTH_ERROR@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_5
; %bb.3:
	ldr	x8, [x20, #16]
Lloh9:
	adrp	x9, _RPCSEC_GSS_CREDPROBLEM@GOTPAGE
Lloh10:
	ldr	x9, [x9, _RPCSEC_GSS_CREDPROBLEM@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
Lloh12:
	adrp	x10, _RPCSEC_GSS_CTXPROBLEM@GOTPAGE
Lloh13:
	ldr	x10, [x10, _RPCSEC_GSS_CTXPROBLEM@GOTPAGEOFF]
Lloh14:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_5
; %bb.4:
Lloh15:
	adrp	x8, _FALSE@GOTPAGE
Lloh16:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh17:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_rpc_gss_destroy_context
	add	x0, sp, #12
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	add	x1, sp, #12
	mov	x0, x19
	bl	_rpc_gss_init
	b	LBB0_6
LBB0_5:
Lloh18:
	adrp	x8, _FALSE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
LBB0_6:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.cfi_endproc
                                        ; -- End function
	.comm	_RPCSEC_GSS_DESTROYING,8,3      ; @RPCSEC_GSS_DESTROYING
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_MSG_DENIED,8,3                 ; @MSG_DENIED
	.comm	_AUTH_ERROR,8,3                 ; @AUTH_ERROR
	.comm	_RPCSEC_GSS_CREDPROBLEM,8,3     ; @RPCSEC_GSS_CREDPROBLEM
	.comm	_RPCSEC_GSS_CTXPROBLEM,8,3      ; @RPCSEC_GSS_CTXPROBLEM
	.no_dead_strip	_rpc_gss_refresh
.subsections_via_symbols
