	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gsskrb5_extract_authtime_from_sec_context ## -- Begin function gsskrb5_extract_authtime_from_sec_context
	.p2align	4, 0x90
_gsskrb5_extract_authtime_from_sec_context: ## @gsskrb5_extract_authtime_from_sec_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	%r15
	pushq	%r14
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	_GSS_C_NO_BUFFER_SET@GOTPCREL(%rip), %rbx
	movq	(%rbx), %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_AUTHTIME_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-32(%rbp), %rcx
	movq	%r15, %rdi
	callq	_gss_inquire_sec_context_by_oid
	testq	%rax, %rax
	jne	LBB0_9
## %bb.3:
	movq	-32(%rbp), %rax
	cmpq	(%rbx), %rax
	je	LBB0_4
## %bb.5:
	cmpl	$1, (%rax)
	jne	LBB0_4
## %bb.6:
	movq	8(%rax), %rax
	cmpl	$4, (%rax)
	jne	LBB0_4
## %bb.7:
	movq	8(%rax), %rax
	movb	(%rax), %al
	movb	%al, (%r14)
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_gss_release_buffer_set
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_4:
	leaq	-32(%rbp), %rsi
	movq	%r15, %rdi
	callq	_gss_release_buffer_set
LBB0_1:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rcx
LBB0_8:
	movq	%rax, (%r15)
	movq	(%rcx), %rax
LBB0_9:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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,8,3                     ## @EINVAL
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.comm	_GSS_KRB5_GET_AUTHTIME_X,4,2    ## @GSS_KRB5_GET_AUTHTIME_X
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gsskrb5_extract_authtime_from_sec_context ; -- Begin function gsskrb5_extract_authtime_from_sec_context
	.p2align	2
_gsskrb5_extract_authtime_from_sec_context: ; @gsskrb5_extract_authtime_from_sec_context
	.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_7
; %bb.1:
	mov	x20, x2
Lloh5:
	adrp	x8, _GSS_KRB5_GET_AUTHTIME_X@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GSS_KRB5_GET_AUTHTIME_X@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	add	x3, sp, #8
	mov	x0, x19
	bl	_gss_inquire_sec_context_by_oid
	cbnz	x0, LBB0_9
; %bb.2:
	ldr	x8, [sp, #8]
	ldr	x9, [x21]
	cmp	x8, x9
	b.eq	LBB0_6
; %bb.3:
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_6
; %bb.4:
	ldr	x8, [x8, #8]
	ldr	w9, [x8]
	cmp	w9, #4
	b.ne	LBB0_6
; %bb.5:
	ldr	x8, [x8, #8]
	ldrb	w8, [x8]
	strb	w8, [x20]
	add	x1, sp, #8
	mov	x0, x19
	bl	_gss_release_buffer_set
	mov	x8, #0
Lloh8:
	adrp	x9, _GSS_S_COMPLETE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_8
LBB0_6:
	add	x1, sp, #8
	mov	x0, x19
	bl	_gss_release_buffer_set
LBB0_7:
Lloh10:
	adrp	x8, _EINVAL@GOTPAGE
Lloh11:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh12:
	ldr	x8, [x8]
Lloh13:
	adrp	x9, _GSS_S_FAILURE@GOTPAGE
Lloh14:
	ldr	x9, [x9, _GSS_S_FAILURE@GOTPAGEOFF]
LBB0_8:
	str	x8, [x19]
	ldr	x0, [x9]
LBB0_9:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.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,8,3                     ; @EINVAL
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_GSS_KRB5_GET_AUTHTIME_X,4,2    ; @GSS_KRB5_GET_AUTHTIME_X
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
.subsections_via_symbols
