	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function gss_import_v1_context
_gss_import_v1_context:                 ## @gss_import_v1_context
	.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
	movq	%rdx, %r15
	movq	%rsi, %r14
	movl	$4, %ecx
	callq	_simple_get_bytes
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_21
## %bb.1:
	movq	_ENCTYPE_DES_CBC_RAW@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	%edi, 32(%r15)
	callq	_get_gss_krb5_enctype
	movq	%rax, 24(%r15)
	testq	%rax, %rax
	je	LBB0_2
## %bb.4:
	leaq	20(%rbx), %r12
	cmpq	%r14, %r12
	seta	%al
	cmpq	%rbx, %r12
	setb	%cl
	orb	%al, %cl
	movzbl	%cl, %edi
	callq	_unlikely
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
LBB0_21:
	movq	%rbx, %rdi
	callq	_PTR_ERR
LBB0_22:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	leaq	-44(%rbp), %rdx
	movq	%r12, %rdi
	movq	%r14, %rsi
	movl	$4, %ecx
	callq	_simple_get_bytes
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_21
## %bb.7:
	movl	-44(%rbp), %eax
	movq	_SGN_ALG_DES_MAC_MD5@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.9:
	leaq	-44(%rbp), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %ecx
	callq	_simple_get_bytes
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_21
## %bb.10:
	movl	-44(%rbp), %eax
	movq	_SEAL_ALG_DES@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_8
## %bb.11:
	leaq	4(%r15), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %ecx
	callq	_simple_get_bytes
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_21
## %bb.12:
	leaq	8(%r15), %rdx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	$4, %ecx
	callq	_simple_get_bytes
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_21
## %bb.13:
	leaq	12(%r15), %r12
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r12, %rdx
	callq	_simple_get_netobj
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_21
## %bb.14:
	leaq	16(%r15), %r13
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%r13, %rcx
	callq	_get_key
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_20
## %bb.15:
	leaq	20(%r15), %rcx
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movq	%r15, %rdx
	movq	%rcx, %r15
	callq	_get_key
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_19
## %bb.16:
	cmpq	%r14, %rbx
	je	LBB0_17
## %bb.18:
	movq	_EFAULT@GOTPCREL(%rip), %rax
	xorl	%edi, %edi
	subl	(%rax), %edi
	callq	_ERR_PTR
	movq	%rax, %rbx
	movl	(%r15), %edi
	callq	_crypto_free_blkcipher
LBB0_19:
	movl	(%r13), %edi
	callq	_crypto_free_blkcipher
LBB0_20:
	movl	(%r12), %edi
	callq	_kfree
	jmp	LBB0_21
LBB0_8:
	movq	_ENOSYS@GOTPCREL(%rip), %rax
	jmp	LBB0_3
LBB0_17:
	xorl	%eax, %eax
	jmp	LBB0_22
	.cfi_endproc
                                        ## -- End function
	.comm	_ENCTYPE_DES_CBC_RAW,4,2        ## @ENCTYPE_DES_CBC_RAW
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_EFAULT,4,2                     ## @EFAULT
	.comm	_SGN_ALG_DES_MAC_MD5,4,2        ## @SGN_ALG_DES_MAC_MD5
	.comm	_ENOSYS,4,2                     ## @ENOSYS
	.comm	_SEAL_ALG_DES,4,2               ## @SEAL_ALG_DES
	.no_dead_strip	_gss_import_v1_context
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function gss_import_v1_context
_gss_import_v1_context:                 ; @gss_import_v1_context
	.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	x21, x2
	mov	x19, x1
	mov	w3, #4
	bl	_simple_get_bytes
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.1:
Lloh0:
	adrp	x8, _ENCTYPE_DES_CBC_RAW@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENCTYPE_DES_CBC_RAW@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	str	w0, [x21, #32]
	bl	_get_gss_krb5_enctype
	str	x0, [x21, #24]
	cbz	x0, LBB0_4
; %bb.2:
	add	x22, x20, #20
	cmp	x22, x19
	ccmp	x22, x20, #0, ls
	cset	w0, lo
	bl	_unlikely
	cbz	x0, LBB0_8
; %bb.3:
Lloh3:
	adrp	x8, _EFAULT@GOTPAGE
Lloh4:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh5:
	adrp	x8, _EINVAL@GOTPAGE
Lloh6:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x20, x0
LBB0_6:
	mov	x0, x20
	bl	_PTR_ERR
LBB0_7:
	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
LBB0_8:
	add	x2, sp, #12
	mov	x0, x22
	mov	x1, x19
	mov	w3, #4
	bl	_simple_get_bytes
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.9:
	ldr	w8, [sp, #12]
Lloh7:
	adrp	x9, _SGN_ALG_DES_MAC_MD5@GOTPAGE
Lloh8:
	ldr	x9, [x9, _SGN_ALG_DES_MAC_MD5@GOTPAGEOFF]
Lloh9:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_21
; %bb.10:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	mov	w3, #4
	bl	_simple_get_bytes
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.11:
	ldr	w8, [sp, #12]
Lloh10:
	adrp	x9, _SEAL_ALG_DES@GOTPAGE
Lloh11:
	ldr	x9, [x9, _SEAL_ALG_DES@GOTPAGEOFF]
Lloh12:
	ldr	w9, [x9]
	cmp	w8, w9
	b.ne	LBB0_21
; %bb.12:
	add	x2, x21, #4
	mov	x0, x20
	mov	x1, x19
	mov	w3, #4
	bl	_simple_get_bytes
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.13:
	add	x2, x21, #8
	mov	x0, x20
	mov	x1, x19
	mov	w3, #4
	bl	_simple_get_bytes
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.14:
	add	x22, x21, #12
	mov	x0, x20
	mov	x1, x19
	mov	x2, x22
	bl	_simple_get_netobj
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_6
; %bb.15:
	add	x23, x21, #16
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x23
	bl	_get_key
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_20
; %bb.16:
	add	x24, x21, #20
	mov	x0, x20
	mov	x1, x19
	mov	x2, x21
	mov	x3, x24
	bl	_get_key
	mov	x20, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_19
; %bb.17:
	cmp	x20, x19
	b.eq	LBB0_22
; %bb.18:
Lloh13:
	adrp	x8, _EFAULT@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EFAULT@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	neg	w0, w8
	bl	_ERR_PTR
	mov	x20, x0
	ldr	w0, [x24]
	bl	_crypto_free_blkcipher
LBB0_19:
	ldr	w0, [x23]
	bl	_crypto_free_blkcipher
LBB0_20:
	ldr	w0, [x22]
	bl	_kfree
	b	LBB0_6
LBB0_21:
Lloh16:
	adrp	x8, _ENOSYS@GOTPAGE
Lloh17:
	ldr	x8, [x8, _ENOSYS@GOTPAGEOFF]
	b	LBB0_5
LBB0_22:
	mov	w0, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.cfi_endproc
                                        ; -- End function
	.comm	_ENCTYPE_DES_CBC_RAW,4,2        ; @ENCTYPE_DES_CBC_RAW
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_EFAULT,4,2                     ; @EFAULT
	.comm	_SGN_ALG_DES_MAC_MD5,4,2        ; @SGN_ALG_DES_MAC_MD5
	.comm	_ENOSYS,4,2                     ; @ENOSYS
	.comm	_SEAL_ALG_DES,4,2               ; @SEAL_ALG_DES
	.no_dead_strip	_gss_import_v1_context
.subsections_via_symbols
