	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4                               ## -- Begin function _gsskrb5_create_ctx
LCPI0_0:
	.space	16
	.section	__TEXT,__text,regular,pure_instructions
	.globl	__gsskrb5_create_ctx
	.p2align	4, 0x90
__gsskrb5_create_ctx:                   ## @_gsskrb5_create_ctx
	.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
	movl	%r8d, %r12d
	movl	%ecx, -44(%rbp)                 ## 4-byte Spill
	movl	%edx, %r15d
	movq	%rsi, %r14
	movq	%rdi, %r13
	movq	$0, (%rsi)
	movl	$120, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %rbx
	movq	%r14, -64(%rbp)                 ## 8-byte Spill
	leaq	16(%rax), %r14
	xorps	%xmm0, %xmm0
	movups	%xmm0, 8(%rax)
	movups	%xmm0, 88(%rax)
	movups	%xmm0, 104(%rax)
	movl	%r12d, (%rax)
	leaq	52(%rax), %rdi
	movups	%xmm0, 56(%rax)
	movups	%xmm0, 72(%rax)
	callq	_krb5_data_zero
	movq	_GSS_C_INDEFINITE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 48(%rbx)
	leaq	24(%rbx), %r12
	xorps	%xmm0, %xmm0
	movups	%xmm0, 32(%rbx)
	movq	%r12, %rdi
	callq	_HEIMDAL_MUTEX_init
	movl	%r15d, %edi
	movq	%r14, %rsi
	callq	_krb5_auth_con_init
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, (%r13)
	movq	%r12, %rdi
	jmp	LBB0_6
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	jmp	LBB0_7
LBB0_4:
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r12
	addq	$8, %r12
	movl	%r15d, %edi
	movq	%r12, %rsi
	callq	_krb5_auth_con_init
	testq	%rax, %rax
	je	LBB0_9
## %bb.5:
	movq	%rax, (%r13)
	movq	(%r14), %rsi
	movl	%r15d, %edi
	callq	_krb5_auth_con_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
LBB0_6:
	callq	_HEIMDAL_MUTEX_destroy
LBB0_7:
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
LBB0_8:
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	movq	(%r14), %rsi
	movl	%r15d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_set_addresses
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movq	(%r12), %rsi
	movl	%r15d, %edi
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	callq	_set_addresses
	testq	%rax, %rax
	je	LBB0_12
LBB0_11:
	movq	%rax, (%r13)
	movq	(%r14), %rsi
	movl	%r15d, %edi
	callq	_krb5_auth_con_free
	movq	(%r12), %rsi
	movl	%r15d, %edi
	callq	_krb5_auth_con_free
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_HEIMDAL_MUTEX_destroy
	movq	_GSS_S_BAD_BINDINGS@GOTPCREL(%rip), %rax
	jmp	LBB0_8
LBB0_12:
	movq	16(%rbx), %rsi
	movq	_KRB5_AUTH_CONTEXT_DO_SEQUENCE@GOTPCREL(%rip), %r14
	movq	_KRB5_AUTH_CONTEXT_CLEAR_FORWARDED_CRED@GOTPCREL(%rip), %r12
	movl	(%r12), %edx
	orl	(%r14), %edx
	movl	%r15d, %edi
	xorl	%ecx, %ecx
	callq	_krb5_auth_con_addflags
	movq	8(%rbx), %rsi
	movl	(%r12), %edx
	orl	(%r14), %edx
	movl	%r15d, %edi
	xorl	%ecx, %ecx
	callq	_krb5_auth_con_addflags
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%rbx, (%rax)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.comm	_GSS_C_INDEFINITE,4,2           ## @GSS_C_INDEFINITE
	.comm	_GSS_S_BAD_BINDINGS,8,3         ## @GSS_S_BAD_BINDINGS
	.comm	_KRB5_AUTH_CONTEXT_DO_SEQUENCE,4,2 ## @KRB5_AUTH_CONTEXT_DO_SEQUENCE
	.comm	_KRB5_AUTH_CONTEXT_CLEAR_FORWARDED_CRED,4,2 ## @KRB5_AUTH_CONTEXT_CLEAR_FORWARDED_CRED
	.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_create_ctx            ; -- Begin function _gsskrb5_create_ctx
	.p2align	2
__gsskrb5_create_ctx:                   ; @_gsskrb5_create_ctx
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x4
	mov	x25, x3
	mov	x19, x2
	mov	x20, x1
	mov	x23, x0
	str	xzr, [x1]
	mov	w0, #120
	bl	_malloc
	cbz	x0, LBB0_3
; %bb.1:
	mov	x21, x0
	mov	x26, x0
	str	xzr, [x26, #16]!
	mov	x24, x0
	str	xzr, [x24, #8]!
	movi.2d	v0, #0000000000000000
	stur	q0, [x0, #88]
	stur	q0, [x0, #104]
	str	w22, [x0], #52
	stur	q0, [x21, #56]
	stur	q0, [x21, #72]
	bl	_krb5_data_zero
Lloh0:
	adrp	x8, _GSS_C_INDEFINITE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_C_INDEFINITE@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	str	w8, [x21, #48]
	add	x22, x21, #24
	stp	xzr, xzr, [x21, #32]
	mov	x0, x22
	bl	_HEIMDAL_MUTEX_init
	mov	x0, x19
	mov	x1, x26
	bl	_krb5_auth_con_init
	cbz	x0, LBB0_4
; %bb.2:
	str	x0, [x23]
	b	LBB0_6
LBB0_3:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	str	x8, [x23]
	b	LBB0_7
LBB0_4:
	mov	x0, x19
	mov	x1, x24
	bl	_krb5_auth_con_init
	cbz	x0, LBB0_9
; %bb.5:
	str	x0, [x23]
	ldr	x1, [x26]
	mov	x0, x19
	bl	_krb5_auth_con_free
LBB0_6:
	mov	x0, x22
	bl	_HEIMDAL_MUTEX_destroy
LBB0_7:
Lloh6:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
LBB0_8:
	ldr	x0, [x8]
	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
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_9:
	ldr	x1, [x26]
	mov	x0, x19
	mov	x2, x25
	bl	_set_addresses
	cbnz	x0, LBB0_11
; %bb.10:
	ldr	x1, [x24]
	mov	x0, x19
	mov	x2, x25
	bl	_set_addresses
	cbz	x0, LBB0_12
LBB0_11:
	str	x0, [x23]
	ldr	x1, [x26]
	mov	x0, x19
	bl	_krb5_auth_con_free
	ldr	x1, [x24]
	mov	x0, x19
	bl	_krb5_auth_con_free
	mov	x0, x22
	bl	_HEIMDAL_MUTEX_destroy
Lloh8:
	adrp	x8, _GSS_S_BAD_BINDINGS@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GSS_S_BAD_BINDINGS@GOTPAGEOFF]
	b	LBB0_8
LBB0_12:
Lloh10:
	adrp	x22, _KRB5_AUTH_CONTEXT_DO_SEQUENCE@GOTPAGE
Lloh11:
	ldr	x22, [x22, _KRB5_AUTH_CONTEXT_DO_SEQUENCE@GOTPAGEOFF]
	ldr	x1, [x21, #16]
	ldr	w8, [x22]
Lloh12:
	adrp	x23, _KRB5_AUTH_CONTEXT_CLEAR_FORWARDED_CRED@GOTPAGE
Lloh13:
	ldr	x23, [x23, _KRB5_AUTH_CONTEXT_CLEAR_FORWARDED_CRED@GOTPAGEOFF]
	ldr	w9, [x23]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x3, #0
	bl	_krb5_auth_con_addflags
	ldr	x1, [x21, #8]
	ldr	w8, [x22]
	ldr	w9, [x23]
	orr	w2, w9, w8
	mov	x0, x19
	mov	x3, #0
	bl	_krb5_auth_con_addflags
	str	x21, [x20]
Lloh14:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_GSS_C_INDEFINITE,4,2           ; @GSS_C_INDEFINITE
	.comm	_GSS_S_BAD_BINDINGS,8,3         ; @GSS_S_BAD_BINDINGS
	.comm	_KRB5_AUTH_CONTEXT_DO_SEQUENCE,4,2 ; @KRB5_AUTH_CONTEXT_DO_SEQUENCE
	.comm	_KRB5_AUTH_CONTEXT_CLEAR_FORWARDED_CRED,4,2 ; @KRB5_AUTH_CONTEXT_CLEAR_FORWARDED_CRED
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
.subsections_via_symbols
