	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gssd_accept_sec_context_1_svc  ## -- Begin function gssd_accept_sec_context_1_svc
	.p2align	4, 0x90
_gssd_accept_sec_context_1_svc:         ## @gssd_accept_sec_context_1_svc
	.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	%rsi, %rbx
	movq	%rdi, %r14
	movq	_GSS_C_NO_CONTEXT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -44(%rbp)
	movq	_GSS_C_NO_CREDENTIAL@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	%rsi, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	movq	(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.1:
	callq	_gssd_find_resource
	movl	%eax, -44(%rbp)
	testl	%eax, %eax
	je	LBB0_2
LBB0_4:
	movq	16(%r14), %rdi
	testq	%rdi, %rdi
	je	LBB0_7
## %bb.5:
	callq	_gssd_find_resource
	movl	%eax, %r15d
	testl	%eax, %eax
	je	LBB0_6
LBB0_7:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	movl	$56, %edx
	callq	_memset
	leaq	32(%rbx), %rdi
	leaq	12(%r14), %rcx
	movl	8(%r14), %r8d
	leaq	52(%rbx), %r10
	leaq	48(%rbx), %r11
	leaq	44(%rbx), %r12
	leaq	40(%rbx), %rax
	subq	$8, %rsp
	leaq	-48(%rbp), %r13
	leaq	-44(%rbp), %rsi
	leaq	-52(%rbp), %r9
	movl	%r15d, %edx
	pushq	%r13
	pushq	%rax
	pushq	%r12
	pushq	%r11
	pushq	%r10
	callq	_gss_accept_sec_context
	addq	$48, %rsp
	movq	%rax, 24(%rbx)
	movl	32(%rbx), %edx
	leaq	L_.str.2(%rip), %rdi
	movl	%eax, %esi
	xorl	%eax, %eax
	callq	_gssd_verbose_out
	movq	24(%rbx), %rax
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.8:
	movq	_GSS_S_CONTINUE_NEEDED@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_12
LBB0_9:
	movq	(%r14), %rax
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:
	movl	-44(%rbp), %edi
	callq	_gssd_make_resource
LBB0_11:
	movq	%rax, 16(%rbx)
	movl	-52(%rbp), %edi
	callq	_gssd_make_resource
	movq	%rax, 8(%rbx)
	movl	-48(%rbp), %edi
	callq	_gssd_make_resource
	movq	%rax, (%rbx)
	jmp	LBB0_12
LBB0_2:
	movq	_GSS_S_CONTEXT_EXPIRED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	leaq	L_.str(%rip), %rdi
	jmp	LBB0_3
LBB0_6:
	movq	_GSS_S_CREDENTIALS_EXPIRED@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, 24(%rbx)
	leaq	L_.str.1(%rip), %rdi
LBB0_3:
	xorl	%eax, %eax
	callq	_gssd_verbose_out
LBB0_12:
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_C_NO_CONTEXT,4,2           ## @GSS_C_NO_CONTEXT
	.comm	_GSS_C_NO_CREDENTIAL,4,2        ## @GSS_C_NO_CREDENTIAL
	.comm	_GSS_S_CONTEXT_EXPIRED,8,3      ## @GSS_S_CONTEXT_EXPIRED
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"gssd_accept_sec_context: ctx resource not found\n"

	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_GSS_S_CREDENTIALS_EXPIRED,8,3  ## @GSS_S_CREDENTIALS_EXPIRED
L_.str.1:                               ## @.str.1
	.asciz	"gssd_accept_sec_context: cred resource not found\n"

L_.str.2:                               ## @.str.2
	.asciz	"gssd_accept_sec_context: done major=0x%x minor=%d\n"

	.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	_gssd_accept_sec_context_1_svc  ; -- Begin function gssd_accept_sec_context_1_svc
	.p2align	2
_gssd_accept_sec_context_1_svc:         ; @gssd_accept_sec_context_1_svc
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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, x1
	mov	x20, x0
Lloh0:
	adrp	x8, _GSS_C_NO_CONTEXT@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_C_NO_CONTEXT@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	stur	w8, [x29, #-36]
Lloh3:
	adrp	x8, _GSS_C_NO_CREDENTIAL@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_C_NO_CREDENTIAL@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x0, x1
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	ldr	x0, [x20]
	cbz	x0, LBB0_2
; %bb.1:
	bl	_gssd_find_resource
	stur	w0, [x29, #-36]
	cbz	w0, LBB0_8
LBB0_2:
	ldr	x0, [x20, #16]
	cbz	x0, LBB0_4
; %bb.3:
	bl	_gssd_find_resource
	mov	x21, x0
	cbz	w0, LBB0_9
LBB0_4:
	mov	x0, x19
	mov	w1, #0
	mov	w2, #56
	bl	_memset
	add	x0, x19, #32
	add	x3, x20, #12
	ldr	w4, [x20, #8]
	add	x6, x19, #52
	add	x7, x19, #48
	add	x8, x19, #44
	add	x9, x19, #40
	add	x10, sp, #36
	stp	x9, x10, [sp, #8]
	str	x8, [sp]
	sub	x1, x29, #36
	add	x5, sp, #40
	mov	x2, x21
	bl	_gss_accept_sec_context
	str	x0, [x19, #24]
	ldr	x8, [x19, #32]
	stp	x0, x8, [sp]
Lloh6:
	adrp	x0, l_.str.2@PAGE
Lloh7:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_gssd_verbose_out
	ldr	x8, [x19, #24]
Lloh8:
	adrp	x9, _GSS_S_COMPLETE@GOTPAGE
Lloh9:
	ldr	x9, [x9, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh10:
	ldr	x9, [x9]
Lloh11:
	adrp	x10, _GSS_S_CONTINUE_NEEDED@GOTPAGE
Lloh12:
	ldr	x10, [x10, _GSS_S_CONTINUE_NEEDED@GOTPAGEOFF]
Lloh13:
	ldr	x10, [x10]
	cmp	x8, x9
	ccmp	x8, x10, #4, ne
	b.ne	LBB0_11
; %bb.5:
	ldr	x0, [x20]
	cbnz	x0, LBB0_7
; %bb.6:
	ldur	w0, [x29, #-36]
	bl	_gssd_make_resource
LBB0_7:
	str	x0, [x19, #16]
	ldr	w0, [sp, #40]
	bl	_gssd_make_resource
	str	x0, [x19, #8]
	ldr	w0, [sp, #36]
	bl	_gssd_make_resource
	str	x0, [x19]
	b	LBB0_11
LBB0_8:
Lloh14:
	adrp	x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGE
Lloh15:
	ldr	x8, [x8, _GSS_S_CONTEXT_EXPIRED@GOTPAGEOFF]
Lloh16:
	ldr	x8, [x8]
	str	x8, [x19, #24]
Lloh17:
	adrp	x0, l_.str@PAGE
Lloh18:
	add	x0, x0, l_.str@PAGEOFF
	b	LBB0_10
LBB0_9:
Lloh19:
	adrp	x8, _GSS_S_CREDENTIALS_EXPIRED@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GSS_S_CREDENTIALS_EXPIRED@GOTPAGEOFF]
Lloh21:
	ldr	x8, [x8]
	str	x8, [x19, #24]
Lloh22:
	adrp	x0, l_.str.1@PAGE
Lloh23:
	add	x0, x0, l_.str.1@PAGEOFF
LBB0_10:
	bl	_gssd_verbose_out
LBB0_11:
Lloh24:
	adrp	x8, _TRUE@GOTPAGE
Lloh25:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh26:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_C_NO_CONTEXT,4,2           ; @GSS_C_NO_CONTEXT
	.comm	_GSS_C_NO_CREDENTIAL,4,2        ; @GSS_C_NO_CREDENTIAL
	.comm	_GSS_S_CONTEXT_EXPIRED,8,3      ; @GSS_S_CONTEXT_EXPIRED
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"gssd_accept_sec_context: ctx resource not found\n"

	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_GSS_S_CREDENTIALS_EXPIRED,8,3  ; @GSS_S_CREDENTIALS_EXPIRED
l_.str.1:                               ; @.str.1
	.asciz	"gssd_accept_sec_context: cred resource not found\n"

l_.str.2:                               ; @.str.2
	.asciz	"gssd_accept_sec_context: done major=0x%x minor=%d\n"

	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_GSS_S_CONTINUE_NEEDED,8,3      ; @GSS_S_CONTINUE_NEEDED
.subsections_via_symbols
