	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function verify_krb_v5_tgt
_verify_krb_v5_tgt:                     ## @verify_krb_v5_tgt
	.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	$88, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, -84(%rbp)                 ## 4-byte Spill
	movq	%rdx, %r13
                                        ## kill: def $esi killed $esi def $rsi
	movq	%rsi, -128(%rbp)                ## 8-byte Spill
	movl	%edi, %r12d
	movq	%rsp, -96(%rbp)                 ## 8-byte Spill
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_BUFSIZ@GOTPCREL(%rip), %r15
	movl	(%r15), %eax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %rbx
	movq	$0, -112(%rbp)
	leaq	L_.str(%rip), %rdx
	movq	%rdx, -80(%rbp)
	leaq	-72(%rbp), %r14
	movq	%r13, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	$0, -120(%rbp)
	leaq	-88(%rbp), %r13
	.p2align	4, 0x90
LBB0_1:                                 ## =>This Inner Loop Header: Depth=1
	movq	_KRB5_NT_SRV_HST@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movl	%r12d, %edi
	xorl	%esi, %esi
	movq	%r13, %r8
	callq	_krb5_sname_to_principal
	testl	%eax, %eax
	jne	LBB0_6
## %bb.2:                               ##   in Loop: Header=BB0_1 Depth=1
	movl	-88(%rbp), %esi
	movl	%r12d, %edi
	movl	$1, %edx
	callq	_compat_princ_component
	movl	(%r15), %edx
	movq	%rbx, %rdi
	movl	%eax, %esi
	callq	_strncpy
	movslq	(%r15), %rax
	movb	$0, -1(%rax,%rbx)
	movl	-88(%rbp), %edx
	movl	%r12d, %edi
	xorl	%esi, %esi
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	leaq	-120(%rbp), %r9
	callq	_krb5_kt_read_service_key
	testl	%eax, %eax
	je	LBB0_8
## %bb.3:                               ##   in Loop: Header=BB0_1 Depth=1
	movq	(%r14), %rdx
	addq	$8, %r14
	testq	%rdx, %rdx
	jne	LBB0_1
## %bb.4:
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_21
## %bb.5:
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_krb5_get_error_message
	movq	%rax, %r14
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.3(%rip), %rdx
	movq	%r14, %rcx
	callq	_syslog
	xorl	%ebx, %ebx
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_20
LBB0_6:
	movl	$-1, %ebx
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_15
## %bb.7:
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_krb5_get_error_message
	movq	%rax, %r14
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.2(%rip), %rdx
	movq	%r14, %rcx
	callq	_syslog
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_krb5_free_error_message
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_8:
	movq	-120(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.9:
	movl	%r12d, %edi
	callq	_krb5_free_keyblock
LBB0_10:
	movq	$0, -104(%rbp)
	movq	-8(%r14), %rcx
	leaq	-112(%rbp), %rax
	leaq	-104(%rbp), %rsi
	movl	%r12d, %edi
	xorl	%edx, %edx
	movq	%rbx, %r8
	xorl	%r9d, %r9d
	pushq	%rax
	pushq	-128(%rbp)                      ## 8-byte Folded Reload
	callq	_krb5_mk_req
	addq	$16, %rsp
	movl	%eax, %ebx
	movq	-104(%rbp), %rsi
	testq	%rsi, %rsi
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	je	LBB0_12
## %bb.11:
	movl	%r12d, %edi
	callq	_krb5_auth_con_free
	movq	$0, -104(%rbp)
LBB0_12:
	testl	%ebx, %ebx
	je	LBB0_16
## %bb.13:
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.14:
	movl	%r12d, %edi
	movl	%ebx, %esi
	callq	_krb5_get_error_message
	movq	%rax, %r14
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.4(%rip), %rdx
	jmp	LBB0_19
LBB0_15:
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	jmp	LBB0_26
LBB0_16:
	movl	-88(%rbp), %ecx
	subq	$8, %rsp
	leaq	-104(%rbp), %rsi
	leaq	-112(%rbp), %rdx
	movl	%r12d, %edi
	xorl	%r8d, %r8d
	xorl	%r9d, %r9d
	pushq	$0
	callq	_krb5_rd_req
	addq	$16, %rsp
	testl	%eax, %eax
	je	LBB0_23
## %bb.17:
	cmpl	$0, -84(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_22
## %bb.18:
	movl	%r12d, %edi
	movl	%eax, %esi
	callq	_krb5_get_error_message
	movq	%rax, %r14
	movq	_LOG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.1(%rip), %rsi
	leaq	L_.str.5(%rip), %rdx
LBB0_19:
	movq	%r14, %rcx
	callq	_syslog
	movl	$-1, %ebx
LBB0_20:
	movl	%r12d, %edi
	movq	%r14, %rsi
	callq	_krb5_free_error_message
	cmpq	$0, -112(%rbp)
	je	LBB0_25
LBB0_24:
	leaq	-112(%rbp), %rsi
	movl	%r12d, %edi
	callq	_compat_free_data_contents
LBB0_25:
	movl	-88(%rbp), %esi
	movl	%r12d, %edi
	callq	_krb5_free_principal
LBB0_26:
	movq	%r15, %rsp
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_29
## %bb.27:
	movl	%ebx, %eax
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_21:
	xorl	%ebx, %ebx
	movq	-96(%rbp), %r15                 ## 8-byte Reload
	cmpq	$0, -112(%rbp)
	jne	LBB0_24
	jmp	LBB0_25
LBB0_22:
	movl	$-1, %ebx
	cmpq	$0, -112(%rbp)
	jne	LBB0_24
	jmp	LBB0_25
LBB0_23:
	movl	$1, %ebx
	cmpq	$0, -112(%rbp)
	jne	LBB0_24
	jmp	LBB0_25
LBB0_29:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_BUFSIZ,4,2                     ## @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"host"

	.comm	_KRB5_NT_SRV_HST,4,2            ## @KRB5_NT_SRV_HST
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
L_.str.1:                               ## @.str.1
	.asciz	"pam_krb5: verify_krb_v5_tgt(): %s: %s"

L_.str.2:                               ## @.str.2
	.asciz	"krb5_sname_to_principal()"

L_.str.3:                               ## @.str.3
	.asciz	"krb5_kt_read_service_key()"

L_.str.4:                               ## @.str.4
	.asciz	"krb5_mk_req()"

L_.str.5:                               ## @.str.5
	.asciz	"krb5_rd_req()"

	.no_dead_strip	_verify_krb_v5_tgt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function verify_krb_v5_tgt
_verify_krb_v5_tgt:                     ; @verify_krb_v5_tgt
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	sub	sp, sp, #64
	mov	x20, x3
	mov	x8, x2
	mov	x21, x1
	mov	x19, x0
	mov	x23, sp
Lloh0:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	stur	x9, [x29, #-72]
Lloh3:
	adrp	x24, _BUFSIZ@GOTPAGE
Lloh4:
	ldr	x24, [x24, _BUFSIZ@GOTPAGEOFF]
	ldr	w12, [x24]
	mov	x9, x12
Lloh5:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh6:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x9, sp
	add	x10, x12, #15
	and	x10, x10, #0x1fffffff0
	sub	x22, x9, x10
	mov	sp, x22
	stp	xzr, xzr, [x29, #-120]
Lloh7:
	adrp	x2, l_.str@PAGE
Lloh8:
	add	x2, x2, l_.str@PAGEOFF
	sub	x9, x29, #96
	add	x25, x9, #8
	stp	x2, x8, [x29, #-96]
	stur	xzr, [x29, #-80]
Lloh9:
	adrp	x26, _KRB5_NT_SRV_HST@GOTPAGE
Lloh10:
	ldr	x26, [x26, _KRB5_NT_SRV_HST@GOTPAGEOFF]
LBB0_1:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w3, [x26]
	sub	x4, x29, #100
	mov	x0, x19
	mov	x1, #0
	bl	_krb5_sname_to_principal
	cbnz	w0, LBB0_6
; %bb.2:                                ;   in Loop: Header=BB0_1 Depth=1
	ldur	w1, [x29, #-100]
	mov	x0, x19
	mov	w2, #1
	bl	_compat_princ_component
	mov	x1, x0
	ldr	w2, [x24]
	mov	x0, x22
	bl	_strncpy
	ldrsw	x8, [x24]
	add	x8, x8, x22
	sturb	wzr, [x8, #-1]
	ldur	w2, [x29, #-100]
	sub	x5, x29, #112
	mov	x0, x19
	mov	x1, #0
	mov	w3, #0
	mov	w4, #0
	bl	_krb5_kt_read_service_key
	cbz	w0, LBB0_8
; %bb.3:                                ;   in Loop: Header=BB0_1 Depth=1
	ldr	x2, [x25], #8
	cbnz	x2, LBB0_1
; %bb.4:
	cbz	w20, LBB0_22
; %bb.5:
	mov	x1, x0
	mov	x0, x19
	bl	_krb5_get_error_message
	mov	x21, x0
Lloh11:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh12:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh13:
	ldr	w0, [x8]
Lloh14:
	adrp	x1, l_.str.1@PAGE
Lloh15:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh16:
	adrp	x2, l_.str.3@PAGE
Lloh17:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x3, x21
	bl	_syslog
	mov	w20, #0
	b	LBB0_20
LBB0_6:
	cbz	w20, LBB0_15
; %bb.7:
	mov	x1, x0
	mov	x0, x19
	bl	_krb5_get_error_message
	mov	x20, x0
Lloh18:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh19:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh20:
	ldr	w0, [x8]
Lloh21:
	adrp	x1, l_.str.1@PAGE
Lloh22:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh23:
	adrp	x2, l_.str.2@PAGE
Lloh24:
	add	x2, x2, l_.str.2@PAGEOFF
	mov	x3, x20
	bl	_syslog
	mov	x0, x19
	mov	x1, x20
	bl	_krb5_free_error_message
	mov	w20, #-1
	b	LBB0_25
LBB0_8:
	ldur	x1, [x29, #-112]
	cbz	x1, LBB0_10
; %bb.9:
	mov	x0, x19
	bl	_krb5_free_keyblock
LBB0_10:
	stur	xzr, [x29, #-128]
	ldur	x3, [x25, #-8]
	sub	x1, x29, #128
	sub	x7, x29, #120
	mov	x0, x19
	mov	w2, #0
	mov	x4, x22
	mov	x5, #0
	mov	x6, x21
	bl	_krb5_mk_req
	mov	x21, x0
	ldur	x1, [x29, #-128]
	cbz	x1, LBB0_12
; %bb.11:
	mov	x0, x19
	bl	_krb5_auth_con_free
	stur	xzr, [x29, #-128]
LBB0_12:
	cbz	w21, LBB0_16
; %bb.13:
	cbz	w20, LBB0_21
; %bb.14:
	mov	x0, x19
	mov	x1, x21
	bl	_krb5_get_error_message
	mov	x21, x0
Lloh25:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh26:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh27:
	ldr	w0, [x8]
Lloh28:
	adrp	x1, l_.str.1@PAGE
Lloh29:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh30:
	adrp	x2, l_.str.4@PAGE
Lloh31:
	add	x2, x2, l_.str.4@PAGEOFF
	b	LBB0_19
LBB0_15:
	mov	w20, #-1
	b	LBB0_25
LBB0_16:
	ldur	w3, [x29, #-100]
	sub	x1, x29, #128
	sub	x2, x29, #120
	mov	x0, x19
	mov	x4, #0
	mov	x5, #0
	mov	x6, #0
	bl	_krb5_rd_req
	cbz	w0, LBB0_27
; %bb.17:
	cbz	w20, LBB0_21
; %bb.18:
	mov	x1, x0
	mov	x0, x19
	bl	_krb5_get_error_message
	mov	x21, x0
Lloh32:
	adrp	x8, _LOG_DEBUG@GOTPAGE
Lloh33:
	ldr	x8, [x8, _LOG_DEBUG@GOTPAGEOFF]
Lloh34:
	ldr	w0, [x8]
Lloh35:
	adrp	x1, l_.str.1@PAGE
Lloh36:
	add	x1, x1, l_.str.1@PAGEOFF
Lloh37:
	adrp	x2, l_.str.5@PAGE
Lloh38:
	add	x2, x2, l_.str.5@PAGEOFF
LBB0_19:
	mov	x3, x21
	bl	_syslog
	mov	w20, #-1
LBB0_20:
	mov	x0, x19
	mov	x1, x21
	bl	_krb5_free_error_message
	ldur	x8, [x29, #-120]
	cbnz	x8, LBB0_23
	b	LBB0_24
LBB0_21:
	mov	w20, #-1
LBB0_22:
	ldur	x8, [x29, #-120]
	cbz	x8, LBB0_24
LBB0_23:
	sub	x1, x29, #120
	mov	x0, x19
	bl	_compat_free_data_contents
LBB0_24:
	ldur	w1, [x29, #-100]
	mov	x0, x19
	bl	_krb5_free_principal
LBB0_25:
	mov	sp, x23
	ldur	x8, [x29, #-72]
Lloh39:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh40:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh41:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_28
; %bb.26:
	mov	x0, x20
	sub	sp, x29, #64
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_27:
	mov	w20, #1
	ldur	x8, [x29, #-120]
	cbnz	x8, LBB0_23
	b	LBB0_24
LBB0_28:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpAdd	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.cfi_endproc
                                        ; -- End function
	.comm	_BUFSIZ,4,2                     ; @BUFSIZ
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"host"

	.comm	_KRB5_NT_SRV_HST,4,2            ; @KRB5_NT_SRV_HST
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
l_.str.1:                               ; @.str.1
	.asciz	"pam_krb5: verify_krb_v5_tgt(): %s: %s"

l_.str.2:                               ; @.str.2
	.asciz	"krb5_sname_to_principal()"

l_.str.3:                               ; @.str.3
	.asciz	"krb5_kt_read_service_key()"

l_.str.4:                               ; @.str.4
	.asciz	"krb5_mk_req()"

l_.str.5:                               ; @.str.5
	.asciz	"krb5_rd_req()"

	.no_dead_strip	_verify_krb_v5_tgt
.subsections_via_symbols
