	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kadm5_free_principal_ent       ## -- Begin function kadm5_free_principal_ent
	.p2align	4, 0x90
_kadm5_free_principal_ent:              ## @kadm5_free_principal_ent
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	%rdi, %r14
	movl	32(%rsi), %esi
	testl	%esi, %esi
	je	LBB0_2
## %bb.1:
	movl	(%r14), %edi
	callq	_krb5_free_principal
LBB0_2:
	movl	28(%r15), %esi
	testl	%esi, %esi
	je	LBB0_4
## %bb.3:
	movl	(%r14), %edi
	callq	_krb5_free_principal
LBB0_4:
	leaq	24(%r15), %rsi
	movq	(%r15), %rdx
	movq	%r14, %rdi
	callq	_kadm5_free_key_data
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	testq	%rax, %rax
	je	LBB0_8
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_5 Depth=1
	movq	16(%rbx), %rcx
	movq	%rcx, 16(%r15)
	decq	%rax
	movq	%rax, 8(%r15)
	movq	(%rbx), %rdi
	movl	8(%rbx), %edx
	xorl	%esi, %esi
	callq	_memset
	movq	(%rbx), %rdi
	callq	_free
	movq	%rbx, %rdi
	callq	_free
	jmp	LBB0_5
LBB0_8:
	movq	(%r15), %rdi
	addq	$8, %rsp
	testq	%rdi, %rdi
	je	LBB0_9
## %bb.10:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_free                           ## TAILCALL
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_kadm5_free_principal_ent       ; -- Begin function kadm5_free_principal_ent
	.p2align	2
_kadm5_free_principal_ent:              ; @kadm5_free_principal_ent
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	w1, [x1, #32]
	cbz	w1, LBB0_2
; %bb.1:
	ldr	w0, [x20]
	bl	_krb5_free_principal
LBB0_2:
	ldr	w1, [x19, #28]
	cbz	w1, LBB0_4
; %bb.3:
	ldr	w0, [x20]
	bl	_krb5_free_principal
LBB0_4:
	add	x1, x19, #24
	ldr	x2, [x19]
	mov	x0, x20
	bl	_kadm5_free_key_data
	ldr	x8, [x19, #8]
	cbz	x8, LBB0_7
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x20, [x19, #16]
	cbz	x20, LBB0_7
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	x9, [x20, #16]
	sub	x8, x8, #1
	stp	x8, x9, [x19, #8]
	ldr	x0, [x20]
	ldr	w2, [x20, #8]
	mov	w1, #0
	bl	_memset
	ldr	x0, [x20]
	bl	_free
	mov	x0, x20
	bl	_free
	ldr	x8, [x19, #8]
	cbnz	x8, LBB0_5
LBB0_7:
	ldr	x0, [x19]
	cbz	x0, LBB0_9
; %bb.8:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_free
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
