	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function change_entry
_change_entry:                          ## @change_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$104, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, -88(%rbp)                 ## 4-byte Spill
	movq	%r8, %r14
	movq	%rcx, -112(%rbp)                ## 8-byte Spill
	movq	%rdx, %r13
	movl	%esi, %r15d
	movl	%edi, %ebx
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	-48(%rbp), %rdx
	callq	_krb5_unparse_name
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	movq	%rax, %r12
	movq	_context@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str(%rip), %rdx
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_krb5_warn
	jmp	LBB0_24
LBB0_2:
	movl	-88(%rbp), %r12d                ## 4-byte Reload
	movl	%ebx, -84(%rbp)                 ## 4-byte Spill
	movl	%r15d, -52(%rbp)                ## 4-byte Spill
	leaq	-80(%rbp), %rdi
	xorl	%esi, %esi
	movl	$24, %edx
	callq	_memset
	movq	-112(%rbp), %rdi                ## 8-byte Reload
	testq	%rdi, %rdi
	movq	_context@GOTPCREL(%rip), %r15
	jne	LBB0_4
## %bb.3:
	movl	(%r15), %edi
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_krb5_principal_get_realm
	movq	%rax, %rdi
LBB0_4:
	callq	_strdup
	movq	%rax, -80(%rbp)
	testq	%rax, %rax
	je	LBB0_5
## %bb.7:
	movq	_KADM5_CONFIG_REALM@GOTPCREL(%rip), %rax
	movl	-64(%rbp), %ebx
	orl	(%rax), %ebx
	movl	%ebx, -64(%rbp)
	testq	%r14, %r14
	je	LBB0_11
## %bb.8:
	movq	%r14, %rdi
	callq	_strdup
	movq	%rax, -72(%rbp)
	testq	%rax, %rax
	je	LBB0_9
## %bb.10:
	movq	_KADM5_CONFIG_ADMIN_SERVER@GOTPCREL(%rip), %rax
	orl	(%rax), %ebx
	movl	%ebx, -64(%rbp)
LBB0_11:
	testl	%r12d, %r12d
	je	LBB0_13
## %bb.12:
	movl	%r12d, %edi
	callq	_htons
	movl	%eax, -60(%rbp)
	movq	_KADM5_CONFIG_KADMIND_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, -64(%rbp)
LBB0_13:
	movq	%r15, %rbx
	movl	(%r15), %edi
	movq	-48(%rbp), %rsi
	movq	_keytab_string@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	_KADM5_ADMIN_SERVICE@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	leaq	-104(%rbp), %rax
	leaq	-80(%rbp), %r8
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_kadm5_init_with_skey_ctx
	addq	$16, %rsp
	movq	%rax, %r12
	movq	-72(%rbp), %rdi
	callq	_free
	movq	-80(%rbp), %rdi
	callq	_free
	testq	%r12, %r12
	je	LBB0_16
## %bb.14:
	movl	(%rbx), %edi
	movq	-48(%rbp), %rcx
	leaq	L_.str.2(%rip), %rdx
	jmp	LBB0_15
LBB0_5:
	movq	-48(%rbp), %rdi
	jmp	LBB0_6
LBB0_16:
	movq	-104(%rbp), %rdi
	leaq	-96(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movl	-52(%rbp), %esi                 ## 4-byte Reload
	callq	_kadm5_randkey_principal
	movq	%rax, %r12
	movq	-104(%rbp), %rdi
	callq	_kadm5_destroy
	testq	%r12, %r12
	je	LBB0_18
## %bb.17:
	movl	(%rbx), %edi
	movq	-48(%rbp), %rcx
	leaq	L_.str.3(%rip), %rdx
LBB0_15:
	movq	%r12, %rsi
	xorl	%eax, %eax
	callq	_krb5_warn
	movq	-48(%rbp), %rdi
	callq	_free
	jmp	LBB0_24
LBB0_9:
	movq	-48(%rbp), %rdi
	callq	_free
	movq	-80(%rbp), %rdi
LBB0_6:
	callq	_free
	movl	(%r15), %edi
	movq	_ENOMEM@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	leaq	L_.str.1(%rip), %rdx
	callq	_krb5_set_error_message
	movq	(%rbx), %r12
LBB0_24:
	movq	%r12, %rax
	addq	$104, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_18:
	movq	-48(%rbp), %rdi
	callq	_free
	cmpl	$0, -56(%rbp)
	jle	LBB0_19
## %bb.20:
	incq	%r13
	movq	%r13, %r15
	movq	%rbx, %r13
	xorl	%ebx, %ebx
	xorl	%r14d, %r14d
	jmp	LBB0_21
	.p2align	4, 0x90
LBB0_23:                                ##   in Loop: Header=BB0_21 Depth=1
	movl	(%r13), %edi
	movq	-96(%rbp), %rsi
	addq	%rbx, %rsi
	callq	_krb5_free_keyblock_contents
	incq	%r14
	movslq	-56(%rbp), %rax
	addq	$4, %rbx
	cmpq	%rax, %r14
	jge	LBB0_24
LBB0_21:                                ## =>This Inner Loop Header: Depth=1
	movl	-52(%rbp), %eax                 ## 4-byte Reload
	movl	%eax, -116(%rbp)
	xorl	%edi, %edi
	callq	_time
	movl	%eax, -120(%rbp)
	movq	%r15, -128(%rbp)
	movq	-96(%rbp), %rax
	movl	(%rax,%rbx), %eax
	movl	%eax, -136(%rbp)
	movl	(%r13), %edi
	movl	-84(%rbp), %esi                 ## 4-byte Reload
	leaq	-136(%rbp), %rdx
	callq	_krb5_kt_add_entry
	movq	%rax, %r12
	testq	%rax, %rax
	je	LBB0_23
## %bb.22:                              ##   in Loop: Header=BB0_21 Depth=1
	movl	(%r13), %edi
	movq	%r12, %rsi
	leaq	L_.str.4(%rip), %rdx
	xorl	%eax, %eax
	callq	_krb5_warn
	jmp	LBB0_23
LBB0_19:
	xorl	%r12d, %r12d
	jmp	LBB0_24
	.cfi_endproc
                                        ## -- End function
	.comm	_context,4,2                    ## @context
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_unparse_name"

	.comm	_ENOMEM,8,3                     ## @ENOMEM
L_.str.1:                               ## @.str.1
	.asciz	"malloc failed"

	.comm	_KADM5_CONFIG_REALM,4,2         ## @KADM5_CONFIG_REALM
	.comm	_KADM5_CONFIG_ADMIN_SERVER,4,2  ## @KADM5_CONFIG_ADMIN_SERVER
	.comm	_KADM5_CONFIG_KADMIND_PORT,4,2  ## @KADM5_CONFIG_KADMIND_PORT
	.comm	_keytab_string,4,2              ## @keytab_string
	.comm	_KADM5_ADMIN_SERVICE,4,2        ## @KADM5_ADMIN_SERVICE
L_.str.2:                               ## @.str.2
	.asciz	"kadm5_c_init_with_skey_ctx: %s:"

L_.str.3:                               ## @.str.3
	.asciz	"kadm5_randkey_principal: %s:"

L_.str.4:                               ## @.str.4
	.asciz	"krb5_kt_add_entry"

	.no_dead_strip	_change_entry
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function change_entry
_change_entry:                          ; @change_entry
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #176
	.cfi_def_cfa_offset 176
	stp	x26, x25, [sp, #96]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #112]            ; 16-byte Folded Spill
	stp	x22, x21, [sp, #128]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #144]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #160]            ; 16-byte Folded Spill
	add	x29, sp, #160
	.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	x23, x5
	mov	x24, x4
	mov	x25, x3
	mov	x21, x2
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x26, _context@GOTPAGE
Lloh1:
	ldr	x26, [x26, _context@GOTPAGEOFF]
	ldr	w0, [x26]
	add	x2, sp, #56
	bl	_krb5_unparse_name
	cbz	x0, LBB0_2
; %bb.1:
	mov	x22, x0
	ldr	w0, [x26]
Lloh2:
	adrp	x2, l_.str@PAGE
Lloh3:
	add	x2, x2, l_.str@PAGEOFF
	mov	x1, x22
	bl	_krb5_warn
	b	LBB0_18
LBB0_2:
	add	x0, sp, #72
	mov	w1, #0
	mov	w2, #24
	bl	_memset
	cbnz	x25, LBB0_4
; %bb.3:
	ldr	w0, [x26]
	mov	x1, x19
	bl	_krb5_principal_get_realm
	mov	x25, x0
LBB0_4:
	mov	x0, x25
	bl	_strdup
	str	x0, [sp, #72]
	cbz	x0, LBB0_12
; %bb.5:
Lloh4:
	adrp	x8, _KADM5_CONFIG_REALM@GOTPAGE
Lloh5:
	ldr	x8, [x8, _KADM5_CONFIG_REALM@GOTPAGEOFF]
Lloh6:
	ldr	w8, [x8]
	ldr	w9, [sp, #88]
	orr	w22, w9, w8
	str	w22, [sp, #88]
	cbz	x24, LBB0_8
; %bb.6:
	mov	x0, x24
	bl	_strdup
	str	x0, [sp, #80]
	cbz	x0, LBB0_16
; %bb.7:
Lloh7:
	adrp	x8, _KADM5_CONFIG_ADMIN_SERVER@GOTPAGE
Lloh8:
	ldr	x8, [x8, _KADM5_CONFIG_ADMIN_SERVER@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
	orr	w8, w8, w22
	str	w8, [sp, #88]
LBB0_8:
	cbz	w23, LBB0_10
; %bb.9:
	mov	x0, x23
	bl	_htons
Lloh10:
	adrp	x8, _KADM5_CONFIG_KADMIND_PORT@GOTPAGE
Lloh11:
	ldr	x8, [x8, _KADM5_CONFIG_KADMIND_PORT@GOTPAGEOFF]
Lloh12:
	ldr	w8, [x8]
	ldr	w9, [sp, #88]
	orr	w8, w9, w8
	stp	w8, w0, [sp, #88]
LBB0_10:
	ldr	w0, [x26]
	ldr	x1, [sp, #56]
Lloh13:
	adrp	x8, _keytab_string@GOTPAGE
Lloh14:
	ldr	x8, [x8, _keytab_string@GOTPAGEOFF]
Lloh15:
	ldr	w2, [x8]
Lloh16:
	adrp	x8, _KADM5_ADMIN_SERVICE@GOTPAGE
Lloh17:
	ldr	x8, [x8, _KADM5_ADMIN_SERVICE@GOTPAGEOFF]
Lloh18:
	ldr	w3, [x8]
	add	x4, sp, #72
	add	x7, sp, #64
	mov	w5, #0
	mov	w6, #0
	bl	_kadm5_init_with_skey_ctx
	mov	x22, x0
	ldr	x0, [sp, #80]
	bl	_free
	ldr	x0, [sp, #72]
	bl	_free
	cbz	x22, LBB0_13
; %bb.11:
	ldr	w0, [x26]
	ldr	x8, [sp, #56]
	str	x8, [sp]
Lloh19:
	adrp	x2, l_.str.2@PAGE
Lloh20:
	add	x2, x2, l_.str.2@PAGEOFF
	b	LBB0_15
LBB0_12:
	ldr	x0, [sp, #56]
	b	LBB0_17
LBB0_13:
	ldr	x0, [sp, #64]
	add	x2, sp, #48
	add	x3, sp, #44
	mov	x1, x19
	bl	_kadm5_randkey_principal
	mov	x22, x0
	ldr	x0, [sp, #64]
	bl	_kadm5_destroy
	cbz	x22, LBB0_19
; %bb.14:
	ldr	w0, [x26]
	ldr	x8, [sp, #56]
	str	x8, [sp]
Lloh21:
	adrp	x2, l_.str.3@PAGE
Lloh22:
	add	x2, x2, l_.str.3@PAGEOFF
LBB0_15:
	mov	x1, x22
	bl	_krb5_warn
	ldr	x0, [sp, #56]
	bl	_free
	b	LBB0_18
LBB0_16:
	ldr	x0, [sp, #56]
	bl	_free
	ldr	x0, [sp, #72]
LBB0_17:
	bl	_free
	ldr	w0, [x26]
Lloh23:
	adrp	x19, _ENOMEM@GOTPAGE
Lloh24:
	ldr	x19, [x19, _ENOMEM@GOTPAGEOFF]
	ldr	x1, [x19]
Lloh25:
	adrp	x2, l_.str.1@PAGE
Lloh26:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_krb5_set_error_message
	ldr	x22, [x19]
LBB0_18:
	mov	x0, x22
	ldp	x29, x30, [sp, #160]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #144]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #128]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #112]            ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #96]             ; 16-byte Folded Reload
	add	sp, sp, #176
	ret
LBB0_19:
	ldr	x0, [sp, #56]
	bl	_free
	ldr	w8, [sp, #44]
	cmp	w8, #1
	b.lt	LBB0_24
; %bb.20:
	mov	x23, #0
	mov	x24, #0
	add	x25, x21, #1
Lloh27:
	adrp	x21, l_.str.4@PAGE
Lloh28:
	add	x21, x21, l_.str.4@PAGEOFF
	b	LBB0_22
LBB0_21:                                ;   in Loop: Header=BB0_22 Depth=1
	ldr	w0, [x26]
	ldr	x8, [sp, #48]
	add	x1, x8, x23
	bl	_krb5_free_keyblock_contents
	add	x24, x24, #1
	ldrsw	x8, [sp, #44]
	add	x23, x23, #4
	cmp	x24, x8
	b.ge	LBB0_18
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	str	w19, [sp, #36]
	mov	x0, #0
	bl	_time
	str	w0, [sp, #32]
	str	x25, [sp, #24]
	ldr	x8, [sp, #48]
	ldr	w8, [x8, x23]
	str	w8, [sp, #16]
	ldr	w0, [x26]
	add	x2, sp, #16
	mov	x1, x20
	bl	_krb5_kt_add_entry
	mov	x22, x0
	cbz	x0, LBB0_21
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	w0, [x26]
	mov	x1, x22
	mov	x2, x21
	bl	_krb5_warn
	b	LBB0_21
LBB0_24:
	mov	x22, #0
	b	LBB0_18
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh10, Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGot	Lloh23, Lloh24
	.loh AdrpAdd	Lloh27, Lloh28
	.cfi_endproc
                                        ; -- End function
	.comm	_context,4,2                    ; @context
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_unparse_name"

	.comm	_ENOMEM,8,3                     ; @ENOMEM
l_.str.1:                               ; @.str.1
	.asciz	"malloc failed"

	.comm	_KADM5_CONFIG_REALM,4,2         ; @KADM5_CONFIG_REALM
	.comm	_KADM5_CONFIG_ADMIN_SERVER,4,2  ; @KADM5_CONFIG_ADMIN_SERVER
	.comm	_KADM5_CONFIG_KADMIND_PORT,4,2  ; @KADM5_CONFIG_KADMIND_PORT
	.comm	_keytab_string,4,2              ; @keytab_string
	.comm	_KADM5_ADMIN_SERVICE,4,2        ; @KADM5_ADMIN_SERVICE
l_.str.2:                               ; @.str.2
	.asciz	"kadm5_c_init_with_skey_ctx: %s:"

l_.str.3:                               ; @.str.3
	.asciz	"kadm5_randkey_principal: %s:"

l_.str.4:                               ; @.str.4
	.asciz	"krb5_kt_add_entry"

	.no_dead_strip	_change_entry
.subsections_via_symbols
