	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rename_entry                   ## -- Begin function rename_entry
	.p2align	4, 0x90
_rename_entry:                          ## @rename_entry
	.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	%rdx, %rbx
	movq	_context@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	movq	(%rdx), %rsi
	leaq	-28(%rbp), %rdx
	callq	_krb5_parse_name
	movl	(%r15), %edi
	testq	%rax, %rax
	je	LBB0_3
## %bb.1:
	movq	(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%rax, %rsi
	jmp	LBB0_2
LBB0_3:
	movq	8(%rbx), %rsi
	leaq	-32(%rbp), %rdx
	callq	_krb5_parse_name
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:
	movq	%rax, %r14
	movl	(%r15), %edi
	movl	-28(%rbp), %esi
	callq	_krb5_free_principal
	movl	(%r15), %edi
	movq	8(%rbx), %rcx
	leaq	L_.str(%rip), %rdx
	movq	%r14, %rsi
LBB0_2:
	xorl	%eax, %eax
	callq	_krb5_warn
	movl	$1, %ebx
LBB0_8:
	movl	%ebx, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	movq	_kadm_handle@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movl	-28(%rbp), %esi
	movl	-32(%rbp), %edx
	callq	_kadm5_rename_principal
	movq	%rax, %r14
	testq	%rax, %rax
	je	LBB0_7
## %bb.6:
	movl	(%r15), %edi
	leaq	L_.str.1(%rip), %rdx
	movq	%r14, %rsi
	xorl	%eax, %eax
	callq	_krb5_warn
LBB0_7:
	xorl	%ebx, %ebx
	testq	%r14, %r14
	setne	%bl
	movl	(%r15), %edi
	movl	-28(%rbp), %esi
	callq	_krb5_free_principal
	movl	(%r15), %edi
	movl	-32(%rbp), %esi
	callq	_krb5_free_principal
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_context,4,2                    ## @context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_parse_name(%s)"

	.comm	_kadm_handle,4,2                ## @kadm_handle
L_.str.1:                               ## @.str.1
	.asciz	"rename"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rename_entry                   ; -- Begin function rename_entry
	.p2align	2
_rename_entry:                          ; @rename_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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	x19, x2
Lloh0:
	adrp	x21, _context@GOTPAGE
Lloh1:
	ldr	x21, [x21, _context@GOTPAGEOFF]
	ldr	w0, [x21]
	ldr	x1, [x2]
	add	x2, sp, #12
	bl	_krb5_parse_name
	mov	x1, x0
	ldr	w0, [x21]
	cbz	x1, LBB0_2
; %bb.1:
	ldr	x8, [x19]
	str	x8, [sp]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	b	LBB0_4
LBB0_2:
	ldr	x1, [x19, #8]
	add	x2, sp, #8
	bl	_krb5_parse_name
	cbz	x0, LBB0_6
; %bb.3:
	mov	x20, x0
	ldr	w0, [x21]
	ldr	w1, [sp, #12]
	bl	_krb5_free_principal
	ldr	w0, [x21]
	ldr	x8, [x19, #8]
	str	x8, [sp]
Lloh4:
	adrp	x2, l_.str@PAGE
Lloh5:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x20
LBB0_4:
	bl	_krb5_warn
	mov	w19, #1
LBB0_5:
	mov	x0, x19
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #64
	ret
LBB0_6:
Lloh6:
	adrp	x8, _kadm_handle@GOTPAGE
Lloh7:
	ldr	x8, [x8, _kadm_handle@GOTPAGEOFF]
Lloh8:
	ldr	w0, [x8]
	ldp	w2, w1, [sp, #8]
	bl	_kadm5_rename_principal
	mov	x19, x0
	cbz	x0, LBB0_8
; %bb.7:
	ldr	w0, [x21]
Lloh9:
	adrp	x2, l_.str.1@PAGE
Lloh10:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x1, x19
	bl	_krb5_warn
LBB0_8:
	cmp	x19, #0
	cset	w19, ne
	ldr	w0, [x21]
	ldr	w1, [sp, #12]
	bl	_krb5_free_principal
	ldr	w0, [x21]
	ldr	w1, [sp, #8]
	bl	_krb5_free_principal
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_context,4,2                    ; @context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_parse_name(%s)"

	.comm	_kadm_handle,4,2                ; @kadm_handle
l_.str.1:                               ; @.str.1
	.asciz	"rename"

.subsections_via_symbols
