	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	__gsskrb5_register_acceptor_identity ## -- Begin function _gsskrb5_register_acceptor_identity
	.p2align	4, 0x90
__gsskrb5_register_acceptor_identity:   ## @_gsskrb5_register_acceptor_identity
	.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	%rbx
	subq	$24, %rsp
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	$0, (%rdi)
	leaq	-28(%rbp), %rdi
	callq	__gsskrb5_init
	testq	%rax, %rax
	je	LBB0_2
LBB0_15:
	movq	_GSS_S_FAILURE@GOTPCREL(%rip), %rax
LBB0_16:
	movq	(%rax), %rax
	addq	$24, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	_gssapi_keytab_mutex@GOTPCREL(%rip), %rdi
	callq	_HEIMDAL_MUTEX_lock
	movq	__gsskrb5_keytab@GOTPCREL(%rip), %r15
	movq	(%r15), %rsi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movl	-28(%rbp), %edi
	callq	_krb5_kt_close
	movq	$0, (%r15)
LBB0_4:
	movl	-28(%rbp), %edi
	testq	%rbx, %rbx
	je	LBB0_9
## %bb.5:
	movq	__gsskrb5_keytab@GOTPCREL(%rip), %rdx
	movq	%rbx, %rsi
	callq	_validate_keytab
	testq	%rax, %rax
	je	LBB0_12
## %bb.6:
	movq	$0, -40(%rbp)
	leaq	L_.str(%rip), %rsi
	leaq	-40(%rbp), %rdi
	movq	%rbx, %rdx
	callq	_asprintf
	testq	%rax, %rax
	js	LBB0_14
## %bb.7:
	movq	-40(%rbp), %rsi
	testq	%rsi, %rsi
	je	LBB0_14
## %bb.8:
	movl	-28(%rbp), %edi
	movq	__gsskrb5_keytab@GOTPCREL(%rip), %rdx
	callq	_validate_keytab
	movq	%rax, %rbx
	movq	-40(%rbp), %rdi
	callq	_free
	jmp	LBB0_10
LBB0_9:
	movq	__gsskrb5_keytab@GOTPCREL(%rip), %rsi
	callq	_krb5_kt_default
	movq	%rax, %rbx
LBB0_10:
	movq	_gssapi_keytab_mutex@GOTPCREL(%rip), %rdi
	callq	_HEIMDAL_MUTEX_unlock
	testq	%rbx, %rbx
	je	LBB0_13
## %bb.11:
	movq	%rbx, (%r14)
	jmp	LBB0_15
LBB0_12:
	movq	_gssapi_keytab_mutex@GOTPCREL(%rip), %rdi
	callq	_HEIMDAL_MUTEX_unlock
LBB0_13:
	movq	_GSS_S_COMPLETE@GOTPCREL(%rip), %rax
	jmp	LBB0_16
LBB0_14:
	movq	_gssapi_keytab_mutex@GOTPCREL(%rip), %rdi
	callq	_HEIMDAL_MUTEX_unlock
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.comm	_GSS_S_FAILURE,8,3              ## @GSS_S_FAILURE
	.comm	_gssapi_keytab_mutex,4,2        ## @gssapi_keytab_mutex
	.comm	__gsskrb5_keytab,8,3            ## @_gsskrb5_keytab
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"FILE:%s"

	.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	__gsskrb5_register_acceptor_identity ; -- Begin function _gsskrb5_register_acceptor_identity
	.p2align	2
__gsskrb5_register_acceptor_identity:   ; @_gsskrb5_register_acceptor_identity
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #64
	.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
	mov	x20, x1
	mov	x19, x0
	str	xzr, [x0]
	add	x0, sp, #12
	bl	__gsskrb5_init
	cbz	x0, LBB0_3
LBB0_1:
Lloh0:
	adrp	x8, _GSS_S_FAILURE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GSS_S_FAILURE@GOTPAGEOFF]
LBB0_2:
	ldr	x0, [x8]
	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
	add	sp, sp, #64
	ret
LBB0_3:
Lloh2:
	adrp	x0, _gssapi_keytab_mutex@GOTPAGE
Lloh3:
	ldr	x0, [x0, _gssapi_keytab_mutex@GOTPAGEOFF]
	bl	_HEIMDAL_MUTEX_lock
Lloh4:
	adrp	x21, __gsskrb5_keytab@GOTPAGE
Lloh5:
	ldr	x21, [x21, __gsskrb5_keytab@GOTPAGEOFF]
	ldr	x1, [x21]
	cbz	x1, LBB0_5
; %bb.4:
	ldr	w0, [sp, #12]
	bl	_krb5_kt_close
	str	xzr, [x21]
LBB0_5:
	ldr	w0, [sp, #12]
	cbz	x20, LBB0_10
; %bb.6:
Lloh6:
	adrp	x2, __gsskrb5_keytab@GOTPAGE
Lloh7:
	ldr	x2, [x2, __gsskrb5_keytab@GOTPAGEOFF]
	mov	x1, x20
	bl	_validate_keytab
	cbz	x0, LBB0_13
; %bb.7:
	str	xzr, [sp]
Lloh8:
	adrp	x1, l_.str@PAGE
Lloh9:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, sp
	mov	x2, x20
	bl	_asprintf
	tbnz	x0, #63, LBB0_15
; %bb.8:
	ldr	x1, [sp]
	cbz	x1, LBB0_15
; %bb.9:
	ldr	w0, [sp, #12]
Lloh10:
	adrp	x2, __gsskrb5_keytab@GOTPAGE
Lloh11:
	ldr	x2, [x2, __gsskrb5_keytab@GOTPAGEOFF]
	bl	_validate_keytab
	mov	x20, x0
	ldr	x0, [sp]
	bl	_free
	b	LBB0_11
LBB0_10:
Lloh12:
	adrp	x1, __gsskrb5_keytab@GOTPAGE
Lloh13:
	ldr	x1, [x1, __gsskrb5_keytab@GOTPAGEOFF]
	bl	_krb5_kt_default
	mov	x20, x0
LBB0_11:
Lloh14:
	adrp	x0, _gssapi_keytab_mutex@GOTPAGE
Lloh15:
	ldr	x0, [x0, _gssapi_keytab_mutex@GOTPAGEOFF]
	bl	_HEIMDAL_MUTEX_unlock
	cbz	x20, LBB0_14
; %bb.12:
	str	x20, [x19]
	b	LBB0_1
LBB0_13:
Lloh16:
	adrp	x0, _gssapi_keytab_mutex@GOTPAGE
Lloh17:
	ldr	x0, [x0, _gssapi_keytab_mutex@GOTPAGEOFF]
	bl	_HEIMDAL_MUTEX_unlock
LBB0_14:
Lloh18:
	adrp	x8, _GSS_S_COMPLETE@GOTPAGE
Lloh19:
	ldr	x8, [x8, _GSS_S_COMPLETE@GOTPAGEOFF]
	b	LBB0_2
LBB0_15:
Lloh20:
	adrp	x0, _gssapi_keytab_mutex@GOTPAGE
Lloh21:
	ldr	x0, [x0, _gssapi_keytab_mutex@GOTPAGEOFF]
	bl	_HEIMDAL_MUTEX_unlock
	b	LBB0_1
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpAdd	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh20, Lloh21
	.cfi_endproc
                                        ; -- End function
	.comm	_GSS_S_FAILURE,8,3              ; @GSS_S_FAILURE
	.comm	_gssapi_keytab_mutex,4,2        ; @gssapi_keytab_mutex
	.comm	__gsskrb5_keytab,8,3            ; @_gsskrb5_keytab
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"FILE:%s"

	.comm	_GSS_S_COMPLETE,8,3             ; @GSS_S_COMPLETE
.subsections_via_symbols
