	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_alname
_test_alname:                           ## @test_alname
	.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
	subq	$1056, %rsp                     ## imm = 0x420
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%r9d, %r15d
	movq	%r8, %r14
	movq	%rcx, %r8
	movq	%rdx, %rcx
	movl	%esi, %edx
	movl	%edi, %ebx
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -40(%rbp)
	leaq	-1076(%rbp), %rsi
	xorl	%r9d, %r9d
	callq	_krb5_make_principal
	testq	%rax, %rax
	je	LBB0_2
## %bb.1:
	leaq	L_.str(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_2:
	movl	-1076(%rbp), %esi
	leaq	-1088(%rbp), %rdx
	movl	%ebx, %edi
	callq	_krb5_unparse_name
	testq	%rax, %rax
	je	LBB0_4
## %bb.3:
	leaq	L_.str.1(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_4:
	movl	-1076(%rbp), %esi
	leaq	-1072(%rbp), %rcx
	movl	%ebx, %edi
	movl	$1024, %edx                     ## imm = 0x400
	callq	_krb5_aname_to_localname
	movq	%rax, %r12
	movl	-1076(%rbp), %esi
	movl	%ebx, %edi
	callq	_krb5_free_principal
	movq	-1088(%rbp), %rdi
	callq	_free
	testq	%r12, %r12
	je	LBB0_7
## %bb.5:
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.6:
	movq	-1088(%rbp), %r8
	leaq	L_.str.2(%rip), %rcx
	movl	%ebx, %edi
	movl	$1, %esi
	movq	%r12, %rdx
	movq	%r14, %r9
	xorl	%eax, %eax
	callq	_krb5_err
LBB0_7:
	leaq	-1072(%rbp), %rdi
	movq	%r14, %rsi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.8:
	testl	%r15d, %r15d
	je	LBB0_13
## %bb.9:
	leaq	L_.str.3(%rip), %rsi
	jmp	LBB0_12
LBB0_10:
	testl	%r15d, %r15d
	jne	LBB0_13
## %bb.11:
	leaq	L_.str.4(%rip), %rsi
LBB0_12:
	leaq	-1072(%rbp), %rdx
	movl	$1, %edi
	movq	%r14, %rcx
	callq	_errx
LBB0_13:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-40(%rbp), %rax
	jne	LBB0_15
## %bb.14:
	addq	$1056, %rsp                     ## imm = 0x420
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_15:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_build_principal"

L_.str.1:                               ## @.str.1
	.asciz	"krb5_unparse_name"

L_.str.2:                               ## @.str.2
	.asciz	"krb5_aname_to_localname: %s -> %s"

L_.str.3:                               ## @.str.3
	.asciz	"compared failed %s != %s (should have succeded)"

L_.str.4:                               ## @.str.4
	.asciz	"compared failed %s == %s (should have failed)"

	.no_dead_strip	_test_alname
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_alname
_test_alname:                           ; @test_alname
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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 w27, -56
	.cfi_offset w28, -64
	sub	sp, sp, #1072
	mov	x20, x5
	mov	x19, x4
	mov	x4, x3
	mov	x3, x2
	mov	x2, x1
	mov	x21, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-56]
	add	x1, sp, #36
	mov	x5, #0
	bl	_krb5_make_principal
	cbz	x0, LBB0_2
; %bb.1:
	mov	x2, x0
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x21
	mov	w1, #1
	bl	_krb5_err
LBB0_2:
	ldr	w1, [sp, #36]
	add	x2, sp, #24
	mov	x0, x21
	bl	_krb5_unparse_name
	cbz	x0, LBB0_4
; %bb.3:
	mov	x2, x0
Lloh5:
	adrp	x3, l_.str.1@PAGE
Lloh6:
	add	x3, x3, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w1, #1
	bl	_krb5_err
LBB0_4:
	ldr	w1, [sp, #36]
	add	x3, sp, #40
	mov	x0, x21
	mov	w2, #1024
	bl	_krb5_aname_to_localname
	mov	x22, x0
	ldr	w1, [sp, #36]
	mov	x0, x21
	bl	_krb5_free_principal
	ldr	x0, [sp, #24]
	bl	_free
	cbz	x22, LBB0_7
; %bb.5:
	cbz	w20, LBB0_13
; %bb.6:
	ldr	x8, [sp, #24]
	stp	x8, x19, [sp]
Lloh7:
	adrp	x3, l_.str.2@PAGE
Lloh8:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	w1, #1
	mov	x2, x22
	bl	_krb5_err
LBB0_7:
	add	x0, sp, #40
	mov	x1, x19
	bl	_strcmp
	cbz	x0, LBB0_10
; %bb.8:
	cbz	w20, LBB0_13
; %bb.9:
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_12
LBB0_10:
	cbnz	w20, LBB0_13
; %bb.11:
Lloh11:
	adrp	x1, l_.str.4@PAGE
Lloh12:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_12:
	add	x2, sp, #40
	mov	w0, #1
	mov	x3, x19
	bl	_errx
LBB0_13:
	ldur	x8, [x29, #-56]
Lloh13:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh14:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh15:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_15
; %bb.14:
	add	sp, sp, #1072
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_15:
	bl	___stack_chk_fail
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_build_principal"

l_.str.1:                               ; @.str.1
	.asciz	"krb5_unparse_name"

l_.str.2:                               ; @.str.2
	.asciz	"krb5_aname_to_localname: %s -> %s"

l_.str.3:                               ; @.str.3
	.asciz	"compared failed %s != %s (should have succeded)"

l_.str.4:                               ; @.str.4
	.asciz	"compared failed %s == %s (should have failed)"

	.no_dead_strip	_test_alname
.subsections_via_symbols
