	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_setup                   ## -- Begin function server_setup
	.p2align	4, 0x90
_server_setup:                          ## @server_setup
	.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
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %rbx
	movq	%rdi, %r15
	movl	%esi, -28(%rbp)
	movq	_server_usage@GOTPCREL(%rip), %rcx
	leaq	-28(%rbp), %rsi
	callq	_common_setup
	movl	%eax, %r14d
	movslq	-28(%rbp), %rax
	cmpq	$0, (%rbx,%rax,8)
	je	LBB0_2
## %bb.1:
	movq	_args@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	_num_args@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movl	$1, %edi
	callq	_server_usage
LBB0_2:
	movq	_keytab_str@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	movl	(%r15), %edi
	testq	%rsi, %rsi
	je	LBB0_4
## %bb.3:
	movq	_keytab@GOTPCREL(%rip), %rdx
	callq	_krb5_kt_resolve
	testq	%rax, %rax
	je	LBB0_7
LBB0_6:
	movl	(%r15), %edi
	leaq	L_.str(%rip), %rcx
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_7:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_4:
	movq	_keytab@GOTPCREL(%rip), %rsi
	callq	_krb5_kt_default
	testq	%rax, %rax
	jne	LBB0_6
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_args,4,2                       ## @args
	.comm	_num_args,4,2                   ## @num_args
	.comm	_keytab_str,8,3                 ## @keytab_str
	.comm	_keytab,4,2                     ## @keytab
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"krb5_kt_resolve/default"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_server_setup                   ; -- Begin function server_setup
	.p2align	2
_server_setup:                          ; @server_setup
	.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	x21, x2
	mov	x20, x0
	str	w1, [sp, #12]
Lloh0:
	adrp	x3, _server_usage@GOTPAGE
Lloh1:
	ldr	x3, [x3, _server_usage@GOTPAGEOFF]
	add	x1, sp, #12
	bl	_common_setup
	mov	x19, x0
	ldrsw	x8, [sp, #12]
	ldr	x8, [x21, x8, lsl #3]
	cbz	x8, LBB0_2
; %bb.1:
Lloh2:
	adrp	x8, _args@GOTPAGE
Lloh3:
	ldr	x8, [x8, _args@GOTPAGEOFF]
Lloh4:
	ldr	w1, [x8]
Lloh5:
	adrp	x8, _num_args@GOTPAGE
Lloh6:
	ldr	x8, [x8, _num_args@GOTPAGEOFF]
Lloh7:
	ldr	w2, [x8]
	mov	w0, #1
	bl	_server_usage
LBB0_2:
Lloh8:
	adrp	x8, _keytab_str@GOTPAGE
Lloh9:
	ldr	x8, [x8, _keytab_str@GOTPAGEOFF]
Lloh10:
	ldr	x1, [x8]
	ldr	w0, [x20]
	cbz	x1, LBB0_6
; %bb.3:
Lloh11:
	adrp	x2, _keytab@GOTPAGE
Lloh12:
	ldr	x2, [x2, _keytab@GOTPAGEOFF]
	bl	_krb5_kt_resolve
	mov	x2, x0
	cbz	x0, LBB0_5
LBB0_4:
	ldr	w0, [x20]
Lloh13:
	adrp	x3, l_.str@PAGE
Lloh14:
	add	x3, x3, l_.str@PAGEOFF
	mov	w1, #1
	bl	_krb5_err
LBB0_5:
	mov	x0, x19
	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_6:
Lloh15:
	adrp	x1, _keytab@GOTPAGE
Lloh16:
	ldr	x1, [x1, _keytab@GOTPAGEOFF]
	bl	_krb5_kt_default
	mov	x2, x0
	cbnz	x0, LBB0_4
	b	LBB0_5
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh15, Lloh16
	.cfi_endproc
                                        ; -- End function
	.comm	_args,4,2                       ; @args
	.comm	_num_args,4,2                   ; @num_args
	.comm	_keytab_str,8,3                 ; @keytab_str
	.comm	_keytab,4,2                     ; @keytab
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"krb5_kt_resolve/default"

.subsections_via_symbols
