	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gsskrb5_initiator_ready
_gsskrb5_initiator_ready:               ## @gsskrb5_initiator_ready
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	24(%rsi), %rsi
	movq	32(%rbx), %r15
	movl	%edx, %edi
	callq	_krb5_free_creds
	movq	$0, 24(%rbx)
	movq	_CLOSE_CCACHE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, (%rbx)
	je	LBB0_2
## %bb.1:
	movq	16(%rbx), %rsi
	movl	%r12d, %edi
	callq	_krb5_cc_close
LBB0_2:
	movq	$0, 16(%rbx)
	movl	12(%rbx), %esi
	leaq	-44(%rbp), %rdx
	movl	%r12d, %edi
	callq	_krb5_auth_con_getremoteseqnumber
	movl	%r12d, %edi
	movq	%rbx, %rsi
	xorl	%edx, %edx
	callq	__gsskrb5i_is_cfx
	movq	_IS_CFX@GOTPCREL(%rip), %rax
	movl	(%rax), %r12d
	andl	(%rbx), %r12d
	leaq	8(%rbx), %r13
	movq	%r15, %rdi
	callq	__gssapi_msg_order_f
	movl	-44(%rbp), %ecx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movl	%eax, %edx
	xorl	%r8d, %r8d
	movl	%r12d, %r9d
	callq	__gssapi_msg_order_create
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:
	movq	_INITIATOR_READY@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 4(%rbx)
	movq	_OPEN@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, (%rbx)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_CLOSE_CCACHE,4,2               ## @CLOSE_CCACHE
	.comm	_IS_CFX,4,2                     ## @IS_CFX
	.comm	_INITIATOR_READY,4,2            ## @INITIATOR_READY
	.comm	_OPEN,4,2                       ## @OPEN
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.no_dead_strip	_gsskrb5_initiator_ready
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gsskrb5_initiator_ready
_gsskrb5_initiator_ready:               ; @gsskrb5_initiator_ready
	.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
	mov	x22, x2
	mov	x19, x1
	mov	x20, x0
	ldp	x1, x21, [x1, #24]
	mov	x0, x2
	bl	_krb5_free_creds
	str	xzr, [x19, #24]
	ldr	w8, [x19]
Lloh0:
	adrp	x9, _CLOSE_CCACHE@GOTPAGE
Lloh1:
	ldr	x9, [x9, _CLOSE_CCACHE@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.1:
	ldr	x1, [x19, #16]
	mov	x0, x22
	bl	_krb5_cc_close
LBB0_2:
	str	xzr, [x19, #16]
	ldr	w1, [x19, #12]
	add	x2, sp, #12
	mov	x0, x22
	bl	_krb5_auth_con_getremoteseqnumber
	mov	x0, x22
	mov	x1, x19
	mov	w2, #0
	bl	__gsskrb5i_is_cfx
	ldr	w8, [x19]
Lloh3:
	adrp	x9, _IS_CFX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _IS_CFX@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w22, w9, w8
	add	x23, x19, #8
	mov	x0, x21
	bl	__gssapi_msg_order_f
	mov	x2, x0
	ldr	w3, [sp, #12]
	mov	x0, x20
	mov	x1, x23
	mov	w4, #0
	mov	x5, x22
	bl	__gssapi_msg_order_create
	cbnz	x0, LBB0_4
; %bb.3:
Lloh6:
	adrp	x8, _INITIATOR_READY@GOTPAGE
Lloh7:
	ldr	x8, [x8, _INITIATOR_READY@GOTPAGEOFF]
Lloh8:
	ldr	w8, [x8]
Lloh9:
	adrp	x9, _OPEN@GOTPAGE
Lloh10:
	ldr	x9, [x9, _OPEN@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	ldr	w10, [x19]
	orr	w9, w10, w9
	stp	w9, w8, [x19]
Lloh12:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh13:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh14:
	ldr	x0, [x8]
LBB0_4:
	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
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_CLOSE_CCACHE,4,2               ; @CLOSE_CCACHE
	.comm	_IS_CFX,4,2                     ; @IS_CFX
	.comm	_INITIATOR_READY,4,2            ; @INITIATOR_READY
	.comm	_OPEN,4,2                       ; @OPEN
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.no_dead_strip	_gsskrb5_initiator_ready
.subsections_via_symbols
