	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function hdb_add_aliases
_hdb_add_aliases:                       ## @hdb_add_aliases
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, -56(%rbp)                 ## 4-byte Spill
	movq	%rsi, -80(%rbp)                 ## 8-byte Spill
	movl	%edi, %r14d
	leaq	-72(%rbp), %rsi
	movq	%rcx, -88(%rbp)                 ## 8-byte Spill
	movq	%rcx, %rdi
	callq	_hdb_entry_get_aliases
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_11
## %bb.1:
	movq	-72(%rbp), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.2:
	cmpq	$0, (%rax)
	je	LBB0_8
## %bb.3:
	leaq	-44(%rbp), %r15
	leaq	-60(%rbp), %r12
	xorl	%edx, %edx
	xorl	%r13d, %r13d
	movl	%r14d, -52(%rbp)                ## 4-byte Spill
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	-88(%rbp), %rcx                 ## 8-byte Reload
	movl	(%rcx), %ecx
	movl	%ecx, -48(%rbp)
	movq	8(%rax), %rsi
	movq	%rdx, -96(%rbp)                 ## 8-byte Spill
	addq	%rdx, %rsi
	movl	%r14d, %edi
	movq	%r15, %rdx
	callq	_hdb_principal2key
	movl	%r14d, %edi
	leaq	-48(%rbp), %rsi
	movq	%r12, %rdx
	callq	_hdb_entry_alias2value
	testq	%rax, %rax
	jne	LBB0_9
## %bb.5:                               ##   in Loop: Header=BB0_4 Depth=1
	movl	-44(%rbp), %ecx
	movl	-60(%rbp), %r8d
	movl	%r14d, %edi
	movq	-80(%rbp), %rsi                 ## 8-byte Reload
	movl	-56(%rbp), %edx                 ## 4-byte Reload
	callq	*(%rsi)
	movq	%rax, %r14
	movq	%r15, %rdi
	callq	_krb5_data_free
	movq	%r12, %rbx
	movq	%r12, %rdi
	callq	_krb5_data_free
	testq	%r14, %r14
	jne	LBB0_10
## %bb.6:                               ##   in Loop: Header=BB0_4 Depth=1
	incq	%r13
	movq	-72(%rbp), %rax
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	addq	$4, %rdx
	cmpq	(%rax), %r13
	movl	-52(%rbp), %r14d                ## 4-byte Reload
	movq	%rbx, %r12
	jb	LBB0_4
LBB0_8:
	xorl	%ebx, %ebx
	jmp	LBB0_11
LBB0_9:
	movq	%rax, %rbx
	leaq	-44(%rbp), %rdi
	callq	_krb5_data_free
	jmp	LBB0_11
LBB0_10:
	movq	%r14, %rbx
LBB0_11:
	movq	%rbx, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_hdb_add_aliases
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function hdb_add_aliases
_hdb_add_aliases:                       ; @hdb_add_aliases
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x1, sp, #24
	mov	x0, x3
	bl	_hdb_entry_get_aliases
	mov	x23, x0
	cbnz	x0, LBB0_9
; %bb.1:
	ldr	x8, [sp, #24]
	cbz	x8, LBB0_9
; %bb.2:
	ldr	x9, [x8]
	cbz	x9, LBB0_7
; %bb.3:
	mov	x24, #0
	mov	x25, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w9, [x19]
	str	w9, [sp, #8]
	ldr	x8, [x8, #8]
	add	x1, x8, x24
	add	x2, sp, #20
	mov	x0, x22
	bl	_hdb_principal2key
	add	x1, sp, #8
	add	x2, sp, #16
	mov	x0, x22
	bl	_hdb_entry_alias2value
	cbnz	x0, LBB0_8
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	x8, [x21]
	ldp	w4, w3, [sp, #16]
	mov	x0, x22
	mov	x1, x21
	mov	x2, x20
	blr	x8
	mov	x23, x0
	add	x0, sp, #20
	bl	_krb5_data_free
	add	x0, sp, #16
	bl	_krb5_data_free
	cbnz	x23, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	add	x25, x25, #1
	ldr	x8, [sp, #24]
	ldr	x9, [x8]
	add	x24, x24, #4
	cmp	x25, x9
	b.lo	LBB0_4
LBB0_7:
	mov	x23, #0
	b	LBB0_9
LBB0_8:
	mov	x23, x0
	add	x0, sp, #20
	bl	_krb5_data_free
LBB0_9:
	mov	x0, x23
	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
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_hdb_add_aliases
.subsections_via_symbols
