	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function apply_env
_apply_env:                             ## @apply_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, %r15
	movq	%rdi, %r14
	movq	32(%rsi), %rsi
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	movq	%r14, %rdi
	callq	_apply_env
LBB0_2:
	cmpq	$0, 16(%r15)
	je	LBB0_5
## %bb.3:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r15), %rax
	movl	(%rax,%rbx,8), %edx
	movl	4(%rax,%rbx,8), %esi
	movq	%r14, %rdi
	callq	_h2o_req_unsetenv
	incq	%rbx
	cmpq	16(%r15), %rbx
	jne	LBB0_4
LBB0_5:
	cmpq	$0, (%r15)
	je	LBB0_8
## %bb.6:
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	8(%r15), %rax
	movl	(%rax,%rbx,8), %edx
	movl	4(%rax,%rbx,8), %esi
	movq	%r14, %rdi
	movl	$1, %ecx
	callq	_h2o_req_getenv
	movq	8(%r15), %rcx
	movq	8(%rcx,%rbx,8), %rcx
	movq	%rcx, (%rax)
	addq	$2, %rbx
	cmpq	(%r15), %rbx
	jne	LBB0_7
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_apply_env
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function apply_env
_apply_env:                             ; @apply_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	x19, x1
	mov	x20, x0
	ldr	x1, [x1, #32]
	cbz	x1, LBB0_2
; %bb.1:
	mov	x0, x20
	bl	_apply_env
LBB0_2:
	ldr	x8, [x19, #16]
	cbz	x8, LBB0_5
; %bb.3:
	mov	x21, #0
	mov	x22, #0
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #24]
	add	x8, x8, x21
	ldp	w2, w1, [x8]
	mov	x0, x20
	bl	_h2o_req_unsetenv
	add	x22, x22, #1
	ldr	x8, [x19, #16]
	add	x21, x21, #8
	cmp	x22, x8
	b.ne	LBB0_4
LBB0_5:
	ldr	x8, [x19]
	cbz	x8, LBB0_8
; %bb.6:
	mov	x21, #0
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #8]
	lsl	x22, x21, #3
	add	x8, x8, x22
	ldp	w2, w1, [x8]
	mov	x0, x20
	mov	w3, #1
	bl	_h2o_req_getenv
	ldr	x8, [x19, #8]
	orr	x9, x22, #0x8
	ldr	x8, [x8, x9]
	str	x8, [x0]
	add	x21, x21, #2
	ldr	x8, [x19]
	cmp	x21, x8
	b.ne	LBB0_7
LBB0_8:
	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
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_apply_env
.subsections_via_symbols
