	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function KRB5KDF
_KRB5KDF:                               ## @KRB5KDF
	.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	$72, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, %r15
	movq	%r8, %r12
	movq	%rcx, %rbx
	movq	%rdx, -104(%rbp)                ## 8-byte Spill
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	movq	%rdi, -80(%rbp)                 ## 8-byte Spill
	movq	24(%rbp), %r14
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_EVP_MAX_BLOCK_LENGTH@GOTPCREL(%rip), %r13
	movl	(%r13), %eax
	addl	%eax, %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, -64(%rbp)                 ## 8-byte Spill
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	cmpq	%r14, %rbx
	je	LBB0_4
## %bb.1:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_CIPHER_nid
	cmpq	$21, %r14
	jne	LBB0_8
## %bb.2:
	cmpq	$24, -72(%rbp)                  ## 8-byte Folded Reload
	jne	LBB0_8
## %bb.3:
	movq	_NID_des_ede3_cbc@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_8
LBB0_4:
	movq	%r12, %rbx
	xorl	%r12d, %r12d
	xorl	%eax, %eax
	callq	_EVP_CIPHER_CTX_new
	testq	%rax, %rax
	je	LBB0_26
## %bb.5:
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	_cipher_init
	xorl	%r12d, %r12d
	testl	%eax, %eax
	je	LBB0_24
## %bb.6:
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_block_size
	cmpq	%r15, %rax
	jae	LBB0_10
## %bb.7:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_INVALID_CONSTANT_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%r12d, %r12d
	jmp	LBB0_24
LBB0_8:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_WRONG_OUTPUT_BUFFER_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%r12d, %r12d
	jmp	LBB0_26
LBB0_10:
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	movq	%r15, %rcx
	movq	%rax, %r15
	callq	_n_fold
	movq	24(%rbp), %rbx
	testq	%rbx, %rbx
	je	LBB0_29
## %bb.11:
	movslq	(%r13), %r13
	addq	%r12, %r13
	leaq	-52(%rbp), %rdx
	movq	%r14, %rdi
	movq	%r13, %rsi
	movq	%r12, %rcx
	movq	%r15, -88(%rbp)                 ## 8-byte Spill
	movq	%r15, %r8
	callq	_EVP_EncryptUpdate
	testl	%eax, %eax
	je	LBB0_23
## %bb.12:
	xorl	%r12d, %r12d
	jmp	LBB0_15
LBB0_13:                                ##   in Loop: Header=BB0_15 Depth=1
	xorl	%ebx, %ebx
LBB0_14:                                ##   in Loop: Header=BB0_15 Depth=1
	movq	-88(%rbp), %r8                  ## 8-byte Reload
	addq	%rcx, %rbx
	movq	%r14, %rdi
	movq	%rbx, %rsi
	leaq	-52(%rbp), %rdx
	movq	%r13, %rcx
	callq	_EVP_EncryptUpdate
	movq	%rbx, %r13
	testl	%eax, %eax
	je	LBB0_23
LBB0_15:                                ## =>This Inner Loop Header: Depth=1
	movslq	-52(%rbp), %r15
	movq	%r14, %rdi
	movq	%r13, %rsi
	leaq	-52(%rbp), %rdx
	callq	_EVP_EncryptFinal_ex
	testl	%eax, %eax
	je	LBB0_23
## %bb.16:                              ##   in Loop: Header=BB0_15 Depth=1
	cmpl	$0, -52(%rbp)
	jne	LBB0_22
## %bb.17:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	24(%rbp), %rbx
	subq	%r12, %rbx
	cmpq	%r15, %rbx
	cmovaeq	%r15, %rbx
	movq	16(%rbp), %rax
	leaq	(%rax,%r12), %rdi
	movq	%r13, %rsi
	movq	%rbx, %rdx
	callq	_memcpy
	addq	%rbx, %r12
	cmpq	24(%rbp), %r12
	jae	LBB0_28
## %bb.18:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_reset
	testl	%eax, %eax
	je	LBB0_23
## %bb.19:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	%r14, %rdi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	movq	-104(%rbp), %rcx                ## 8-byte Reload
	movq	-72(%rbp), %r8                  ## 8-byte Reload
	callq	_cipher_init
	testl	%eax, %eax
	je	LBB0_23
## %bb.20:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	-64(%rbp), %rcx                 ## 8-byte Reload
	cmpq	%rcx, %r13
	jne	LBB0_13
## %bb.21:                              ##   in Loop: Header=BB0_15 Depth=1
	movq	_EVP_MAX_BLOCK_LENGTH@GOTPCREL(%rip), %rax
	movslq	(%rax), %rbx
	jmp	LBB0_14
LBB0_22:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_WRONG_FINAL_BLOCK_LENGTH@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ERR_raise
LBB0_23:
	xorl	%r12d, %r12d
	movq	_EVP_MAX_BLOCK_LENGTH@GOTPCREL(%rip), %r13
LBB0_24:
	movq	-64(%rbp), %r15                 ## 8-byte Reload
LBB0_25:
	movq	%r14, %rdi
	callq	_EVP_CIPHER_CTX_free
	movl	(%r13), %esi
	addl	%esi, %esi
	movq	%r15, %rdi
	callq	_OPENSSL_cleanse
LBB0_26:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_34
## %bb.27:
	movl	%r12d, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_28:
	movq	_EVP_MAX_BLOCK_LENGTH@GOTPCREL(%rip), %r13
	movq	24(%rbp), %rbx
LBB0_29:
	movq	-80(%rbp), %rdi                 ## 8-byte Reload
	callq	_EVP_CIPHER_nid
	movl	$1, %r12d
	cmpq	%rbx, -72(%rbp)                 ## 8-byte Folded Reload
	jne	LBB0_24
## %bb.30:
	movq	_NID_des_ede3_cbc@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	movq	-64(%rbp), %r15                 ## 8-byte Reload
	jne	LBB0_25
## %bb.31:
	movq	16(%rbp), %rdi
	callq	_fixup_des3_key
	testl	%eax, %eax
	jne	LBB0_25
## %bb.32:
	movq	_ERR_LIB_PROV@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_PROV_R_FAILED_TO_GENERATE_KEY@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_ERR_raise
	xorl	%r12d, %r12d
	jmp	LBB0_25
LBB0_34:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_EVP_MAX_BLOCK_LENGTH,4,2       ## @EVP_MAX_BLOCK_LENGTH
	.comm	_NID_des_ede3_cbc,8,3           ## @NID_des_ede3_cbc
	.comm	_ERR_LIB_PROV,4,2               ## @ERR_LIB_PROV
	.comm	_PROV_R_WRONG_OUTPUT_BUFFER_SIZE,4,2 ## @PROV_R_WRONG_OUTPUT_BUFFER_SIZE
	.comm	_PROV_R_INVALID_CONSTANT_LENGTH,4,2 ## @PROV_R_INVALID_CONSTANT_LENGTH
	.comm	_PROV_R_WRONG_FINAL_BLOCK_LENGTH,4,2 ## @PROV_R_WRONG_FINAL_BLOCK_LENGTH
	.comm	_PROV_R_FAILED_TO_GENERATE_KEY,4,2 ## @PROV_R_FAILED_TO_GENERATE_KEY
	.no_dead_strip	_KRB5KDF
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function KRB5KDF
_KRB5KDF:                               ; @KRB5KDF
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	sub	sp, sp, #32
	mov	x22, x7
	stur	x6, [x29, #-104]                ; 8-byte Folded Spill
	mov	x28, x5
	mov	x21, x4
	mov	x23, x3
	mov	x25, x2
	mov	x26, x1
	mov	x24, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-88]
Lloh3:
	adrp	x27, _EVP_MAX_BLOCK_LENGTH@GOTPAGE
Lloh4:
	ldr	x27, [x27, _EVP_MAX_BLOCK_LENGTH@GOTPAGEOFF]
	ldr	w8, [x27]
	lsl	w8, w8, #1
	mov	x9, x8
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x8, x8, #15
	and	x8, x8, #0x1fffffff0
	sub	x19, x9, x8
	mov	sp, x19
	cmp	x3, x7
	b.eq	LBB0_4
; %bb.1:
	mov	x0, x24
	bl	_EVP_CIPHER_nid
	cmp	x22, #21
	b.ne	LBB0_11
; %bb.2:
	cmp	x23, #24
	b.ne	LBB0_11
; %bb.3:
Lloh7:
	adrp	x8, _NID_des_ede3_cbc@GOTPAGE
Lloh8:
	ldr	x8, [x8, _NID_des_ede3_cbc@GOTPAGEOFF]
Lloh9:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_11
LBB0_4:
	bl	_EVP_CIPHER_CTX_new
	cbz	x0, LBB0_12
; %bb.5:
	mov	x20, x0
	mov	x1, x24
	mov	x2, x26
	mov	x3, x25
	mov	x4, x23
	bl	_cipher_init
	cbz	w0, LBB0_9
; %bb.6:
	mov	x0, x20
	bl	_EVP_CIPHER_CTX_block_size
	cmp	x0, x28
	b.hs	LBB0_15
; %bb.7:
Lloh10:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh11:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh12:
	ldr	w0, [x8]
Lloh13:
	adrp	x8, _PROV_R_INVALID_CONSTANT_LENGTH@GOTPAGE
Lloh14:
	ldr	x8, [x8, _PROV_R_INVALID_CONSTANT_LENGTH@GOTPAGEOFF]
LBB0_8:
	ldr	w1, [x8]
	bl	_ERR_raise
LBB0_9:
	mov	w21, #0
LBB0_10:
	mov	x0, x20
	bl	_EVP_CIPHER_CTX_free
	ldr	w8, [x27]
	lsl	w1, w8, #1
	mov	x0, x19
	bl	_OPENSSL_cleanse
	b	LBB0_13
LBB0_11:
Lloh15:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh16:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh17:
	ldr	w0, [x8]
Lloh18:
	adrp	x8, _PROV_R_WRONG_OUTPUT_BUFFER_SIZE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _PROV_R_WRONG_OUTPUT_BUFFER_SIZE@GOTPAGEOFF]
Lloh20:
	ldr	w1, [x8]
	bl	_ERR_raise
LBB0_12:
	mov	w21, #0
LBB0_13:
	ldur	x8, [x29, #-88]
Lloh21:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh22:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh23:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_32
; %bb.14:
	mov	x0, x21
	sub	sp, x29, #80
	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
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x1, x0
	mov	x0, x19
	mov	x2, x21
	mov	x3, x28
	mov	x21, x1
	bl	_n_fold
	cbz	x22, LBB0_27
; %bb.16:
	ldrsw	x8, [x27]
	add	x28, x19, x8
	sub	x2, x29, #92
	mov	x0, x20
	mov	x1, x28
	mov	x3, x19
	stur	x21, [x29, #-112]               ; 8-byte Folded Spill
	mov	x4, x21
	bl	_EVP_EncryptUpdate
	cbz	w0, LBB0_25
; %bb.17:
	mov	x27, #0
LBB0_18:                                ; =>This Inner Loop Header: Depth=1
	ldursw	x21, [x29, #-92]
	sub	x2, x29, #92
	mov	x0, x20
	mov	x1, x28
	bl	_EVP_EncryptFinal_ex
	cbz	w0, LBB0_25
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=1
	ldur	w8, [x29, #-92]
	cbnz	w8, LBB0_24
; %bb.20:                               ;   in Loop: Header=BB0_18 Depth=1
	sub	x8, x22, x27
	cmp	x8, x21
	csel	x21, x8, x21, lo
	ldur	x8, [x29, #-104]                ; 8-byte Folded Reload
	add	x0, x8, x27
	mov	x1, x28
	mov	x2, x21
	bl	_memcpy
	add	x27, x21, x27
	cmp	x27, x22
	b.hs	LBB0_26
; %bb.21:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x20
	bl	_EVP_CIPHER_CTX_reset
	cbz	w0, LBB0_25
; %bb.22:                               ;   in Loop: Header=BB0_18 Depth=1
	mov	x0, x20
	mov	x1, x24
	mov	x2, x26
	mov	x3, x25
	mov	x4, x23
	bl	_cipher_init
	cbz	w0, LBB0_25
; %bb.23:                               ;   in Loop: Header=BB0_18 Depth=1
Lloh24:
	adrp	x8, _EVP_MAX_BLOCK_LENGTH@GOTPAGE
Lloh25:
	ldr	x8, [x8, _EVP_MAX_BLOCK_LENGTH@GOTPAGEOFF]
Lloh26:
	ldrsw	x8, [x8]
	cmp	x28, x19
	csel	x8, x8, xzr, eq
	add	x21, x19, x8
	sub	x2, x29, #92
	mov	x0, x20
	mov	x1, x21
	mov	x3, x28
	ldur	x4, [x29, #-112]                ; 8-byte Folded Reload
	bl	_EVP_EncryptUpdate
	mov	x28, x21
	cbnz	w0, LBB0_18
	b	LBB0_25
LBB0_24:
Lloh27:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh28:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh29:
	ldr	w0, [x8]
Lloh30:
	adrp	x8, _PROV_R_WRONG_FINAL_BLOCK_LENGTH@GOTPAGE
Lloh31:
	ldr	x8, [x8, _PROV_R_WRONG_FINAL_BLOCK_LENGTH@GOTPAGEOFF]
Lloh32:
	ldr	w1, [x8]
	bl	_ERR_raise
LBB0_25:
	mov	w21, #0
Lloh33:
	adrp	x27, _EVP_MAX_BLOCK_LENGTH@GOTPAGE
Lloh34:
	ldr	x27, [x27, _EVP_MAX_BLOCK_LENGTH@GOTPAGEOFF]
	b	LBB0_10
LBB0_26:
Lloh35:
	adrp	x27, _EVP_MAX_BLOCK_LENGTH@GOTPAGE
Lloh36:
	ldr	x27, [x27, _EVP_MAX_BLOCK_LENGTH@GOTPAGEOFF]
LBB0_27:
	mov	x0, x24
	bl	_EVP_CIPHER_nid
	mov	w21, #1
	cmp	x23, x22
	b.ne	LBB0_10
; %bb.28:
Lloh37:
	adrp	x8, _NID_des_ede3_cbc@GOTPAGE
Lloh38:
	ldr	x8, [x8, _NID_des_ede3_cbc@GOTPAGEOFF]
Lloh39:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_10
; %bb.29:
	ldur	x0, [x29, #-104]                ; 8-byte Folded Reload
	bl	_fixup_des3_key
	cbz	w0, LBB0_31
; %bb.30:
	mov	w21, #1
	b	LBB0_10
LBB0_31:
Lloh40:
	adrp	x8, _ERR_LIB_PROV@GOTPAGE
Lloh41:
	ldr	x8, [x8, _ERR_LIB_PROV@GOTPAGEOFF]
Lloh42:
	ldr	w0, [x8]
Lloh43:
	adrp	x8, _PROV_R_FAILED_TO_GENERATE_KEY@GOTPAGE
Lloh44:
	ldr	x8, [x8, _PROV_R_FAILED_TO_GENERATE_KEY@GOTPAGEOFF]
	b	LBB0_8
LBB0_32:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGot	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.cfi_endproc
                                        ; -- End function
	.comm	_EVP_MAX_BLOCK_LENGTH,4,2       ; @EVP_MAX_BLOCK_LENGTH
	.comm	_NID_des_ede3_cbc,8,3           ; @NID_des_ede3_cbc
	.comm	_ERR_LIB_PROV,4,2               ; @ERR_LIB_PROV
	.comm	_PROV_R_WRONG_OUTPUT_BUFFER_SIZE,4,2 ; @PROV_R_WRONG_OUTPUT_BUFFER_SIZE
	.comm	_PROV_R_INVALID_CONSTANT_LENGTH,4,2 ; @PROV_R_INVALID_CONSTANT_LENGTH
	.comm	_PROV_R_WRONG_FINAL_BLOCK_LENGTH,4,2 ; @PROV_R_WRONG_FINAL_BLOCK_LENGTH
	.comm	_PROV_R_FAILED_TO_GENERATE_KEY,4,2 ; @PROV_R_FAILED_TO_GENERATE_KEY
	.no_dead_strip	_KRB5KDF
.subsections_via_symbols
