	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_getenv
_update_getenv:                         ## @update_getenv
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	_FALSE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
	movq	_dbdLAST@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jbe	LBB0_13
## %bb.1:
	movq	%rsi, %rbx
	movq	%rdi, %r12
	callq	_getenv
	testq	%rax, %rax
	je	LBB0_13
## %bb.2:
	movq	%rax, %rdi
	callq	_strdup
	testq	%rax, %rax
	je	LBB0_13
## %bb.3:
	movq	%rax, %r15
	movq	_my_vars@GOTPCREL(%rip), %r13
	movq	(%r13), %rcx
	shlq	$4, %rbx
	movq	(%rcx,%rbx), %rdi
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.4:
	movq	%r12, %rsi
	callq	_strcmp
	movq	(%r13), %rcx
	testq	%rax, %rax
	je	LBB0_6
LBB0_5:
	movq	8(%rcx,%rbx), %rdi
	callq	_FreeIfNeeded
	movq	(%r13), %rax
	movq	%r12, (%rax,%rbx)
LBB0_9:
	movq	(%r13), %rax
	movq	%r15, 8(%rax,%rbx)
	movq	_TRUE@GOTPCREL(%rip), %rax
	movl	(%rax), %r14d
LBB0_13:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	8(%rcx,%rbx), %rsi
	testq	%rsi, %rsi
	je	LBB0_7
## %bb.10:
	movq	%r15, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_12
## %bb.11:
	movq	(%r13), %rax
	movq	8(%rax,%rbx), %rdi
	jmp	LBB0_8
LBB0_7:
	xorl	%edi, %edi
LBB0_8:
	callq	_FreeIfNeeded
	jmp	LBB0_9
LBB0_12:
	movq	%r15, %rdi
	callq	_free
	jmp	LBB0_13
	.cfi_endproc
                                        ## -- End function
	.comm	_FALSE,4,2                      ## @FALSE
	.comm	_dbdLAST,8,3                    ## @dbdLAST
	.comm	_my_vars,8,3                    ## @my_vars
	.comm	_TRUE,4,2                       ## @TRUE
	.no_dead_strip	_update_getenv
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_getenv
_update_getenv:                         ; @update_getenv
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w23, -56
	.cfi_offset w24, -64
Lloh0:
	adrp	x8, _FALSE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _FALSE@GOTPAGEOFF]
Lloh2:
	ldr	w19, [x8]
Lloh3:
	adrp	x8, _dbdLAST@GOTPAGE
Lloh4:
	ldr	x8, [x8, _dbdLAST@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cmp	x8, x1
	b.ls	LBB0_8
; %bb.1:
	mov	x22, x1
	mov	x21, x0
	bl	_getenv
	cbz	x0, LBB0_8
; %bb.2:
	bl	_strdup
	cbz	x0, LBB0_8
; %bb.3:
	mov	x20, x0
Lloh6:
	adrp	x23, _my_vars@GOTPAGE
Lloh7:
	ldr	x23, [x23, _my_vars@GOTPAGEOFF]
	ldr	x8, [x23]
	lsl	x24, x22, #4
	ldr	x0, [x8, x24]
	cbz	x0, LBB0_5
; %bb.4:
	mov	x1, x21
	bl	_strcmp
	ldr	x8, [x23]
	cbz	x0, LBB0_9
LBB0_5:
	add	x8, x8, x24
	ldr	x0, [x8, #8]
	bl	_FreeIfNeeded
	ldr	x8, [x23]
	str	x21, [x8, x24]
LBB0_6:
	ldr	x8, [x23]
	add	x8, x8, x24
LBB0_7:
	str	x20, [x8, #8]
Lloh8:
	adrp	x8, _TRUE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _TRUE@GOTPAGEOFF]
Lloh10:
	ldr	w19, [x8]
LBB0_8:
	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
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_9:
	add	x8, x8, x22, lsl #4
	ldr	x1, [x8, #8]
	cbz	x1, LBB0_12
; %bb.10:
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_13
; %bb.11:
	ldr	x8, [x23]
	add	x8, x8, x24
	ldr	x0, [x8, #8]
	bl	_FreeIfNeeded
	b	LBB0_6
LBB0_12:
	mov	x0, #0
	bl	_FreeIfNeeded
	ldr	x8, [x23]
	add	x8, x8, x22, lsl #4
	b	LBB0_7
LBB0_13:
	mov	x0, x20
	bl	_free
	b	LBB0_8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_FALSE,4,2                      ; @FALSE
	.comm	_dbdLAST,8,3                    ; @dbdLAST
	.comm	_my_vars,8,3                    ; @my_vars
	.comm	_TRUE,4,2                       ; @TRUE
	.no_dead_strip	_update_getenv
.subsections_via_symbols
