	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function truncated_addr
_truncated_addr:                        ## @truncated_addr
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r15
	movq	%rdx, -88(%rbp)                 ## 8-byte Spill
	movq	%rsi, %rbx
	movl	%edi, %r12d
	leaq	1(%rcx), %rsi
	movl	$1, %edi
	movq	%rsi, -96(%rbp)                 ## 8-byte Spill
	callq	_ecalloc
	movq	%rax, %r14
	leaq	-72(%rbp), %rdx
	movl	%r12d, %edi
	movq	%rbx, -80(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_krb5_parse_address
	movq	%rax, %r13
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	movl	%r12d, %edi
	movl	$1, %esi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_2:
	cmpl	$1, -72(%rbp)
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rcx
	movl	%r12d, %edi
	movl	$1, %esi
	movq	%r13, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_4:
	movl	%r12d, -44(%rbp)                ## 4-byte Spill
	movq	-64(%rbp), %rdi
	leaq	-56(%rbp), %rcx
	movq	%r14, %rsi
	movq	-88(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rdx
	callq	_krb5_print_address
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %r10
	incq	%rax
	cmpq	%rbx, %rax
	jae	LBB0_6
## %bb.5:
	leaq	L_.str.2(%rip), %rcx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$1, %esi
	movq	%r13, %rdx
	movq	%r14, %r8
	movl	%ebx, %r9d
	xorl	%eax, %eax
	pushq	-80(%rbp)                       ## 8-byte Folded Reload
	pushq	%r10
	callq	_krb5_err
	addq	$16, %rsp
LBB0_6:
	cmpq	%r15, -56(%rbp)
	je	LBB0_8
## %bb.7:
	movq	%r14, %rdi
	callq	_strlen
	movq	%rax, %rbx
	subq	$8, %rsp
	leaq	L_.str.3(%rip), %rcx
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	movl	$1, %esi
	movq	%r13, %rdx
	movq	%r14, %r8
	movl	%r15d, %r9d
	xorl	%eax, %eax
	pushq	%rbx
	callq	_krb5_err
	addq	$16, %rsp
LBB0_8:
	movq	-64(%rbp), %rdi
	leaq	-56(%rbp), %rcx
	movq	%r14, %rsi
	movq	-96(%rbp), %rdx                 ## 8-byte Reload
	callq	_krb5_print_address
	cmpq	%r15, -56(%rbp)
	jne	LBB0_11
## %bb.9:
	movq	%r14, %rdi
	callq	_strlen
	cmpq	%r15, %rax
	movl	-44(%rbp), %edi                 ## 4-byte Reload
	jne	LBB0_11
## %bb.10:
	leaq	-72(%rbp), %rsi
	callq	_krb5_free_addresses
	movq	%r14, %rdi
	callq	_free
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_11:
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_parse_address"

L_.str.1:                               ## @.str.1
	.asciz	"addresses should be one"

L_.str.2:                               ## @.str.2
	.asciz	"%s truncate_len %d larger then strlen %d source %s"

L_.str.3:                               ## @.str.3
	.asciz	"%s: outlen %d != len %d"

	.no_dead_strip	_truncated_addr
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function truncated_addr
_truncated_addr:                        ; @truncated_addr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #144
	.cfi_def_cfa_offset 144
	stp	x26, x25, [sp, #64]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #80]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #96]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #112]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #128]            ; 16-byte Folded Spill
	add	x29, sp, #128
	.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	x21, x3
	mov	x24, x2
	mov	x25, x1
	mov	x19, x0
	add	x22, x3, #1
	mov	w0, #1
	mov	x1, x22
	bl	_ecalloc
	mov	x20, x0
	add	x2, sp, #48
	mov	x0, x19
	mov	x1, x25
	bl	_krb5_parse_address
	mov	x23, x0
	cbz	x0, LBB0_2
; %bb.1:
Lloh0:
	adrp	x3, l_.str@PAGE
Lloh1:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x2, x23
	bl	_krb5_err
LBB0_2:
	ldr	w8, [sp, #48]
	cmp	w8, #1
	b.eq	LBB0_4
; %bb.3:
Lloh2:
	adrp	x3, l_.str.1@PAGE
Lloh3:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x2, x23
	bl	_krb5_err
LBB0_4:
	ldr	x0, [sp, #56]
	add	x3, sp, #40
	mov	x1, x20
	mov	x2, x24
	bl	_krb5_print_address
	mov	x0, x20
	bl	_strlen
	add	x8, x0, #1
	cmp	x8, x24
	b.hs	LBB0_6
; %bb.5:
	stp	x0, x25, [sp, #16]
	stp	x20, x24, [sp]
Lloh4:
	adrp	x3, l_.str.2@PAGE
Lloh5:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x2, x23
	bl	_krb5_err
LBB0_6:
	ldr	x8, [sp, #40]
	cmp	x8, x21
	b.eq	LBB0_8
; %bb.7:
	mov	x0, x20
	bl	_strlen
	stp	x21, x0, [sp, #8]
	str	x20, [sp]
Lloh6:
	adrp	x3, l_.str.3@PAGE
Lloh7:
	add	x3, x3, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	mov	x2, x23
	bl	_krb5_err
LBB0_8:
	ldr	x0, [sp, #56]
	add	x3, sp, #40
	mov	x1, x20
	mov	x2, x22
	bl	_krb5_print_address
	ldr	x8, [sp, #40]
	cmp	x8, x21
	b.ne	LBB0_11
; %bb.9:
	mov	x0, x20
	bl	_strlen
	cmp	x0, x21
	b.ne	LBB0_11
; %bb.10:
	add	x1, sp, #48
	mov	x0, x19
	bl	_krb5_free_addresses
	mov	x0, x20
	bl	_free
	ldp	x29, x30, [sp, #128]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #112]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #96]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #80]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #64]             ; 16-byte Folded Reload
	add	sp, sp, #144
	ret
LBB0_11:
	bl	_abort
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh4, Lloh5
	.loh AdrpAdd	Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_parse_address"

l_.str.1:                               ; @.str.1
	.asciz	"addresses should be one"

l_.str.2:                               ; @.str.2
	.asciz	"%s truncate_len %d larger then strlen %d source %s"

l_.str.3:                               ; @.str.3
	.asciz	"%s: outlen %d != len %d"

	.no_dead_strip	_truncated_addr
.subsections_via_symbols
