	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function setup_environment
_setup_environment:                     ## @setup_environment
	.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	%rsi, -64(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r14
	movq	$0, (%rdi)
	movq	__PATH_ETC_ENVIRONMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_read_environment
	movl	%eax, %r12d
	movq	(%r14), %rbx
	testl	%eax, %eax
	movq	%r12, -56(%rbp)                 ## 8-byte Spill
	movq	%r14, -48(%rbp)                 ## 8-byte Spill
	jle	LBB0_1
## %bb.2:
	movl	%r12d, %r12d
	xorl	%r13d, %r13d
	movl	$1, %r15d
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%r13,8), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$5, %edx
	callq	_strncmp
	testl	%eax, %eax
	cmovel	%r15d, %r14d
	incq	%r13
	cmpq	%r13, %r12
	jne	LBB0_3
## %bb.4:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	(%rax), %rbx
	movq	-56(%rbp), %r12                 ## 8-byte Reload
	jmp	LBB0_5
LBB0_1:
	xorl	%r14d, %r14d
LBB0_5:
	leal	56(,%r12,8), %esi
	movq	%rbx, %rdi
	callq	_realloc
	movq	%rax, %r15
	movq	%r12, %rbx
	incl	%r12d
	movslq	%ebx, %rax
	leaq	(%r15,%rax,8), %rdi
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movl	8(%r13), %edx
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_7
## %bb.6:
	leaq	L_.str.2(%rip), %rdi
	callq	_syslog_and_die
LBB0_7:
	addl	$2, %ebx
	movslq	%r12d, %rax
	leaq	(%r15,%rax,8), %rdi
	movl	4(%r13), %edx
	leaq	L_.str.3(%rip), %rsi
	xorl	%eax, %eax
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_9
## %bb.8:
	leaq	L_.str.2(%rip), %rdi
	callq	_syslog_and_die
LBB0_9:
	movslq	%ebx, %rax
	leaq	(%r15,%rax,8), %rdi
	movl	(%r13), %edx
	leaq	L_.str.4(%rip), %rsi
	xorl	%eax, %eax
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_11
## %bb.10:
	leaq	L_.str.2(%rip), %rdi
	callq	_syslog_and_die
LBB0_11:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	leal	3(%rbx), %eax
	testl	%r14d, %r14d
	je	LBB0_13
## %bb.12:
	movl	%eax, %ebx
	jmp	LBB0_15
LBB0_13:
	addl	$4, %ebx
	cltq
	leaq	(%r15,%rax,8), %rdi
	movq	__PATH_DEFPATH@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.5(%rip), %rsi
	xorl	%eax, %eax
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_15
## %bb.14:
	leaq	L_.str.2(%rip), %rdi
	callq	_syslog_and_die
LBB0_15:
	leal	1(%rbx), %r14d
	movslq	%ebx, %rax
	leaq	(%r15,%rax,8), %rdi
	leaq	L_.str.6(%rip), %rsi
	xorl	%eax, %eax
	callq	_asprintf
	movq	_do_unique_tkfile@GOTPCREL(%rip), %rax
	cmpq	$0, (%rax)
	je	LBB0_16
## %bb.17:
	addl	$2, %ebx
	movslq	%r14d, %rax
	leaq	(%r15,%rax,8), %rdi
	movq	_tkfile@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	leaq	L_.str.7(%rip), %rsi
	xorl	%eax, %eax
	callq	_asprintf
	cmpl	$-1, %eax
	jne	LBB0_19
## %bb.18:
	leaq	L_.str.2(%rip), %rdi
	callq	_syslog_and_die
	jmp	LBB0_19
LBB0_16:
	movl	%r14d, %ebx
LBB0_19:
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	movslq	%ebx, %rax
	movq	$0, (%r15,%rax,8)
	movq	%r15, (%rcx)
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	__PATH_ETC_ENVIRONMENT,4,2      ## @_PATH_ETC_ENVIRONMENT
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"PATH="

L_.str.1:                               ## @.str.1
	.asciz	"USER=%s"

L_.str.2:                               ## @.str.2
	.asciz	"asprintf: out of memory"

L_.str.3:                               ## @.str.3
	.asciz	"HOME=%s"

L_.str.4:                               ## @.str.4
	.asciz	"SHELL=%s"

L_.str.5:                               ## @.str.5
	.asciz	"PATH=%s"

	.comm	__PATH_DEFPATH,4,2              ## @_PATH_DEFPATH
L_.str.6:                               ## @.str.6
	.asciz	"SSH_CLIENT=only_to_make_bash_happy"

	.comm	_do_unique_tkfile,8,3           ## @do_unique_tkfile
L_.str.7:                               ## @.str.7
	.asciz	"KRB5CCNAME=%s"

	.comm	_tkfile,4,2                     ## @tkfile
	.no_dead_strip	_setup_environment
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function setup_environment
_setup_environment:                     ; @setup_environment
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x22, x1
	mov	x19, x0
	str	xzr, [x0]
Lloh0:
	adrp	x8, __PATH_ETC_ENVIRONMENT@GOTPAGE
Lloh1:
	ldr	x8, [x8, __PATH_ETC_ENVIRONMENT@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	mov	x1, x19
	bl	_read_environment
	mov	x21, x0
	ldr	x20, [x19]
	cmp	w0, #1
	b.lt	LBB0_4
; %bb.1:
	mov	w24, #0
	mov	w25, w21
Lloh3:
	adrp	x23, l_.str@PAGE
Lloh4:
	add	x23, x23, l_.str@PAGEOFF
LBB0_2:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x0, [x20], #8
	mov	x1, x23
	mov	w2, #5
	bl	_strncmp
	cmp	w0, #0
	csinc	w24, w24, wzr, ne
	subs	x25, x25, #1
	b.ne	LBB0_2
; %bb.3:
	ldr	x20, [x19]
	b	LBB0_5
LBB0_4:
	mov	w24, #0
LBB0_5:
	lsl	w8, w21, #3
	add	w1, w8, #56
	mov	x0, x20
	bl	_realloc
	mov	x20, x0
	sxtw	x23, w21
	add	x25, x23, #1
	add	x0, x0, w21, sxtw #3
	ldr	w8, [x22, #8]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_7
; %bb.6:
Lloh7:
	adrp	x0, l_.str.2@PAGE
Lloh8:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_syslog_and_die
LBB0_7:
	add	x26, x23, #2
	add	x0, x20, x25, lsl #3
	ldr	w8, [x22, #4]
	str	x8, [sp]
Lloh9:
	adrp	x1, l_.str.3@PAGE
Lloh10:
	add	x1, x1, l_.str.3@PAGEOFF
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_9
; %bb.8:
Lloh11:
	adrp	x0, l_.str.2@PAGE
Lloh12:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_syslog_and_die
LBB0_9:
	add	x23, x23, #3
	add	x0, x20, x26, lsl #3
	ldr	w8, [x22]
	str	x8, [sp]
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	bl	_asprintf
	cmn	w0, #1
	b.eq	LBB0_11
; %bb.10:
	mov	x22, x23
	cbnz	w24, LBB0_14
	b	LBB0_12
LBB0_11:
Lloh15:
	adrp	x0, l_.str.2@PAGE
Lloh16:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_syslog_and_die
	mov	x22, x23
	cbnz	w24, LBB0_14
LBB0_12:
	add	w22, w21, #4
	add	x0, x20, x23, lsl #3
Lloh17:
	adrp	x8, __PATH_DEFPATH@GOTPAGE
Lloh18:
	ldr	x8, [x8, __PATH_DEFPATH@GOTPAGEOFF]
Lloh19:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh20:
	adrp	x1, l_.str.5@PAGE
Lloh21:
	add	x1, x1, l_.str.5@PAGEOFF
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_14
; %bb.13:
Lloh22:
	adrp	x0, l_.str.2@PAGE
Lloh23:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_syslog_and_die
LBB0_14:
	sxtw	x8, w22
	add	x23, x8, #1
	add	x0, x20, w22, sxtw #3
Lloh24:
	adrp	x1, l_.str.6@PAGE
Lloh25:
	add	x1, x1, l_.str.6@PAGEOFF
	bl	_asprintf
Lloh26:
	adrp	x8, _do_unique_tkfile@GOTPAGE
Lloh27:
	ldr	x8, [x8, _do_unique_tkfile@GOTPAGEOFF]
Lloh28:
	ldr	x8, [x8]
	cbz	x8, LBB0_17
; %bb.15:
	add	w21, w22, #2
	add	x0, x20, x23, lsl #3
Lloh29:
	adrp	x8, _tkfile@GOTPAGE
Lloh30:
	ldr	x8, [x8, _tkfile@GOTPAGEOFF]
Lloh31:
	ldr	w8, [x8]
	str	x8, [sp]
Lloh32:
	adrp	x1, l_.str.7@PAGE
Lloh33:
	add	x1, x1, l_.str.7@PAGEOFF
	bl	_asprintf
	cmn	w0, #1
	b.ne	LBB0_18
; %bb.16:
Lloh34:
	adrp	x0, l_.str.2@PAGE
Lloh35:
	add	x0, x0, l_.str.2@PAGEOFF
	bl	_syslog_and_die
	b	LBB0_18
LBB0_17:
	mov	x21, x23
LBB0_18:
	str	xzr, [x20, w21, sxtw #3]
	str	x20, [x19]
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #96
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpLdrGotLdr	Lloh17, Lloh18, Lloh19
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpAdd	Lloh34, Lloh35
	.cfi_endproc
                                        ; -- End function
	.comm	__PATH_ETC_ENVIRONMENT,4,2      ; @_PATH_ETC_ENVIRONMENT
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"PATH="

l_.str.1:                               ; @.str.1
	.asciz	"USER=%s"

l_.str.2:                               ; @.str.2
	.asciz	"asprintf: out of memory"

l_.str.3:                               ; @.str.3
	.asciz	"HOME=%s"

l_.str.4:                               ; @.str.4
	.asciz	"SHELL=%s"

l_.str.5:                               ; @.str.5
	.asciz	"PATH=%s"

	.comm	__PATH_DEFPATH,4,2              ; @_PATH_DEFPATH
l_.str.6:                               ; @.str.6
	.asciz	"SSH_CLIENT=only_to_make_bash_happy"

	.comm	_do_unique_tkfile,8,3           ; @do_unique_tkfile
l_.str.7:                               ; @.str.7
	.asciz	"KRB5CCNAME=%s"

	.comm	_tkfile,4,2                     ; @tkfile
	.no_dead_strip	_setup_environment
.subsections_via_symbols
