	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gss_refresh
_gss_refresh:                           ## @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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	(%rdi), %rax
	movq	(%rax), %rbx
	movq	%rbx, %rdi
	callq	_gss_cred_is_negative_entry
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_EKEYEXPIRED@GOTPCREL(%rip), %rax
	xorl	%r15d, %r15d
	subl	(%rax), %r15d
LBB0_7:
	movl	%r15d, %eax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_RPCAUTH_CRED_NEW@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	xorl	%r15d, %r15d
	testq	%rax, %rax
	jne	LBB0_6
## %bb.3:
	movq	_RPCAUTH_CRED_UPTODATE@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	jne	LBB0_6
## %bb.4:
	movq	%r14, %rdi
	callq	_gss_renew_cred
	movl	%eax, %r15d
	testl	%eax, %eax
	js	LBB0_7
## %bb.5:
	movq	(%r14), %rax
	movq	(%rax), %rbx
LBB0_6:
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_test_bit
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%r14, %rdi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_gss_refresh_upcall             ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_EKEYEXPIRED,4,2                ## @EKEYEXPIRED
	.comm	_RPCAUTH_CRED_NEW,4,2           ## @RPCAUTH_CRED_NEW
	.comm	_RPCAUTH_CRED_UPTODATE,4,2      ## @RPCAUTH_CRED_UPTODATE
	.no_dead_strip	_gss_refresh
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gss_refresh
_gss_refresh:                           ; @gss_refresh
	.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	x19, x0
	ldr	x8, [x0]
	ldr	x20, [x8]
	mov	x0, x20
	bl	_gss_cred_is_negative_entry
	cbz	x0, LBB0_3
; %bb.1:
Lloh0:
	adrp	x8, _EKEYEXPIRED@GOTPAGE
Lloh1:
	ldr	x8, [x8, _EKEYEXPIRED@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	neg	w21, w8
LBB0_2:
	mov	x0, x21
	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
LBB0_3:
Lloh3:
	adrp	x22, _RPCAUTH_CRED_NEW@GOTPAGE
Lloh4:
	ldr	x22, [x22, _RPCAUTH_CRED_NEW@GOTPAGEOFF]
	ldr	w0, [x22]
	mov	x1, x20
	bl	_test_bit
	cbnz	x0, LBB0_5
; %bb.4:
Lloh5:
	adrp	x8, _RPCAUTH_CRED_UPTODATE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _RPCAUTH_CRED_UPTODATE@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_8
LBB0_5:
	mov	w21, #0
LBB0_6:
	ldr	w0, [x22]
	mov	x1, x20
	bl	_test_bit
	cbz	x0, LBB0_2
; %bb.7:
	mov	x0, x19
	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
	b	_gss_refresh_upcall
LBB0_8:
	mov	x0, x19
	bl	_gss_renew_cred
	mov	x21, x0
	tbnz	w0, #31, LBB0_2
; %bb.9:
	ldr	x8, [x19]
	ldr	x20, [x8]
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_EKEYEXPIRED,4,2                ; @EKEYEXPIRED
	.comm	_RPCAUTH_CRED_NEW,4,2           ; @RPCAUTH_CRED_NEW
	.comm	_RPCAUTH_CRED_UPTODATE,4,2      ; @RPCAUTH_CRED_UPTODATE
	.no_dead_strip	_gss_refresh
.subsections_via_symbols
