	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_init_sec_context           ## -- Begin function gss_init_sec_context
	.p2align	4, 0x90
_gss_init_sec_context:                  ## @gss_init_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -96(%rbp)                  ## 8-byte Spill
	movq	%r8, %r14
	movq	%rcx, -72(%rbp)                 ## 8-byte Spill
	movq	%rdx, %rbx
	movl	%esi, -52(%rbp)                 ## 4-byte Spill
	movq	%rdi, %r15
	movl	48(%rbp), %edi
	movq	40(%rbp), %r13
	movq	(%rdx), %r12
	movq	$0, (%r15)
                                        ## kill: def $edi killed $edi killed $rdi
	callq	__gss_buffer_zero
	testq	%r13, %r13
	je	LBB0_2
## %bb.1:
	movq	_GSS_C_NO_OID@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
LBB0_2:
	movq	64(%rbp), %rcx
	movq	56(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	movq	$0, (%rax)
LBB0_4:
	testq	%rcx, %rcx
	je	LBB0_6
## %bb.5:
	movq	$0, (%rcx)
LBB0_6:
	testq	%r12, %r12
	movq	%r12, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_7
## %bb.19:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	8(%r12), %r13
	leaq	8(%r13), %r14
	leaq	-80(%rbp), %rcx
	movq	%r15, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	__gss_find_mn
	movq	%rax, %rbx
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_26
LBB0_20:
	movl	32(%rbp), %ebx
	movl	-52(%rbp), %edi                 ## 4-byte Reload
	movq	%r14, %rsi
	callq	__gss_mech_cred_find
	movq	-80(%rbp), %rcx
	movl	(%rcx), %ecx
	subq	$8, %rsp
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movq	%r15, %rdi
	movl	%eax, %esi
	movq	%r12, %rdx
	movq	%r14, %r8
	movq	-96(%rbp), %r9                  ## 8-byte Reload
	pushq	64(%rbp)
	pushq	56(%rbp)
	movl	48(%rbp), %r14d
	pushq	%r14
	pushq	40(%rbp)
	pushq	%rbx
	movl	24(%rbp), %eax
	pushq	%rax
	pushq	16(%rbp)
	callq	*(%r13)
	addq	$64, %rsp
	movq	%rax, %rbx
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_25
## %bb.21:
	movq	_GSS_S_CONTINUE_NEEDED@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_25
## %bb.22:
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	jne	LBB0_24
## %bb.23:
	movq	%r12, %rdi
	callq	_free
LBB0_24:
	movl	%r14d, %edi
	callq	__gss_buffer_zero
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	__gss_mg_error
	jmp	LBB0_26
LBB0_7:
	movq	_GSS_C_NO_OID@GOTPCREL(%rip), %rax
	cmpq	%r14, (%rax)
	jne	LBB0_12
## %bb.8:
	xorl	%eax, %eax
	callq	__gss_load_mech
	movq	__gss_mech_oids@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	_GSS_C_NO_OID_SET@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_10
## %bb.9:
	cmpq	$0, (%rax)
	je	LBB0_10
## %bb.11:
	movq	8(%rax), %r14
LBB0_12:
	movq	%r15, -48(%rbp)                 ## 8-byte Spill
	movl	$16, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_13
## %bb.14:
	movq	%rax, %r12
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_memset
	movq	%r14, %rdi
	callq	__gss_find_mech_switch
	movq	%rax, 8(%r12)
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	%rax, %r13
	leaq	-80(%rbp), %rcx
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	__gss_find_mn
	movq	%rax, %rbx
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_18
## %bb.17:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_25:
	movq	-64(%rbp), %rax                 ## 8-byte Reload
	movq	%r12, (%rax)
	jmp	LBB0_26
LBB0_13:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_26
LBB0_15:
	movq	%r12, %rdi
	callq	_free
LBB0_10:
	movq	_GSS_S_BAD_MECH@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	jmp	LBB0_26
LBB0_18:
	movq	%r12, %rdi
	callq	_free
LBB0_26:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_C_NO_OID,8,3               ## @GSS_C_NO_OID
	.comm	__gss_mech_oids,8,3             ## @_gss_mech_oids
	.comm	_GSS_C_NO_OID_SET,8,3           ## @GSS_C_NO_OID_SET
	.comm	_GSS_S_BAD_MECH,8,3             ## @GSS_S_BAD_MECH
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_GSS_S_CONTINUE_NEEDED,8,3      ## @GSS_S_CONTINUE_NEEDED
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_init_sec_context           ; -- Begin function gss_init_sec_context
	.p2align	2
_gss_init_sec_context:                  ; @gss_init_sec_context
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x28, x27, [sp, #80]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x28, x7
	stp	x5, x6, [sp, #56]               ; 16-byte Folded Spill
	mov	x25, x4
	mov	x27, x3
	mov	x22, x2
	str	w1, [sp, #52]                   ; 4-byte Folded Spill
	mov	x19, x0
	ldp	x24, x26, [x29, #40]
	ldr	w20, [x29, #32]
	ldr	x21, [x29, #24]
	ldr	x23, [x2]
	str	xzr, [x0]
	mov	x0, x20
	bl	__gss_buffer_zero
Lloh0:
	adrp	x8, _GSS_C_NO_OID@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_C_NO_OID@GOTPAGEOFF]
	cbz	x21, LBB0_2
; %bb.1:
	ldr	x9, [x8]
	str	x9, [x21]
LBB0_2:
	cbz	x24, LBB0_4
; %bb.3:
	str	xzr, [x24]
LBB0_4:
	cbz	x26, LBB0_6
; %bb.5:
	str	xzr, [x26]
LBB0_6:
	cbz	x23, LBB0_11
; %bb.7:
	str	w28, [sp, #48]                  ; 4-byte Folded Spill
	ldr	x28, [x23, #8]
	add	x25, x28, #8
	add	x3, sp, #72
	mov	x0, x19
	mov	x1, x27
	mov	x2, x25
	bl	__gss_find_mn
	mov	x27, x0
Lloh2:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_26
; %bb.8:
	str	x22, [sp, #40]                  ; 8-byte Folded Spill
	mov	x22, x23
LBB0_9:
	ldr	w27, [x29, #16]
	ldr	w0, [sp, #52]                   ; 4-byte Folded Reload
	mov	x1, x25
	bl	__gss_mech_cred_find
	mov	x1, x0
	ldr	x8, [x28]
	ldp	x6, x9, [sp, #64]               ; 8-byte Folded Reload
	ldr	w3, [x9]
	stp	x24, x26, [sp, #24]
	str	w20, [sp, #16]
	str	x21, [sp, #8]
	str	w27, [sp]
	mov	x0, x19
	mov	x2, x22
	mov	x4, x25
	ldr	x5, [sp, #56]                   ; 8-byte Folded Reload
	ldr	w7, [sp, #48]                   ; 4-byte Folded Reload
	blr	x8
	mov	x27, x0
Lloh5:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
Lloh8:
	adrp	x9, _GSS_S_CONTINUE_NEEDED@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GSS_S_CONTINUE_NEEDED@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
	cmp	x0, x8
	ccmp	x0, x9, #4, ne
	b.ne	LBB0_19
; %bb.10:
	ldr	x8, [sp, #40]                   ; 8-byte Folded Reload
	str	x22, [x8]
	b	LBB0_26
LBB0_11:
	ldr	x8, [x8]
	cmp	x8, x25
	b.ne	LBB0_15
; %bb.12:
	bl	__gss_load_mech
Lloh11:
	adrp	x8, __gss_mech_oids@GOTPAGE
Lloh12:
	ldr	x8, [x8, __gss_mech_oids@GOTPAGEOFF]
Lloh13:
	ldr	x8, [x8]
Lloh14:
	adrp	x9, _GSS_C_NO_OID_SET@GOTPAGE
Lloh15:
	ldr	x9, [x9, _GSS_C_NO_OID_SET@GOTPAGEOFF]
Lloh16:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_24
; %bb.13:
	ldr	x9, [x8]
	cbz	x9, LBB0_24
; %bb.14:
	ldr	x25, [x8, #8]
LBB0_15:
	str	x22, [sp, #40]                  ; 8-byte Folded Spill
	mov	w0, #16
	bl	_malloc
	cbz	x0, LBB0_22
; %bb.16:
	mov	x22, x0
	str	w28, [sp, #48]                  ; 4-byte Folded Spill
	mov	w1, #0
	mov	w2, #16
	bl	_memset
	mov	x0, x25
	bl	__gss_find_mech_switch
	str	x0, [x22, #8]
	cbz	x0, LBB0_23
; %bb.17:
	mov	x28, x0
	add	x3, sp, #72
	mov	x0, x19
	mov	x1, x27
	mov	x2, x25
	bl	__gss_find_mn
Lloh17:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh18:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh19:
	ldr	x8, [x8]
	cmp	x0, x8
	b.eq	LBB0_9
; %bb.18:
	mov	x27, x0
	mov	x0, x22
	bl	_free
	b	LBB0_26
LBB0_19:
	cbnz	x23, LBB0_21
; %bb.20:
	mov	x0, x22
	bl	_free
LBB0_21:
	mov	x0, x20
	bl	__gss_buffer_zero
	ldr	x2, [x19]
	mov	x0, x28
	mov	x1, x27
	bl	__gss_mg_error
	b	LBB0_26
LBB0_22:
Lloh20:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh21:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh22:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh23:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh24:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
	b	LBB0_25
LBB0_23:
	mov	x0, x22
	bl	_free
LBB0_24:
Lloh25:
	adrp	x8, _GSS_S_BAD_MECH@GOTPAGE
Lloh26:
	ldr	x8, [x8, _GSS_S_BAD_MECH@GOTPAGEOFF]
LBB0_25:
	ldr	x27, [x8]
LBB0_26:
	mov	x0, x27
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_C_NO_OID,8,3               ; @GSS_C_NO_OID
	.comm	__gss_mech_oids,8,3             ; @_gss_mech_oids
	.comm	_GSS_C_NO_OID_SET,8,3           ; @GSS_C_NO_OID_SET
	.comm	_GSS_S_BAD_MECH,8,3             ; @GSS_S_BAD_MECH
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_GSS_S_CONTINUE_NEEDED,8,3      ; @GSS_S_CONTINUE_NEEDED
.subsections_via_symbols
