	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdb_init_db                    ## -- Begin function hdb_init_db
	.p2align	4, 0x90
_hdb_init_db:                           ## @hdb_init_db
	.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	$72, %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, %r14d
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	callq	_hdb_check_db_format
	movq	%rax, %rbx
	movq	_HDB_ERR_NOENTRY@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rbx
	jne	LBB0_6
## %bb.1:
	movq	_HDB_WLOCK@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	*(%r15)
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_2
LBB0_6:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_8
## %bb.7:
	movq	%rbx, %rax
	addq	$72, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_HDB_DB_FORMAT_ENTRY@GOTPCREL(%rip), %rax
	movq	(%rax), %r13
	movq	%r13, %rdi
	callq	_strlen
	movq	%rax, %r12
	movq	_HDB_DB_FORMAT@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	L_.str(%rip), %rdx
	leaq	-80(%rbp), %rbx
	movq	%rbx, %rdi
	movl	$32, %esi
	callq	_snprintf
	movq	%rbx, -96(%rbp)
	movq	%rbx, %rdi
	callq	_strlen
	incq	%rax
	movq	%rax, -88(%rbp)
	movups	-96(%rbp), %xmm0
	movups	%xmm0, (%rsp)
	movl	%r14d, %edi
	movq	%r15, %rsi
	xorl	%edx, %edx
	movq	%r13, %rcx
	movq	%r12, %r8
	callq	*8(%r15)
	movq	%rax, %rbx
	movl	%r14d, %edi
	movq	%r15, %rsi
	callq	*16(%r15)
	testq	%rbx, %rbx
	je	LBB0_3
## %bb.4:
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movl	%r14d, %edi
	callq	_krb5_clear_error_message
	jmp	LBB0_6
LBB0_3:
	movq	%rax, %rbx
	jmp	LBB0_6
LBB0_8:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HDB_ERR_NOENTRY,8,3            ## @HDB_ERR_NOENTRY
	.comm	_HDB_WLOCK,4,2                  ## @HDB_WLOCK
	.comm	_HDB_DB_FORMAT_ENTRY,8,3        ## @HDB_DB_FORMAT_ENTRY
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%u"

	.comm	_HDB_DB_FORMAT,4,2              ## @HDB_DB_FORMAT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_hdb_init_db                    ; -- Begin function hdb_init_db
	.p2align	2
_hdb_init_db:                           ; @hdb_init_db
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	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
	mov	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	str	x8, [sp, #40]
	bl	_hdb_check_db_format
	mov	x21, x0
Lloh3:
	adrp	x8, _HDB_ERR_NOENTRY@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HDB_ERR_NOENTRY@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_2
; %bb.1:
	ldr	x8, [x20]
Lloh6:
	adrp	x9, _HDB_WLOCK@GOTPAGE
Lloh7:
	ldr	x9, [x9, _HDB_WLOCK@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x9]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	mov	x21, x0
	cbz	x0, LBB0_4
LBB0_2:
	ldr	x8, [sp, #40]
Lloh9:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh10:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_8
; %bb.3:
	mov	x0, x21
	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
	add	sp, sp, #96
	ret
LBB0_4:
Lloh12:
	adrp	x8, _HDB_DB_FORMAT_ENTRY@GOTPAGE
Lloh13:
	ldr	x8, [x8, _HDB_DB_FORMAT_ENTRY@GOTPAGEOFF]
Lloh14:
	ldr	x21, [x8]
	mov	x0, x21
	bl	_strlen
	mov	x22, x0
Lloh15:
	adrp	x8, _HDB_DB_FORMAT@GOTPAGE
Lloh16:
	ldr	x8, [x8, _HDB_DB_FORMAT@GOTPAGEOFF]
Lloh17:
	ldr	w3, [x8]
Lloh18:
	adrp	x2, l_.str@PAGE
Lloh19:
	add	x2, x2, l_.str@PAGEOFF
	add	x0, sp, #8
	mov	w1, #32
	bl	_snprintf
	add	x0, sp, #8
	bl	_strlen
	add	x6, x0, #1
	ldr	x8, [x20, #8]
	add	x5, sp, #8
	mov	x0, x19
	mov	x1, x20
	mov	w2, #0
	mov	x3, x21
	mov	x4, x22
	blr	x8
	mov	x21, x0
	ldr	x8, [x20, #16]
	mov	x0, x19
	mov	x1, x20
	blr	x8
	cbz	x21, LBB0_7
; %bb.5:
	cbz	x0, LBB0_2
; %bb.6:
	mov	x0, x19
	bl	_krb5_clear_error_message
	b	LBB0_2
LBB0_7:
	mov	x21, x0
	b	LBB0_2
LBB0_8:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_HDB_ERR_NOENTRY,8,3            ; @HDB_ERR_NOENTRY
	.comm	_HDB_WLOCK,4,2                  ; @HDB_WLOCK
	.comm	_HDB_DB_FORMAT_ENTRY,8,3        ; @HDB_DB_FORMAT_ENTRY
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%u"

	.comm	_HDB_DB_FORMAT,4,2              ; @HDB_DB_FORMAT
.subsections_via_symbols
