	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function GetHeaderVar
_GetHeaderVar:                          ## @GetHeaderVar
	.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, -48(%rbp)                 ## 8-byte Spill
	movq	%rdi, %r12
	movq	_H_TRANSFER_ENCODING@GOTPCREL(%rip), %r14
	movl	(%r14), %eax
	testl	%eax, %eax
	jle	LBB0_6
## %bb.1:
	xorl	%ebx, %ebx
	movq	_CGI_HEADERS@GOTPCREL(%rip), %r15
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	incq	%rbx
	movslq	%eax, %rcx
	cmpq	%rcx, %rbx
	jge	LBB0_6
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	movq	24(%r12), %rcx
	movq	(%rcx), %rcx
	cmpl	$0, (%rcx,%rbx,4)
	je	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	(%r15), %rax
	movl	(%rax,%rbx,4), %esi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	callq	_strcmp
	testq	%rax, %rax
	je	LBB0_10
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r14), %eax
	jmp	LBB0_5
LBB0_6:
	movq	8(%r12), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	jle	LBB0_22
## %bb.7:
	movq	16(%r12), %rbx
	shlq	$4, %rax
	addq	%rbx, %rax
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	addq	$5, -48(%rbp)                   ## 8-byte Folded Spill
	jmp	LBB0_8
	.p2align	4, 0x90
LBB0_21:                                ##   in Loop: Header=BB0_8 Depth=1
	addq	$16, %rbx
	cmpq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	jae	LBB0_22
LBB0_8:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_14 Depth 2
	movslq	(%rbx), %r15
	addq	(%r12), %r15
	movslq	4(%rbx), %rax
	leaq	(%r15,%rax), %r13
	testq	%rax, %rax
	jle	LBB0_9
## %bb.13:                              ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	.p2align	4, 0x90
LBB0_14:                                ##   Parent Loop BB0_8 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$0, (%r14)
	je	LBB0_18
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movsbl	(%r15), %edi
	callq	_toupper
	cmpb	(%r14), %al
	jne	LBB0_18
## %bb.16:                              ##   in Loop: Header=BB0_14 Depth=2
	cmpb	$95, %al
	je	LBB0_18
## %bb.17:                              ##   in Loop: Header=BB0_14 Depth=2
	incq	%r14
	incq	%r15
	cmpq	%r13, %r15
	jb	LBB0_14
LBB0_18:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpq	%r13, %r15
	jne	LBB0_21
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_8 Depth=1
	movq	-48(%rbp), %r14                 ## 8-byte Reload
	cmpq	%r13, %r15
	jne	LBB0_21
LBB0_19:                                ##   in Loop: Header=BB0_8 Depth=1
	cmpb	$0, (%r14)
	jne	LBB0_21
## %bb.20:
	movslq	8(%rbx), %rax
	addq	(%r12), %rax
	movslq	12(%rbx), %rcx
	cmpb	$0, (%rcx,%rax)
	jne	LBB0_12
	jmp	LBB0_23
LBB0_22:
	xorl	%eax, %eax
	jmp	LBB0_23
LBB0_10:
	movq	24(%r12), %rdx
	movq	(%rdx), %rcx
	movslq	(%rcx,%rbx,4), %rax
	addq	(%r12), %rax
	movq	8(%rdx), %rcx
	movslq	(%rcx,%rbx,4), %rcx
	cmpb	$0, (%rcx,%rax)
	je	LBB0_23
LBB0_12:
	addq	%rax, %rcx
	movb	$0, (%rcx)
LBB0_23:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_H_TRANSFER_ENCODING,4,2        ## @H_TRANSFER_ENCODING
	.comm	_CGI_HEADERS,8,3                ## @CGI_HEADERS
	.no_dead_strip	_GetHeaderVar
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function GetHeaderVar
_GetHeaderVar:                          ; @GetHeaderVar
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x20, x1
	mov	x19, x0
Lloh0:
	adrp	x21, _H_TRANSFER_ENCODING@GOTPAGE
Lloh1:
	ldr	x21, [x21, _H_TRANSFER_ENCODING@GOTPAGEOFF]
	ldr	w8, [x21]
	cmp	w8, #1
	b.lt	LBB0_6
; %bb.1:
	mov	x22, #0
Lloh2:
	adrp	x23, _CGI_HEADERS@GOTPAGE
Lloh3:
	ldr	x23, [x23, _CGI_HEADERS@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	add	x22, x22, #1
	cmp	x22, w8, sxtw
	b.ge	LBB0_6
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #24]
	ldr	x9, [x9]
	ldr	w9, [x9, x22, lsl #2]
	cbz	w9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x8, [x23]
	ldr	w1, [x8, x22, lsl #2]
	mov	x0, x20
	bl	_strcmp
	cbz	x0, LBB0_18
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x21]
	b	LBB0_2
LBB0_6:
	ldr	x8, [x19, #8]
	ldr	x8, [x8]
	cmp	x8, #1
	b.lt	LBB0_17
; %bb.7:
	ldr	x21, [x19, #16]
	add	x22, x21, x8, lsl #4
	add	x20, x20, #5
	b	LBB0_10
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	cmp	x23, x24
	b.eq	LBB0_15
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, #16
	cmp	x21, x22
	b.hs	LBB0_17
LBB0_10:                                ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_11 Depth 2
	ldr	x8, [x19]
	ldpsw	x9, x10, [x21]
	add	x23, x8, x9
	add	x24, x23, x10
	mov	x25, x20
	cmp	w10, #1
	b.lt	LBB0_8
LBB0_11:                                ;   Parent Loop BB0_10 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	ldrb	w8, [x25]
	cbz	w8, LBB0_8
; %bb.12:                               ;   in Loop: Header=BB0_11 Depth=2
	ldrsb	w0, [x23]
	bl	_toupper
	ldrb	w8, [x25]
	cmp	w8, w0, uxtb
	b.ne	LBB0_8
; %bb.13:                               ;   in Loop: Header=BB0_11 Depth=2
	cmp	w0, #95
	b.eq	LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_11 Depth=2
	add	x25, x25, #1
	add	x23, x23, #1
	cmp	x23, x24
	b.lo	LBB0_11
	b	LBB0_8
LBB0_15:                                ;   in Loop: Header=BB0_10 Depth=1
	ldrb	w8, [x25]
	cbnz	w8, LBB0_9
; %bb.16:
	ldr	x8, [x19]
	ldpsw	x9, x10, [x21, #8]
	add	x0, x8, x9
	add	x8, x0, x10
	ldrb	w9, [x8]
	cbnz	w9, LBB0_19
	b	LBB0_20
LBB0_17:
	mov	x0, #0
	b	LBB0_20
LBB0_18:
	ldr	x8, [x19, #24]
	lsl	x9, x22, #2
	ldp	x10, x8, [x8]
	ldrsw	x10, [x10, x9]
	ldr	x11, [x19]
	ldrsw	x8, [x8, x9]
	add	x0, x11, x10
	add	x8, x0, x8
	ldrb	w9, [x8]
	cbz	w9, LBB0_20
LBB0_19:
	strb	wzr, [x8]
LBB0_20:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_H_TRANSFER_ENCODING,4,2        ; @H_TRANSFER_ENCODING
	.comm	_CGI_HEADERS,8,3                ; @CGI_HEADERS
	.no_dead_strip	_GetHeaderVar
.subsections_via_symbols
