	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdb_process_master_key         ## -- Begin function hdb_process_master_key
	.p2align	4, 0x90
_hdb_process_master_key:                ## @hdb_process_master_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	%r13
	pushq	%r12
	pushq	%rbx
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r8, %r13
	movq	%rcx, %r15
	movq	%rdx, %r12
	movl	%esi, %ebx
	movl	%edi, %r14d
	movl	$1, %edi
	movl	$32, %esi
	callq	_calloc
	movq	%rax, (%r13)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movl	%ebx, 8(%rax)
	addq	$24, %rax
	leaq	L_.str.1(%rip), %rsi
	movl	%r14d, %edi
	movq	%rax, %rdx
	callq	_krb5_parse_name
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.3:
	movq	(%r13), %rdx
	addq	$16, %rdx
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	_krb5_copy_keyblock_contents
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_7
## %bb.4:
	testq	%r15, %r15
	je	LBB0_6
## %bb.5:
	movq	(%r13), %rax
	movq	%r15, 16(%rax)
LBB0_6:
	movq	%r15, %rbx
	xorl	%r15d, %r15d
	xorl	%edi, %edi
	callq	_time
	movq	(%r13), %rcx
	movl	%eax, 12(%rcx)
	movl	%r14d, %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_krb5_crypto_init
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_8
LBB0_7:
	movq	(%r13), %rsi
	movl	%r14d, %edi
	callq	_hdb_free_master_key
	movq	$0, (%r13)
	movq	%rbx, %r15
	jmp	LBB0_8
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %edi
	callq	_krb5_set_error_message
	movq	(%rbx), %r15
LBB0_8:
	movq	%r15, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.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
	.asciz	"K/M"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdb_process_master_key         ; -- Begin function hdb_process_master_key
	.p2align	2
_hdb_process_master_key:                ; @hdb_process_master_key
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	mov	x19, x4
	mov	x21, x3
	mov	x22, x2
	mov	x23, x1
	mov	x20, x0
	mov	w0, #1
	mov	w1, #32
	bl	_calloc
	str	x0, [x19]
	cbz	x0, LBB0_7
; %bb.1:
	str	w23, [x0, #8]
	add	x2, x0, #24
Lloh0:
	adrp	x1, l_.str.1@PAGE
Lloh1:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
	bl	_krb5_parse_name
	mov	x23, x0
	cbnz	x0, LBB0_6
; %bb.2:
	ldr	x8, [x19]
	add	x2, x8, #16
	mov	x0, x20
	mov	x1, x22
	bl	_krb5_copy_keyblock_contents
	mov	x23, x0
	cbnz	x0, LBB0_6
; %bb.3:
	cbz	x21, LBB0_5
; %bb.4:
	ldr	x8, [x19]
	str	x21, [x8, #16]
LBB0_5:
	mov	x0, #0
	bl	_time
	ldr	x3, [x19]
	str	w0, [x3, #12]
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	bl	_krb5_crypto_init
	mov	x23, x0
	cbz	x0, LBB0_8
LBB0_6:
	ldr	x1, [x19]
	mov	x0, x20
	bl	_hdb_free_master_key
	str	xzr, [x19]
	b	LBB0_8
LBB0_7:
Lloh2:
	adrp	x19, _ENOMEM@GOTPAGE
Lloh3:
	ldr	x19, [x19, _ENOMEM@GOTPAGEOFF]
	ldr	x1, [x19]
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_krb5_set_error_message
	ldr	x23, [x19]
LBB0_8:
	mov	x0, x23
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.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
	.asciz	"K/M"

.subsections_via_symbols
