	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_krb5_get_tkt_flags         ## -- Begin function gss_krb5_get_tkt_flags
	.p2align	4, 0x90
_gss_krb5_get_tkt_flags:                ## @gss_krb5_get_tkt_flags
	.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	%rdi, %rbx
	movq	_GSS_C_NO_BUFFER_SET@GOTPCREL(%rip), %r15
	movq	(%r15), %rax
	movq	%rax, -32(%rbp)
	movq	_GSS_C_NO_CONTEXT@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_1
## %bb.2:
	movq	%rdx, %r14
	movq	_GSS_KRB5_GET_TKT_FLAGS_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	movq	%rbx, %rdi
	callq	_gss_inquire_sec_context_by_oid
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	-32(%rbp), %rax
	cmpq	(%r15), %rax
	je	LBB0_6
## %bb.4:
	cmpl	$1, (%rax)
	jne	LBB0_6
## %bb.5:
	movq	8(%rax), %rax
	cmpl	$3, (%rax)
	jg	LBB0_7
LBB0_6:
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_gss_release_buffer_set
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%rbx)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
LBB0_8:
	movl	(%rax), %eax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	movq	8(%rax), %rax
	movl	4(%rax), %ecx
	movl	8(%rax), %edx
	shll	$8, %ecx
	orl	(%rax), %ecx
	shll	$16, %edx
	movl	12(%rax), %eax
	shll	$24, %eax
	orl	%edx, %eax
	orl	%ecx, %eax
	movl	%eax, (%r14)
	leaq	-32(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_gss_release_buffer_set
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_C_NO_BUFFER_SET,8,3        ## @GSS_C_NO_BUFFER_SET
	.comm	_GSS_C_NO_CONTEXT,8,3           ## @GSS_C_NO_CONTEXT
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_GSS_S_FAILURE,4,2              ## @GSS_S_FAILURE
	.comm	_GSS_KRB5_GET_TKT_FLAGS_X,4,2   ## @GSS_KRB5_GET_TKT_FLAGS_X
	.comm	_GSS_S_COMPLETE,4,2             ## @GSS_S_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_krb5_get_tkt_flags         ; -- Begin function gss_krb5_get_tkt_flags
	.p2align	2
_gss_krb5_get_tkt_flags:                ; @gss_krb5_get_tkt_flags
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
Lloh0:
	adrp	x21, _GSS_C_NO_BUFFER_SET@GOTPAGE
Lloh1:
	ldr	x21, [x21, _GSS_C_NO_BUFFER_SET@GOTPAGEOFF]
	ldr	x8, [x21]
	str	x8, [sp, #8]
Lloh2:
	adrp	x8, _GSS_C_NO_CONTEXT@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSS_C_NO_CONTEXT@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x8, x1
	b.eq	LBB0_6
; %bb.1:
	mov	x20, x2
Lloh5:
	adrp	x8, _GSS_KRB5_GET_TKT_FLAGS_X@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GSS_KRB5_GET_TKT_FLAGS_X@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	bl	_gss_inquire_sec_context_by_oid
	cbnz	w0, LBB0_8
; %bb.2:
	ldr	x8, [sp, #8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_5
; %bb.3:
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_5
; %bb.4:
	ldr	x8, [x8, #8]
	ldr	w9, [x8]
	cmp	w9, #3
	b.gt	LBB0_9
LBB0_5:
	add	x1, sp, #8
	mov	x0, x19
	bl	_gss_release_buffer_set
LBB0_6:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	str	w8, [x19]
Lloh11:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh12:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
LBB0_7:
	ldr	w0, [x8]
LBB0_8:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_9:
	ldr	x8, [x8, #8]
	ldp	w9, w10, [x8]
	orr	w9, w9, w10, lsl #8
	ldp	w10, w8, [x8, #8]
	orr	w9, w9, w10, lsl #16
	orr	w8, w9, w8, lsl #24
	str	w8, [x20]
	add	x1, sp, #8
	mov	x0, x19
	bl	_gss_release_buffer_set
Lloh13:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_C_NO_BUFFER_SET,8,3        ; @GSS_C_NO_BUFFER_SET
	.comm	_GSS_C_NO_CONTEXT,8,3           ; @GSS_C_NO_CONTEXT
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_GSS_S_FAILURE,4,2              ; @GSS_S_FAILURE
	.comm	_GSS_KRB5_GET_TKT_FLAGS_X,4,2   ; @GSS_KRB5_GET_TKT_FLAGS_X
	.comm	_GSS_S_COMPLETE,4,2             ; @GSS_S_COMPLETE
.subsections_via_symbols
