	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LSAPI_GetEnv_r                 ## -- Begin function LSAPI_GetEnv_r
	.p2align	4, 0x90
_LSAPI_GetEnv_r:                        ## @LSAPI_GetEnv_r
	.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
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_10
## %bb.1:
	movq	%rsi, %r12
	testq	%rsi, %rsi
	je	LBB0_10
## %bb.2:
	movq	%rdi, %r15
	movq	(%rdi), %rax
	movq	8(%rdi), %rbx
	movslq	(%rax), %r13
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdi
	movl	$5, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_5
## %bb.3:
	testl	%r13d, %r13d
	jle	LBB0_4
## %bb.6:
	shlq	$4, %r13
	addq	%rbx, %r13
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	8(%rbx), %esi
	movq	%r12, %rdi
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_8
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	addq	$16, %rbx
	cmpq	%r13, %rbx
	jb	LBB0_7
	jmp	LBB0_10
LBB0_5:
	movq	%r15, %rdi
	movq	%r12, %rsi
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_GetHeaderVar                   ## TAILCALL
LBB0_4:
	xorl	%r14d, %r14d
	jmp	LBB0_10
LBB0_8:
	movq	(%rbx), %r14
LBB0_10:
	movq	%r14, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HTTP_"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_LSAPI_GetEnv_r                 ; -- Begin function LSAPI_GetEnv_r
	.p2align	2
_LSAPI_GetEnv_r:                        ; @LSAPI_GetEnv_r
	.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	x20, x0
	mov	x0, #0
	cbz	x20, LBB0_10
; %bb.1:
	mov	x19, x1
	cbz	x1, LBB0_10
; %bb.2:
	ldp	x8, x21, [x20]
	ldrsw	x22, [x8]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x19
	mov	w2, #5
	bl	_strncmp
	cbz	x0, LBB0_8
; %bb.3:
	cmp	w22, #1
	b.lt	LBB0_7
; %bb.4:
	add	x20, x21, x22, lsl #4
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x21, #8]
	mov	x0, x19
	bl	_strcmp
	cbz	x0, LBB0_9
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	add	x21, x21, #16
	cmp	x21, x20
	b.lo	LBB0_5
LBB0_7:
	mov	x0, #0
	b	LBB0_10
LBB0_8:
	mov	x0, x20
	mov	x1, x19
	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
	b	_GetHeaderVar
LBB0_9:
	ldr	x0, [x21]
LBB0_10:
	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
	.loh AdrpAdd	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HTTP_"

.subsections_via_symbols
