	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function doit
_doit:                                  ## @doit
	.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
	movl	$8376, %eax                     ## imm = 0x20B8
	callq	____chkstk_darwin
	subq	%rax, %rsp
	popq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %r14d
	movq	%rdi, %r13
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_O_RDWR@GOTPCREL(%rip), %rax
	movl	(%rax), %r15d
	movq	_kadm_handle@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	callq	__kadm5_s_get_db
	movq	%rax, -8272(%rbp)               ## 8-byte Spill
	leaq	L_.str(%rip), %rsi
	movq	%r13, %rdi
	callq	_fopen
	movq	%rax, -8264(%rbp)               ## 8-byte Spill
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movl	(%rbx), %edi
	callq	_kadm5_log_truncate
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, %rbx
	movq	-8264(%rbp), %rdi               ## 8-byte Reload
	callq	_fclose
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.2(%rip), %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_krb5_warn
	movl	$1, %ebx
	jmp	LBB0_51
LBB0_3:
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_errno@GOTPCREL(%rip), %rax
	movslq	(%rax), %rsi
	leaq	L_.str.1(%rip), %rdx
	movq	%r13, %rcx
	xorl	%eax, %eax
	callq	_krb5_warn
	movl	$1, %ebx
	jmp	LBB0_51
LBB0_4:
	movq	_O_CREAT@GOTPCREL(%rip), %rax
	movq	_O_TRUNC@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edx
	orl	(%rax), %edx
	xorl	%ebx, %ebx
	testl	%r14d, %r14d
	cmovnel	%ebx, %edx
	orl	%r15d, %edx
	movq	_context@GOTPCREL(%rip), %r12
	movl	(%r12), %edi
	movq	-8272(%rbp), %rsi               ## 8-byte Reload
	movl	$384, %ecx                      ## imm = 0x180
	callq	*(%rsi)
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	(%r12), %edi
	leaq	L_.str.3(%rip), %rdx
	movq	%rax, %rsi
	xorl	%eax, %eax
	callq	_krb5_warn
	movq	-8264(%rbp), %rdi               ## 8-byte Reload
	callq	_fclose
	movl	$1, %ebx
	jmp	LBB0_51
LBB0_6:
	leaq	-8240(%rbp), %r14
	movq	%r14, %rdi
	movl	$8192, %esi                     ## imm = 0x2000
	movq	-8264(%rbp), %rdx               ## 8-byte Reload
	callq	_fgets
	testq	%rax, %rax
	je	LBB0_50
## %bb.7:
	movq	%r13, -8256(%rbp)               ## 8-byte Spill
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_11:                                ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_12 Depth 2
                                        ##     Child Loop BB0_16 Depth 2
	leaq	-8241(%rbp), %r15
	.p2align	4, 0x90
LBB0_12:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	1(%r15), %edi
	incq	%r15
	callq	_isspace
	testq	%rax, %rax
	jne	LBB0_12
## %bb.13:                              ##   in Loop: Header=BB0_11 Depth=1
	incl	%r13d
	jmp	LBB0_16
	.p2align	4, 0x90
LBB0_14:                                ##   in Loop: Header=BB0_16 Depth=2
	incq	%r14
LBB0_15:                                ##   in Loop: Header=BB0_16 Depth=2
	incq	%r14
LBB0_16:                                ##   Parent Loop BB0_11 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movzbl	(%r14), %eax
	cmpb	$92, %al
	je	LBB0_14
## %bb.17:                              ##   in Loop: Header=BB0_16 Depth=2
	testb	%al, %al
	je	LBB0_20
## %bb.18:                              ##   in Loop: Header=BB0_16 Depth=2
	movzbl	%al, %edi
	callq	_isspace
	testq	%rax, %rax
	je	LBB0_15
## %bb.19:                              ##   in Loop: Header=BB0_11 Depth=1
	movb	$0, (%r14)
LBB0_20:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%r13d, -8244(%rbp)              ## 4-byte Spill
	movq	%r14, %rdi
	callq	_skip_next
	movq	%rax, -8408(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	callq	_skip_next
	movq	%rax, -8400(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	callq	_skip_next
	movq	%rax, -8392(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	callq	_skip_next
	movq	%rax, -8384(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	callq	_skip_next
	movq	%rax, -8376(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	callq	_skip_next
	movq	%rax, -8360(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	callq	_skip_next
	movq	%rax, -8352(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	callq	_skip_next
	movq	%rax, -8344(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	callq	_skip_next
	movq	%rax, -8336(%rbp)               ## 8-byte Spill
	movq	%rax, %rdi
	callq	_skip_next
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_skip_next
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_skip_next
	leaq	-8320(%rbp), %r13
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$44, %edx
	callq	_memset
	movl	(%r12), %edi
	movq	%r15, %rsi
	leaq	-8280(%rbp), %rdx
	callq	_krb5_parse_name
	testq	%rax, %rax
	movq	%rax, -8368(%rbp)               ## 8-byte Spill
	je	LBB0_21
## %bb.8:                               ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r12), %edi
	movq	%rax, %rsi
	callq	_krb5_get_error_message
	movq	%rax, %rbx
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.4(%rip), %rsi
	movq	-8256(%rbp), %rdx               ## 8-byte Reload
	movl	-8244(%rbp), %r13d              ## 4-byte Reload
	movl	%r13d, %ecx
	movq	%rbx, %r8
	movq	%r15, %r9
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %edi
	movq	%rbx, %rsi
	callq	_krb5_free_error_message
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-8400(%rbp), %r15               ## 8-byte Reload
	movq	%r14, -8328(%rbp)               ## 8-byte Spill
	movq	%r13, %rdi
	movq	-8408(%rbp), %r14               ## 8-byte Reload
	movq	%r14, %rsi
	callq	_parse_keys
	testq	%rax, %rax
	je	LBB0_26
## %bb.22:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rsi
LBB0_23:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-8256(%rbp), %rdx               ## 8-byte Reload
	movl	-8244(%rbp), %ebx               ## 4-byte Reload
	movl	%ebx, %ecx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r13, %rsi
	movl	%ebx, %r13d
LBB0_24:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r12), %edi
LBB0_25:                                ##   in Loop: Header=BB0_11 Depth=1
	callq	_hdb_free_entry
LBB0_9:                                 ##   in Loop: Header=BB0_11 Depth=1
	leaq	-8240(%rbp), %r14
LBB0_10:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	%r14, %rdi
	movl	$8192, %esi                     ## imm = 0x2000
	movq	-8264(%rbp), %rdx               ## 8-byte Reload
	callq	_fgets
	testq	%rax, %rax
	jne	LBB0_11
	jmp	LBB0_49
LBB0_26:                                ##   in Loop: Header=BB0_11 Depth=1
	leaq	-8284(%rbp), %rdi
	movq	%r15, %rsi
	callq	_parse_event
	cmpl	$-1, %eax
	je	LBB0_37
## %bb.27:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	-8288(%rbp), %rdi
	movq	-8392(%rbp), %r14               ## 8-byte Reload
	movq	%r14, %rsi
	callq	_parse_event_alloc
	cmpl	$-1, %eax
	je	LBB0_38
## %bb.28:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	-8292(%rbp), %rdi
	movq	-8384(%rbp), %r14               ## 8-byte Reload
	movq	%r14, %rsi
	callq	_parse_time_string_alloc
	cmpl	$-1, %eax
	je	LBB0_39
## %bb.29:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	-8296(%rbp), %rdi
	movq	-8376(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %rsi
	callq	_parse_time_string_alloc
	cmpl	$-1, %eax
	leaq	-8240(%rbp), %r14
	movl	-8244(%rbp), %r13d              ## 4-byte Reload
	je	LBB0_40
## %bb.30:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	-8300(%rbp), %rdi
	movq	-8360(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %rsi
	callq	_parse_time_string_alloc
	cmpl	$-1, %eax
	movq	-8256(%rbp), %rdx               ## 8-byte Reload
	je	LBB0_42
## %bb.31:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	-8304(%rbp), %rdi
	movq	-8352(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %rsi
	callq	_parse_integer_alloc
	cmpl	$-1, %eax
	je	LBB0_41
## %bb.32:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	-8308(%rbp), %rdi
	movq	-8344(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %rsi
	callq	_parse_integer_alloc
	cmpl	$-1, %eax
	je	LBB0_41
## %bb.33:                              ##   in Loop: Header=BB0_11 Depth=1
	leaq	-8312(%rbp), %rdi
	movq	-8336(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %rsi
	callq	_parse_hdbflags2int
	cmpl	$1, %eax
	jne	LBB0_43
## %bb.34:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	-8328(%rbp), %r15               ## 8-byte Reload
	movq	%r15, %rdi
	leaq	-8316(%rbp), %rsi
	callq	_parse_generation
	cmpl	$-1, %eax
	je	LBB0_44
## %bb.35:                              ##   in Loop: Header=BB0_11 Depth=1
	movq	%rbx, %rdi
	leaq	-8320(%rbp), %r15
	movq	%r15, %rsi
	callq	_parse_extensions
	cmpl	$-1, %eax
	je	LBB0_48
## %bb.36:                              ##   in Loop: Header=BB0_11 Depth=1
	movl	(%r12), %edi
	movq	_HDB_F_REPLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	-8272(%rbp), %rsi               ## 8-byte Reload
	movq	%r15, %rcx
	callq	*8(%rsi)
	movq	%rax, %rbx
	movl	(%r12), %edi
	movq	%r15, %rsi
	callq	_hdb_free_entry
	testq	%rbx, %rbx
	je	LBB0_10
	jmp	LBB0_53
LBB0_37:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.6(%rip), %rsi
	movq	-8256(%rbp), %rdx               ## 8-byte Reload
	movl	-8244(%rbp), %r14d              ## 4-byte Reload
	movl	%r14d, %ecx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movq	%r13, %rsi
	movl	%r14d, %r13d
	jmp	LBB0_24
LBB0_38:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_23
LBB0_39:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	movq	-8256(%rbp), %rdx               ## 8-byte Reload
	movl	-8244(%rbp), %r13d              ## 4-byte Reload
	movl	%r13d, %ecx
	movq	%r14, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %edi
	leaq	-8320(%rbp), %rsi
	jmp	LBB0_25
LBB0_40:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_45
LBB0_41:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.9(%rip), %rsi
	jmp	LBB0_45
LBB0_42:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_46
LBB0_43:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.10(%rip), %rsi
	jmp	LBB0_45
LBB0_44:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.11(%rip), %rsi
LBB0_45:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	-8256(%rbp), %rdx               ## 8-byte Reload
LBB0_46:                                ##   in Loop: Header=BB0_11 Depth=1
	movl	%r13d, %ecx
	movq	%r15, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %edi
	leaq	-8320(%rbp), %rsi
LBB0_47:                                ##   in Loop: Header=BB0_11 Depth=1
	callq	_hdb_free_entry
	jmp	LBB0_10
LBB0_48:                                ##   in Loop: Header=BB0_11 Depth=1
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.12(%rip), %rsi
	movq	-8256(%rbp), %rdx               ## 8-byte Reload
	movl	%r13d, %ecx
	movq	%rbx, %r8
	xorl	%eax, %eax
	callq	_fprintf
	movl	(%r12), %edi
	movq	%r15, %rsi
	jmp	LBB0_47
LBB0_49:
	xorl	%ebx, %ebx
	cmpq	$0, -8368(%rbp)                 ## 8-byte Folded Reload
	setne	%bl
LBB0_50:
	movl	(%r12), %edi
	movq	-8272(%rbp), %rsi               ## 8-byte Reload
	callq	*16(%rsi)
	movq	-8264(%rbp), %rdi               ## 8-byte Reload
	callq	_fclose
LBB0_51:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_54
## %bb.52:
	movl	%ebx, %eax
	addq	$8376, %rsp                     ## imm = 0x20B8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_53:
	movl	(%r12), %edi
	leaq	L_.str.13(%rip), %rdx
	movq	%rbx, %rsi
	xorl	%eax, %eax
	callq	_krb5_warn
	movl	$1, %ebx
	jmp	LBB0_50
LBB0_54:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_O_RDWR,4,2                     ## @O_RDWR
	.comm	_kadm_handle,4,2                ## @kadm_handle
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"r"

	.comm	_context,4,2                    ## @context
	.comm	_errno,4,2                      ## @errno
L_.str.1:                               ## @.str.1
	.asciz	"fopen(%s)"

L_.str.2:                               ## @.str.2
	.asciz	"kadm5_log_truncate"

	.comm	_O_CREAT,4,2                    ## @O_CREAT
	.comm	_O_TRUNC,4,2                    ## @O_TRUNC
L_.str.3:                               ## @.str.3
	.asciz	"hdb_open"

	.comm	_stderr,4,2                     ## @stderr
L_.str.4:                               ## @.str.4
	.asciz	"%s:%d:%s (%s)\n"

L_.str.5:                               ## @.str.5
	.asciz	"%s:%d:error parsing keys (%s)\n"

L_.str.6:                               ## @.str.6
	.asciz	"%s:%d:error parsing created event (%s)\n"

L_.str.7:                               ## @.str.7
	.asciz	"%s:%d:error parsing event (%s)\n"

L_.str.8:                               ## @.str.8
	.asciz	"%s:%d:error parsing time (%s)\n"

L_.str.9:                               ## @.str.9
	.asciz	"%s:%d:error parsing lifetime (%s)\n"

L_.str.10:                              ## @.str.10
	.asciz	"%s:%d:error parsing flags (%s)\n"

L_.str.11:                              ## @.str.11
	.asciz	"%s:%d:error parsing generation (%s)\n"

L_.str.12:                              ## @.str.12
	.asciz	"%s:%d:error parsing extension (%s)\n"

	.comm	_HDB_F_REPLACE,4,2              ## @HDB_F_REPLACE
L_.str.13:                              ## @.str.13
	.asciz	"db_store"

	.no_dead_strip	_doit
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function doit
_doit:                                  ; @doit
	.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
	mov	w9, #8432
Lloh0:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh1:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	sub	sp, sp, #2, lsl #12             ; =8192
	sub	sp, sp, #240
	mov	x19, x1
	mov	x23, x0
Lloh2:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh3:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh4:
	ldr	x8, [x8]
	stur	x8, [x29, #-96]
Lloh5:
	adrp	x8, _O_RDWR@GOTPAGE
Lloh6:
	ldr	x8, [x8, _O_RDWR@GOTPAGEOFF]
Lloh7:
	ldr	w21, [x8]
Lloh8:
	adrp	x20, _kadm_handle@GOTPAGE
Lloh9:
	ldr	x20, [x20, _kadm_handle@GOTPAGEOFF]
	ldr	w0, [x20]
	bl	__kadm5_s_get_db
	str	x0, [sp, #96]                   ; 8-byte Folded Spill
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x23
	bl	_fopen
Lloh12:
	adrp	x27, _context@GOTPAGE
Lloh13:
	ldr	x27, [x27, _context@GOTPAGEOFF]
	str	x0, [sp, #160]                  ; 8-byte Folded Spill
	cbz	x0, LBB0_3
; %bb.1:
	ldr	w0, [x20]
	bl	_kadm5_log_truncate
	cbz	x0, LBB0_8
; %bb.2:
	mov	x20, x0
	ldr	x0, [sp, #160]                  ; 8-byte Folded Reload
	bl	_fclose
	ldr	w0, [x27]
Lloh14:
	adrp	x2, l_.str.2@PAGE
Lloh15:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x1, x20
	b	LBB0_4
LBB0_3:
	ldr	w0, [x27]
Lloh16:
	adrp	x8, _errno@GOTPAGE
Lloh17:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh18:
	ldrsw	x1, [x8]
	str	x23, [sp]
Lloh19:
	adrp	x2, l_.str.1@PAGE
Lloh20:
	add	x2, x2, l_.str.1@PAGEOFF
LBB0_4:
	bl	_krb5_warn
LBB0_5:
	mov	w19, #1
LBB0_6:
	ldur	x8, [x29, #-96]
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_54
; %bb.7:
	mov	x0, x19
	add	sp, sp, #2, lsl #12             ; =8192
	add	sp, sp, #240
	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_8:
Lloh24:
	adrp	x8, _O_CREAT@GOTPAGE
Lloh25:
	ldr	x8, [x8, _O_CREAT@GOTPAGEOFF]
Lloh26:
	ldr	w8, [x8]
Lloh27:
	adrp	x9, _O_TRUNC@GOTPAGE
Lloh28:
	ldr	x9, [x9, _O_TRUNC@GOTPAGEOFF]
Lloh29:
	ldr	w9, [x9]
	orr	w8, w9, w8
	cmp	w19, #0
	csel	w8, w8, wzr, eq
	orr	w2, w8, w21
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
	ldr	x8, [x1]
	ldr	w0, [x27]
	mov	w3, #384
	blr	x8
	cbz	x0, LBB0_10
; %bb.9:
	mov	x1, x0
	ldr	w0, [x27]
Lloh30:
	adrp	x2, l_.str.3@PAGE
Lloh31:
	add	x2, x2, l_.str.3@PAGEOFF
	bl	_krb5_warn
	ldr	x0, [sp, #160]                  ; 8-byte Folded Reload
	bl	_fclose
	b	LBB0_5
LBB0_10:
	add	x19, sp, #224
	add	x0, sp, #224
	mov	w1, #8192
	ldr	x2, [sp, #160]                  ; 8-byte Folded Reload
	bl	_fgets
	cbz	x0, LBB0_51
; %bb.11:
	mov	w20, #0
	add	x8, sp, #176
	add	x10, x8, #40
	add	x11, x8, #36
	add	x9, x8, #32
	stp	x9, x11, [sp, #64]              ; 16-byte Folded Spill
	add	x11, x8, #28
	add	x9, x8, #24
	stp	x9, x11, [sp, #48]              ; 16-byte Folded Spill
	add	x11, x8, #20
	add	x9, x8, #16
	stp	x9, x11, [sp, #32]              ; 16-byte Folded Spill
	add	x11, x8, #12
	add	x9, x8, #8
	stp	x9, x11, [sp, #16]              ; 16-byte Folded Spill
	orr	x8, x8, #0x4
	str	x8, [sp, #8]                    ; 8-byte Folded Spill
	sub	x8, x19, #1
	stp	x8, x10, [sp, #120]             ; 16-byte Folded Spill
	str	x23, [sp, #112]                 ; 8-byte Folded Spill
	b	LBB0_14
LBB0_12:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x8, x0
	ldr	w0, [x27]
	mov	x1, x8
	bl	_krb5_get_error_message
	mov	x19, x0
Lloh32:
	adrp	x8, _stderr@GOTPAGE
Lloh33:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
	str	x28, [sp]
Lloh35:
	adrp	x1, l_.str.4@PAGE
Lloh36:
	add	x1, x1, l_.str.4@PAGEOFF
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #172]                 ; 4-byte Folded Reload
	mov	x3, x20
	mov	x4, x19
	bl	_fprintf
	ldr	w0, [x27]
	mov	x1, x19
	bl	_krb5_free_error_message
LBB0_13:                                ;   in Loop: Header=BB0_14 Depth=1
	add	x0, sp, #224
	mov	w1, #8192
	ldr	x2, [sp, #160]                  ; 8-byte Folded Reload
	bl	_fgets
	cbz	x0, LBB0_50
LBB0_14:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_15 Depth 2
                                        ;     Child Loop BB0_19 Depth 2
	ldr	x28, [sp, #120]                 ; 8-byte Folded Reload
LBB0_15:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x28, #1]!
	bl	_isspace
	cbnz	x0, LBB0_15
; %bb.16:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x19, sp, #224
	add	w20, w20, #1
	b	LBB0_19
LBB0_17:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x19, x19, #1
LBB0_18:                                ;   in Loop: Header=BB0_19 Depth=2
	add	x19, x19, #1
LBB0_19:                                ;   Parent Loop BB0_14 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w0, [x19]
	cmp	w0, #92
	b.eq	LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_19 Depth=2
	cbz	w0, LBB0_23
; %bb.21:                               ;   in Loop: Header=BB0_19 Depth=2
	bl	_isspace
	cbz	x0, LBB0_18
; %bb.22:                               ;   in Loop: Header=BB0_14 Depth=1
	strb	wzr, [x19]
LBB0_23:                                ;   in Loop: Header=BB0_14 Depth=1
	str	w20, [sp, #172]                 ; 4-byte Folded Spill
	mov	x0, x19
	bl	_skip_next
	str	x0, [sp, #152]                  ; 8-byte Folded Spill
	bl	_skip_next
	str	x0, [sp, #144]                  ; 8-byte Folded Spill
	bl	_skip_next
	str	x0, [sp, #136]                  ; 8-byte Folded Spill
	bl	_skip_next
	mov	x24, x0
	bl	_skip_next
	mov	x25, x0
	bl	_skip_next
	mov	x26, x0
	bl	_skip_next
	mov	x22, x0
	bl	_skip_next
	mov	x19, x0
	bl	_skip_next
	mov	x21, x0
	bl	_skip_next
	mov	x23, x0
	bl	_skip_next
	mov	x20, x0
	bl	_skip_next
	add	x0, sp, #176
	mov	w1, #0
	mov	w2, #44
	bl	_memset
	ldr	w0, [x27]
	mov	x1, x28
	ldr	x2, [sp, #128]                  ; 8-byte Folded Reload
	bl	_krb5_parse_name
	str	x0, [sp, #104]                  ; 8-byte Folded Spill
	cbnz	x0, LBB0_12
; %bb.24:                               ;   in Loop: Header=BB0_14 Depth=1
	ldp	x28, x27, [sp, #136]            ; 16-byte Folded Reload
	stp	x20, x23, [sp, #80]             ; 16-byte Folded Spill
	add	x0, sp, #176
	ldr	x1, [sp, #152]                  ; 8-byte Folded Reload
	bl	_parse_keys
	cbz	x0, LBB0_28
; %bb.25:                               ;   in Loop: Header=BB0_14 Depth=1
Lloh37:
	adrp	x8, _stderr@GOTPAGE
Lloh38:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh39:
	ldr	w0, [x8]
Lloh40:
	adrp	x1, l_.str.5@PAGE
Lloh41:
	add	x1, x1, l_.str.5@PAGEOFF
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #172]                 ; 4-byte Folded Reload
	mov	x3, x20
	ldr	x4, [sp, #152]                  ; 8-byte Folded Reload
LBB0_26:                                ;   in Loop: Header=BB0_14 Depth=1
	bl	_fprintf
Lloh42:
	adrp	x27, _context@GOTPAGE
Lloh43:
	ldr	x27, [x27, _context@GOTPAGEOFF]
LBB0_27:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	w0, [x27]
	add	x1, sp, #176
	bl	_hdb_free_entry
	b	LBB0_13
LBB0_28:                                ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [sp, #72]                   ; 8-byte Folded Reload
	mov	x1, x27
	bl	_parse_event
	cmn	w0, #1
	b.eq	LBB0_39
; %bb.29:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [sp, #64]                   ; 8-byte Folded Reload
	mov	x1, x28
	bl	_parse_event_alloc
	cmn	w0, #1
	b.eq	LBB0_40
; %bb.30:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [sp, #56]                   ; 8-byte Folded Reload
	mov	x1, x24
	bl	_parse_time_string_alloc
	cmn	w0, #1
	b.eq	LBB0_41
; %bb.31:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [sp, #48]                   ; 8-byte Folded Reload
	mov	x1, x25
	bl	_parse_time_string_alloc
	cmn	w0, #1
	b.eq	LBB0_42
; %bb.32:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [sp, #40]                   ; 8-byte Folded Reload
	mov	x1, x26
	bl	_parse_time_string_alloc
	cmn	w0, #1
	b.eq	LBB0_43
; %bb.33:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [sp, #32]                   ; 8-byte Folded Reload
	mov	x1, x22
	bl	_parse_integer_alloc
	cmn	w0, #1
	b.eq	LBB0_44
; %bb.34:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [sp, #24]                   ; 8-byte Folded Reload
	mov	x1, x19
	bl	_parse_integer_alloc
	cmn	w0, #1
	b.eq	LBB0_45
; %bb.35:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x0, [sp, #16]                   ; 8-byte Folded Reload
	mov	x1, x21
	bl	_parse_hdbflags2int
	cmp	w0, #1
	ldr	x23, [sp, #112]                 ; 8-byte Folded Reload
	b.ne	LBB0_46
; %bb.36:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x21, [sp, #88]                  ; 8-byte Folded Reload
	mov	x0, x21
	ldr	x1, [sp, #8]                    ; 8-byte Folded Reload
	bl	_parse_generation
	cmn	w0, #1
	ldr	x19, [sp, #96]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #172]                 ; 4-byte Folded Reload
	b.eq	LBB0_47
; %bb.37:                               ;   in Loop: Header=BB0_14 Depth=1
	add	x1, sp, #176
	ldr	x21, [sp, #80]                  ; 8-byte Folded Reload
	mov	x0, x21
	bl	_parse_extensions
	cmn	w0, #1
Lloh44:
	adrp	x27, _context@GOTPAGE
Lloh45:
	ldr	x27, [x27, _context@GOTPAGEOFF]
	b.eq	LBB0_49
; %bb.38:                               ;   in Loop: Header=BB0_14 Depth=1
	ldr	x8, [x19, #8]
	ldr	w0, [x27]
Lloh46:
	adrp	x9, _HDB_F_REPLACE@GOTPAGE
Lloh47:
	ldr	x9, [x9, _HDB_F_REPLACE@GOTPAGEOFF]
Lloh48:
	ldr	w2, [x9]
	add	x3, sp, #176
	mov	x1, x19
	blr	x8
	mov	x19, x0
	ldr	w0, [x27]
	add	x1, sp, #176
	bl	_hdb_free_entry
	cbz	x19, LBB0_13
	b	LBB0_53
LBB0_39:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh49:
	adrp	x8, _stderr@GOTPAGE
Lloh50:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh51:
	ldr	w0, [x8]
Lloh52:
	adrp	x1, l_.str.6@PAGE
Lloh53:
	add	x1, x1, l_.str.6@PAGEOFF
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #172]                 ; 4-byte Folded Reload
	mov	x3, x20
	mov	x4, x27
	b	LBB0_26
LBB0_40:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh54:
	adrp	x8, _stderr@GOTPAGE
Lloh55:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh56:
	ldr	w0, [x8]
Lloh57:
	adrp	x1, l_.str.7@PAGE
Lloh58:
	add	x1, x1, l_.str.7@PAGEOFF
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #172]                 ; 4-byte Folded Reload
	mov	x3, x20
	mov	x4, x28
	b	LBB0_26
LBB0_41:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh59:
	adrp	x8, _stderr@GOTPAGE
Lloh60:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh61:
	ldr	w0, [x8]
Lloh62:
	adrp	x1, l_.str.8@PAGE
Lloh63:
	add	x1, x1, l_.str.8@PAGEOFF
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #172]                 ; 4-byte Folded Reload
	mov	x3, x20
	mov	x4, x24
	b	LBB0_26
LBB0_42:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh64:
	adrp	x8, _stderr@GOTPAGE
Lloh65:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh66:
	ldr	w0, [x8]
Lloh67:
	adrp	x1, l_.str.8@PAGE
Lloh68:
	add	x1, x1, l_.str.8@PAGEOFF
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #172]                 ; 4-byte Folded Reload
	mov	x3, x20
	mov	x4, x25
	b	LBB0_26
LBB0_43:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh69:
	adrp	x8, _stderr@GOTPAGE
Lloh70:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh71:
	ldr	w0, [x8]
Lloh72:
	adrp	x1, l_.str.8@PAGE
Lloh73:
	add	x1, x1, l_.str.8@PAGEOFF
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #172]                 ; 4-byte Folded Reload
	mov	x3, x20
	mov	x4, x26
	b	LBB0_26
LBB0_44:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh74:
	adrp	x8, _stderr@GOTPAGE
Lloh75:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh76:
	ldr	w0, [x8]
Lloh77:
	adrp	x1, l_.str.9@PAGE
Lloh78:
	add	x1, x1, l_.str.9@PAGEOFF
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #172]                 ; 4-byte Folded Reload
	mov	x3, x20
	mov	x4, x22
	b	LBB0_26
LBB0_45:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh79:
	adrp	x8, _stderr@GOTPAGE
Lloh80:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh81:
	ldr	w0, [x8]
Lloh82:
	adrp	x1, l_.str.9@PAGE
Lloh83:
	add	x1, x1, l_.str.9@PAGEOFF
	ldr	x2, [sp, #112]                  ; 8-byte Folded Reload
	ldr	w20, [sp, #172]                 ; 4-byte Folded Reload
	mov	x3, x20
	mov	x4, x19
	b	LBB0_26
LBB0_46:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh84:
	adrp	x8, _stderr@GOTPAGE
Lloh85:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh86:
	ldr	w0, [x8]
Lloh87:
	adrp	x1, l_.str.10@PAGE
Lloh88:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x2, x23
	ldr	w20, [sp, #172]                 ; 4-byte Folded Reload
	b	LBB0_48
LBB0_47:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh89:
	adrp	x8, _stderr@GOTPAGE
Lloh90:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh91:
	ldr	w0, [x8]
Lloh92:
	adrp	x1, l_.str.11@PAGE
Lloh93:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	x2, x23
LBB0_48:                                ;   in Loop: Header=BB0_14 Depth=1
	mov	x3, x20
	mov	x4, x21
	b	LBB0_26
LBB0_49:                                ;   in Loop: Header=BB0_14 Depth=1
Lloh94:
	adrp	x8, _stderr@GOTPAGE
Lloh95:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh96:
	ldr	w0, [x8]
Lloh97:
	adrp	x1, l_.str.12@PAGE
Lloh98:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x2, x23
	mov	x3, x20
	mov	x4, x21
	bl	_fprintf
	b	LBB0_27
LBB0_50:
	ldr	x8, [sp, #104]                  ; 8-byte Folded Reload
	cmp	x8, #0
	cset	w19, ne
	b	LBB0_52
LBB0_51:
	mov	w19, #0
LBB0_52:
	ldr	x1, [sp, #96]                   ; 8-byte Folded Reload
	ldr	x8, [x1, #16]
	ldr	w0, [x27]
	blr	x8
	ldr	x0, [sp, #160]                  ; 8-byte Folded Reload
	bl	_fclose
	b	LBB0_6
LBB0_53:
	ldr	w0, [x27]
Lloh99:
	adrp	x2, l_.str.13@PAGE
Lloh100:
	add	x2, x2, l_.str.13@PAGEOFF
	mov	x1, x19
	bl	_krb5_warn
	mov	w19, #1
	b	LBB0_52
LBB0_54:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGot	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpLdrGotLdr	Lloh46, Lloh47, Lloh48
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh49, Lloh50, Lloh51
	.loh AdrpAdd	Lloh57, Lloh58
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpLdrGotLdr	Lloh59, Lloh60, Lloh61
	.loh AdrpAdd	Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh64, Lloh65, Lloh66
	.loh AdrpAdd	Lloh72, Lloh73
	.loh AdrpLdrGotLdr	Lloh69, Lloh70, Lloh71
	.loh AdrpAdd	Lloh77, Lloh78
	.loh AdrpLdrGotLdr	Lloh74, Lloh75, Lloh76
	.loh AdrpAdd	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpLdrGotLdr	Lloh84, Lloh85, Lloh86
	.loh AdrpAdd	Lloh92, Lloh93
	.loh AdrpLdrGotLdr	Lloh89, Lloh90, Lloh91
	.loh AdrpAdd	Lloh97, Lloh98
	.loh AdrpLdrGotLdr	Lloh94, Lloh95, Lloh96
	.loh AdrpAdd	Lloh99, Lloh100
	.cfi_endproc
                                        ; -- End function
	.comm	_O_RDWR,4,2                     ; @O_RDWR
	.comm	_kadm_handle,4,2                ; @kadm_handle
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"r"

	.comm	_context,4,2                    ; @context
	.comm	_errno,4,2                      ; @errno
l_.str.1:                               ; @.str.1
	.asciz	"fopen(%s)"

l_.str.2:                               ; @.str.2
	.asciz	"kadm5_log_truncate"

	.comm	_O_CREAT,4,2                    ; @O_CREAT
	.comm	_O_TRUNC,4,2                    ; @O_TRUNC
l_.str.3:                               ; @.str.3
	.asciz	"hdb_open"

	.comm	_stderr,4,2                     ; @stderr
l_.str.4:                               ; @.str.4
	.asciz	"%s:%d:%s (%s)\n"

l_.str.5:                               ; @.str.5
	.asciz	"%s:%d:error parsing keys (%s)\n"

l_.str.6:                               ; @.str.6
	.asciz	"%s:%d:error parsing created event (%s)\n"

l_.str.7:                               ; @.str.7
	.asciz	"%s:%d:error parsing event (%s)\n"

l_.str.8:                               ; @.str.8
	.asciz	"%s:%d:error parsing time (%s)\n"

l_.str.9:                               ; @.str.9
	.asciz	"%s:%d:error parsing lifetime (%s)\n"

l_.str.10:                              ; @.str.10
	.asciz	"%s:%d:error parsing flags (%s)\n"

l_.str.11:                              ; @.str.11
	.asciz	"%s:%d:error parsing generation (%s)\n"

l_.str.12:                              ; @.str.12
	.asciz	"%s:%d:error parsing extension (%s)\n"

	.comm	_HDB_F_REPLACE,4,2              ; @HDB_F_REPLACE
l_.str.13:                              ; @.str.13
	.asciz	"db_store"

	.no_dead_strip	_doit
.subsections_via_symbols
