	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fix_salt
_fix_salt:                              ## @fix_salt
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	8(%rsi), %rax
	movslq	%edx, %rcx
	movq	(%rax,%rcx,8), %r12
	movl	(%r12), %eax
	addl	$-128, %eax
	cmpl	$5, %eax
	ja	LBB0_14
## %bb.1:
	movq	%rsi, %r14
	movq	_KRB5_PADATA_PW_SALT@GOTPCREL(%rip), %rbx
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_15:
	leaq	8(%r12), %rdi
	callq	_krb5_data_free
	jmp	LBB0_16
LBB0_11:
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_krb5_data_free
	movq	(%r14), %rax
	movl	(%rax), %r14d
	movl	%r14d, %edi
	callq	_strlen
	movq	%r15, %rdi
	movl	%r14d, %esi
	movq	%rax, %rdx
	callq	_krb5_data_copy
	testl	%eax, %eax
	jne	LBB0_17
	jmp	LBB0_16
LBB0_2:
	movq	(%r14), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_3
## %bb.4:
	xorl	%ebx, %ebx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rax), %rax
	movl	(%rax,%rbx,4), %edi
	callq	_strlen
	addq	%rax, %r13
	incq	%rbx
	movq	(%r14), %rax
	cmpq	8(%rax), %rbx
	jb	LBB0_5
	jmp	LBB0_6
LBB0_12:
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	callq	_krb5_data_free
	movq	(%r14), %rax
	movl	(%rax), %ebx
	movl	%ebx, %edi
	callq	_strlen
	movq	%r15, %rdi
	movl	%ebx, %esi
	movq	%rax, %rdx
	callq	_krb5_data_copy
	testl	%eax, %eax
	jne	LBB0_17
## %bb.13:
	movq	_KRB5_PADATA_AFS3_SALT@GOTPCREL(%rip), %rbx
	jmp	LBB0_16
LBB0_3:
	xorl	%r13d, %r13d
LBB0_6:
	leaq	8(%r12), %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	callq	_krb5_data_alloc
	testl	%eax, %eax
	movq	_KRB5_PADATA_PW_SALT@GOTPCREL(%rip), %rbx
	jne	LBB0_17
## %bb.7:
	movq	(%r14), %rax
	cmpq	$0, 8(%rax)
	je	LBB0_16
## %bb.8:
	movq	(%r15), %rbx
	xorl	%r13d, %r13d
	.p2align	4, 0x90
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%rax), %rax
	movl	(%rax,%r13,4), %r15d
	movl	%r15d, %edi
	callq	_strlen
	movq	%rbx, %rdi
	movl	%r15d, %esi
	movq	%rax, %rdx
	callq	_memcpy
	movq	(%r14), %rax
	movq	16(%rax), %rax
	movl	(%rax,%r13,4), %edi
	callq	_strlen
	addq	%rax, %rbx
	incq	%r13
	movq	(%r14), %rax
	cmpq	8(%rax), %r13
	jb	LBB0_9
## %bb.10:
	movq	_KRB5_PADATA_PW_SALT@GOTPCREL(%rip), %rbx
LBB0_16:
	movq	(%rbx), %rax
	movq	%rax, (%r12)
	xorl	%eax, %eax
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_14:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_15, LBB0_15-LJTI0_0
.set L0_0_set_16, LBB0_16-LJTI0_0
.set L0_0_set_11, LBB0_11-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
.set L0_0_set_12, LBB0_12-LJTI0_0
LJTI0_0:
	.long	L0_0_set_15
	.long	L0_0_set_16
	.long	L0_0_set_11
	.long	L0_0_set_16
	.long	L0_0_set_2
	.long	L0_0_set_12
	.end_data_region
                                        ## -- End function
	.comm	_KRB5_PADATA_PW_SALT,8,3        ## @KRB5_PADATA_PW_SALT
	.comm	_KRB5_PADATA_AFS3_SALT,8,3      ## @KRB5_PADATA_AFS3_SALT
	.no_dead_strip	_fix_salt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fix_salt
_fix_salt:                              ; @fix_salt
	.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
	ldr	x8, [x1, #8]
	ldr	x22, [x8, w2, sxtw #3]
	ldr	w8, [x22]
	sub	w8, w8, #128
	cmp	w8, #5
	b.hi	LBB0_17
; %bb.1:
	mov	x19, x1
Lloh0:
	adrp	x23, _KRB5_PADATA_PW_SALT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _KRB5_PADATA_PW_SALT@GOTPAGEOFF]
Lloh2:
	adrp	x9, lJTI0_0@PAGE
Lloh3:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	add	x0, x22, #8
	bl	_krb5_data_free
	b	LBB0_14
LBB0_3:
	add	x20, x22, #8
	mov	x0, x20
	bl	_krb5_data_free
	ldr	x8, [x19]
	ldr	w19, [x8]
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_krb5_data_copy
	cbnz	w0, LBB0_16
	b	LBB0_14
LBB0_4:
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_9
; %bb.5:
	mov	x21, #0
	mov	x20, #0
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #16]
	ldr	w0, [x8, x21, lsl #2]
	bl	_strlen
	add	x20, x0, x20
	add	x21, x21, #1
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	cmp	x21, x9
	b.lo	LBB0_6
	b	LBB0_10
LBB0_7:
	add	x20, x22, #8
	mov	x0, x20
	bl	_krb5_data_free
	ldr	x8, [x19]
	ldr	w19, [x8]
	mov	x0, x19
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x19
	bl	_krb5_data_copy
	cbnz	w0, LBB0_16
; %bb.8:
Lloh4:
	adrp	x23, _KRB5_PADATA_AFS3_SALT@GOTPAGE
Lloh5:
	ldr	x23, [x23, _KRB5_PADATA_AFS3_SALT@GOTPAGEOFF]
	b	LBB0_15
LBB0_9:
	mov	x20, #0
LBB0_10:
	add	x21, x22, #8
	mov	x0, x21
	mov	x1, x20
	bl	_krb5_data_alloc
	cbnz	w0, LBB0_16
; %bb.11:
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	cbz	x9, LBB0_14
; %bb.12:
	mov	x24, #0
	ldr	x20, [x21]
Lloh6:
	adrp	x23, _KRB5_PADATA_PW_SALT@GOTPAGE
Lloh7:
	ldr	x23, [x23, _KRB5_PADATA_PW_SALT@GOTPAGEOFF]
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x8, #16]
	lsl	x25, x24, #2
	ldr	w21, [x8, x25]
	mov	x0, x21
	bl	_strlen
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	bl	_memcpy
	ldr	x8, [x19]
	ldr	x8, [x8, #16]
	ldr	w0, [x8, x25]
	bl	_strlen
	add	x20, x20, x0
	add	x24, x24, #1
	ldr	x8, [x19]
	ldr	x9, [x8, #8]
	cmp	x24, x9
	b.lo	LBB0_13
	b	LBB0_15
LBB0_14:
Lloh8:
	adrp	x23, _KRB5_PADATA_PW_SALT@GOTPAGE
Lloh9:
	ldr	x23, [x23, _KRB5_PADATA_PW_SALT@GOTPAGEOFF]
LBB0_15:
	mov	w0, #0
	ldr	x8, [x23]
	str	x8, [x22]
LBB0_16:
	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_17:
	bl	_abort
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_3-LBB0_2)>>2
	.byte	(LBB0_15-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_KRB5_PADATA_PW_SALT,8,3        ; @KRB5_PADATA_PW_SALT
	.comm	_KRB5_PADATA_AFS3_SALT,8,3      ; @KRB5_PADATA_AFS3_SALT
	.no_dead_strip	_fix_salt
.subsections_via_symbols
