	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function set_etypes
_set_etypes:                            ## @set_etypes
	.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	%rdx, %r15
	movq	%rsi, %rcx
	movl	%edi, %r12d
	leaq	L_.str(%rip), %rdx
	xorl	%r13d, %r13d
	xorl	%esi, %esi
	xorl	%r8d, %r8d
	callq	_krb5_config_get_strings
	movl	$0, %ebx
	testq	%rax, %rax
	je	LBB0_13
## %bb.1:
	movq	%rax, %r14
	movl	$-1, %ebx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	incl	%ebx
	cmpq	$0, (%r14,%rdi,2)
	leaq	4(%rdi), %rdi
	jne	LBB0_2
## %bb.3:
                                        ## kill: def $edi killed $edi killed $rdi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_6
## %bb.4:
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movq	%r15, -64(%rbp)                 ## 8-byte Spill
	testl	%ebx, %ebx
	je	LBB0_5
## %bb.7:
	movl	%ebx, %r13d
	xorl	%r15d, %r15d
	leaq	-48(%rbp), %rbx
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_8 Depth=1
	incq	%r15
	cmpq	%r15, %r13
	je	LBB0_12
LBB0_8:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%r14,%r15,8), %rsi
	movl	%r12d, %edi
	movq	%rbx, %rdx
	callq	_krb5_string_to_enctype
	testq	%rax, %rax
	jne	LBB0_11
## %bb.9:                               ##   in Loop: Header=BB0_8 Depth=1
	movl	-48(%rbp), %esi
	movl	%r12d, %edi
	callq	_krb5_enctype_valid
	testq	%rax, %rax
	jne	LBB0_11
## %bb.10:                              ##   in Loop: Header=BB0_8 Depth=1
	movl	-48(%rbp), %eax
	movl	-44(%rbp), %edx                 ## 4-byte Reload
	movslq	%edx, %rcx
	incl	%edx
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	movl	%eax, (%rdx,%rcx,4)
	jmp	LBB0_11
LBB0_6:
	movq	%r14, %rdi
	callq	_krb5_config_free_strings
	movq	_ENOMEM@GOTPCREL(%rip), %r14
	movl	(%r14), %ebx
	leaq	L_.str.1(%rip), %rdi
	leaq	L_.str.2(%rip), %rsi
	callq	_N_
	movl	%r12d, %edi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_krb5_set_error_message
	movl	(%r14), %r13d
	jmp	LBB0_14
LBB0_5:
	movl	$0, -44(%rbp)                   ## 4-byte Folded Spill
LBB0_12:
	movq	_ETYPE_NULL@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movslq	-44(%rbp), %rcx                 ## 4-byte Folded Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	%eax, (%rbx,%rcx,4)
	movq	%r14, %rdi
	callq	_krb5_config_free_strings
	xorl	%r13d, %r13d
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_13:
	movq	%rbx, (%r15)
LBB0_14:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"libdefaults"

	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"malloc: out of memory"

L_.str.2:                               ## @.str.2
	.space	1

	.comm	_ETYPE_NULL,4,2                 ## @ETYPE_NULL
	.no_dead_strip	_set_etypes
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function set_etypes
_set_etypes:                            ; @set_etypes
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	mov	x19, x2
	mov	x3, x1
	mov	x20, x0
Lloh0:
	adrp	x2, l_.str@PAGE
Lloh1:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, #0
	mov	x4, #0
	bl	_krb5_config_get_strings
	cbz	x0, LBB0_7
; %bb.1:
	mov	x21, x0
	mov	w0, #0
	mov	x24, #0
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x21, x24, lsl #3]
	add	x24, x24, #1
	add	w0, w0, #4
	cbnz	x8, LBB0_2
; %bb.3:
	bl	_malloc
	cbz	x0, LBB0_9
; %bb.4:
	mov	x22, x0
	cmp	w24, #1
	b.ne	LBB0_11
; %bb.5:
	mov	w23, #0
LBB0_6:
Lloh2:
	adrp	x8, _ETYPE_NULL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ETYPE_NULL@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	str	w8, [x22, w23, sxtw #2]
	mov	x0, x21
	bl	_krb5_config_free_strings
	b	LBB0_8
LBB0_7:
	mov	x22, #0
LBB0_8:
	mov	w0, #0
	str	x22, [x19]
	b	LBB0_10
LBB0_9:
	mov	x0, x21
	bl	_krb5_config_free_strings
Lloh5:
	adrp	x21, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x21, [x21, _ENOMEM@GOTPAGEOFF]
	ldr	w19, [x21]
Lloh7:
	adrp	x0, l_.str.1@PAGE
Lloh8:
	add	x0, x0, l_.str.1@PAGEOFF
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_krb5_set_error_message
	ldr	w0, [x21]
LBB0_10:
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
LBB0_11:
	mov	w23, #0
	sub	w24, w24, #1
	mov	x25, x21
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x25, x25, #8
	subs	x24, x24, #1
	b.eq	LBB0_6
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x1, [x25]
	add	x2, sp, #12
	mov	x0, x20
	bl	_krb5_string_to_enctype
	cbnz	x0, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w1, [sp, #12]
	mov	x0, x20
	bl	_krb5_enctype_valid
	cbnz	x0, LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [sp, #12]
	str	w8, [x22, w23, sxtw #2]
	add	w23, w23, #1
	b	LBB0_12
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"libdefaults"

	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"malloc: out of memory"

l_.str.2:                               ; @.str.2
	.space	1

	.comm	_ETYPE_NULL,4,2                 ; @ETYPE_NULL
	.no_dead_strip	_set_etypes
.subsections_via_symbols
