	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function handle_v5
_handle_v5:                             ## @handle_v5
	.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	%r12
	pushq	%rbx
	subq	$64, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%esi, %eax
	movl	%edi, %r15d
	movl	%edx, -36(%rbp)
	movq	$0, -48(%rbp)
	movq	_match_appl_version@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	movq	_KRB5_RECVAUTH_IGNORE_VERSION@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	subq	$8, %rsp
	leaq	-72(%rbp), %r10
	leaq	-48(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	leaq	-76(%rbp), %r8
	xorl	%r9d, %r9d
	pushq	%r10
	pushq	%rax
	pushq	%rbx
	callq	_krb5_recvauth_match_version
	addq	$32, %rsp
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	movl	%r15d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_2:
	movq	-72(%rbp), %rax
	movl	8(%rax), %esi
	leaq	-64(%rbp), %rdx
	movl	%r15d, %edi
	callq	_krb5_unparse_name
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rcx
	movl	%r15d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_4:
	movq	-64(%rbp), %r14
	movq	_KADM5_ADMIN_SERVICE@GOTPCREL(%rip), %r12
	movl	(%r12), %ebx
	movl	%ebx, %edi
	callq	_strlen
	movq	%r14, %rdi
	movl	%ebx, %esi
	movl	%eax, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:
	movq	-64(%rbp), %rcx
	leaq	L_.str.2(%rip), %rdx
	movl	%r15d, %edi
	movl	$1, %esi
	callq	_krb5_errx
LBB0_6:
	movq	-64(%rbp), %rdi
	callq	_free
	leaq	-40(%rbp), %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	cmpl	$1, -76(%rbp)
	jne	LBB0_10
## %bb.7:
	movq	-48(%rbp), %rsi
	leaq	-36(%rbp), %rdx
	leaq	-56(%rbp), %rcx
	movl	%r15d, %edi
	callq	_krb5_read_priv_message
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.3(%rip), %rcx
	movl	%r15d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_9:
	leaq	-56(%rbp), %rsi
	leaq	-40(%rbp), %rdx
	movl	%r15d, %edi
	callq	__kadm5_unmarshal_params
LBB0_10:
	movq	-72(%rbp), %rax
	movl	(%rax), %esi
	movl	4(%rax), %r14d
	leaq	-56(%rbp), %rdx
	movl	%r15d, %edi
	callq	_krb5_unparse_name
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	leaq	L_.str.1(%rip), %rcx
	movl	%r15d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_12:
	movq	-72(%rbp), %rsi
	movl	%r15d, %edi
	callq	_krb5_free_ticket
	movq	-56(%rbp), %rsi
	movl	(%r12), %ecx
	leaq	-88(%rbp), %rax
	leaq	-40(%rbp), %r8
	movl	%r15d, %edi
	xorl	%edx, %edx
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	$0
	callq	_kadm5_s_init_with_password_ctx
	addq	$16, %rsp
	testq	%rax, %rax
	je	LBB0_14
## %bb.13:
	leaq	L_.str.4(%rip), %rcx
	movl	%r15d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_14:
	movq	-48(%rbp), %rsi
	movq	-88(%rbp), %rcx
	movl	-36(%rbp), %r8d
	movl	%r15d, %edi
	movl	%r14d, %edx
	callq	_v5_loop
	addq	$64, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_match_appl_version,4,2         ## @match_appl_version
	.comm	_KRB5_RECVAUTH_IGNORE_VERSION,4,2 ## @KRB5_RECVAUTH_IGNORE_VERSION
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_recvauth"

L_.str.1:                               ## @.str.1
	.asciz	"krb5_unparse_name"

	.comm	_KADM5_ADMIN_SERVICE,4,2        ## @KADM5_ADMIN_SERVICE
L_.str.2:                               ## @.str.2
	.asciz	"ticket for strange principal (%s)"

L_.str.3:                               ## @.str.3
	.asciz	"krb5_read_priv_message"

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

	.no_dead_strip	_handle_v5
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function handle_v5
_handle_v5:                             ; @handle_v5
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	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
	mov	x7, x1
	mov	x19, x0
	stur	w2, [x29, #-36]
	str	xzr, [sp, #16]
Lloh0:
	adrp	x8, _match_appl_version@GOTPAGE
Lloh1:
	ldr	x8, [x8, _match_appl_version@GOTPAGEOFF]
Lloh2:
	ldr	w3, [x8]
Lloh3:
	adrp	x8, _KRB5_RECVAUTH_IGNORE_VERSION@GOTPAGE
Lloh4:
	ldr	x8, [x8, _KRB5_RECVAUTH_IGNORE_VERSION@GOTPAGEOFF]
Lloh5:
	ldr	w6, [x8]
	add	x8, sp, #48
	str	x8, [sp]
	add	x1, sp, #16
	sub	x2, x29, #36
	add	x4, sp, #12
	mov	x5, #0
	bl	_krb5_recvauth_match_version
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh6:
	adrp	x3, l_.str@PAGE
Lloh7:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_2:
	ldr	x8, [sp, #48]
	ldr	w1, [x8, #8]
	add	x2, sp, #40
	mov	x0, x19
	bl	_krb5_unparse_name
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
Lloh8:
	adrp	x3, l_.str.1@PAGE
Lloh9:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_4:
	ldr	x20, [sp, #40]
Lloh10:
	adrp	x22, _KADM5_ADMIN_SERVICE@GOTPAGE
Lloh11:
	ldr	x22, [x22, _KADM5_ADMIN_SERVICE@GOTPAGEOFF]
	ldr	w21, [x22]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_strncmp
	cbz	x0, LBB0_6
; %bb.5:
	ldr	x3, [sp, #40]
Lloh12:
	adrp	x2, l_.str.2@PAGE
Lloh13:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
LBB0_6:
	ldr	x0, [sp, #40]
	bl	_free
	add	x0, sp, #8
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	ldr	w8, [sp, #12]
	cmp	w8, #1
	b.ne	LBB0_10
; %bb.7:
	ldr	x1, [sp, #16]
	sub	x2, x29, #36
	add	x3, sp, #32
	mov	x0, x19
	bl	_krb5_read_priv_message
	cbz	x0, LBB0_9
; %bb.8:
	mov	x2, x0
Lloh14:
	adrp	x3, l_.str.3@PAGE
Lloh15:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_9:
	add	x1, sp, #32
	add	x2, sp, #8
	mov	x0, x19
	bl	__kadm5_unmarshal_params
LBB0_10:
	ldr	x8, [sp, #48]
	ldp	w1, w20, [x8]
	add	x2, sp, #32
	mov	x0, x19
	bl	_krb5_unparse_name
	cbz	x0, LBB0_12
; %bb.11:
	mov	x2, x0
Lloh16:
	adrp	x3, l_.str.1@PAGE
Lloh17:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_12:
	ldr	x1, [sp, #48]
	mov	x0, x19
	bl	_krb5_free_ticket
	ldr	x1, [sp, #32]
	ldr	w3, [x22]
	add	x4, sp, #8
	add	x7, sp, #24
	mov	x0, x19
	mov	x2, #0
	mov	w5, #0
	mov	w6, #0
	bl	_kadm5_s_init_with_password_ctx
	cbz	x0, LBB0_14
; %bb.13:
	mov	x2, x0
Lloh18:
	adrp	x3, l_.str.4@PAGE
Lloh19:
	add	x3, x3, l_.str.4@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_14:
	ldp	x1, x3, [sp, #16]
	ldur	w4, [x29, #-36]
	mov	x0, x19
	mov	x2, x20
	bl	_v5_loop
	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
	add	sp, sp, #112
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.cfi_endproc
                                        ; -- End function
	.comm	_match_appl_version,4,2         ; @match_appl_version
	.comm	_KRB5_RECVAUTH_IGNORE_VERSION,4,2 ; @KRB5_RECVAUTH_IGNORE_VERSION
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_recvauth"

l_.str.1:                               ; @.str.1
	.asciz	"krb5_unparse_name"

	.comm	_KADM5_ADMIN_SERVICE,4,2        ; @KADM5_ADMIN_SERVICE
l_.str.2:                               ; @.str.2
	.asciz	"ticket for strange principal (%s)"

l_.str.3:                               ; @.str.3
	.asciz	"krb5_read_priv_message"

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

	.no_dead_strip	_handle_v5
.subsections_via_symbols
