	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function random_to_key
_random_to_key:                         ## @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	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movl	%edi, %r14d
	movq	_ETYPE_DES3_CBC_SHA1@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str(%rip), %rdx
	leaq	-24(%rbp), %r8
	movl	$21, %ecx
	callq	_krb5_random_to_key
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %edi
	movq	%rax, %rsi
	callq	_krb5_warn
	movl	$1, %ebx
	jmp	LBB0_5
LBB0_2:
	movl	$1, %ebx
	cmpl	$24, -24(%rbp)
	jne	LBB0_5
## %bb.3:
	movl	-20(%rbp), %edi
	leaq	L_.str.2(%rip), %rsi
	movl	$24, %edx
	callq	_memcmp
	testq	%rax, %rax
	jne	LBB0_5
## %bb.4:
	leaq	-24(%rbp), %rsi
	movl	%r14d, %edi
	callq	_krb5_free_keyblock_contents
	xorl	%ebx, %ebx
LBB0_5:
	movl	%ebx, %eax
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETYPE_DES3_CBC_SHA1,4,2        ## @ETYPE_DES3_CBC_SHA1
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"!9\004Xj\275\177!9\004Xj\275\177!9\004Xj\275\177"

L_.str.1:                               ## @.str.1
	.asciz	"random_to_key"

L_.str.2:                               ## @.str.2
	.asciz	" 8\004Xk\274\177\307 8\004Xk\274\177\307 8\004Xk\274\177\307"

	.no_dead_strip	_random_to_key
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function random_to_key
_random_to_key:                         ; @random_to_key
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
Lloh0:
	adrp	x8, _ETYPE_DES3_CBC_SHA1@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETYPE_DES3_CBC_SHA1@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
Lloh3:
	adrp	x2, l_.str@PAGE
Lloh4:
	add	x2, x2, l_.str@PAGEOFF
	add	x4, sp, #8
	mov	w3, #21
	bl	_krb5_random_to_key
	cbz	x0, LBB0_2
; %bb.1:
	mov	x1, x0
Lloh5:
	adrp	x2, l_.str.1@PAGE
Lloh6:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	bl	_krb5_warn
	mov	w0, #1
	b	LBB0_6
LBB0_2:
	ldr	w8, [sp, #8]
	cmp	w8, #24
	b.ne	LBB0_4
; %bb.3:
	ldr	w0, [sp, #12]
Lloh7:
	adrp	x1, l_.str.2@PAGE
Lloh8:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #24
	bl	_memcmp
	cbz	x0, LBB0_5
LBB0_4:
	mov	w0, #1
	b	LBB0_6
LBB0_5:
	add	x1, sp, #8
	mov	x0, x19
	bl	_krb5_free_keyblock_contents
	mov	w0, #0
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.cfi_endproc
                                        ; -- End function
	.comm	_ETYPE_DES3_CBC_SHA1,4,2        ; @ETYPE_DES3_CBC_SHA1
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"!9\004Xj\275\177!9\004Xj\275\177!9\004Xj\275\177"

l_.str.1:                               ; @.str.1
	.asciz	"random_to_key"

l_.str.2:                               ; @.str.2
	.asciz	" 8\004Xk\274\177\307 8\004Xk\274\177\307 8\004Xk\274\177\307"

	.no_dead_strip	_random_to_key
.subsections_via_symbols
