	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_env
_setup_env:                             ## @setup_env
	.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	%rsi, %rdx
	movl	%edi, %r14d
	movq	_keytab_file@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	callq	_krb5_kt_resolve
	testq	%rax, %rax
	je	LBB0_5
LBB0_4:
	leaq	L_.str(%rip), %rcx
	movl	%r14d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_5:
	movq	_client_principal_str@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.1(%rip), %rdx
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_krb5_errx
	movq	(%rbx), %rsi
LBB0_7:
	movq	_client_principal@GOTPCREL(%rip), %rdx
	movl	%r14d, %edi
	callq	_krb5_parse_name
	testq	%rax, %rax
	je	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rcx
	movl	%r14d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_9:
	movq	_server_principal_str@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rsi
	testq	%rsi, %rsi
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.3(%rip), %rdx
	movl	%r14d, %edi
	movl	$1, %esi
	callq	_krb5_errx
	movq	(%rbx), %rsi
LBB0_11:
	movq	_server_principal@GOTPCREL(%rip), %rdx
	movl	%r14d, %edi
	callq	_krb5_parse_name
	testq	%rax, %rax
	je	LBB0_13
## %bb.12:
	leaq	L_.str.2(%rip), %rcx
	movl	%r14d, %edi
	movl	$1, %esi
	movq	%rax, %rdx
	callq	_krb5_err
LBB0_13:
	movq	_ticket_flags_str@GOTPCREL(%rip), %r15
	movq	(%r15), %rbx
	testq	%rbx, %rbx
	je	LBB0_16
## %bb.14:
	xorl	%eax, %eax
	callq	_asn1_TicketFlags_units
	movq	%rbx, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_parse_flags
	testl	%eax, %eax
	jle	LBB0_17
## %bb.15:
	movl	%eax, %edi
	callq	_int2TicketFlags
	movq	_ticket_flags@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
LBB0_16:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_2:
	movq	%rdx, %rsi
	callq	_krb5_kt_default
	testq	%rax, %rax
	jne	LBB0_4
	jmp	LBB0_5
LBB0_17:
	movq	(%r15), %rdx
	leaq	L_.str.4(%rip), %rsi
	movl	%r14d, %edi
	callq	_krb5_warnx
	xorl	%eax, %eax
	callq	_asn1_TicketFlags_units
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %esi
	movl	%eax, %edi
	callq	_print_flags_table
	movl	$1, %edi
	callq	_exit
	.cfi_endproc
                                        ## -- End function
	.comm	_keytab_file,8,3                ## @keytab_file
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"resolving keytab"

	.comm	_client_principal_str,8,3       ## @client_principal_str
L_.str.1:                               ## @.str.1
	.asciz	"missing client principal"

	.comm	_client_principal,4,2           ## @client_principal
L_.str.2:                               ## @.str.2
	.asciz	"resolvning client name"

	.comm	_server_principal_str,8,3       ## @server_principal_str
L_.str.3:                               ## @.str.3
	.asciz	"missing server principal"

	.comm	_server_principal,4,2           ## @server_principal
	.comm	_ticket_flags_str,8,3           ## @ticket_flags_str
L_.str.4:                               ## @.str.4
	.asciz	"bad ticket flags: `%s'"

	.comm	_stderr,4,2                     ## @stderr
	.comm	_ticket_flags,4,2               ## @ticket_flags
	.no_dead_strip	_setup_env
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_env
_setup_env:                             ; @setup_env
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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	x2, x1
	mov	x19, x0
Lloh0:
	adrp	x8, _keytab_file@GOTPAGE
Lloh1:
	ldr	x8, [x8, _keytab_file@GOTPAGEOFF]
Lloh2:
	ldr	x1, [x8]
	cbz	x1, LBB0_15
; %bb.1:
	mov	x0, x19
	bl	_krb5_kt_resolve
	mov	x2, x0
	cbz	x0, LBB0_3
LBB0_2:
Lloh3:
	adrp	x3, l_.str@PAGE
Lloh4:
	add	x3, x3, l_.str@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_3:
Lloh5:
	adrp	x20, _client_principal_str@GOTPAGE
Lloh6:
	ldr	x20, [x20, _client_principal_str@GOTPAGEOFF]
	ldr	x1, [x20]
	cbnz	x1, LBB0_5
; %bb.4:
Lloh7:
	adrp	x2, l_.str.1@PAGE
Lloh8:
	add	x2, x2, l_.str.1@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
	ldr	x1, [x20]
LBB0_5:
Lloh9:
	adrp	x2, _client_principal@GOTPAGE
Lloh10:
	ldr	x2, [x2, _client_principal@GOTPAGEOFF]
	mov	x0, x19
	bl	_krb5_parse_name
	cbz	x0, LBB0_7
; %bb.6:
	mov	x2, x0
Lloh11:
	adrp	x3, l_.str.2@PAGE
Lloh12:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_7:
Lloh13:
	adrp	x20, _server_principal_str@GOTPAGE
Lloh14:
	ldr	x20, [x20, _server_principal_str@GOTPAGEOFF]
	ldr	x1, [x20]
	cbnz	x1, LBB0_9
; %bb.8:
Lloh15:
	adrp	x2, l_.str.3@PAGE
Lloh16:
	add	x2, x2, l_.str.3@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_errx
	ldr	x1, [x20]
LBB0_9:
Lloh17:
	adrp	x2, _server_principal@GOTPAGE
Lloh18:
	ldr	x2, [x2, _server_principal@GOTPAGEOFF]
	mov	x0, x19
	bl	_krb5_parse_name
	cbz	x0, LBB0_11
; %bb.10:
	mov	x2, x0
Lloh19:
	adrp	x3, l_.str.2@PAGE
Lloh20:
	add	x3, x3, l_.str.2@PAGEOFF
	mov	x0, x19
	mov	w1, #1
	bl	_krb5_err
LBB0_11:
Lloh21:
	adrp	x21, _ticket_flags_str@GOTPAGE
Lloh22:
	ldr	x21, [x21, _ticket_flags_str@GOTPAGEOFF]
	ldr	x20, [x21]
	cbz	x20, LBB0_14
; %bb.12:
	bl	_asn1_TicketFlags_units
	mov	x1, x0
	mov	x0, x20
	mov	w2, #0
	bl	_parse_flags
	cmp	w0, #0
	b.le	LBB0_16
; %bb.13:
	bl	_int2TicketFlags
Lloh23:
	adrp	x8, _ticket_flags@GOTPAGE
Lloh24:
	ldr	x8, [x8, _ticket_flags@GOTPAGEOFF]
Lloh25:
	str	w0, [x8]
LBB0_14:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_15:
	mov	x0, x19
	mov	x1, x2
	bl	_krb5_kt_default
	mov	x2, x0
	cbnz	x0, LBB0_2
	b	LBB0_3
LBB0_16:
	ldr	x2, [x21]
Lloh26:
	adrp	x1, l_.str.4@PAGE
Lloh27:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x19
	bl	_krb5_warnx
	bl	_asn1_TicketFlags_units
Lloh28:
	adrp	x8, _stderr@GOTPAGE
Lloh29:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh30:
	ldr	w1, [x8]
	bl	_print_flags_table
	mov	w0, #1
	bl	_exit
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGot	Lloh21, Lloh22
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh28, Lloh29, Lloh30
	.loh AdrpAdd	Lloh26, Lloh27
	.cfi_endproc
                                        ; -- End function
	.comm	_keytab_file,8,3                ; @keytab_file
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"resolving keytab"

	.comm	_client_principal_str,8,3       ; @client_principal_str
l_.str.1:                               ; @.str.1
	.asciz	"missing client principal"

	.comm	_client_principal,4,2           ; @client_principal
l_.str.2:                               ; @.str.2
	.asciz	"resolvning client name"

	.comm	_server_principal_str,8,3       ; @server_principal_str
l_.str.3:                               ; @.str.3
	.asciz	"missing server principal"

	.comm	_server_principal,4,2           ; @server_principal
	.comm	_ticket_flags_str,8,3           ; @ticket_flags_str
l_.str.4:                               ; @.str.4
	.asciz	"bad ticket flags: `%s'"

	.comm	_stderr,4,2                     ; @stderr
	.comm	_ticket_flags,4,2               ; @ticket_flags
	.no_dead_strip	_setup_env
.subsections_via_symbols
