	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function get_cred
_get_cred:                              ## @get_cred
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%r9, -80(%rbp)                  ## 8-byte Spill
	movl	%r8d, %r15d
	movq	%rcx, %r12
	movq	%rdx, %r13
	movq	%rsi, %rbx
	movq	(%rdi), %r14
	leaq	-56(%rbp), %rdi
	xorl	%esi, %esi
	movl	$12, %edx
	callq	_memset
	movl	(%r14), %edi
	leaq	-52(%rbp), %rsi
	movq	%r12, %rdx
	movq	%rbx, %rcx
	movq	%r13, %r8
	xorl	%r9d, %r9d
	callq	_krb5_make_principal
	movl	%eax, %ebx
	testl	%eax, %eax
	jne	LBB0_14
## %bb.1:
	movl	(%r14), %edi
	movl	4(%r14), %esi
	leaq	-56(%rbp), %rdx
	callq	_krb5_cc_get_principal
	testl	%eax, %eax
	je	LBB0_3
## %bb.2:
	movl	%eax, %ebx
	movl	(%r14), %edi
	movl	-52(%rbp), %esi
	callq	_krb5_free_principal
	jmp	LBB0_14
LBB0_3:
	movq	_ETYPE_DES_CBC_CRC@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%esi, -48(%rbp)
	movl	(%r14), %edi
	callq	_krb5_enctype_valid
	movl	%eax, -68(%rbp)                 ## 4-byte Spill
	testl	%eax, %eax
	je	LBB0_5
## %bb.4:
	movl	(%r14), %edi
	movl	-48(%rbp), %esi
	callq	_krb5_enctype_enable
LBB0_5:
	movl	(%r14), %edi
	movl	4(%r14), %edx
	xorl	%ebx, %ebx
	leaq	-56(%rbp), %rcx
	leaq	-64(%rbp), %r8
	xorl	%esi, %esi
	callq	_krb5_get_credentials
	testl	%eax, %eax
	je	LBB0_7
## %bb.6:
	movq	_ETYPE_DES_CBC_MD5@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -48(%rbp)
	movl	(%r14), %edi
	movl	4(%r14), %edx
	leaq	-56(%rbp), %rcx
	leaq	-64(%rbp), %r8
	xorl	%esi, %esi
	callq	_krb5_get_credentials
	movl	%eax, %ebx
LBB0_7:
	cmpl	$0, -68(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_9
## %bb.8:
	movl	(%r14), %edi
	movl	-48(%rbp), %esi
	callq	_krb5_enctype_disable
LBB0_9:
	movl	(%r14), %edi
	movl	-52(%rbp), %esi
	callq	_krb5_free_principal
	movl	(%r14), %edi
	movl	-56(%rbp), %esi
	callq	_krb5_free_principal
	testl	%ebx, %ebx
	jne	LBB0_14
## %bb.10:
	movl	(%r14), %edi
	movl	4(%r14), %esi
	movq	-64(%rbp), %rdx
	testq	%r13, %r13
	je	LBB0_12
## %bb.11:
	cmpb	$0, (%r13)
	jne	LBB0_13
LBB0_12:
	movq	%r12, %r13
LBB0_13:
	movl	%r15d, %ecx
	movq	%r13, %r8
	movq	-80(%rbp), %r9                  ## 8-byte Reload
	callq	_v5_convert
	movl	%eax, %ebx
	movl	(%r14), %edi
	movq	-64(%rbp), %rsi
	callq	_krb5_free_creds
LBB0_14:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ETYPE_DES_CBC_CRC,4,2          ## @ETYPE_DES_CBC_CRC
	.comm	_ETYPE_DES_CBC_MD5,4,2          ## @ETYPE_DES_CBC_MD5
	.no_dead_strip	_get_cred
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function get_cred
_get_cred:                              ; @get_cred
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x5
	mov	x20, x4
	mov	x22, x3
	mov	x21, x2
	mov	x23, x1
	ldr	x25, [x0]
	add	x24, sp, #16
	add	x0, sp, #16
	mov	w1, #0
	mov	w2, #12
	bl	_memset
	ldr	w0, [x25]
	orr	x1, x24, #0x4
	mov	x2, x22
	mov	x3, x23
	mov	x4, x21
	mov	x5, #0
	bl	_krb5_make_principal
	mov	x23, x0
	cbnz	w0, LBB0_13
; %bb.1:
	ldp	w0, w1, [x25]
	add	x2, sp, #16
	bl	_krb5_cc_get_principal
	cbz	w0, LBB0_3
; %bb.2:
	mov	x23, x0
	ldr	w0, [x25]
	ldr	w1, [sp, #20]
	bl	_krb5_free_principal
	b	LBB0_13
LBB0_3:
Lloh0:
	adrp	x8, _ETYPE_DES_CBC_CRC@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ETYPE_DES_CBC_CRC@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	str	w1, [sp, #24]
	ldr	w0, [x25]
	bl	_krb5_enctype_valid
	mov	x24, x0
	cbz	w0, LBB0_5
; %bb.4:
	ldr	w0, [x25]
	ldr	w1, [sp, #24]
	bl	_krb5_enctype_enable
LBB0_5:
	ldp	w0, w2, [x25]
	add	x3, sp, #16
	add	x4, sp, #8
	mov	w1, #0
	bl	_krb5_get_credentials
	cbz	w0, LBB0_14
; %bb.6:
Lloh3:
	adrp	x8, _ETYPE_DES_CBC_MD5@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ETYPE_DES_CBC_MD5@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	str	w8, [sp, #24]
	ldp	w0, w2, [x25]
	add	x3, sp, #16
	add	x4, sp, #8
	mov	w1, #0
	bl	_krb5_get_credentials
	mov	x23, x0
	cbz	w24, LBB0_8
LBB0_7:
	ldr	w0, [x25]
	ldr	w1, [sp, #24]
	bl	_krb5_enctype_disable
LBB0_8:
	ldr	w0, [x25]
	ldr	w1, [sp, #20]
	bl	_krb5_free_principal
	ldr	w0, [x25]
	ldr	w1, [sp, #16]
	bl	_krb5_free_principal
	cbnz	w23, LBB0_13
; %bb.9:
	ldp	w0, w1, [x25]
	ldr	x2, [sp, #8]
	cbz	x21, LBB0_11
; %bb.10:
	ldrb	w8, [x21]
	cbnz	w8, LBB0_12
LBB0_11:
	mov	x21, x22
LBB0_12:
	mov	x3, x20
	mov	x4, x21
	mov	x5, x19
	bl	_v5_convert
	mov	x23, x0
	ldr	w0, [x25]
	ldr	x1, [sp, #8]
	bl	_krb5_free_creds
LBB0_13:
	mov	x0, x23
	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
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
LBB0_14:
	mov	w23, #0
	cbnz	w24, LBB0_7
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_ETYPE_DES_CBC_CRC,4,2          ; @ETYPE_DES_CBC_CRC
	.comm	_ETYPE_DES_CBC_MD5,4,2          ; @ETYPE_DES_CBC_MD5
	.no_dead_strip	_get_cred
.subsections_via_symbols
