	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ## -- Begin function main
	.p2align	4, 0x90
_main:                                  ## @main
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movl	%edi, %ebx
	movq	$0, -64(%rbp)
	movq	$0, -56(%rbp)
	movl	$0, -48(%rbp)
	movq	(%rsi), %rdi
	callq	_setprogname
	movq	_args@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_num_args@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	-48(%rbp), %r8
	movl	%ebx, %edx
	movq	%r15, %rcx
	callq	_getarg
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movl	$1, %edi
	callq	_usage
LBB0_2:
	movq	_help_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_4
## %bb.3:
	xorl	%edi, %edi
	callq	_usage
LBB0_4:
	movq	_version_flag@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_42
## %bb.5:
	leaq	-44(%rbp), %rdi
	callq	_krb5_init_context
	testq	%rax, %rax
	jne	LBB0_43
## %bb.6:
	movl	-44(%rbp), %edi
	movl	$1, %esi
	callq	_krb5_allow_weak_crypto
	testq	%rax, %rax
	je	LBB0_8
## %bb.7:
	movl	-44(%rbp), %edi
	leaq	L_.str(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_8:
	movq	_local_realm@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	movl	-44(%rbp), %edi
	callq	_krb5_set_default_realm
LBB0_10:
	movq	_encrypt_flag@GOTPCREL(%rip), %r13
	cmpq	$0, (%r13)
	movq	_decrypt_flag@GOTPCREL(%rip), %r14
	je	LBB0_13
## %bb.11:
	cmpq	$0, (%r14)
	je	LBB0_13
## %bb.12:
	movl	-44(%rbp), %edi
	leaq	L_.str.1(%rip), %rdx
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_krb5_errx
LBB0_13:
	movq	%rbx, -72(%rbp)                 ## 8-byte Spill
	movq	_source_type@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_14
## %bb.15:
	callq	_parse_source_type
	movl	%eax, %r12d
	testl	%eax, %eax
	jne	LBB0_17
## %bb.16:
	movl	-44(%rbp), %edi
	movq	(%rbx), %rcx
	leaq	L_.str.2(%rip), %rdx
	xorl	%r12d, %r12d
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_krb5_errx
	jmp	LBB0_17
LBB0_14:
	movl	$129, %r12d
LBB0_17:
	movq	_to_stdout@GOTPCREL(%rip), %rbx
	cmpq	$0, (%rbx)
	jne	LBB0_19
## %bb.18:
	movl	-44(%rbp), %edi
	leaq	-64(%rbp), %rsi
	callq	_get_creds
LBB0_19:
	movq	(%r14), %rax
	orq	(%r13), %rax
	je	LBB0_25
## %bb.20:
	movq	%rbx, %r14
	movl	-44(%rbp), %edi
	movq	_mkeyfile@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_mkey5@GOTPCREL(%rip), %rdx
	callq	_hdb_read_master_key
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_23
## %bb.21:
	movq	_ENOENT@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	je	LBB0_23
## %bb.22:
	movl	-44(%rbp), %edi
	leaq	L_.str.3(%rip), %rcx
	movl	$1, %esi
	movq	%rbx, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_23:
	testq	%rbx, %rbx
	movq	%r14, %rbx
	je	LBB0_25
## %bb.24:
	movl	-44(%rbp), %edi
	leaq	L_.str.4(%rip), %rdx
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_krb5_errx
LBB0_25:
	cmpl	$129, %r12d
	je	LBB0_29
## %bb.26:
	cmpl	$128, %r12d
	jne	LBB0_33
## %bb.27:
	movq	_database@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	jne	LBB0_34
## %bb.28:
	movl	-44(%rbp), %edi
	leaq	L_.str.5(%rip), %rdx
	movl	$1, %esi
	xorl	%eax, %eax
	callq	_krb5_errx
	jmp	LBB0_34
LBB0_29:
	movq	%rbx, %r14
	movl	-44(%rbp), %edi
	movq	_database@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdx
	leaq	-56(%rbp), %rsi
	callq	_hdb_create
	testq	%rax, %rax
	je	LBB0_31
## %bb.30:
	movl	-44(%rbp), %edi
	movq	(%rbx), %r8
	leaq	L_.str.6(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_31:
	movq	-56(%rbp), %rsi
	movl	-44(%rbp), %edi
	movq	_O_RDONLY@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%ecx, %ecx
	callq	*(%rsi)
	testq	%rax, %rax
	movq	%r14, %rbx
	je	LBB0_34
## %bb.32:
	movl	-44(%rbp), %edi
	leaq	L_.str.7(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
	jmp	LBB0_34
LBB0_33:
	movl	-44(%rbp), %edi
	leaq	L_.str.8(%rip), %rdx
	movl	$1, %esi
	movl	%r12d, %ecx
	xorl	%eax, %eax
	callq	_krb5_errx
LBB0_34:
	cmpq	$0, (%rbx)
	movl	-44(%rbp), %edi
	movq	_database@GOTPCREL(%rip), %rax
	movq	(%rax), %rdx
	movq	-56(%rbp), %rcx
	je	LBB0_36
## %bb.35:
	movl	%r12d, %esi
	callq	_dump_database
	jmp	LBB0_37
LBB0_36:
	movq	-64(%rbp), %r8
	movl	-48(%rbp), %r9d
	movl	%r12d, %esi
	pushq	%r15
	pushq	-72(%rbp)                       ## 8-byte Folded Reload
	callq	_propagate_database
	addq	$16, %rsp
LBB0_37:
	movl	%eax, %ebx
	movq	-64(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_39
## %bb.38:
	movl	-44(%rbp), %edi
	callq	_krb5_cc_destroy
LBB0_39:
	movq	-56(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_41
## %bb.40:
	movl	-44(%rbp), %edi
	callq	*8(%rsi)
LBB0_41:
	movl	-44(%rbp), %edi
	callq	_krb5_free_context
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_42:
	xorl	%edi, %edi
	callq	_print_version
	xorl	%edi, %edi
	callq	_exit
LBB0_43:
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_args,4,2                       ## @args
	.comm	_num_args,4,2                   ## @num_args
	.comm	_help_flag,8,3                  ## @help_flag
	.comm	_version_flag,8,3               ## @version_flag
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_allow_weak_crypto"

	.comm	_local_realm,8,3                ## @local_realm
	.comm	_encrypt_flag,8,3               ## @encrypt_flag
	.comm	_decrypt_flag,8,3               ## @decrypt_flag
L_.str.1:                               ## @.str.1
	.asciz	"only one of `--encrypt' and `--decrypt' is meaningful"

	.comm	_source_type,8,3                ## @source_type
L_.str.2:                               ## @.str.2
	.asciz	"unknown source type `%s'"

	.comm	_to_stdout,8,3                  ## @to_stdout
	.comm	_mkeyfile,4,2                   ## @mkeyfile
	.comm	_mkey5,4,2                      ## @mkey5
	.comm	_ENOENT,8,3                     ## @ENOENT
L_.str.3:                               ## @.str.3
	.asciz	"hdb_read_master_key"

L_.str.4:                               ## @.str.4
	.asciz	"No master key file found"

	.comm	_database,8,3                   ## @database
L_.str.5:                               ## @.str.5
	.asciz	"no dump file specified"

L_.str.6:                               ## @.str.6
	.asciz	"hdb_create: %s"

	.comm	_O_RDONLY,4,2                   ## @O_RDONLY
L_.str.7:                               ## @.str.7
	.asciz	"db->hdb_open"

L_.str.8:                               ## @.str.8
	.asciz	"unknown dump type `%d'"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_main                           ; -- Begin function main
	.p2align	2
_main:                                  ; @main
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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, x1
	mov	x20, x0
	stp	xzr, xzr, [sp, #24]
	str	wzr, [sp, #20]
	ldr	x0, [x1]
	bl	_setprogname
Lloh0:
	adrp	x8, _args@GOTPAGE
Lloh1:
	ldr	x8, [x8, _args@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x8, _num_args@GOTPAGE
Lloh4:
	ldr	x8, [x8, _num_args@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	add	x4, sp, #20
	mov	x2, x20
	mov	x3, x19
	bl	_getarg
	cbz	x0, LBB0_2
; %bb.1:
	mov	w0, #1
	bl	_usage
LBB0_2:
Lloh6:
	adrp	x8, _help_flag@GOTPAGE
Lloh7:
	ldr	x8, [x8, _help_flag@GOTPAGEOFF]
Lloh8:
	ldr	x8, [x8]
	cbz	x8, LBB0_4
; %bb.3:
	mov	w0, #0
	bl	_usage
LBB0_4:
Lloh9:
	adrp	x8, _version_flag@GOTPAGE
Lloh10:
	ldr	x8, [x8, _version_flag@GOTPAGEOFF]
Lloh11:
	ldr	x8, [x8]
	cbnz	x8, LBB0_43
; %bb.5:
	add	x0, sp, #44
	bl	_krb5_init_context
	cbnz	x0, LBB0_44
; %bb.6:
	ldr	w0, [sp, #44]
	mov	w1, #1
	bl	_krb5_allow_weak_crypto
	cbz	x0, LBB0_8
; %bb.7:
	mov	x2, x0
	ldr	w0, [sp, #44]
Lloh12:
	adrp	x3, l_.str@PAGE
Lloh13:
	add	x3, x3, l_.str@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_8:
Lloh14:
	adrp	x8, _local_realm@GOTPAGE
Lloh15:
	ldr	x8, [x8, _local_realm@GOTPAGEOFF]
Lloh16:
	ldr	x1, [x8]
	cbz	x1, LBB0_10
; %bb.9:
	ldr	w0, [sp, #44]
	bl	_krb5_set_default_realm
LBB0_10:
Lloh17:
	adrp	x22, _encrypt_flag@GOTPAGE
Lloh18:
	ldr	x22, [x22, _encrypt_flag@GOTPAGEOFF]
	ldr	x8, [x22]
Lloh19:
	adrp	x24, _decrypt_flag@GOTPAGE
Lloh20:
	ldr	x24, [x24, _decrypt_flag@GOTPAGEOFF]
	cbz	x8, LBB0_13
; %bb.11:
	ldr	x8, [x24]
	cbz	x8, LBB0_13
; %bb.12:
	ldr	w0, [sp, #44]
Lloh21:
	adrp	x2, l_.str.1@PAGE
Lloh22:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	w1, #1
	bl	_krb5_errx
LBB0_13:
Lloh23:
	adrp	x23, _source_type@GOTPAGE
Lloh24:
	ldr	x23, [x23, _source_type@GOTPAGEOFF]
	ldr	x0, [x23]
	cbz	x0, LBB0_16
; %bb.14:
	bl	_parse_source_type
	mov	x21, x0
	cbnz	w0, LBB0_17
; %bb.15:
	ldr	w0, [sp, #44]
	ldr	x8, [x23]
	str	x8, [sp]
Lloh25:
	adrp	x2, l_.str.2@PAGE
Lloh26:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	w1, #1
	bl	_krb5_errx
	b	LBB0_17
LBB0_16:
	mov	w21, #129
LBB0_17:
Lloh27:
	adrp	x23, _to_stdout@GOTPAGE
Lloh28:
	ldr	x23, [x23, _to_stdout@GOTPAGEOFF]
	ldr	x8, [x23]
	cbnz	x8, LBB0_19
; %bb.18:
	ldr	w0, [sp, #44]
	add	x1, sp, #32
	bl	_get_creds
LBB0_19:
	ldr	x8, [x24]
	ldr	x9, [x22]
	orr	x8, x8, x9
	cbz	x8, LBB0_25
; %bb.20:
	ldr	w0, [sp, #44]
Lloh29:
	adrp	x8, _mkeyfile@GOTPAGE
Lloh30:
	ldr	x8, [x8, _mkeyfile@GOTPAGEOFF]
Lloh31:
	ldr	w1, [x8]
Lloh32:
	adrp	x2, _mkey5@GOTPAGE
Lloh33:
	ldr	x2, [x2, _mkey5@GOTPAGEOFF]
	bl	_hdb_read_master_key
	mov	x22, x0
	cbz	x0, LBB0_23
; %bb.21:
Lloh34:
	adrp	x8, _ENOENT@GOTPAGE
Lloh35:
	ldr	x8, [x8, _ENOENT@GOTPAGEOFF]
Lloh36:
	ldr	x8, [x8]
	cmp	x22, x8
	b.eq	LBB0_23
; %bb.22:
	ldr	w0, [sp, #44]
Lloh37:
	adrp	x3, l_.str.3@PAGE
Lloh38:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	w1, #1
	mov	x2, x22
	bl	_krb5_err
LBB0_23:
	cbz	x22, LBB0_25
; %bb.24:
	ldr	w0, [sp, #44]
Lloh39:
	adrp	x2, l_.str.4@PAGE
Lloh40:
	add	x2, x2, l_.str.4@PAGEOFF
	mov	w1, #1
	bl	_krb5_errx
LBB0_25:
Lloh41:
	adrp	x22, _database@GOTPAGE
Lloh42:
	ldr	x22, [x22, _database@GOTPAGEOFF]
	cmp	w21, #129
	b.eq	LBB0_29
; %bb.26:
	cmp	w21, #128
	b.ne	LBB0_33
; %bb.27:
	ldr	x8, [x22]
	cbnz	x8, LBB0_35
; %bb.28:
	ldr	w0, [sp, #44]
Lloh43:
	adrp	x2, l_.str.5@PAGE
Lloh44:
	add	x2, x2, l_.str.5@PAGEOFF
	b	LBB0_34
LBB0_29:
	ldr	w0, [sp, #44]
	ldr	x2, [x22]
	add	x1, sp, #24
	bl	_hdb_create
	cbz	x0, LBB0_31
; %bb.30:
	mov	x2, x0
	ldr	w0, [sp, #44]
	ldr	x8, [x22]
	str	x8, [sp]
Lloh45:
	adrp	x3, l_.str.6@PAGE
Lloh46:
	add	x3, x3, l_.str.6@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_31:
	ldr	x1, [sp, #24]
	ldr	x8, [x1]
	ldr	w0, [sp, #44]
Lloh47:
	adrp	x9, _O_RDONLY@GOTPAGE
Lloh48:
	ldr	x9, [x9, _O_RDONLY@GOTPAGEOFF]
Lloh49:
	ldr	w2, [x9]
	mov	w3, #0
	blr	x8
	cbz	x0, LBB0_35
; %bb.32:
	mov	x2, x0
	ldr	w0, [sp, #44]
Lloh50:
	adrp	x3, l_.str.7@PAGE
Lloh51:
	add	x3, x3, l_.str.7@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
	b	LBB0_35
LBB0_33:
	ldr	w0, [sp, #44]
	str	x21, [sp]
Lloh52:
	adrp	x2, l_.str.8@PAGE
Lloh53:
	add	x2, x2, l_.str.8@PAGEOFF
LBB0_34:
	mov	w1, #1
	bl	_krb5_errx
LBB0_35:
	ldr	x8, [x23]
	ldr	w0, [sp, #44]
	ldr	x2, [x22]
	ldr	x3, [sp, #24]
	cbz	x8, LBB0_37
; %bb.36:
	mov	x1, x21
	bl	_dump_database
	b	LBB0_38
LBB0_37:
	ldr	x4, [sp, #32]
	ldr	w5, [sp, #20]
	mov	x1, x21
	mov	x6, x20
	mov	x7, x19
	bl	_propagate_database
LBB0_38:
	mov	x19, x0
	ldr	x1, [sp, #32]
	cbz	x1, LBB0_40
; %bb.39:
	ldr	w0, [sp, #44]
	bl	_krb5_cc_destroy
LBB0_40:
	ldr	x1, [sp, #24]
	cbz	x1, LBB0_42
; %bb.41:
	ldr	x8, [x1, #8]
	ldr	w0, [sp, #44]
	blr	x8
LBB0_42:
	ldr	w0, [sp, #44]
	bl	_krb5_free_context
	mov	x0, x19
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_43:
	mov	x0, #0
	bl	_print_version
	mov	w0, #0
	bl	_exit
LBB0_44:
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh27, Lloh28
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpLdrGot	Lloh41, Lloh42
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.cfi_endproc
                                        ; -- End function
	.comm	_args,4,2                       ; @args
	.comm	_num_args,4,2                   ; @num_args
	.comm	_help_flag,8,3                  ; @help_flag
	.comm	_version_flag,8,3               ; @version_flag
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_allow_weak_crypto"

	.comm	_local_realm,8,3                ; @local_realm
	.comm	_encrypt_flag,8,3               ; @encrypt_flag
	.comm	_decrypt_flag,8,3               ; @decrypt_flag
l_.str.1:                               ; @.str.1
	.asciz	"only one of `--encrypt' and `--decrypt' is meaningful"

	.comm	_source_type,8,3                ; @source_type
l_.str.2:                               ; @.str.2
	.asciz	"unknown source type `%s'"

	.comm	_to_stdout,8,3                  ; @to_stdout
	.comm	_mkeyfile,4,2                   ; @mkeyfile
	.comm	_mkey5,4,2                      ; @mkey5
	.comm	_ENOENT,8,3                     ; @ENOENT
l_.str.3:                               ; @.str.3
	.asciz	"hdb_read_master_key"

l_.str.4:                               ; @.str.4
	.asciz	"No master key file found"

	.comm	_database,8,3                   ; @database
l_.str.5:                               ; @.str.5
	.asciz	"no dump file specified"

l_.str.6:                               ; @.str.6
	.asciz	"hdb_create: %s"

	.comm	_O_RDONLY,4,2                   ; @O_RDONLY
l_.str.7:                               ; @.str.7
	.asciz	"db->hdb_open"

l_.str.8:                               ; @.str.8
	.asciz	"unknown dump type `%d'"

.subsections_via_symbols
