	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__krb5_DES3_random_to_key       ## -- Begin function _krb5_DES3_random_to_key
	.p2align	4, 0x90
__krb5_DES3_random_to_key:              ## @_krb5_DES3_random_to_key
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rsi, %r14
	movq	(%rsi), %r15
	movl	8(%rsi), %edx
	movq	%r15, %rdi
	xorl	%esi, %esi
	callq	_memset
	movb	(%rbx), %al
	movb	%al, (%r15)
	movb	4(%rbx), %al
	movb	%al, 1(%r15)
	movb	8(%rbx), %al
	movb	%al, 2(%r15)
	movb	12(%rbx), %al
	movb	%al, 3(%r15)
	movb	16(%rbx), %al
	movb	%al, 4(%r15)
	movb	20(%rbx), %al
	movb	%al, 5(%r15)
	movb	24(%rbx), %al
	movb	%al, 6(%r15)
	movb	24(%rbx), %al
	addb	%al, %al
	andb	$2, %al
	movb	20(%rbx), %cl
	andb	$1, %cl
	orb	%al, %cl
	movb	16(%rbx), %al
	shlb	$2, %cl
	addb	%al, %al
	andb	$2, %al
	orb	%cl, %al
	movb	12(%rbx), %cl
	andb	$1, %cl
	orb	%al, %cl
	movb	8(%rbx), %al
	shlb	$2, %cl
	addb	%al, %al
	andb	$2, %al
	orb	%cl, %al
	movb	(%rbx), %cl
	movb	4(%rbx), %dl
	andb	$1, %dl
	orb	%al, %dl
	shlb	$2, %dl
	addb	%cl, %cl
	andb	$2, %cl
	orb	%dl, %cl
	movb	%cl, 7(%r15)
	movb	28(%rbx), %al
	movb	%al, 8(%r15)
	movb	32(%rbx), %al
	movb	%al, 9(%r15)
	movb	36(%rbx), %al
	movb	%al, 10(%r15)
	movb	40(%rbx), %al
	movb	%al, 11(%r15)
	movb	44(%rbx), %al
	movb	%al, 12(%r15)
	movb	48(%rbx), %al
	movb	%al, 13(%r15)
	movb	52(%rbx), %al
	movb	%al, 14(%r15)
	movb	52(%rbx), %al
	addb	%al, %al
	andb	$2, %al
	movb	48(%rbx), %cl
	andb	$1, %cl
	orb	%al, %cl
	movb	44(%rbx), %al
	shlb	$2, %cl
	addb	%al, %al
	andb	$2, %al
	orb	%cl, %al
	movb	40(%rbx), %cl
	andb	$1, %cl
	orb	%al, %cl
	movb	36(%rbx), %al
	shlb	$2, %cl
	addb	%al, %al
	andb	$2, %al
	orb	%cl, %al
	movb	28(%rbx), %cl
	movb	32(%rbx), %dl
	andb	$1, %dl
	orb	%al, %dl
	shlb	$2, %dl
	addb	%cl, %cl
	andb	$2, %cl
	orb	%dl, %cl
	movb	%cl, 15(%r15)
	movb	56(%rbx), %al
	movb	%al, 16(%r15)
	movb	60(%rbx), %al
	movb	%al, 17(%r15)
	movb	64(%rbx), %al
	movb	%al, 18(%r15)
	movb	68(%rbx), %al
	movb	%al, 19(%r15)
	movb	72(%rbx), %al
	movb	%al, 20(%r15)
	movb	76(%rbx), %al
	movb	%al, 21(%r15)
	movb	80(%rbx), %al
	movb	%al, 22(%r15)
	movb	80(%rbx), %al
	addb	%al, %al
	andb	$2, %al
	movb	76(%rbx), %cl
	andb	$1, %cl
	orb	%al, %cl
	movb	72(%rbx), %al
	shlb	$2, %cl
	addb	%al, %al
	andb	$2, %al
	orb	%cl, %al
	movb	68(%rbx), %cl
	andb	$1, %cl
	orb	%al, %cl
	movb	64(%rbx), %al
	shlb	$2, %cl
	addb	%al, %al
	andb	$2, %al
	orb	%cl, %al
	movb	56(%rbx), %cl
	movb	60(%rbx), %dl
	andb	$1, %dl
	orb	%al, %dl
	shlb	$2, %dl
	addb	%cl, %cl
	andb	$2, %cl
	orb	%dl, %cl
	movb	%cl, 23(%r15)
	movq	(%r14), %rbx
	movq	%rbx, %rdi
	callq	_DES_set_odd_parity
	movq	%rbx, %rdi
	callq	_DES_is_weak_key
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	l_.str(%rip), %rsi
	movq	%rbx, %rdi
	callq	__krb5_xor
LBB0_2:
	leaq	1(%rbx), %r14
	movq	%r14, %rdi
	callq	_DES_set_odd_parity
	movq	%r14, %rdi
	callq	_DES_is_weak_key
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	l_.str(%rip), %rsi
	movq	%r14, %rdi
	callq	__krb5_xor
LBB0_4:
	addq	$2, %rbx
	movq	%rbx, %rdi
	callq	_DES_set_odd_parity
	movq	%rbx, %rdi
	callq	_DES_is_weak_key
	testq	%rax, %rax
	je	LBB0_5
## %bb.6:
	leaq	l_.str(%rip), %rsi
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	__krb5_xor                      ## TAILCALL
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__const
l_.str:                                 ## @.str
	.asciz	"\000\000\000\000\000\000\000\360"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__krb5_DES3_random_to_key       ; -- Begin function _krb5_DES3_random_to_key
	.p2align	2
__krb5_DES3_random_to_key:              ; @_krb5_DES3_random_to_key
	.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	x21, x2
	mov	x19, x1
	ldr	x20, [x1]
	ldr	w2, [x1, #8]
	mov	x0, x20
	mov	w1, #0
	bl	_memset
	ldr	w8, [x21]
	strb	w8, [x20]
	ldr	w8, [x21, #4]
	strb	w8, [x20, #1]
	ldr	w8, [x21, #8]
	strb	w8, [x20, #2]
	ldr	w8, [x21, #12]
	strb	w8, [x20, #3]
	ldr	w8, [x21, #16]
	strb	w8, [x20, #4]
	ldr	w8, [x21, #20]
	strb	w8, [x20, #5]
	ldr	w8, [x21, #24]
	strb	w8, [x20, #6]
	ldrb	w8, [x21, #24]
	ldrb	w9, [x21, #20]
	bfi	w9, w8, #1, #1
	ldrb	w8, [x21, #16]
	ubfiz	w8, w8, #1, #1
	bfi	w8, w9, #2, #2
	ldrb	w9, [x21, #12]
	bfxil	w8, w9, #0, #1
	ldrb	w9, [x21, #8]
	ubfiz	w9, w9, #1, #1
	bfi	w9, w8, #2, #4
	ldrb	w8, [x21, #4]
	bfxil	w9, w8, #0, #1
	ldrb	w8, [x21]
	ubfiz	w8, w8, #1, #1
	bfi	w8, w9, #2, #30
	strb	w8, [x20, #7]
	ldr	w8, [x21, #28]
	strb	w8, [x20, #8]
	ldr	w8, [x21, #32]
	strb	w8, [x20, #9]
	ldr	w8, [x21, #36]
	strb	w8, [x20, #10]
	ldr	w8, [x21, #40]
	strb	w8, [x20, #11]
	ldr	w8, [x21, #44]
	strb	w8, [x20, #12]
	ldr	w8, [x21, #48]
	strb	w8, [x20, #13]
	ldr	w8, [x21, #52]
	strb	w8, [x20, #14]
	ldrb	w8, [x21, #52]
	ldrb	w9, [x21, #48]
	bfi	w9, w8, #1, #1
	ldrb	w8, [x21, #44]
	ubfiz	w8, w8, #1, #1
	bfi	w8, w9, #2, #2
	ldrb	w9, [x21, #40]
	bfxil	w8, w9, #0, #1
	ldrb	w9, [x21, #36]
	ubfiz	w9, w9, #1, #1
	bfi	w9, w8, #2, #4
	ldrb	w8, [x21, #32]
	bfxil	w9, w8, #0, #1
	ldrb	w8, [x21, #28]
	ubfiz	w8, w8, #1, #1
	bfi	w8, w9, #2, #30
	strb	w8, [x20, #15]
	ldr	w8, [x21, #56]
	strb	w8, [x20, #16]
	ldr	w8, [x21, #60]
	strb	w8, [x20, #17]
	ldr	w8, [x21, #64]
	strb	w8, [x20, #18]
	ldr	w8, [x21, #68]
	strb	w8, [x20, #19]
	ldr	w8, [x21, #72]
	strb	w8, [x20, #20]
	ldr	w8, [x21, #76]
	strb	w8, [x20, #21]
	ldr	w8, [x21, #80]
	strb	w8, [x20, #22]
	ldrb	w8, [x21, #80]
	ldrb	w9, [x21, #76]
	bfi	w9, w8, #1, #1
	ldrb	w8, [x21, #72]
	ubfiz	w8, w8, #1, #1
	bfi	w8, w9, #2, #2
	ldrb	w9, [x21, #68]
	bfxil	w8, w9, #0, #1
	ldrb	w9, [x21, #64]
	ubfiz	w9, w9, #1, #1
	bfi	w9, w8, #2, #4
	ldrb	w8, [x21, #60]
	bfxil	w9, w8, #0, #1
	ldrb	w8, [x21, #56]
	ubfiz	w8, w8, #1, #1
	bfi	w8, w9, #2, #30
	strb	w8, [x20, #23]
	ldr	x19, [x19]
	mov	x0, x19
	bl	_DES_set_odd_parity
	mov	x0, x19
	bl	_DES_is_weak_key
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	bl	__krb5_xor
LBB0_2:
	add	x20, x19, #1
	mov	x0, x20
	bl	_DES_set_odd_parity
	mov	x0, x20
	bl	_DES_is_weak_key
	cbz	x0, LBB0_4
; %bb.3:
Lloh2:
	adrp	x1, l_.str@PAGE
Lloh3:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x20
	bl	__krb5_xor
LBB0_4:
	add	x19, x19, #2
	mov	x0, x19
	bl	_DES_set_odd_parity
	mov	x0, x19
	bl	_DES_is_weak_key
	cbz	x0, LBB0_6
; %bb.5:
Lloh4:
	adrp	x1, l_.str@PAGE
Lloh5:
	add	x1, x1, l_.str@PAGEOFF
	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	__krb5_xor
LBB0_6:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__const
l_.str:                                 ; @.str
	.asciz	"\000\000\000\000\000\000\000\360"

.subsections_via_symbols
