	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function sub_wrap_size
_sub_wrap_size:                         ## @sub_wrap_size
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
                                        ## kill: def $ecx killed $ecx def $rcx
	movl	%edx, %ebx
	movq	%rsi, %r14
	movl	%edi, %r15d
	leal	(%r15,%rbx), %eax
	leal	8(%rcx,%rax), %eax
	movslq	%eax, %rdi
	movq	%rdi, -40(%rbp)
	movq	_GSS_KRB5_MECHANISM@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-40(%rbp), %rsi
	leaq	-32(%rbp), %rdx
	callq	__gsskrb5_encap_length
	movslq	%r15d, %rax
	movq	-32(%rbp), %rcx
	subq	%rax, %rcx
	movl	%eax, %edx
	subl	%ecx, %edx
	negl	%ebx
	andl	%edx, %ebx
	xorl	%edx, %edx
	cmpq	%rax, %rcx
	cmovbl	%ebx, %edx
	movl	%edx, (%r14)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_KRB5_MECHANISM,4,2         ## @GSS_KRB5_MECHANISM
	.comm	_GSS_S_COMPLETE,4,2             ## @GSS_S_COMPLETE
	.no_dead_strip	_sub_wrap_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function sub_wrap_size
_sub_wrap_size:                         ; @sub_wrap_size
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x2
	mov	x20, x1
	mov	x21, x0
	add	w8, w0, w2
	add	w8, w8, w3
	add	w8, w8, #8
	sxtw	x0, w8
	str	x0, [sp, #8]
Lloh0:
	adrp	x8, _GSS_KRB5_MECHANISM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_KRB5_MECHANISM@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
	add	x1, sp, #8
	mov	x2, sp
	bl	__gsskrb5_encap_length
	sxtw	x8, w21
	ldr	x9, [sp]
	sub	x9, x9, x8
	sub	w10, w21, w9
	neg	w11, w19
	and	w10, w10, w11
	cmp	x9, x8
	csel	w8, w10, wzr, lo
	str	w8, [x20]
Lloh3:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
Lloh5:
	ldr	w0, [x8]
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_KRB5_MECHANISM,4,2         ; @GSS_KRB5_MECHANISM
	.comm	_GSS_S_COMPLETE,4,2             ; @GSS_S_COMPLETE
	.no_dead_strip	_sub_wrap_size
.subsections_via_symbols
