	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hdb_store                     ## -- Begin function _hdb_store
	.p2align	4, 0x90
__hdb_store:                            ## @_hdb_store
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r13
	movl	%edx, %r15d
	movq	%rsi, %r12
	movl	%edi, %r14d
	movq	%rcx, %rdx
	callq	_hdb_check_aliases
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.1:
	movq	8(%r13), %rax
	testq	%rax, %rax
	je	LBB0_2
## %bb.5:
	incq	(%rax)
	jmp	LBB0_6
LBB0_2:
	movl	$16, %edi
	callq	_malloc
	movq	%rax, 8(%r13)
	testq	%rax, %rax
	je	LBB0_3
## %bb.4:
	leaq	-48(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	movl	-44(%rbp), %eax
	movq	8(%r13), %rcx
	movl	%eax, 12(%rcx)
	movl	-48(%rbp), %eax
	movl	%eax, 8(%rcx)
	movq	$0, (%rcx)
LBB0_6:
	movl	%r14d, %edi
	movq	%r12, %rsi
	movq	%r13, %rdx
	callq	_hdb_seal_keys
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_11
## %bb.7:
	movl	(%r13), %esi
	leaq	-48(%rbp), %rbx
	movl	%r14d, %edi
	movq	%rbx, %rdx
	callq	_hdb_principal2key
	movl	%r14d, %edi
	movq	%r12, %rsi
	movq	%rbx, %rdx
	callq	_hdb_remove_aliases
	testl	%eax, %eax
	je	LBB0_9
## %bb.8:
	movl	%eax, %ebx
	leaq	-48(%rbp), %rdi
	callq	_krb5_data_free
	jmp	LBB0_11
LBB0_3:
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	movl	(%rbx), %esi
	leaq	L_.str(%rip), %rdx
	movl	%r14d, %edi
	callq	_krb5_set_error_message
	movl	(%rbx), %ebx
	jmp	LBB0_11
LBB0_9:
	leaq	-52(%rbp), %rdx
	movl	%r14d, %edi
	movq	%r13, %rsi
	callq	_hdb_entry2value
	movq	_HDB_F_REPLACE@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	andl	%r15d, %edx
	movl	-48(%rbp), %ecx
	movl	-52(%rbp), %r8d
	movl	%r14d, %edi
	movq	%r12, %rsi
	callq	*(%r12)
	movl	%eax, %ebx
	leaq	-52(%rbp), %rdi
	callq	_krb5_data_free
	leaq	-48(%rbp), %rdi
	callq	_krb5_data_free
	testl	%ebx, %ebx
	jne	LBB0_11
## %bb.10:
	movl	%r14d, %edi
	movq	%r12, %rsi
	movl	%r15d, %edx
	movq	%r13, %rcx
	callq	_hdb_add_aliases
	movl	%eax, %ebx
LBB0_11:
	movl	%ebx, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"malloc: out of memory"

	.comm	_HDB_F_REPLACE,4,2              ## @HDB_F_REPLACE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__hdb_store                     ; -- Begin function _hdb_store
	.p2align	2
__hdb_store:                            ; @_hdb_store
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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, x3
	mov	x21, x2
	mov	x22, x1
	mov	x20, x0
	mov	x2, x3
	bl	_hdb_check_aliases
	mov	x23, x0
	cbnz	w0, LBB0_11
; %bb.1:
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_3
; %bb.2:
	ldr	x9, [x8]
	add	x9, x9, #1
	str	x9, [x8]
	b	LBB0_5
LBB0_3:
	mov	w0, #16
	bl	_malloc
	str	x0, [x19, #8]
	cbz	x0, LBB0_8
; %bb.4:
	mov	x0, sp
	mov	x1, #0
	bl	_gettimeofday
	ldr	x8, [x19, #8]
	ldr	d0, [sp]
	str	d0, [x8, #8]
	str	xzr, [x8]
LBB0_5:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x19
	bl	_hdb_seal_keys
	mov	x23, x0
	cbnz	w0, LBB0_11
; %bb.6:
	ldr	w1, [x19]
	mov	x2, sp
	mov	x0, x20
	bl	_hdb_principal2key
	mov	x2, sp
	mov	x0, x20
	mov	x1, x22
	bl	_hdb_remove_aliases
	cbz	w0, LBB0_9
; %bb.7:
	mov	x23, x0
	mov	x0, sp
	bl	_krb5_data_free
	b	LBB0_11
LBB0_8:
Lloh0:
	adrp	x19, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x19, [x19, _ENOMEM@GOTPAGEOFF]
	ldr	w1, [x19]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x0, x20
	bl	_krb5_set_error_message
	ldr	w23, [x19]
	b	LBB0_11
LBB0_9:
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_hdb_entry2value
	ldr	x8, [x22]
Lloh4:
	adrp	x9, _HDB_F_REPLACE@GOTPAGE
Lloh5:
	ldr	x9, [x9, _HDB_F_REPLACE@GOTPAGEOFF]
Lloh6:
	ldr	w9, [x9]
	and	w2, w9, w21
	ldr	w3, [sp]
	ldr	w4, [sp, #12]
	mov	x0, x20
	mov	x1, x22
	blr	x8
	mov	x23, x0
	add	x0, sp, #12
	bl	_krb5_data_free
	mov	x0, sp
	bl	_krb5_data_free
	cbnz	w23, LBB0_11
; %bb.10:
	mov	x0, x20
	mov	x1, x22
	mov	x2, x21
	mov	x3, x19
	bl	_hdb_add_aliases
	mov	x23, x0
LBB0_11:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"malloc: out of memory"

	.comm	_HDB_F_REPLACE,4,2              ; @HDB_F_REPLACE
.subsections_via_symbols
