	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_env_opt_start                  ## -- Begin function env_opt_start
	.p2align	4, 0x90
_env_opt_start:                         ## @env_opt_start
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	_opt_reply@GOTPCREL(%rip), %rbx
	movq	(%rbx), %rdi
	movq	_OPT_REPLY_SIZE@GOTPCREL(%rip), %r14
	movl	(%r14), %esi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.1:
	callq	_realloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.2:
	movq	%rax, (%rbx)
	jmp	LBB0_3
LBB0_5:
	movl	%esi, %edi
	callq	_malloc
	movq	%rax, (%rbx)
	testq	%rax, %rax
	je	LBB0_6
LBB0_3:
	movslq	(%r14), %rcx
	addq	%rax, %rcx
	movq	_opt_replyend@GOTPCREL(%rip), %rdx
	movq	%rcx, (%rdx)
	movq	_IAC@GOTPCREL(%rip), %rcx
	movb	(%rcx), %cl
	leaq	1(%rax), %rdx
	movq	_opt_replyp@GOTPCREL(%rip), %rsi
	movq	%rdx, (%rsi)
	movb	%cl, (%rax)
	movq	_SB@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	(%rsi), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, (%rsi)
	movb	%al, (%rcx)
	movq	_telopt_environ@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	(%rsi), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, (%rsi)
	movb	%al, (%rcx)
	movq	_TELQUAL_IS@GOTPCREL(%rip), %rax
	movb	(%rax), %al
	movq	(%rsi), %rcx
	leaq	1(%rcx), %rdx
	movq	%rdx, (%rsi)
	movb	%al, (%rcx)
	jmp	LBB0_7
LBB0_4:
	movq	(%rbx), %rdi
	callq	_free
	movq	$0, (%rbx)
LBB0_6:
	leaq	L_str(%rip), %rdi
	callq	_puts
	movq	_opt_replyend@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	_opt_replyp@GOTPCREL(%rip), %rax
	movq	$0, (%rax)
	movq	$0, (%rbx)
LBB0_7:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_opt_reply,8,3                  ## @opt_reply
	.comm	_OPT_REPLY_SIZE,4,2             ## @OPT_REPLY_SIZE
	.comm	_opt_replyend,8,3               ## @opt_replyend
	.comm	_opt_replyp,8,3                 ## @opt_replyp
	.comm	_IAC,4,2                        ## @IAC
	.comm	_SB,4,2                         ## @SB
	.comm	_telopt_environ,4,2             ## @telopt_environ
	.comm	_TELQUAL_IS,4,2                 ## @TELQUAL_IS
	.section	__TEXT,__cstring,cstring_literals
L_str:                                  ## @str
	.asciz	"env_opt_start: malloc()/realloc() failed!!!"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_env_opt_start                  ; -- Begin function env_opt_start
	.p2align	2
_env_opt_start:                         ; @env_opt_start
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
Lloh0:
	adrp	x19, _opt_reply@GOTPAGE
Lloh1:
	ldr	x19, [x19, _opt_reply@GOTPAGEOFF]
	ldr	x0, [x19]
Lloh2:
	adrp	x20, _OPT_REPLY_SIZE@GOTPAGE
Lloh3:
	ldr	x20, [x20, _OPT_REPLY_SIZE@GOTPAGEOFF]
	ldr	w1, [x20]
	cbz	x0, LBB0_3
; %bb.1:
	bl	_realloc
	cbz	x0, LBB0_5
; %bb.2:
	str	x0, [x19]
	b	LBB0_4
LBB0_3:
	mov	x0, x1
	bl	_malloc
	str	x0, [x19]
	cbz	x0, LBB0_6
LBB0_4:
	ldrsw	x8, [x20]
	add	x8, x0, x8
Lloh4:
	adrp	x9, _opt_replyend@GOTPAGE
Lloh5:
	ldr	x9, [x9, _opt_replyend@GOTPAGEOFF]
Lloh6:
	str	x8, [x9]
Lloh7:
	adrp	x8, _IAC@GOTPAGE
Lloh8:
	ldr	x8, [x8, _IAC@GOTPAGEOFF]
Lloh9:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _opt_replyp@GOTPAGE
Lloh11:
	ldr	x9, [x9, _opt_replyp@GOTPAGEOFF]
	add	x10, x0, #1
	str	x10, [x9]
	strb	w8, [x0]
Lloh12:
	adrp	x8, _SB@GOTPAGE
Lloh13:
	ldr	x8, [x8, _SB@GOTPAGEOFF]
Lloh14:
	ldr	w8, [x8]
	ldr	x10, [x9]
	add	x11, x10, #1
	str	x11, [x9]
	strb	w8, [x10]
Lloh15:
	adrp	x8, _telopt_environ@GOTPAGE
Lloh16:
	ldr	x8, [x8, _telopt_environ@GOTPAGEOFF]
Lloh17:
	ldr	w8, [x8]
	ldr	x10, [x9]
	add	x11, x10, #1
	str	x11, [x9]
Lloh18:
	adrp	x11, _TELQUAL_IS@GOTPAGE
Lloh19:
	ldr	x11, [x11, _TELQUAL_IS@GOTPAGEOFF]
	strb	w8, [x10]
Lloh20:
	ldr	w8, [x11]
	ldr	x10, [x9]
	add	x11, x10, #1
	str	x11, [x9]
	strb	w8, [x10]
	b	LBB0_7
LBB0_5:
	ldr	x0, [x19]
	bl	_free
	str	xzr, [x19]
LBB0_6:
Lloh21:
	adrp	x0, l_str@PAGE
Lloh22:
	add	x0, x0, l_str@PAGEOFF
	bl	_puts
Lloh23:
	adrp	x8, _opt_replyend@GOTPAGE
Lloh24:
	ldr	x8, [x8, _opt_replyend@GOTPAGEOFF]
Lloh25:
	str	xzr, [x8]
Lloh26:
	adrp	x8, _opt_replyp@GOTPAGE
Lloh27:
	ldr	x8, [x8, _opt_replyp@GOTPAGEOFF]
Lloh28:
	str	xzr, [x8]
	str	xzr, [x19]
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh7, Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh4, Lloh5, Lloh6
	.loh AdrpLdrGotStr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotStr	Lloh23, Lloh24, Lloh25
	.loh AdrpAdd	Lloh21, Lloh22
	.cfi_endproc
                                        ; -- End function
	.comm	_opt_reply,8,3                  ; @opt_reply
	.comm	_OPT_REPLY_SIZE,4,2             ; @OPT_REPLY_SIZE
	.comm	_opt_replyend,8,3               ; @opt_replyend
	.comm	_opt_replyp,8,3                 ; @opt_replyp
	.comm	_IAC,4,2                        ; @IAC
	.comm	_SB,4,2                         ; @SB
	.comm	_telopt_environ,4,2             ; @telopt_environ
	.comm	_TELQUAL_IS,4,2                 ; @TELQUAL_IS
	.section	__TEXT,__cstring,cstring_literals
l_str:                                  ; @str
	.asciz	"env_opt_start: malloc()/realloc() failed!!!"

.subsections_via_symbols
