	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function ret_string
_ret_string:                            ## @ret_string
	.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
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movq	%rdx, %rbx
	movl	%esi, %r15d
	movq	%rdi, %r12
	leaq	1(%rdx), %rdi
	callq	_malloc
	movq	%rax, (%r14)
	testq	%rax, %rax
	je	LBB0_1
## %bb.2:
	movq	%r12, %rdi
	movq	%rax, %rsi
	movq	%rbx, %rdx
	callq	_krb5_storage_read
	movl	%eax, %edi
	movq	%rbx, %rsi
	callq	_CHECK
	movq	(%r14), %rax
	movb	$0, (%rax,%rbx)
	testl	%r15d, %r15d
	je	LBB0_10
## %bb.3:
	cmpq	$1, %rbx
	ja	LBB0_5
## %bb.4:
	movq	(%r14), %rdi
	xorl	%ebx, %ebx
	jmp	LBB0_9
LBB0_1:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_11
LBB0_5:
	shrq	%rbx
	movq	(%r14), %rdi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movzbl	(%rdi,%rax,2), %ecx
	movb	%cl, (%rdi,%rax)
	movq	(%r14), %rdi
	cmpb	$0, 1(%rdi,%rax,2)
	jne	LBB0_7
## %bb.8:                               ##   in Loop: Header=BB0_6 Depth=1
	incq	%rax
	cmpq	%rax, %rbx
	jne	LBB0_6
LBB0_9:
	movb	$0, (%rdi,%rbx)
LBB0_10:
	xorl	%eax, %eax
LBB0_11:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_7:
	callq	_free
	movq	$0, (%r14)
	movq	_EINVAL@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_EINVAL,8,3                     ## @EINVAL
	.no_dead_strip	_ret_string
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function ret_string
_ret_string:                            ; @ret_string
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x19, x3
	mov	x20, x2
	mov	x21, x1
	mov	x22, x0
	add	x0, x2, #1
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_4
; %bb.1:
	mov	x1, x0
	mov	x0, x22
	mov	x2, x20
	bl	_krb5_storage_read
	mov	x1, x20
	bl	_CHECK
	ldr	x8, [x19]
	strb	wzr, [x8, x20]
	cbz	w21, LBB0_6
; %bb.2:
	cmp	x20, #1
	b.hi	LBB0_7
; %bb.3:
	mov	x9, #0
	ldr	x0, [x19]
	b	LBB0_10
LBB0_4:
Lloh0:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
LBB0_5:
	ldr	x8, [x8]
	b	LBB0_11
LBB0_6:
	mov	x8, #0
	b	LBB0_11
LBB0_7:
	mov	x8, #0
	mov	x10, #0
	lsr	x9, x20, #1
	ldr	x0, [x19]
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldrb	w11, [x0, x8]
	strb	w11, [x0, x10]
	ldr	x0, [x19]
	add	x11, x0, x8
	ldrb	w11, [x11, #1]
	cbnz	w11, LBB0_12
; %bb.9:                                ;   in Loop: Header=BB0_8 Depth=1
	add	x10, x10, #1
	add	x8, x8, #2
	cmp	x9, x10
	b.ne	LBB0_8
LBB0_10:
	mov	x8, #0
	strb	wzr, [x0, x9]
LBB0_11:
	mov	x0, x8
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_12:
	bl	_free
	str	xzr, [x19]
Lloh2:
	adrp	x8, _EINVAL@GOTPAGE
Lloh3:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_EINVAL,8,3                     ; @EINVAL
	.no_dead_strip	_ret_string
.subsections_via_symbols
