	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gsskrb5_extract_key
_gsskrb5_extract_key:                   ## @gsskrb5_extract_key
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_GSS_C_NO_BUFFER_SET@GOTPCREL(%rip), %r12
	movq	(%r12), %rax
	movq	%rax, -48(%rbp)
	movq	$0, -56(%rbp)
	movq	_GSS_C_NO_CONTEXT@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	je	LBB0_4
## %bb.2:
	movq	%rcx, %r14
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	leaq	-56(%rbp), %rdi
	callq	_krb5_init_context
	testq	%rax, %rax
	je	LBB0_7
LBB0_3:
	movq	%rax, (%r13)
LBB0_4:
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
LBB0_5:
	movq	(%rax), %rax
LBB0_6:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	leaq	-48(%rbp), %rcx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_gss_inquire_sec_context_by_oid
	testq	%rax, %rax
	jne	LBB0_6
## %bb.8:
	movq	-48(%rbp), %rax
	cmpq	(%r12), %rax
	je	LBB0_12
## %bb.9:
	cmpl	$1, (%rax)
	jne	LBB0_12
## %bb.10:
	movq	8(%rax), %rax
	movl	(%rax), %esi
	movl	4(%rax), %edi
	callq	_krb5_storage_from_mem
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	movq	%rax, %r12
	movl	$1, %edi
	movl	$4, %esi
	callq	_calloc
	movq	%rax, (%r14)
	movq	%r12, %rdi
	movq	%rax, %rsi
	callq	_krb5_ret_keyblock
	movq	%rax, %r15
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_gss_release_buffer_set
	movq	%r12, %rdi
	callq	_krb5_storage_free
	jmp	LBB0_14
LBB0_12:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_gss_release_buffer_set
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_3
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %r15
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	_gss_release_buffer_set
LBB0_14:
	testq	%r14, %r14
	je	LBB0_17
## %bb.15:
	testq	%r15, %r15
	je	LBB0_17
## %bb.16:
	movq	-56(%rbp), %rdi
	movq	(%r14), %rsi
	callq	_krb5_free_keyblock
	movq	$0, (%r14)
LBB0_17:
	movq	-56(%rbp), %rdi
	testq	%rdi, %rdi
	je	LBB0_19
## %bb.18:
	callq	_krb5_free_context
LBB0_19:
	movq	%r15, (%r13)
	testq	%r15, %r15
	jne	LBB0_4
## %bb.20:
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_5
	.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	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.no_dead_strip	_gsskrb5_extract_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gsskrb5_extract_key
_gsskrb5_extract_key:                   ; @gsskrb5_extract_key
	.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
Lloh0:
	adrp	x23, _GSS_C_NO_BUFFER_SET@GOTPAGE
Lloh1:
	ldr	x23, [x23, _GSS_C_NO_BUFFER_SET@GOTPAGEOFF]
	ldr	x8, [x23]
	stp	xzr, x8, [sp]
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_3
; %bb.1:
	mov	x20, x3
	mov	x21, x2
	mov	x22, x1
	mov	x19, x0
	mov	x0, sp
	bl	_krb5_init_context
	cbz	x0, LBB0_6
; %bb.2:
	str	x0, [x19]
LBB0_3:
Lloh5:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
LBB0_4:
	ldr	x0, [x8]
LBB0_5:
	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
LBB0_6:
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x22
	mov	x2, x21
	bl	_gss_inquire_sec_context_by_oid
	cbnz	x0, LBB0_5
; %bb.7:
	ldr	x8, [sp, #8]
	ldr	x9, [x23]
	cmp	x8, x9
	b.eq	LBB0_11
; %bb.8:
	ldr	w9, [x8]
	cmp	w9, #1
	b.ne	LBB0_11
; %bb.9:
	ldr	x8, [x8, #8]
	ldp	w1, w0, [x8]
	bl	_krb5_storage_from_mem
	cbz	x0, LBB0_12
; %bb.10:
	mov	x22, x0
	mov	w0, #1
	mov	w1, #4
	bl	_calloc
	mov	x1, x0
	str	x0, [x20]
	mov	x0, x22
	bl	_krb5_ret_keyblock
	mov	x21, x0
	add	x1, sp, #8
	mov	x0, x19
	bl	_gss_release_buffer_set
	mov	x0, x22
	bl	_krb5_storage_free
	b	LBB0_13
LBB0_11:
	add	x1, sp, #8
	mov	x0, x19
	bl	_gss_release_buffer_set
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	str	x8, [x19]
	b	LBB0_3
LBB0_12:
Lloh10:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh12:
	ldr	x21, [x8]
	add	x1, sp, #8
	mov	x0, x19
	bl	_gss_release_buffer_set
LBB0_13:
	cbz	x20, LBB0_16
; %bb.14:
	cbz	x21, LBB0_16
; %bb.15:
	ldr	x0, [sp]
	ldr	x1, [x20]
	bl	_krb5_free_keyblock
	str	xzr, [x20]
LBB0_16:
	ldr	x0, [sp]
	cbz	x0, LBB0_18
; %bb.17:
	bl	_krb5_free_context
LBB0_18:
	str	x21, [x19]
	cbnz	x21, LBB0_3
; %bb.19:
Lloh13:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh14:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.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,8,3                     ; @EINVAL
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.no_dead_strip	_gsskrb5_extract_key
.subsections_via_symbols
