	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _key_schedule
__key_schedule:                         ## @_key_schedule
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r14d
	movq	8(%rsi), %rax
	movl	(%rax), %edi
	callq	__krb5_find_enctype
	testq	%rax, %rax
	je	LBB0_10
## %bb.1:
	movq	(%rax), %r15
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.2:
	cmpq	$0, (%rbx)
	je	LBB0_3
LBB0_8:
	xorl	%r12d, %r12d
LBB0_9:
	movq	%r12, %rax
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_10:
	movq	8(%rbx), %rax
	movl	(%rax), %esi
	movl	%r14d, %edi
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_unsupported_enctype            ## TAILCALL
LBB0_3:
	xorl	%edi, %edi
	movl	$1, %esi
	callq	_ALLOC
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_4
## %bb.5:
	movl	8(%r15), %esi
	callq	_krb5_data_alloc
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movq	%rax, %r12
	movq	(%rbx), %rdi
	callq	_free
	movq	$0, (%rbx)
	jmp	LBB0_9
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	leaq	L_.str(%rip), %rdi
	leaq	L_.str.1(%rip), %rsi
	callq	_N_
	movl	%r14d, %edi
	movq	%rbx, %rsi
	movl	%eax, %edx
	callq	_krb5_set_error_message
	movq	(%r15), %r12
	jmp	LBB0_9
LBB0_7:
	movl	%r14d, %edi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	callq	*(%r15)
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc: out of memory"

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

	.no_dead_strip	__key_schedule
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _key_schedule
__key_schedule:                         ; @_key_schedule
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x20, x1
	mov	x19, x0
	ldr	x8, [x1, #8]
	ldr	w0, [x8]
	bl	__krb5_find_enctype
	cbz	x0, LBB0_5
; %bb.1:
	ldr	x21, [x0]
	ldr	x8, [x21]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x8, [x20]
	cbz	x8, LBB0_6
LBB0_3:
	mov	x22, #0
LBB0_4:
	mov	x0, x22
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_5:
	ldr	x8, [x20, #8]
	ldr	w1, [x8]
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	b	_unsupported_enctype
LBB0_6:
	mov	x0, #0
	mov	w1, #1
	bl	_ALLOC
	ldr	x0, [x20]
	cbz	x0, LBB0_9
; %bb.7:
	ldr	w1, [x21, #8]
	bl	_krb5_data_alloc
	mov	x22, x0
	cbz	x0, LBB0_10
; %bb.8:
	ldr	x0, [x20]
	bl	_free
	str	xzr, [x20]
	b	LBB0_4
LBB0_9:
Lloh0:
	adrp	x21, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x21, [x21, _ENOMEM@GOTPAGEOFF]
	ldr	x20, [x21]
Lloh2:
	adrp	x0, l_.str@PAGE
Lloh3:
	add	x0, x0, l_.str@PAGEOFF
Lloh4:
	adrp	x1, l_.str.1@PAGE
Lloh5:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_N_
	mov	x2, x0
	mov	x0, x19
	mov	x1, x20
	bl	_krb5_set_error_message
	ldr	x22, [x21]
	b	LBB0_4
LBB0_10:
	ldr	x8, [x21]
	mov	x0, x19
	mov	x1, x21
	mov	x2, x20
	blr	x8
	b	LBB0_4
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc: out of memory"

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

	.no_dead_strip	__key_schedule
.subsections_via_symbols
