	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_http_context_headers           ## -- Begin function http_context_headers
	.p2align	4, 0x90
_http_context_headers:                  ## @http_context_headers
	.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	%r8, -64(%rbp)                  ## 8-byte Spill
	movl	%ecx, -52(%rbp)                 ## 4-byte Spill
	movl	%edx, -44(%rbp)                 ## 4-byte Spill
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	testq	%rdi, %rdi
	je	LBB0_41
## %bb.1:
	leaq	L_.str(%rip), %rsi
	leaq	L_.str.1(%rip), %rdx
	callq	_php_stream_context_get_option
	testq	%rax, %rax
	je	LBB0_41
## %bb.2:
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_Z_TYPE_P
	movq	_IS_STRING@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_41
## %bb.3:
	movq	%rbx, %rdi
	callq	_Z_STRLEN_P
	testq	%rax, %rax
	je	LBB0_41
## %bb.4:
	movq	%rbx, %rdi
	callq	_Z_STRVAL_P
	movb	(%rax), %r12b
	testb	%r12b, %r12b
	je	LBB0_41
## %bb.5:
	movq	%rax, %r13
	movabsq	$4294967808, %rbx               ## imm = 0x100000200
	movl	$9217, %edx                     ## imm = 0x2401
	movabsq	$4294977024, %rsi               ## imm = 0x100002600
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_42:                                ##   in Loop: Header=BB0_6 Depth=1
	movb	1(%r13), %r12b
	incq	%r13
LBB0_6:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_9 Depth 2
                                        ##     Child Loop BB0_14 Depth 2
	cmpb	$32, %r12b
	ja	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movzbl	%r12b, %eax
	btq	%rax, %rsi
	jb	LBB0_42
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	movl	$-1, %ecx
	xorl	%r15d, %r15d
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_19:                                ##   in Loop: Header=BB0_9 Depth=2
	movzbl	1(%r13,%r15), %r12d
	incq	%r15
LBB0_9:                                 ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$58, %r12b
	ja	LBB0_19
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=2
	movzbl	%r12b, %eax
	btq	%rax, %rbx
	jae	LBB0_11
## %bb.17:                              ##   in Loop: Header=BB0_9 Depth=2
	testl	%ecx, %ecx
	jns	LBB0_19
## %bb.18:                              ##   in Loop: Header=BB0_9 Depth=2
	movl	%r15d, %ecx
	jmp	LBB0_19
	.p2align	4, 0x90
LBB0_11:                                ##   in Loop: Header=BB0_9 Depth=2
	btq	%rax, %rdx
	jb	LBB0_39
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=2
	cmpq	$58, %rax
	jne	LBB0_19
## %bb.13:                              ##   in Loop: Header=BB0_6 Depth=1
	testl	%ecx, %ecx
	movl	%r15d, %eax
	cmovnsl	%ecx, %eax
	movb	$58, %r12b
	jmp	LBB0_14
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_14 Depth=2
	movzbl	1(%r13,%r15), %r12d
	incq	%r15
LBB0_14:                                ##   Parent Loop BB0_6 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	cmpb	$13, %r12b
	ja	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_14 Depth=2
	movzbl	%r12b, %ecx
	btq	%rcx, %rdx
	jae	LBB0_16
## %bb.20:                              ##   in Loop: Header=BB0_6 Depth=1
	leal	-4(%rax), %ecx
	rorl	%ecx
	leaq	(%r15,%r13), %r14
	cmpl	$5, %ecx
	ja	LBB0_30
## %bb.21:                              ##   in Loop: Header=BB0_6 Depth=1
	leaq	LJTI0_0(%rip), %rdx
	movslq	(%rdx,%rcx,4), %rcx
	addq	%rdx, %rcx
	jmpq	*%rcx
LBB0_22:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.2(%rip), %rsi
	movl	$4, %edx
	jmp	LBB0_23
LBB0_39:                                ##   in Loop: Header=BB0_6 Depth=1
	addq	%r15, %r13
	movq	%r13, %r14
	jmp	LBB0_40
LBB0_25:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.3(%rip), %rsi
	movl	$10, %edx
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_26
## %bb.27:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.4(%rip), %rsi
	movl	$10, %edx
	jmp	LBB0_23
LBB0_29:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.6(%rip), %rsi
	movl	$12, %edx
	jmp	LBB0_23
LBB0_28:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.5(%rip), %rsi
	movl	$14, %edx
	jmp	LBB0_23
LBB0_30:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -52(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_33
## %bb.31:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$6, %eax
	jne	LBB0_33
## %bb.32:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.7(%rip), %rsi
	movl	$6, %edx
	jmp	LBB0_23
LBB0_33:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_36
## %bb.34:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$13, %eax
	jne	LBB0_36
## %bb.35:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.8(%rip), %rsi
	movl	$13, %edx
	jmp	LBB0_23
LBB0_36:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$0, -44(%rbp)                   ## 4-byte Folded Reload
	je	LBB0_24
## %bb.37:                              ##   in Loop: Header=BB0_6 Depth=1
	cmpl	$19, %eax
	jne	LBB0_24
## %bb.38:                              ##   in Loop: Header=BB0_6 Depth=1
	movq	%r13, %rdi
	leaq	L_.str.9(%rip), %rsi
	movl	$19, %edx
LBB0_23:                                ##   in Loop: Header=BB0_6 Depth=1
	callq	_strncasecmp
	testq	%rax, %rax
	je	LBB0_26
LBB0_24:                                ##   in Loop: Header=BB0_6 Depth=1
	movq	-64(%rbp), %r12                 ## 8-byte Reload
	movq	%r12, %rdi
	movq	%r13, %rsi
	movl	%r15d, %edx
	callq	_smart_str_appendl
	movq	%r12, %rdi
	leaq	L_.str.10(%rip), %rsi
	callq	_smart_str_append_const
	movb	(%r13,%r15), %r12b
LBB0_26:                                ##   in Loop: Header=BB0_6 Depth=1
	movl	$9217, %edx                     ## imm = 0x2401
	movabsq	$4294977024, %rsi               ## imm = 0x100002600
LBB0_40:                                ##   in Loop: Header=BB0_6 Depth=1
	cmpb	$1, %r12b
	sbbq	$-1, %r14
	movb	(%r14), %r12b
	movq	%r14, %r13
	testb	%r12b, %r12b
	jne	LBB0_6
LBB0_41:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_22, LBB0_22-LJTI0_0
.set L0_0_set_30, LBB0_30-LJTI0_0
.set L0_0_set_25, LBB0_25-LJTI0_0
.set L0_0_set_29, LBB0_29-LJTI0_0
.set L0_0_set_28, LBB0_28-LJTI0_0
LJTI0_0:
	.long	L0_0_set_22
	.long	L0_0_set_30
	.long	L0_0_set_30
	.long	L0_0_set_25
	.long	L0_0_set_29
	.long	L0_0_set_28
	.end_data_region
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"http"

L_.str.1:                               ## @.str.1
	.asciz	"header"

	.comm	_IS_STRING,8,3                  ## @IS_STRING
L_.str.2:                               ## @.str.2
	.asciz	"host"

L_.str.3:                               ## @.str.3
	.asciz	"connection"

L_.str.4:                               ## @.str.4
	.asciz	"user-agent"

L_.str.5:                               ## @.str.5
	.asciz	"content-length"

L_.str.6:                               ## @.str.6
	.asciz	"content-type"

L_.str.7:                               ## @.str.7
	.asciz	"cookie"

L_.str.8:                               ## @.str.8
	.asciz	"authorization"

L_.str.9:                               ## @.str.9
	.asciz	"proxy-authorization"

L_.str.10:                              ## @.str.10
	.asciz	"\r\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_http_context_headers           ; -- Begin function http_context_headers
	.p2align	2
_http_context_headers:                  ; @http_context_headers
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #112
	.cfi_def_cfa_offset 112
	stp	x28, x27, [sp, #16]             ; 16-byte Folded Spill
	stp	x26, x25, [sp, #32]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #48]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #64]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #80]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #96]             ; 16-byte Folded Spill
	add	x29, sp, #96
	.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
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	stp	w2, w1, [sp, #8]                ; 8-byte Folded Spill
	cbz	x0, LBB0_39
; %bb.1:
	mov	x19, x4
	mov	x20, x3
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
Lloh2:
	adrp	x2, l_.str.1@PAGE
Lloh3:
	add	x2, x2, l_.str.1@PAGEOFF
	bl	_php_stream_context_get_option
	cbz	x0, LBB0_39
; %bb.2:
	mov	x23, x0
	bl	_Z_TYPE_P
Lloh4:
	adrp	x8, _IS_STRING@GOTPAGE
Lloh5:
	ldr	x8, [x8, _IS_STRING@GOTPAGEOFF]
Lloh6:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_39
; %bb.3:
	mov	x0, x23
	bl	_Z_STRLEN_P
	cbz	x0, LBB0_39
; %bb.4:
	mov	x0, x23
	bl	_Z_STRVAL_P
	ldrb	w21, [x0]
	cbz	w21, LBB0_39
; %bb.5:
	mov	x23, x0
	mov	w28, #1
	mov	x24, #512
	movk	x24, #1, lsl #32
	mov	w26, #9217
	mov	x25, #9728
	movk	x25, #1, lsl #32
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	ldrb	w21, [x23, #1]!
LBB0_7:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_12 Depth 2
                                        ;     Child Loop BB0_18 Depth 2
	cmp	w21, #32
	b.hi	LBB0_9
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	w8, w21
	lsl	x8, x28, x8
	tst	x8, x25
	b.ne	LBB0_6
LBB0_9:                                 ;   in Loop: Header=BB0_7 Depth=1
	mov	x27, #0
	mov	w8, #-1
	b	LBB0_12
LBB0_10:                                ;   in Loop: Header=BB0_12 Depth=2
	tst	w8, #0x80000000
	csel	w8, w8, w27, eq
LBB0_11:                                ;   in Loop: Header=BB0_12 Depth=2
	add	x9, x23, x27
	ldrb	w21, [x9, #1]
	add	x27, x27, #1
LBB0_12:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w21, #58
	b.hi	LBB0_11
; %bb.13:                               ;   in Loop: Header=BB0_12 Depth=2
	mov	w9, w21
	lsl	x10, x28, x9
	tst	x10, x24
	b.ne	LBB0_10
; %bb.14:                               ;   in Loop: Header=BB0_12 Depth=2
	lsl	x10, x28, x9
	tst	x10, x26
	b.ne	LBB0_23
; %bb.15:                               ;   in Loop: Header=BB0_12 Depth=2
	cmp	x9, #58
	b.ne	LBB0_11
; %bb.16:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #0
	csel	w8, w27, w8, lt
	mov	w21, #58
	b	LBB0_18
LBB0_17:                                ;   in Loop: Header=BB0_18 Depth=2
	add	x9, x23, x27
	ldrb	w21, [x9, #1]
	add	x27, x27, #1
LBB0_18:                                ;   Parent Loop BB0_7 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	cmp	w21, #13
	b.hi	LBB0_17
; %bb.19:                               ;   in Loop: Header=BB0_18 Depth=2
	lsl	w9, w28, w21
	tst	w9, w26
	b.eq	LBB0_17
; %bb.20:                               ;   in Loop: Header=BB0_7 Depth=1
	sub	w9, w8, #4
	ror	w9, w9, #1
	add	x22, x23, x27
	cmp	w9, #5
	b.hi	LBB0_29
; %bb.21:                               ;   in Loop: Header=BB0_7 Depth=1
Lloh7:
	adrp	x12, lJTI0_0@PAGE
Lloh8:
	add	x12, x12, lJTI0_0@PAGEOFF
	adr	x10, LBB0_22
	ldrb	w11, [x12, x9]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_22:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	w2, #4
	bl	_strncasecmp
	cbnz	x0, LBB0_38
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_7 Depth=1
	add	x22, x23, x27
LBB0_24:                                ;   in Loop: Header=BB0_7 Depth=1
	cmp	w21, #0
	cinc	x23, x22, ne
	ldrb	w21, [x23]
	cbnz	w21, LBB0_7
	b	LBB0_39
LBB0_25:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	w2, #10
	bl	_strncasecmp
	cbz	x0, LBB0_24
; %bb.26:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
Lloh13:
	adrp	x1, l_.str.4@PAGE
Lloh14:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	w2, #10
	bl	_strncasecmp
	cbnz	x0, LBB0_38
	b	LBB0_24
LBB0_27:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	w2, #12
	bl	_strncasecmp
	cbnz	x0, LBB0_38
	b	LBB0_24
LBB0_28:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
Lloh17:
	adrp	x1, l_.str.5@PAGE
Lloh18:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	w2, #14
	bl	_strncasecmp
	cbnz	x0, LBB0_38
	b	LBB0_24
LBB0_29:                                ;   in Loop: Header=BB0_7 Depth=1
	cbz	w20, LBB0_32
; %bb.30:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #6
	b.ne	LBB0_32
; %bb.31:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
Lloh19:
	adrp	x1, l_.str.7@PAGE
Lloh20:
	add	x1, x1, l_.str.7@PAGEOFF
	mov	w2, #6
	bl	_strncasecmp
	cbnz	x0, LBB0_38
	b	LBB0_24
LBB0_32:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [sp, #12]                   ; 4-byte Folded Reload
	cbz	w9, LBB0_35
; %bb.33:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #13
	b.ne	LBB0_35
; %bb.34:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
Lloh21:
	adrp	x1, l_.str.8@PAGE
Lloh22:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	w2, #13
	bl	_strncasecmp
	cbnz	x0, LBB0_38
	b	LBB0_24
LBB0_35:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	w9, [sp, #8]                    ; 4-byte Folded Reload
	cbz	w9, LBB0_38
; %bb.36:                               ;   in Loop: Header=BB0_7 Depth=1
	cmp	w8, #19
	b.ne	LBB0_38
; %bb.37:                               ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x23
Lloh23:
	adrp	x1, l_.str.9@PAGE
Lloh24:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	w2, #19
	bl	_strncasecmp
	cbz	x0, LBB0_24
LBB0_38:                                ;   in Loop: Header=BB0_7 Depth=1
	mov	x0, x19
	mov	x1, x23
	mov	x2, x27
	bl	_smart_str_appendl
	mov	x0, x19
Lloh25:
	adrp	x1, l_.str.10@PAGE
Lloh26:
	add	x1, x1, l_.str.10@PAGEOFF
	bl	_smart_str_append_const
	ldrb	w21, [x23, x27]
	b	LBB0_24
LBB0_39:
	ldp	x29, x30, [sp, #96]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #80]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #64]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #48]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #32]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #112
	ret
	.loh AdrpAdd	Lloh2, Lloh3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh4, Lloh5, Lloh6
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh13, Lloh14
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh23, Lloh24
	.loh AdrpAdd	Lloh25, Lloh26
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_22-LBB0_22)>>2
	.byte	(LBB0_29-LBB0_22)>>2
	.byte	(LBB0_29-LBB0_22)>>2
	.byte	(LBB0_25-LBB0_22)>>2
	.byte	(LBB0_27-LBB0_22)>>2
	.byte	(LBB0_28-LBB0_22)>>2
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"http"

l_.str.1:                               ; @.str.1
	.asciz	"header"

	.comm	_IS_STRING,8,3                  ; @IS_STRING
l_.str.2:                               ; @.str.2
	.asciz	"host"

l_.str.3:                               ; @.str.3
	.asciz	"connection"

l_.str.4:                               ; @.str.4
	.asciz	"user-agent"

l_.str.5:                               ; @.str.5
	.asciz	"content-length"

l_.str.6:                               ; @.str.6
	.asciz	"content-type"

l_.str.7:                               ; @.str.7
	.asciz	"cookie"

l_.str.8:                               ; @.str.8
	.asciz	"authorization"

l_.str.9:                               ; @.str.9
	.asciz	"proxy-authorization"

l_.str.10:                              ; @.str.10
	.asciz	"\r\n"

.subsections_via_symbols
