	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gssapi_wrap_iov_length_cfx    ## -- Begin function _gssapi_wrap_iov_length_cfx
	.p2align	4, 0x90
__gssapi_wrap_iov_length_cfx:           ## @_gssapi_wrap_iov_length_cfx
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -104(%rbp)                 ## 8-byte Spill
	movl	%ecx, %r15d
	movq	%rsi, -72(%rbp)                 ## 8-byte Spill
	movq	%rdi, %rbx
	movl	24(%rbp), %r14d
	movl	%edx, -44(%rbp)
	movq	$0, -128(%rbp)
	movq	$0, -96(%rbp)
	leaq	-44(%rbp), %rdi
	callq	_GSSAPI_KRB5_INIT
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	$0, (%rbx)
	testl	%r14d, %r14d
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	jle	LBB0_1
## %bb.2:
	movq	16(%rbp), %r13
	movl	%r14d, %r15d
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	leaq	LJTI0_0(%rip), %r12
	xorl	%r14d, %r14d
	xorl	%ebx, %ebx
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	jmp	LBB0_3
LBB0_9:                                 ##   in Loop: Header=BB0_3 Depth=1
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	(%r13), %rax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	.p2align	4, 0x90
LBB0_10:                                ##   in Loop: Header=BB0_3 Depth=1
	addq	$16, %r13
	decq	%r15
	je	LBB0_11
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%r13), %edi
	callq	_GSS_IOV_BUFFER_TYPE
                                        ## kill: def $eax killed $eax def $rax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_26
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movslq	(%r12,%rax,4), %rax
	addq	%r12, %rax
	jmpq	*%rax
LBB0_7:                                 ##   in Loop: Header=BB0_3 Depth=1
	cmpq	$0, -88(%rbp)                   ## 8-byte Folded Reload
	movq	%r13, %rax
	movq	%r13, -88(%rbp)                 ## 8-byte Spill
	je	LBB0_10
	jmp	LBB0_6
LBB0_8:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%r14, %r14
	movq	%r13, %r14
	je	LBB0_10
	jmp	LBB0_6
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	testq	%rbx, %rbx
	movq	%r13, %rbx
	je	LBB0_10
LBB0_6:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	$0, (%rax)
	jmp	LBB0_27
LBB0_1:
	xorl	%eax, %eax
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	xorl	%eax, %eax
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
LBB0_11:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	movq	%rbx, %r13
	movq	%rbx, %rdx
	movq	%r14, %r12
	movq	%r14, %rcx
	movq	-88(%rbp), %r14                 ## 8-byte Reload
	movq	%r14, %r8
	callq	__gk_verify_buffers
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rbx
	cmpq	(%rbx), %rax
	jne	LBB0_38
## %bb.12:
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	testl	%r15d, %r15d
	je	LBB0_28
## %bb.13:
	movq	$0, -120(%rbp)
	movq	$0, -112(%rbp)
	movl	-44(%rbp), %edi
	movq	-72(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %esi
	movq	_KRB5_CRYPTO_TYPE_HEADER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-128(%rbp), %rcx
	callq	_krb5_crypto_length
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_27
## %bb.14:
	movl	-44(%rbp), %edi
	movl	(%r15), %esi
	movq	_KRB5_CRYPTO_TYPE_TRAILER@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-96(%rbp), %rcx
	callq	_krb5_crypto_length
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_27
## %bb.15:
	movl	-44(%rbp), %edi
	movl	(%r15), %esi
	movq	_KRB5_CRYPTO_TYPE_PADDING@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-120(%rbp), %rcx
	callq	_krb5_crypto_length
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_27
## %bb.16:
	movq	-120(%rbp), %rcx
	cmpq	$2, %rcx
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jb	LBB0_21
## %bb.17:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	addq	$4, %rax
	movq	%rax, %rdx
	orq	%rcx, %rdx
	shrq	$32, %rdx
	je	LBB0_18
## %bb.19:
	xorl	%edx, %edx
	divq	%rcx
	jmp	LBB0_20
LBB0_28:
	movl	-44(%rbp), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	movq	_KRB5_CRYPTO_TYPE_CHECKSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-96(%rbp), %rcx
	callq	_krb5_crypto_length
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
	testq	%rax, %rax
	jne	LBB0_27
## %bb.29:
	movl	$4, %eax
	movq	-96(%rbp), %rcx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	testq	%r14, %r14
	je	LBB0_32
LBB0_31:
	movq	%rcx, (%r14)
	jmp	LBB0_33
LBB0_26:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	-56(%rbp), %rcx                 ## 8-byte Reload
	movq	%rax, (%rcx)
LBB0_27:
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
LBB0_38:
	addq	$88, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
                                        ## kill: def $eax killed $eax killed $rax
	xorl	%edx, %edx
	divl	%ecx
                                        ## kill: def $edx killed $edx def $rdx
LBB0_20:
	subq	%rdx, %rcx
	jne	LBB0_25
LBB0_21:
	movq	-72(%rbp), %rdi                 ## 8-byte Reload
	callq	_IS_DCE_STYLE
	testq	%rax, %rax
	je	LBB0_22
## %bb.23:
	movl	-44(%rbp), %edi
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	movl	(%rax), %esi
	leaq	-112(%rbp), %rdx
	callq	_krb5_crypto_getblocksize
	movq	%rax, (%rbx)
	testq	%rax, %rax
	jne	LBB0_27
## %bb.24:
	movq	-112(%rbp), %rcx
	movl	-60(%rbp), %r15d                ## 4-byte Reload
	jmp	LBB0_25
LBB0_22:
	xorl	%ecx, %ecx
LBB0_25:
	movq	-128(%rbp), %rax
	addq	$4, %rax
	movq	-96(%rbp), %rdx
	addq	%rdx, %rcx
	addq	$4, %rcx
	movq	-104(%rbp), %rdx                ## 8-byte Reload
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rbx
	testq	%r14, %r14
	jne	LBB0_31
LBB0_32:
	addq	%rcx, %rax
LBB0_33:
	movq	%rax, (%r13)
	testq	%r12, %r12
	je	LBB0_35
## %bb.34:
	movq	$0, (%r12)
LBB0_35:
	testq	%rdx, %rdx
	je	LBB0_37
## %bb.36:
	movl	%r15d, (%rdx)
LBB0_37:
	movq	(%rbx), %rax
	jmp	LBB0_38
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_7, LBB0_7-LJTI0_0
.set L0_0_set_10, LBB0_10-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_5, LBB0_5-LJTI0_0
.set L0_0_set_9, LBB0_9-LJTI0_0
LJTI0_0:
	.long	L0_0_set_7
	.long	L0_0_set_10
	.long	L0_0_set_8
	.long	L0_0_set_5
	.long	L0_0_set_10
	.long	L0_0_set_9
	.end_data_region
                                        ## -- End function
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.comm	_EINVAL,8,3                     ## @EINVAL
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
	.comm	_KRB5_CRYPTO_TYPE_HEADER,4,2    ## @KRB5_CRYPTO_TYPE_HEADER
	.comm	_KRB5_CRYPTO_TYPE_TRAILER,4,2   ## @KRB5_CRYPTO_TYPE_TRAILER
	.comm	_KRB5_CRYPTO_TYPE_PADDING,4,2   ## @KRB5_CRYPTO_TYPE_PADDING
	.comm	_KRB5_CRYPTO_TYPE_CHECKSUM,4,2  ## @KRB5_CRYPTO_TYPE_CHECKSUM
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gssapi_wrap_iov_length_cfx    ; -- Begin function _gssapi_wrap_iov_length_cfx
	.p2align	2
__gssapi_wrap_iov_length_cfx:           ; @_gssapi_wrap_iov_length_cfx
	.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	x19, x7
	mov	x26, x6
	mov	x20, x5
	mov	x21, x3
	mov	x23, x1
	mov	x22, x0
	str	w2, [sp, #76]
	stp	xzr, xzr, [sp, #56]
	add	x0, sp, #76
	bl	_GSSAPI_KRB5_INIT
	str	xzr, [x22]
	cmp	w19, #1
	str	x20, [sp, #8]                   ; 8-byte Folded Spill
	str	w21, [sp, #20]                  ; 4-byte Folded Spill
	stp	x23, x22, [sp, #24]             ; 16-byte Folded Spill
	b.lt	LBB0_10
; %bb.1:
	mov	x25, #0
	mov	x23, #0
	mov	x22, #0
	mov	x27, #0
	mov	w28, w19
Lloh0:
	adrp	x19, lJTI0_0@PAGE
Lloh1:
	add	x19, x19, lJTI0_0@PAGEOFF
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x26]
	add	x27, x8, x27
	mov	x21, x22
	mov	x24, x23
	mov	x20, x25
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #16
	mov	x25, x20
	mov	x23, x24
	mov	x22, x21
	subs	x28, x28, #1
	b.eq	LBB0_11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w0, [x26, #8]
	bl	_GSS_IOV_BUFFER_TYPE
	sub	w8, w0, #128
	cmp	w8, #5
	b.hi	LBB0_28
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	adr	x9, LBB0_2
	ldrb	w10, [x19, x8]
	add	x9, x9, x10, lsl #2
	mov	x21, x22
	mov	x24, x23
	mov	x20, x25
	br	x9
LBB0_6:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x22
	mov	x24, x23
	mov	x20, x26
	cbz	x25, LBB0_3
	b	LBB0_9
LBB0_7:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x22
	mov	x24, x26
	mov	x20, x25
	cbz	x23, LBB0_3
	b	LBB0_9
LBB0_8:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	x21, x26
	mov	x24, x23
	mov	x20, x25
	cbz	x22, LBB0_3
LBB0_9:
	ldr	x8, [sp, #32]                   ; 8-byte Folded Reload
	str	xzr, [x8]
	b	LBB0_29
LBB0_10:
	mov	x27, #0
	mov	x21, #0
	mov	x24, #0
	mov	x20, #0
LBB0_11:
	ldp	x23, x22, [sp, #24]             ; 16-byte Folded Reload
	mov	x0, x22
	mov	x1, x23
	mov	x2, x21
	mov	x3, x24
	mov	x4, x20
	bl	__gk_verify_buffers
Lloh2:
	adrp	x26, _GSS_S_COMPLETE@GOTPAGE
Lloh3:
	ldr	x26, [x26, _GSS_S_COMPLETE@GOTPAGEOFF]
	ldr	x8, [x26]
	cmp	x0, x8
	b.ne	LBB0_30
; %bb.12:
	ldr	w19, [sp, #20]                  ; 4-byte Folded Reload
	cbz	w19, LBB0_21
; %bb.13:
	stp	xzr, xzr, [sp, #40]
	ldr	w0, [sp, #76]
	ldr	w1, [x23]
Lloh4:
	adrp	x8, _KRB5_CRYPTO_TYPE_HEADER@GOTPAGE
Lloh5:
	ldr	x8, [x8, _KRB5_CRYPTO_TYPE_HEADER@GOTPAGEOFF]
Lloh6:
	ldr	w2, [x8]
	add	x3, sp, #64
	bl	_krb5_crypto_length
	str	x0, [x22]
	cbnz	x0, LBB0_29
; %bb.14:
	ldr	w0, [sp, #76]
	ldr	w1, [x23]
Lloh7:
	adrp	x8, _KRB5_CRYPTO_TYPE_TRAILER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KRB5_CRYPTO_TYPE_TRAILER@GOTPAGEOFF]
Lloh9:
	ldr	w2, [x8]
	add	x3, sp, #56
	bl	_krb5_crypto_length
	str	x0, [x22]
	cbnz	x0, LBB0_29
; %bb.15:
	ldr	w0, [sp, #76]
	ldr	w1, [x23]
Lloh10:
	adrp	x8, _KRB5_CRYPTO_TYPE_PADDING@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KRB5_CRYPTO_TYPE_PADDING@GOTPAGEOFF]
Lloh12:
	ldr	w2, [x8]
	add	x3, sp, #48
	bl	_krb5_crypto_length
	str	x0, [x22]
	cbnz	x0, LBB0_29
; %bb.16:
	ldr	x8, [sp, #48]
	cmp	x8, #2
	b.lo	LBB0_18
; %bb.17:
	add	x9, x27, #4
	udiv	x10, x9, x8
	neg	x9, x9
	madd	x9, x10, x8, x9
	adds	x9, x8, x9
	b.ne	LBB0_32
LBB0_18:
	mov	x0, x23
	bl	_IS_DCE_STYLE
	cbz	x0, LBB0_31
; %bb.19:
	ldr	w0, [sp, #76]
	ldr	w1, [x23]
	add	x2, sp, #40
	bl	_krb5_crypto_getblocksize
	str	x0, [x22]
	cbnz	x0, LBB0_29
; %bb.20:
	ldr	x9, [sp, #40]
	b	LBB0_32
LBB0_21:
	ldr	w0, [sp, #76]
	ldr	w1, [x23]
Lloh13:
	adrp	x8, _KRB5_CRYPTO_TYPE_CHECKSUM@GOTPAGE
Lloh14:
	ldr	x8, [x8, _KRB5_CRYPTO_TYPE_CHECKSUM@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
	add	x3, sp, #56
	bl	_krb5_crypto_length
	str	x0, [x22]
	cbnz	x0, LBB0_29
; %bb.22:
	ldr	x9, [sp, #56]
	mov	w8, #4
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	cbz	x20, LBB0_33
LBB0_23:
	str	x9, [x20]
	str	x8, [x21]
	cbz	x24, LBB0_25
LBB0_24:
	str	xzr, [x24]
LBB0_25:
	cbz	x11, LBB0_27
; %bb.26:
	str	w19, [x11]
LBB0_27:
	ldr	x0, [x26]
	b	LBB0_30
LBB0_28:
Lloh16:
	adrp	x8, _EINVAL@GOTPAGE
Lloh17:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
Lloh18:
	ldr	x8, [x8]
	ldr	x9, [sp, #32]                   ; 8-byte Folded Reload
	str	x8, [x9]
LBB0_29:
Lloh19:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh20:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh21:
	ldr	x0, [x8]
LBB0_30:
	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
LBB0_31:
	mov	x9, #0
LBB0_32:
	ldr	x11, [sp, #8]                   ; 8-byte Folded Reload
	ldp	x10, x8, [sp, #56]
	add	x8, x8, #4
	add	x9, x9, x10
	add	x9, x9, #4
	cbnz	x20, LBB0_23
LBB0_33:
	add	x8, x9, x8
	str	x8, [x21]
	cbnz	x24, LBB0_24
	b	LBB0_25
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
	.byte	(LBB0_8-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_2-LBB0_2)>>2
                                        ; -- End function
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_EINVAL,8,3                     ; @EINVAL
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
	.comm	_KRB5_CRYPTO_TYPE_HEADER,4,2    ; @KRB5_CRYPTO_TYPE_HEADER
	.comm	_KRB5_CRYPTO_TYPE_TRAILER,4,2   ; @KRB5_CRYPTO_TYPE_TRAILER
	.comm	_KRB5_CRYPTO_TYPE_PADDING,4,2   ; @KRB5_CRYPTO_TYPE_PADDING
	.comm	_KRB5_CRYPTO_TYPE_CHECKSUM,4,2  ; @KRB5_CRYPTO_TYPE_CHECKSUM
.subsections_via_symbols
