	.file	"extr_rpc.c_proc_delete_principal.c"
	.intel_syntax noprefix
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"delete principal"
	.text
	.p2align 4
	.type	proc_delete_principal, @function
proc_delete_principal:
.LFB0:
	.cfi_startproc
	endbr64
	push	r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	mov	r12, rdx
	push	rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	mov	rbp, rsi
	push	rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	mov	rbx, rdi
	mov	rdi, rbp
	sub	rsp, 32
	.cfi_def_cfa_offset 64
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR 24[rsp], rax
	xor	eax, eax
	lea	rsi, 16[rsp]
	call	krb5_ret_uint32@PLT
	mov	edi, eax
	call	CHECK@PLT
	mov	rax, QWORD PTR VERSION2[rip]
	xor	edi, edi
	cmp	QWORD PTR 16[rsp], rax
	sete	dil
	call	INSIST@PLT
	mov	edi, DWORD PTR [rbx]
	mov	rsi, rbp
	lea	rdx, 12[rsp]
	call	ret_principal_xdr@PLT
	mov	edi, eax
	call	CHECK@PLT
	mov	edx, DWORD PTR 12[rsp]
	mov	esi, DWORD PTR KADM5_PRIV_DELETE[rip]
	mov	rdi, rbx
	call	_kadm5_acl_check_permission@PLT
	mov	rbp, rax
	test	rax, rax
	jne	.L2
	mov	esi, DWORD PTR 12[rsp]
	mov	rdi, rbx
	call	kadm5_delete_principal@PLT
	mov	rbp, rax
.L2:
	mov	edi, DWORD PTR [rbx]
	lea	rdx, .LC0[rip]
	mov	rsi, rbp
	call	krb5_warn@PLT
	mov	rsi, QWORD PTR VERSION2[rip]
	mov	rdi, r12
	call	krb5_store_uint32@PLT
	mov	edi, eax
	call	CHECK@PLT
	mov	rsi, rbp
	mov	rdi, r12
	call	krb5_store_uint32@PLT
	mov	edi, eax
	call	CHECK@PLT
	mov	esi, DWORD PTR 12[rsp]
	mov	edi, DWORD PTR [rbx]
	call	krb5_free_principal@PLT
	mov	rax, QWORD PTR 24[rsp]
	xor	rax, QWORD PTR fs:40
	jne	.L7
	add	rsp, 32
	.cfi_remember_state
	.cfi_def_cfa_offset 32
	pop	rbx
	.cfi_def_cfa_offset 24
	pop	rbp
	.cfi_def_cfa_offset 16
	pop	r12
	.cfi_def_cfa_offset 8
	ret
.L7:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE0:
	.size	proc_delete_principal, .-proc_delete_principal
	.comm	VERSION2,8,8
	.comm	KADM5_PRIV_DELETE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 2
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"extr_rpc.c_proc_delete_principal.c"
	.text
	.section	.rodata.str1.4,"aMS",%progbits,1
	.align	2
.LC0:
	.ascii	"delete principal\000"
	.section	.rodata.cst4,"aM",%progbits,4
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	proc_delete_principal, %function
proc_delete_principal:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 0, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, lr}
	ldr	r3, .L7
	sub	sp, sp, #20
	mov	r5, r1
	mov	r4, r0
	ldr	r7, .L7+4
	mov	r0, r1
	add	r1, sp, #4
	mov	r6, r2
	ldr	r3, [r3]
	str	r3, [sp, #12]
	mov	r3,#0
	bl	krb5_ret_uint32
	bl	CHECK
	ldr	r3, [r7]
	ldr	r0, [sp, #4]
	sub	r0, r0, r3
	clz	r0, r0
	lsr	r0, r0, #5
	bl	INSIST
	mov	r1, r5
	add	r2, sp, #8
	ldr	r0, [r4]
	bl	ret_principal_xdr
	bl	CHECK
	ldr	r3, .L7+8
	mov	r0, r4
	ldr	r1, [r3]
	ldr	r2, [sp, #8]
	bl	_kadm5_acl_check_permission
	subs	r5, r0, #0
	bne	.L2
	mov	r0, r4
	ldr	r1, [sp, #8]
	bl	kadm5_delete_principal
	mov	r5, r0
.L2:
	ldr	r2, .L7+12
	mov	r1, r5
	ldr	r0, [r4]
	bl	krb5_warn
	ldr	r1, [r7]
	mov	r0, r6
	bl	krb5_store_uint32
	bl	CHECK
	mov	r1, r5
	mov	r0, r6
	bl	krb5_store_uint32
	bl	CHECK
	ldr	r0, [r4]
	ldr	r1, [sp, #8]
	bl	krb5_free_principal
	ldr	r3, .L7
	ldr	r2, [r3]
	ldr	r3, [sp, #12]
	eors	r2, r3, r2
	mov	r3, #0
	bne	.L6
	add	sp, sp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, pc}
.L6:
	bl	__stack_chk_fail
.L8:
	.align	2
.L7:
	.word	.LC1
	.word	VERSION2
	.word	KADM5_PRIV_DELETE
	.word	.LC0
	.size	proc_delete_principal, .-proc_delete_principal
	.comm	VERSION2,4,4
	.comm	KADM5_PRIV_DELETE,4,4
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
