	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function max_wrap_length_arcfour
_max_wrap_length_arcfour:               ## @max_wrap_length_arcfour
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	callq	_IS_DCE_STYLE
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	_GSS_ARCFOUR_WRAP_TOKEN_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rdi
	movq	%rdi, -24(%rbp)
	movq	_GSS_KRB5_MECHANISM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	callq	__gssapi_encap_length
	xorl	%eax, %eax
	subq	-24(%rbp), %rbx
	cmovaeq	%rbx, %rax
	movq	%rax, (%r14)
	jmp	LBB0_3
LBB0_2:
	movq	_GSS_ARCFOUR_WRAP_TOKEN_SIZE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	leaq	(%rbx,%rax), %rdi
	addq	$16, %rdi
	movq	%rdi, -24(%rbp)
	movq	_GSS_KRB5_MECHANISM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-24(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	callq	__gsskrb5_encap_length
	movq	-32(%rbp), %rax
	subq	%rbx, %rax
	movq	%rbx, %rcx
	subq	%rax, %rcx
	andq	$-8, %rcx
	xorl	%edx, %edx
	cmpq	%rax, %rbx
	cmovaq	%rcx, %rdx
	movq	%rdx, (%r14)
LBB0_3:
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_ARCFOUR_WRAP_TOKEN_SIZE,8,3 ## @GSS_ARCFOUR_WRAP_TOKEN_SIZE
	.comm	_GSS_KRB5_MECHANISM,4,2         ## @GSS_KRB5_MECHANISM
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.no_dead_strip	_max_wrap_length_arcfour
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function max_wrap_length_arcfour
_max_wrap_length_arcfour:               ; @max_wrap_length_arcfour
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x3
	mov	x20, x2
	bl	_IS_DCE_STYLE
Lloh0:
	adrp	x8, _GSS_ARCFOUR_WRAP_TOKEN_SIZE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_ARCFOUR_WRAP_TOKEN_SIZE@GOTPAGEOFF]
	cbz	x0, LBB0_2
; %bb.1:
	ldr	x0, [x8]
	str	x0, [sp, #8]
Lloh2:
	adrp	x8, _GSS_KRB5_MECHANISM@GOTPAGE
Lloh3:
	ldr	x8, [x8, _GSS_KRB5_MECHANISM@GOTPAGEOFF]
Lloh4:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x2, sp
	bl	__gssapi_encap_length
	ldr	x8, [sp, #8]
	subs	x8, x20, x8
	csel	x8, xzr, x8, lo
	b	LBB0_3
LBB0_2:
	ldr	x8, [x8]
	add	x8, x20, x8
	add	x0, x8, #16
	str	x0, [sp, #8]
Lloh5:
	adrp	x8, _GSS_KRB5_MECHANISM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _GSS_KRB5_MECHANISM@GOTPAGEOFF]
Lloh7:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x2, sp
	bl	__gsskrb5_encap_length
	ldr	x8, [sp]
	sub	x8, x8, x20
	subs	x8, x20, x8
	and	x8, x8, #0xfffffffffffffff8
	csel	x8, x8, xzr, hi
LBB0_3:
	str	x8, [x19]
Lloh8:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh10:
	ldr	x0, [x8]
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_ARCFOUR_WRAP_TOKEN_SIZE,8,3 ; @GSS_ARCFOUR_WRAP_TOKEN_SIZE
	.comm	_GSS_KRB5_MECHANISM,4,2         ; @GSS_KRB5_MECHANISM
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.no_dead_strip	_max_wrap_length_arcfour
.subsections_via_symbols
