	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function decode_realms
_decode_realms:                         ## @decode_realms
	.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	%rcx, -56(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movl	%edi, %r14d
	xorl	%esi, %esi
	testl	%edx, %edx
	jle	LBB0_1
## %bb.2:
	movl	%r14d, -44(%rbp)                ## 4-byte Spill
	movl	%edx, %r12d
	leaq	1(%rbx), %r13
	movq	%r12, -72(%rbp)                 ## 8-byte Spill
	movq	%rbx, %r15
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rcx
	jmp	LBB0_3
LBB0_5:                                 ##   in Loop: Header=BB0_3 Depth=1
	movl	$1, %esi
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_3 Depth=1
	incq	%r13
	incq	%r15
	decq	%r12
	je	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movl	%esi, %eax
	xorl	%esi, %esi
	testl	%eax, %eax
	jne	LBB0_12
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movzbl	-1(%r13), %eax
	cmpb	$92, %al
	je	LBB0_5
## %bb.6:                               ##   in Loop: Header=BB0_3 Depth=1
	cmpb	$44, %al
	jne	LBB0_12
## %bb.7:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	%ecx, %ebx
	negl	%ebx
	addq	%r15, %rbx
	movq	%rcx, -64(%rbp)                 ## 8-byte Spill
	leal	1(%rbx), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %r14
	movq	%rax, %rdi
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movl	%ebx, %edx
	callq	_memcpy
	movq	%r14, %rax
	subq	-64(%rbp), %rax                 ## 8-byte Folded Reload
	movb	$0, (%rax,%r15)
	movq	%r14, %rdi
	callq	_make_realm
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_10
## %bb.11:                              ##   in Loop: Header=BB0_3 Depth=1
	movq	%rax, %rsi
	callq	_append_realm
	movq	%rax, (%rbx)
	movq	%r13, %rcx
	xorl	%esi, %esi
	jmp	LBB0_12
LBB0_13:
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	movq	-80(%rbp), %rbx                 ## 8-byte Reload
	movq	-72(%rbp), %rax                 ## 8-byte Reload
	jmp	LBB0_14
LBB0_1:
	movq	%rbx, %rcx
	xorl	%eax, %eax
LBB0_14:
	addq	%rax, %rbx
	subq	%rcx, %rbx
	movq	%rcx, %r12
	leal	1(%rbx), %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_15
## %bb.16:
	movq	%rax, %r15
	movq	%rax, %rdi
	movq	%r12, %rsi
	movl	%ebx, %edx
	callq	_memcpy
	movb	$0, (%r15,%rbx)
	movq	%r15, %rdi
	callq	_make_realm
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	(%rbx), %rdi
	testq	%rax, %rax
	je	LBB0_17
## %bb.20:
	movq	%rax, %rsi
	callq	_append_realm
	movq	%rax, (%rbx)
	xorl	%eax, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rdi
	callq	_free
	jmp	LBB0_18
LBB0_17:
	callq	_free_realms
LBB0_18:
	movl	%r14d, %edi
LBB0_19:
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_krb5_enomem                    ## TAILCALL
LBB0_8:
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_19
LBB0_10:
	callq	_free_realms
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jmp	LBB0_19
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_decode_realms
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function decode_realms
_decode_realms:                         ; @decode_realms
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x20, x3
	mov	x21, x1
	mov	x19, x0
	cmp	w2, #1
	b.lt	LBB0_11
; %bb.1:
	mov	w8, #0
	mov	w25, w2
	add	x26, x21, #1
	mov	x27, x25
	mov	x28, x21
	mov	x22, x21
	b	LBB0_4
LBB0_2:                                 ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #0
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x26, x26, #1
	add	x28, x28, #1
	subs	x27, x27, #1
	b.eq	LBB0_12
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	w8, LBB0_2
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldurb	w8, [x26, #-1]
	cmp	w8, #92
	b.eq	LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	cmp	w8, #44
	b.ne	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_4 Depth=1
	neg	w8, w22
	add	x23, x28, x8
	add	w0, w23, #1
	bl	_malloc
	cbz	x0, LBB0_17
; %bb.8:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	x24, x0
	mov	x1, x22
	mov	x2, x23
	bl	_memcpy
	sub	x8, x24, x22
	strb	wzr, [x8, x28]
	mov	x0, x24
	bl	_make_realm
	mov	x1, x0
	ldr	x0, [x20]
	cbz	x1, LBB0_16
; %bb.9:                                ;   in Loop: Header=BB0_4 Depth=1
	bl	_append_realm
	mov	w8, #0
	str	x0, [x20]
	mov	x22, x26
	b	LBB0_3
LBB0_10:                                ;   in Loop: Header=BB0_4 Depth=1
	mov	w8, #1
	b	LBB0_3
LBB0_11:
	mov	x25, #0
	mov	x22, x21
LBB0_12:
	add	x8, x21, x25
	sub	x21, x8, x22
	add	w0, w21, #1
	bl	_malloc
	cbz	x0, LBB0_15
; %bb.13:
	mov	x23, x0
	mov	x1, x22
	mov	x2, x21
	bl	_memcpy
	strb	wzr, [x23, x21]
	mov	x0, x23
	bl	_make_realm
	mov	x1, x0
	ldr	x0, [x20]
	cbz	x1, LBB0_16
; %bb.14:
	bl	_append_realm
	str	x0, [x20]
	mov	w0, #0
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
LBB0_15:
	ldr	x0, [x20]
	bl	_free
	b	LBB0_17
LBB0_16:
	bl	_free_realms
LBB0_17:
	mov	x0, x19
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	b	_krb5_enomem
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_decode_realms
.subsections_via_symbols
