	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_krb5_set_allowable_enctypes ## -- Begin function gss_krb5_set_allowable_enctypes
	.p2align	4, 0x90
_gss_krb5_set_allowable_enctypes:       ## @gss_krb5_set_allowable_enctypes
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movl	%edx, %r12d
	movq	%rdi, %r14
	movl	%esi, -44(%rbp)
	xorl	%eax, %eax
	callq	_krb5_storage_emem
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	%rax, %r15
	testl	%r12d, %r12d
	jle	LBB0_7
## %bb.2:
	movl	%r12d, %r12d
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movl	(%r13,%rbx,4), %esi
	movq	%r15, %rdi
	callq	_krb5_store_int32
	testl	%eax, %eax
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_5 Depth=1
	incq	%rbx
	cmpq	%rbx, %r12
	jne	LBB0_5
LBB0_7:
	leaq	-56(%rbp), %rsi
	movq	%r15, %rdi
	callq	_krb5_storage_to_data
	testl	%eax, %eax
	je	LBB0_8
LBB0_6:
	movl	%eax, (%r14)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_9
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, (%r14)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	jmp	LBB0_10
LBB0_8:
	movq	-56(%rbp), %rax
	movq	%rax, -64(%rbp)
	movq	_GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	-44(%rbp), %rsi
	leaq	-64(%rbp), %rcx
	movq	%r14, %rdi
	callq	_gss_set_cred_option
	movl	%eax, %ebx
	leaq	-56(%rbp), %rdi
	callq	_krb5_data_free
LBB0_9:
	movq	%r15, %rdi
	callq	_krb5_storage_free
LBB0_10:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,4,2              ## @GSS_S_FAILURE
	.comm	_GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X,4,2 ## @GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_krb5_set_allowable_enctypes ; -- Begin function gss_krb5_set_allowable_enctypes
	.p2align	2
_gss_krb5_set_allowable_enctypes:       ; @gss_krb5_set_allowable_enctypes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	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
	mov	x21, x3
	mov	x22, x2
	mov	x20, x0
	str	w1, [sp, #28]
	bl	_krb5_storage_emem
	cbz	x0, LBB0_7
; %bb.1:
	mov	x19, x0
	cmp	w22, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w22, w22
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21]
	mov	x0, x19
	bl	_krb5_store_int32
	cbnz	w0, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	add	x21, x21, #4
	subs	x22, x22, #1
	b.ne	LBB0_3
LBB0_5:
	add	x1, sp, #8
	mov	x0, x19
	bl	_krb5_storage_to_data
	cbz	w0, LBB0_8
LBB0_6:
	str	w0, [x20]
Lloh0:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh2:
	ldr	w20, [x8]
	b	LBB0_9
LBB0_7:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [x20]
Lloh6:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh7:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
Lloh8:
	ldr	w20, [x8]
	b	LBB0_10
LBB0_8:
	ldr	d0, [sp, #8]
	str	d0, [sp, #16]
Lloh9:
	adrp	x8, _GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X@GOTPAGE
Lloh10:
	ldr	x8, [x8, _GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X@GOTPAGEOFF]
Lloh11:
	ldr	w2, [x8]
	add	x1, sp, #28
	add	x3, sp, #16
	mov	x0, x20
	bl	_gss_set_cred_option
	mov	x20, x0
	add	x0, sp, #8
	bl	_krb5_data_free
LBB0_9:
	mov	x0, x19
	bl	_krb5_storage_free
LBB0_10:
	mov	x0, x20
	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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,4,2              ; @GSS_S_FAILURE
	.comm	_GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X,4,2 ; @GSS_KRB5_SET_ALLOWABLE_ENCTYPES_X
.subsections_via_symbols
