	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_canonicalize_name          ## -- Begin function gss_canonicalize_name
	.p2align	4, 0x90
_gss_canonicalize_name:                 ## @gss_canonicalize_name
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rcx, %r14
	movl	%edx, %r12d
	movq	%rsi, %rbx
	movq	%rdi, %r13
	movl	%edx, %edi
	callq	__gss_find_mech_switch
	movq	$0, (%r13)
	movq	$0, (%r14)
	leaq	-56(%rbp), %rcx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	movl	%r12d, %edx
	callq	__gss_find_mn
	movq	%rax, %rbx
	testq	%rax, %rax
	jne	LBB0_10
## %bb.1:
	movq	-56(%rbp), %rax
	movq	(%rax), %rsi
	movq	16(%rax), %r15
	leaq	-48(%rbp), %rcx
	movq	%r13, %rdi
	movl	%r12d, %edx
	callq	*16(%r15)
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rax, %rbx
	movq	(%r13), %rdx
	movq	%r15, %rdi
	movq	%rax, %rsi
	callq	__gss_mg_error
	jmp	LBB0_10
LBB0_3:
	movq	$0, (%r13)
	movl	$4, %edi
	callq	_malloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.6:
	movq	%rax, %r12
	movq	%rax, %rdi
	xorl	%esi, %esi
	movl	$4, %edx
	callq	_memset
	movl	$24, %edi
	callq	_malloc
	movq	%rax, -56(%rbp)
	testq	%rax, %rax
	je	LBB0_7
## %bb.8:
	movq	%r12, %rdi
	callq	_SLIST_INIT
	movq	-56(%rbp), %rsi
	movq	%r15, 16(%rsi)
	movq	%r15, 8(%rsi)
	movq	-48(%rbp), %rax
	movq	%rax, (%rsi)
	movq	_gmn_link@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	_SLIST_INSERT_HEAD
	movq	%r12, (%r14)
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_9
LBB0_4:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	*8(%r15)
	jmp	LBB0_5
LBB0_7:
	leaq	-48(%rbp), %rsi
	movq	%r13, %rdi
	callq	*8(%r15)
	movq	%r12, %rdi
	callq	_free
LBB0_5:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, (%r13)
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
LBB0_9:
	movq	(%rax), %rbx
LBB0_10:
	movq	%rbx, %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_ENOMEM,8,3                     ## @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.comm	_gmn_link,4,2                   ## @gmn_link
	.comm	_GSS_S_COMPLETE,8,3             ## @GSS_S_COMPLETE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_gss_canonicalize_name          ; -- Begin function gss_canonicalize_name
	.p2align	2
_gss_canonicalize_name:                 ; @gss_canonicalize_name
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	mov	x20, x3
	mov	x22, x2
	mov	x21, x1
	mov	x19, x0
	mov	x0, x2
	bl	__gss_find_mech_switch
	str	xzr, [x19]
	str	xzr, [x20]
	add	x3, sp, #8
	mov	x0, x19
	mov	x1, x21
	mov	x2, x22
	bl	__gss_find_mn
	mov	x23, x0
	cbnz	x0, LBB0_10
; %bb.1:
	ldr	x8, [sp, #8]
	ldr	x21, [x8, #16]
	ldr	x9, [x21, #16]
	ldr	x1, [x8]
	mov	x3, sp
	mov	x0, x19
	mov	x2, x22
	blr	x9
	cbz	x0, LBB0_3
; %bb.2:
	mov	x23, x0
	ldr	x2, [x19]
	mov	x0, x21
	mov	x1, x23
	bl	__gss_mg_error
	b	LBB0_10
LBB0_3:
	str	xzr, [x19]
	mov	w0, #4
	bl	_malloc
	cbz	x0, LBB0_6
; %bb.4:
	mov	x22, x0
	mov	w1, #0
	mov	w2, #4
	bl	_memset
	mov	w0, #24
	bl	_malloc
	str	x0, [sp, #8]
	cbz	x0, LBB0_7
; %bb.5:
	mov	x0, x22
	bl	_SLIST_INIT
	ldp	x8, x1, [sp]
	stp	x21, x21, [x1, #8]
	str	x8, [x1]
Lloh0:
	adrp	x8, _gmn_link@GOTPAGE
Lloh1:
	ldr	x8, [x8, _gmn_link@GOTPAGEOFF]
Lloh2:
	ldr	w2, [x8]
	mov	x0, x22
	bl	_SLIST_INSERT_HEAD
	str	x22, [x20]
Lloh3:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_9
LBB0_6:
	ldr	x8, [x21, #8]
	mov	x1, sp
	mov	x0, x19
	blr	x8
	b	LBB0_8
LBB0_7:
	ldr	x8, [x21, #8]
	mov	x1, sp
	mov	x0, x19
	blr	x8
	mov	x0, x22
	bl	_free
LBB0_8:
Lloh5:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh6:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh7:
	ldr	x8, [x8]
	str	x8, [x19]
Lloh8:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
LBB0_9:
	ldr	x23, [x8]
LBB0_10:
	mov	x0, x23
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.cfi_endproc
                                        ; -- End function
	.comm	_ENOMEM,8,3                     ; @ENOMEM
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_gmn_link,4,2                   ; @gmn_link
	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
.subsections_via_symbols
