	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function test_principal
_test_principal:                        ## @test_principal
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	subq	$216, %rsp
	.cfi_offset %rbx, -24
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -16(%rbp)
	xorps	%xmm0, %xmm0
	movaps	%xmm0, -144(%rbp)
	movaps	%xmm0, -128(%rbp)
	movaps	%xmm0, -96(%rbp)
	movaps	%xmm0, -64(%rbp)
	movaps	%xmm0, -48(%rbp)
	movaps	%xmm0, -80(%rbp)
	movaps	%xmm0, -112(%rbp)
	movq	$0, -32(%rbp)
	leaq	-128(%rbp), %rdi
	movq	$29, -136(%rbp)
	leaq	L_.str(%rip), %rax
	movq	%rax, -128(%rbp)
	movq	$35, -96(%rbp)
	leaq	L_.str.1(%rip), %rax
	movq	%rax, -88(%rbp)
	movq	$54, -56(%rbp)
	leaq	L_.str.2(%rip), %rax
	movq	%rax, -48(%rbp)
	movq	_KRB5_NT_PRINCIPAL@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -224(%rbp)
	leaq	L_.str.3(%rip), %rcx
	movl	%ecx, -216(%rbp)
	movq	$0, -212(%rbp)
	movq	%rax, -200(%rbp)
	movl	%ecx, -192(%rbp)
	movq	$0, -188(%rbp)
	movq	_KRB5_NT_SRV_HST@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	movq	%rax, -176(%rbp)
	leaq	L_.str.4(%rip), %rax
	movl	%eax, -168(%rbp)
	movq	$0, -164(%rbp)
	leaq	-224(%rbp), %rax
	movq	%rax, -120(%rbp)
	leaq	L_.str.5(%rip), %rsi
	xorl	%edx, %edx
	callq	_asprintf
	testq	%rax, %rax
	jns	LBB0_2
## %bb.1:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_2:
	leaq	-88(%rbp), %rbx
	cmpq	$0, -128(%rbp)
	jne	LBB0_4
## %bb.3:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_4:
	leaq	-200(%rbp), %rax
	movq	%rax, -80(%rbp)
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	$1, %edx
	callq	_asprintf
	testq	%rax, %rax
	jns	LBB0_6
## %bb.5:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_6:
	leaq	-48(%rbp), %rbx
	cmpq	$0, -88(%rbp)
	jne	LBB0_8
## %bb.7:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_errx
LBB0_8:
	leaq	-176(%rbp), %rax
	movq	%rax, -40(%rbp)
	leaq	L_.str.5(%rip), %rsi
	movq	%rbx, %rdi
	movl	$2, %edx
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_9
## %bb.10:
	cmpq	$0, -48(%rbp)
	je	LBB0_11
LBB0_12:
	movq	_encode_Principal@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_length_Principal@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	_decode_Principal@GOTPCREL(%rip), %rax
	movl	(%rax), %r9d
	movq	_free_Principal@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	_cmp_principal@GOTPCREL(%rip), %rdx
	movl	(%rdx), %ebx
	subq	$8, %rsp
	leaq	-144(%rbp), %rdi
	movl	$3, %esi
	movl	$24, %edx
	pushq	$0
	pushq	%rbx
	pushq	%rax
	callq	_generic_test
	addq	$32, %rsp
	movl	%eax, %ebx
	movq	-128(%rbp), %rdi
	callq	_free
	movq	-88(%rbp), %rdi
	callq	_free
	movq	-48(%rbp), %rdi
	callq	_free
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-16(%rbp), %rax
	jne	LBB0_14
## %bb.13:
	movl	%ebx, %eax
	addq	$216, %rsp
	popq	%rbx
	popq	%rbp
	retq
LBB0_9:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	cmpq	$0, -48(%rbp)
	jne	LBB0_12
LBB0_11:
	leaq	L_.str.6(%rip), %rsi
	movl	$1, %edi
	callq	_errx
	jmp	LBB0_12
LBB0_14:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"0\033\240\0200\016\240\003\002\001\001\241\0070\005\033\003lha\241\007\033\005SU.SE"

L_.str.1:                               ## @.str.1
	.asciz	"0!\240\0260\024\240\003\002\001\001\241\r0\013\033\003lha\033\004root\241\007\033\005SU.SE"

L_.str.2:                               ## @.str.2
	.asciz	"04\240&0$\240\003\002\001\003\241\0350\033\033\004host\033\023nutcracker.e.kth.se\241\n\033\bE.KTH.SE"

	.comm	_KRB5_NT_PRINCIPAL,4,2          ## @KRB5_NT_PRINCIPAL
L_.str.3:                               ## @.str.3
	.asciz	"SU.SE"

	.comm	_KRB5_NT_SRV_HST,4,2            ## @KRB5_NT_SRV_HST
L_.str.4:                               ## @.str.4
	.asciz	"E.KTH.SE"

L_.str.5:                               ## @.str.5
	.asciz	"Principal %d"

L_.str.6:                               ## @.str.6
	.asciz	"malloc"

	.comm	_encode_Principal,8,3           ## @encode_Principal
	.comm	_length_Principal,8,3           ## @length_Principal
	.comm	_decode_Principal,8,3           ## @decode_Principal
	.comm	_free_Principal,8,3             ## @free_Principal
	.comm	_cmp_principal,4,2              ## @cmp_principal
	.comm	_datan_princ,4,2                ## @datan_princ
	.comm	_lha_principal,4,2              ## @lha_principal
	.comm	_lharoot_princ,4,2              ## @lharoot_princ
	.no_dead_strip	_test_principal
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function test_principal
_test_principal:                        ; @test_principal
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #240
	.cfi_def_cfa_offset 240
	stp	x20, x19, [sp, #208]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #224]            ; 16-byte Folded Spill
	add	x29, sp, #224
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-24]
	add	x20, sp, #80
	movi.2d	v0, #0000000000000000
	stp	q0, q0, [sp, #80]
	stp	q0, q0, [x20, #80]
	str	xzr, [sp, #192]
	str	q0, [x20, #64]
	stp	q0, q0, [sp, #112]
	add	x0, x20, #16
Lloh3:
	adrp	x8, l_.str@PAGE
Lloh4:
	add	x8, x8, l_.str@PAGEOFF
	mov	w9, #29
	stp	x9, x8, [sp, #88]
	mov	w8, #35
Lloh5:
	adrp	x9, l_.str.1@PAGE
Lloh6:
	add	x9, x9, l_.str.1@PAGEOFF
	add	x19, x20, #56
	stp	x8, x9, [sp, #128]
	mov	w8, #54
Lloh7:
	adrp	x9, l_.str.2@PAGE
Lloh8:
	add	x9, x9, l_.str.2@PAGEOFF
	stp	x8, x9, [sp, #168]
Lloh9:
	adrp	x8, _KRB5_NT_PRINCIPAL@GOTPAGE
Lloh10:
	ldr	x8, [x8, _KRB5_NT_PRINCIPAL@GOTPAGEOFF]
Lloh11:
	ldrsw	x8, [x8]
	str	x8, [sp, #8]
Lloh12:
	adrp	x9, l_.str.3@PAGE
Lloh13:
	add	x9, x9, l_.str.3@PAGEOFF
	str	w9, [sp, #16]
	movi.2d	v0, #0000000000000000
	stur	d0, [sp, #20]
	str	x8, [sp, #32]
	str	w9, [sp, #40]
	stur	d0, [sp, #44]
Lloh14:
	adrp	x8, _KRB5_NT_SRV_HST@GOTPAGE
Lloh15:
	ldr	x8, [x8, _KRB5_NT_SRV_HST@GOTPAGEOFF]
Lloh16:
	ldrsw	x8, [x8]
	str	x8, [sp, #56]
Lloh17:
	adrp	x8, l_.str.4@PAGE
Lloh18:
	add	x8, x8, l_.str.4@PAGEOFF
	str	w8, [sp, #64]
	stur	d0, [sp, #68]
	add	x8, sp, #8
	str	x8, [sp, #104]
Lloh19:
	adrp	x1, l_.str.5@PAGE
Lloh20:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #0
	bl	_asprintf
	tbnz	x0, #63, LBB0_8
; %bb.1:
	ldr	x8, [sp, #96]
	cbz	x8, LBB0_9
LBB0_2:
	add	x20, x20, #96
	add	x8, sp, #8
	add	x8, x8, #24
	str	x8, [sp, #144]
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x19
	mov	w2, #1
	bl	_asprintf
	tbnz	x0, #63, LBB0_10
; %bb.3:
	ldr	x8, [sp, #136]
	cbz	x8, LBB0_11
LBB0_4:
	add	x8, sp, #8
	add	x8, x8, #48
	str	x8, [sp, #184]
Lloh23:
	adrp	x1, l_.str.5@PAGE
Lloh24:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	mov	w2, #2
	bl	_asprintf
	tbnz	x0, #63, LBB0_12
; %bb.5:
	ldr	x8, [sp, #176]
	cbz	x8, LBB0_13
LBB0_6:
Lloh25:
	adrp	x8, _encode_Principal@GOTPAGE
Lloh26:
	ldr	x8, [x8, _encode_Principal@GOTPAGEOFF]
Lloh27:
	ldr	w3, [x8]
Lloh28:
	adrp	x8, _length_Principal@GOTPAGE
Lloh29:
	ldr	x8, [x8, _length_Principal@GOTPAGEOFF]
Lloh30:
	ldr	w4, [x8]
Lloh31:
	adrp	x8, _decode_Principal@GOTPAGE
Lloh32:
	ldr	x8, [x8, _decode_Principal@GOTPAGEOFF]
Lloh33:
	ldr	w5, [x8]
Lloh34:
	adrp	x8, _free_Principal@GOTPAGE
Lloh35:
	ldr	x8, [x8, _free_Principal@GOTPAGEOFF]
Lloh36:
	ldr	w6, [x8]
Lloh37:
	adrp	x8, _cmp_principal@GOTPAGE
Lloh38:
	ldr	x8, [x8, _cmp_principal@GOTPAGEOFF]
Lloh39:
	ldr	w7, [x8]
	str	xzr, [sp]
	add	x0, sp, #80
	mov	w1, #3
	mov	w2, #24
	bl	_generic_test
	mov	x19, x0
	ldr	x0, [sp, #96]
	bl	_free
	ldr	x0, [sp, #136]
	bl	_free
	ldr	x0, [sp, #176]
	bl	_free
	ldur	x8, [x29, #-24]
Lloh40:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh41:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh42:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_14
; %bb.7:
	mov	x0, x19
	ldp	x29, x30, [sp, #224]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #208]            ; 16-byte Folded Reload
	add	sp, sp, #240
	ret
LBB0_8:
Lloh43:
	adrp	x1, l_.str.6@PAGE
Lloh44:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x8, [sp, #96]
	cbnz	x8, LBB0_2
LBB0_9:
Lloh45:
	adrp	x1, l_.str.6@PAGE
Lloh46:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_2
LBB0_10:
Lloh47:
	adrp	x1, l_.str.6@PAGE
Lloh48:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x8, [sp, #136]
	cbnz	x8, LBB0_4
LBB0_11:
Lloh49:
	adrp	x1, l_.str.6@PAGE
Lloh50:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_4
LBB0_12:
Lloh51:
	adrp	x1, l_.str.6@PAGE
Lloh52:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
	ldr	x8, [sp, #176]
	cbnz	x8, LBB0_6
LBB0_13:
Lloh53:
	adrp	x1, l_.str.6@PAGE
Lloh54:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w0, #1
	bl	_errx
	b	LBB0_6
LBB0_14:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh16
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpLdrGotLdr	Lloh40, Lloh41, Lloh42
	.loh AdrpLdrGotLdr	Lloh37, Lloh38, Lloh39
	.loh AdrpLdrGotLdr	Lloh34, Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh31, Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh25, Lloh26, Lloh27
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh45, Lloh46
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpAdd	Lloh53, Lloh54
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"0\033\240\0200\016\240\003\002\001\001\241\0070\005\033\003lha\241\007\033\005SU.SE"

l_.str.1:                               ; @.str.1
	.asciz	"0!\240\0260\024\240\003\002\001\001\241\r0\013\033\003lha\033\004root\241\007\033\005SU.SE"

l_.str.2:                               ; @.str.2
	.asciz	"04\240&0$\240\003\002\001\003\241\0350\033\033\004host\033\023nutcracker.e.kth.se\241\n\033\bE.KTH.SE"

	.comm	_KRB5_NT_PRINCIPAL,4,2          ; @KRB5_NT_PRINCIPAL
l_.str.3:                               ; @.str.3
	.asciz	"SU.SE"

	.comm	_KRB5_NT_SRV_HST,4,2            ; @KRB5_NT_SRV_HST
l_.str.4:                               ; @.str.4
	.asciz	"E.KTH.SE"

l_.str.5:                               ; @.str.5
	.asciz	"Principal %d"

l_.str.6:                               ; @.str.6
	.asciz	"malloc"

	.comm	_encode_Principal,8,3           ; @encode_Principal
	.comm	_length_Principal,8,3           ; @length_Principal
	.comm	_decode_Principal,8,3           ; @decode_Principal
	.comm	_free_Principal,8,3             ; @free_Principal
	.comm	_cmp_principal,4,2              ; @cmp_principal
	.comm	_datan_princ,4,2                ; @datan_princ
	.comm	_lha_principal,4,2              ; @lha_principal
	.comm	_lharoot_princ,4,2              ; @lharoot_princ
	.no_dead_strip	_test_principal
.subsections_via_symbols
