	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_message_eq                     ## -- Begin function message_eq
	.p2align	4, 0x90
_message_eq:                            ## @message_eq
	.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	$40, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r13
	movl	%esi, %r15d
	movq	_messages@GOTPCREL(%rip), %rax
	movq	(%rax), %r12
	movslq	%edi, %rax
	imulq	$88, %rax, %rbx
	leaq	(%r12,%rbx), %r14
	movq	_http_major@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_NUM_EQ
	movq	_http_minor@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_NUM_EQ
	movq	(%r13), %rax
	movq	_HTTP_REQUEST@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jne	LBB0_2
## %bb.1:
	movq	_method@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_NUM_EQ
	jmp	LBB0_3
LBB0_2:
	movq	_status_code@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_NUM_EQ
	movq	_response_status@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_STR_EQ
	movl	8(%r12,%rbx), %edi
	callq	_assert
LBB0_3:
	movl	%r15d, -60(%rbp)                ## 4-byte Spill
	testl	%r15d, %r15d
	jne	LBB0_5
## %bb.4:
	movq	_should_keep_alive@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_NUM_EQ
	movq	_message_complete_on_eof@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_NUM_EQ
LBB0_5:
	movl	12(%r12,%rbx), %edi
	callq	_assert
	movl	16(%r12,%rbx), %edi
	callq	_assert
	movl	20(%r12,%rbx), %edi
	callq	_assert
	movq	_request_url@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_STR_EQ
	movq	%rbx, -48(%rbp)                 ## 8-byte Spill
	movq	24(%r12,%rbx), %r15
	cmpb	$0, (%r15)
	je	LBB0_15
## %bb.6:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movq	32(%r12,%rax), %rax
	movq	_HTTP_CONNECT@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	je	LBB0_15
## %bb.7:
	movq	%r15, %rdi
	callq	_strlen
	leaq	-56(%rbp), %rcx
	movq	%r15, %rdi
	movl	%eax, %esi
	xorl	%edx, %edx
	callq	_http_parser_parse_url
	testq	%rax, %rax
	jne	LBB0_35
## %bb.8:
	cmpq	$0, 80(%r13)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_10
## %bb.9:
	movq	_host@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_UF_HOST@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-56(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_MESSAGE_CHECK_URL_EQ
LBB0_10:
	cmpq	$0, 72(%r13)
	je	LBB0_12
## %bb.11:
	movq	_userinfo@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_UF_USERINFO@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-56(%rbp), %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_MESSAGE_CHECK_URL_EQ
LBB0_12:
	movl	-56(%rbp), %ecx
	movq	_UF_PORT@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	xorl	%eax, %eax
	btl	%edx, %ecx
	jae	LBB0_14
## %bb.13:
	movl	-52(%rbp), %eax
LBB0_14:
	movl	%eax, 64(%r12,%rbx)
	movq	_query_string@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_UF_QUERY@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	leaq	-56(%rbp), %r15
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_MESSAGE_CHECK_URL_EQ
	movq	_fragment@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_UF_FRAGMENT@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_MESSAGE_CHECK_URL_EQ
	movq	_request_path@GOTPCREL(%rip), %rax
	movl	(%rax), %ecx
	movq	_UF_PATH@GOTPCREL(%rip), %rax
	movl	(%rax), %r8d
	movq	%r15, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_MESSAGE_CHECK_URL_EQ
	movq	_port@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_NUM_EQ
LBB0_15:
	movl	-60(%rbp), %eax                 ## 4-byte Reload
	testl	%eax, %eax
	movq	%r14, -72(%rbp)                 ## 8-byte Spill
	movq	%r12, -80(%rbp)                 ## 8-byte Spill
	je	LBB0_24
## %bb.16:
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	movl	40(%r12,%rbx), %ecx
	leaq	L_.str.1(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_check_num_eq
	movl	44(%r12,%rbx), %ecx
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdi
	xorl	%edx, %edx
	callq	_check_num_eq
LBB0_17:
	movq	_num_headers@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_MESSAGE_CHECK_NUM_EQ
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	cmpl	$0, 52(%rax,%rcx)
	jle	LBB0_22
## %bb.18:
	leaq	(%rax,%rcx), %r12
	addq	$52, %r12
	leaq	L_.str.3(%rip), %rbx
	leaq	L_.str.4(%rip), %r15
	xorl	%r14d, %r14d
	.p2align	4, 0x90
LBB0_19:                                ## =>This Inner Loop Header: Depth=1
	movq	56(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax), %edx
	movq	4(%r12), %rax
	movq	(%rax,%r14,8), %rax
	movl	(%rax), %ecx
	movq	%r13, %rdi
	movq	%rbx, %rsi
	callq	_check_str_eq
	testl	%eax, %eax
	je	LBB0_27
## %bb.20:                              ##   in Loop: Header=BB0_19 Depth=1
	movq	56(%r13), %rax
	movq	(%rax,%r14,8), %rax
	movl	4(%rax), %edx
	movq	4(%r12), %rax
	movq	(%rax,%r14,8), %rax
	movl	4(%rax), %ecx
	movq	%r13, %rdi
	movq	%r15, %rsi
	callq	_check_str_eq
	testl	%eax, %eax
	je	LBB0_27
## %bb.21:                              ##   in Loop: Header=BB0_19 Depth=1
	incq	%r14
	movslq	(%r12), %rax
	cmpq	%rax, %r14
	jl	LBB0_19
LBB0_22:
	movl	$1, %ebx
	cmpl	$0, -60(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_28
## %bb.23:
	movq	_upgrade@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_MESSAGE_CHECK_STR_EQ
	jmp	LBB0_28
LBB0_27:
	xorl	%ebx, %ebx
LBB0_28:
	movl	%ebx, %eax
	addq	$40, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_24:
	cmpl	$0, 40(%r13)
	movq	-48(%rbp), %rbx                 ## 8-byte Reload
	je	LBB0_29
## %bb.25:
	movq	_body_size@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_NUM_EQ
	jmp	LBB0_30
LBB0_29:
	movq	_body@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_STR_EQ
LBB0_30:
	movl	48(%r12,%rbx), %eax
	xorl	%edi, %edi
	cmpl	44(%r12,%rbx), %eax
	sete	%dil
	callq	_assert
	movq	_num_chunks_complete@GOTPCREL(%rip), %rax
	movl	(%rax), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_MESSAGE_CHECK_NUM_EQ
	cmpl	$0, 48(%r12,%rbx)
	jle	LBB0_17
## %bb.31:
	movq	_MAX_CHUNKS@GOTPCREL(%rip), %r14
	cmpl	$0, (%r14)
	jle	LBB0_17
## %bb.32:
	movq	-80(%rbp), %rax                 ## 8-byte Reload
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	leaq	(%rax,%rcx), %rbx
	addq	$48, %rbx
	movl	$1, %r12d
	movq	_chunk_lengths@GOTPCREL(%rip), %r15
	.p2align	4, 0x90
LBB0_33:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r15), %rax
	movl	-4(%rax,%r12,4), %edx
	movq	%r13, %rdi
	movq	-72(%rbp), %rsi                 ## 8-byte Reload
	callq	_MESSAGE_CHECK_NUM_EQ
	movslq	(%rbx), %rax
	cmpq	%rax, %r12
	jge	LBB0_17
## %bb.34:                              ##   in Loop: Header=BB0_33 Depth=1
	leaq	1(%r12), %rax
	movslq	(%r14), %rcx
	cmpq	%rcx, %r12
	movq	%rax, %r12
	jl	LBB0_33
	jmp	LBB0_17
LBB0_35:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	addq	%r12, %rax
	addq	$24, %rax
	movq	_stderr@GOTPCREL(%rip), %rcx
	movl	(%rcx), %edi
	movq	(%rax), %rdx
	leaq	L_.str(%rip), %rsi
	callq	_fprintf
	xorl	%eax, %eax
	callq	_abort
	.cfi_endproc
                                        ## -- End function
	.comm	_messages,8,3                   ## @messages
	.comm	_http_major,4,2                 ## @http_major
	.comm	_http_minor,4,2                 ## @http_minor
	.comm	_HTTP_REQUEST,8,3               ## @HTTP_REQUEST
	.comm	_method,4,2                     ## @method
	.comm	_status_code,4,2                ## @status_code
	.comm	_response_status,4,2            ## @response_status
	.comm	_should_keep_alive,4,2          ## @should_keep_alive
	.comm	_message_complete_on_eof,4,2    ## @message_complete_on_eof
	.comm	_request_url,4,2                ## @request_url
	.comm	_HTTP_CONNECT,8,3               ## @HTTP_CONNECT
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"\n\n*** failed to parse URL %s ***\n\n"

	.comm	_host,4,2                       ## @host
	.comm	_UF_HOST,4,2                    ## @UF_HOST
	.comm	_userinfo,4,2                   ## @userinfo
	.comm	_UF_USERINFO,4,2                ## @UF_USERINFO
	.comm	_UF_PORT,4,2                    ## @UF_PORT
	.comm	_query_string,4,2               ## @query_string
	.comm	_UF_QUERY,4,2                   ## @UF_QUERY
	.comm	_fragment,4,2                   ## @fragment
	.comm	_UF_FRAGMENT,4,2                ## @UF_FRAGMENT
	.comm	_request_path,4,2               ## @request_path
	.comm	_UF_PATH,4,2                    ## @UF_PATH
	.comm	_port,4,2                       ## @port
L_.str.1:                               ## @.str.1
	.asciz	"body_size"

	.comm	_body_size,4,2                  ## @body_size
	.comm	_body,4,2                       ## @body
L_.str.2:                               ## @.str.2
	.asciz	"num_chunks_complete"

	.comm	_num_chunks_complete,4,2        ## @num_chunks_complete
	.comm	_MAX_CHUNKS,4,2                 ## @MAX_CHUNKS
	.comm	_chunk_lengths,8,3              ## @chunk_lengths
	.comm	_num_headers,4,2                ## @num_headers
L_.str.3:                               ## @.str.3
	.asciz	"header field"

L_.str.4:                               ## @.str.4
	.asciz	"header value"

	.comm	_upgrade,4,2                    ## @upgrade
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_message_eq                     ; -- Begin function message_eq
	.p2align	2
_message_eq:                            ; @message_eq
	.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
	mov	x19, x2
	mov	x20, x1
                                        ; kill: def $w0 killed $w0 def $x0
Lloh0:
	adrp	x8, _messages@GOTPAGE
Lloh1:
	ldr	x8, [x8, _messages@GOTPAGEOFF]
Lloh2:
	ldr	x23, [x8]
	sxtw	x24, w0
	mov	w8, #88
	smaddl	x21, w0, w8, x23
Lloh3:
	adrp	x8, _http_major@GOTPAGE
Lloh4:
	ldr	x8, [x8, _http_major@GOTPAGEOFF]
Lloh5:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_NUM_EQ
Lloh6:
	adrp	x8, _http_minor@GOTPAGE
Lloh7:
	ldr	x8, [x8, _http_minor@GOTPAGEOFF]
Lloh8:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_NUM_EQ
	ldr	x8, [x19]
Lloh9:
	adrp	x9, _HTTP_REQUEST@GOTPAGE
Lloh10:
	ldr	x9, [x9, _HTTP_REQUEST@GOTPAGEOFF]
Lloh11:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_2
; %bb.1:
Lloh12:
	adrp	x8, _method@GOTPAGE
Lloh13:
	ldr	x8, [x8, _method@GOTPAGEOFF]
Lloh14:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_NUM_EQ
	cbnz	w20, LBB0_4
	b	LBB0_3
LBB0_2:
Lloh15:
	adrp	x8, _status_code@GOTPAGE
Lloh16:
	ldr	x8, [x8, _status_code@GOTPAGEOFF]
Lloh17:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_NUM_EQ
Lloh18:
	adrp	x8, _response_status@GOTPAGE
Lloh19:
	ldr	x8, [x8, _response_status@GOTPAGEOFF]
Lloh20:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_STR_EQ
	mov	w8, #88
	madd	x8, x24, x8, x23
	ldr	w0, [x8, #8]
	bl	_assert
	cbnz	w20, LBB0_4
LBB0_3:
Lloh21:
	adrp	x8, _should_keep_alive@GOTPAGE
Lloh22:
	ldr	x8, [x8, _should_keep_alive@GOTPAGEOFF]
Lloh23:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_NUM_EQ
Lloh24:
	adrp	x8, _message_complete_on_eof@GOTPAGE
Lloh25:
	ldr	x8, [x8, _message_complete_on_eof@GOTPAGEOFF]
Lloh26:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_NUM_EQ
LBB0_4:
	mov	w8, #88
	madd	x25, x24, x8, x23
	ldr	w0, [x25, #12]
	bl	_assert
	ldr	w0, [x25, #16]
	bl	_assert
	ldr	w0, [x25, #20]
	bl	_assert
Lloh27:
	adrp	x8, _request_url@GOTPAGE
Lloh28:
	ldr	x8, [x8, _request_url@GOTPAGEOFF]
Lloh29:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_STR_EQ
	ldr	x22, [x25, #24]!
	ldrb	w8, [x22]
	cbz	w8, LBB0_12
; %bb.5:
	mov	w8, #88
	madd	x8, x24, x8, x23
	ldr	x8, [x8, #32]
Lloh30:
	adrp	x9, _HTTP_CONNECT@GOTPAGE
Lloh31:
	ldr	x9, [x9, _HTTP_CONNECT@GOTPAGEOFF]
Lloh32:
	ldr	x9, [x9]
	cmp	x8, x9
	b.eq	LBB0_12
; %bb.6:
	mov	x0, x22
	bl	_strlen
	mov	x1, x0
	add	x3, sp, #8
	mov	x0, x22
	mov	w2, #0
	bl	_http_parser_parse_url
	cbnz	x0, LBB0_29
; %bb.7:
	ldr	x8, [x19, #80]
	cbz	x8, LBB0_9
; %bb.8:
Lloh33:
	adrp	x8, _host@GOTPAGE
Lloh34:
	ldr	x8, [x8, _host@GOTPAGEOFF]
Lloh35:
	ldr	w3, [x8]
Lloh36:
	adrp	x8, _UF_HOST@GOTPAGE
Lloh37:
	ldr	x8, [x8, _UF_HOST@GOTPAGEOFF]
Lloh38:
	ldr	w4, [x8]
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x21
	bl	_MESSAGE_CHECK_URL_EQ
LBB0_9:
	ldr	x8, [x19, #72]
	cbz	x8, LBB0_11
; %bb.10:
Lloh39:
	adrp	x8, _userinfo@GOTPAGE
Lloh40:
	ldr	x8, [x8, _userinfo@GOTPAGEOFF]
Lloh41:
	ldr	w3, [x8]
Lloh42:
	adrp	x8, _UF_USERINFO@GOTPAGE
Lloh43:
	ldr	x8, [x8, _UF_USERINFO@GOTPAGEOFF]
Lloh44:
	ldr	w4, [x8]
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x21
	bl	_MESSAGE_CHECK_URL_EQ
LBB0_11:
Lloh45:
	adrp	x8, _UF_PORT@GOTPAGE
Lloh46:
	ldr	x8, [x8, _UF_PORT@GOTPAGEOFF]
Lloh47:
	ldr	w8, [x8]
	ldp	w9, w10, [sp, #8]
	lsr	w8, w9, w8
	sbfx	w8, w8, #0, #1
	and	w8, w8, w10
	mov	w9, #88
	madd	x9, x24, x9, x23
	str	w8, [x9, #64]
Lloh48:
	adrp	x8, _query_string@GOTPAGE
Lloh49:
	ldr	x8, [x8, _query_string@GOTPAGEOFF]
Lloh50:
	ldr	w3, [x8]
Lloh51:
	adrp	x8, _UF_QUERY@GOTPAGE
Lloh52:
	ldr	x8, [x8, _UF_QUERY@GOTPAGEOFF]
Lloh53:
	ldr	w4, [x8]
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x21
	bl	_MESSAGE_CHECK_URL_EQ
Lloh54:
	adrp	x8, _fragment@GOTPAGE
Lloh55:
	ldr	x8, [x8, _fragment@GOTPAGEOFF]
Lloh56:
	ldr	w3, [x8]
Lloh57:
	adrp	x8, _UF_FRAGMENT@GOTPAGE
Lloh58:
	ldr	x8, [x8, _UF_FRAGMENT@GOTPAGEOFF]
Lloh59:
	ldr	w4, [x8]
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x21
	bl	_MESSAGE_CHECK_URL_EQ
Lloh60:
	adrp	x8, _request_path@GOTPAGE
Lloh61:
	ldr	x8, [x8, _request_path@GOTPAGEOFF]
Lloh62:
	ldr	w3, [x8]
Lloh63:
	adrp	x8, _UF_PATH@GOTPAGE
Lloh64:
	ldr	x8, [x8, _UF_PATH@GOTPAGEOFF]
Lloh65:
	ldr	w4, [x8]
	add	x0, sp, #8
	mov	x1, x19
	mov	x2, x21
	bl	_MESSAGE_CHECK_URL_EQ
Lloh66:
	adrp	x8, _port@GOTPAGE
Lloh67:
	ldr	x8, [x8, _port@GOTPAGEOFF]
Lloh68:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_NUM_EQ
LBB0_12:
	cbz	w20, LBB0_14
; %bb.13:
	mov	w8, #88
	madd	x22, x24, x8, x23
	ldr	w3, [x22, #40]
Lloh69:
	adrp	x1, l_.str.1@PAGE
Lloh70:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_check_num_eq
	ldr	w3, [x22, #44]
Lloh71:
	adrp	x1, l_.str.2@PAGE
Lloh72:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x21
	mov	w2, #0
	bl	_check_num_eq
	b	LBB0_20
LBB0_14:
	ldr	w8, [x19, #40]
	cbz	w8, LBB0_16
; %bb.15:
Lloh73:
	adrp	x8, _body_size@GOTPAGE
Lloh74:
	ldr	x8, [x8, _body_size@GOTPAGEOFF]
Lloh75:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_NUM_EQ
	b	LBB0_17
LBB0_16:
Lloh76:
	adrp	x8, _body@GOTPAGE
Lloh77:
	ldr	x8, [x8, _body@GOTPAGEOFF]
Lloh78:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_STR_EQ
LBB0_17:
	mov	w8, #88
	madd	x22, x24, x8, x23
	ldr	w8, [x22, #48]!
	ldur	w9, [x22, #-4]
	cmp	w8, w9
	cset	w0, eq
	bl	_assert
Lloh79:
	adrp	x8, _num_chunks_complete@GOTPAGE
Lloh80:
	ldr	x8, [x8, _num_chunks_complete@GOTPAGEOFF]
Lloh81:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_NUM_EQ
	ldr	w8, [x22]
Lloh82:
	adrp	x25, _MAX_CHUNKS@GOTPAGE
Lloh83:
	ldr	x25, [x25, _MAX_CHUNKS@GOTPAGEOFF]
	ldr	w9, [x25]
	cmp	w8, #1
	ccmp	w9, #1, #8, ge
	b.lt	LBB0_20
; %bb.18:
	mov	x26, #0
Lloh84:
	adrp	x27, _chunk_lengths@GOTPAGE
Lloh85:
	ldr	x27, [x27, _chunk_lengths@GOTPAGEOFF]
LBB0_19:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x27]
	ldr	w2, [x8, x26, lsl #2]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_NUM_EQ
	add	x26, x26, #1
	ldrsw	x8, [x22]
	ldrsw	x9, [x25]
	cmp	x26, x8
	ccmp	x26, x9, #0, lt
	b.lt	LBB0_19
LBB0_20:
Lloh86:
	adrp	x8, _num_headers@GOTPAGE
Lloh87:
	ldr	x8, [x8, _num_headers@GOTPAGEOFF]
Lloh88:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_NUM_EQ
	mov	w8, #88
	mul	x8, x24, x8
	add	x25, x23, x8
	ldr	w8, [x25, #52]!
	cmp	w8, #1
	b.lt	LBB0_25
; %bb.21:
	mov	x26, #0
	mov	w8, #88
	mul	x8, x24, x8
	add	x8, x23, x8
	add	x24, x8, #56
Lloh89:
	adrp	x22, l_.str.3@PAGE
Lloh90:
	add	x22, x22, l_.str.3@PAGEOFF
Lloh91:
	adrp	x23, l_.str.4@PAGE
Lloh92:
	add	x23, x23, l_.str.4@PAGEOFF
LBB0_22:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #56]
	lsl	x27, x26, #3
	ldr	x8, [x8, x27]
	ldr	w2, [x8]
	ldr	x8, [x24]
	ldr	x8, [x8, x27]
	ldr	w3, [x8]
	mov	x0, x19
	mov	x1, x22
	bl	_check_str_eq
	cbz	w0, LBB0_28
; %bb.23:                               ;   in Loop: Header=BB0_22 Depth=1
	ldr	x8, [x19, #56]
	ldr	x8, [x8, x27]
	ldr	w2, [x8, #4]
	ldr	x8, [x24]
	ldr	x8, [x8, x27]
	ldr	w3, [x8, #4]
	mov	x0, x19
	mov	x1, x23
	bl	_check_str_eq
	cbz	w0, LBB0_28
; %bb.24:                               ;   in Loop: Header=BB0_22 Depth=1
	add	x26, x26, #1
	ldrsw	x8, [x25]
	cmp	x26, x8
	b.lt	LBB0_22
LBB0_25:
	cbnz	w20, LBB0_27
; %bb.26:
Lloh93:
	adrp	x8, _upgrade@GOTPAGE
Lloh94:
	ldr	x8, [x8, _upgrade@GOTPAGEOFF]
Lloh95:
	ldr	w2, [x8]
	mov	x0, x19
	mov	x1, x21
	bl	_MESSAGE_CHECK_STR_EQ
LBB0_27:
	mov	w0, #1
LBB0_28:
	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
LBB0_29:
Lloh96:
	adrp	x8, _stderr@GOTPAGE
Lloh97:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh98:
	ldr	w0, [x8]
	ldr	x2, [x25]
Lloh99:
	adrp	x1, l_.str@PAGE
Lloh100:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	bl	_abort
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.loh AdrpLdrGotLdr	Lloh18, Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh15, Lloh16, Lloh17
	.loh AdrpLdrGotLdr	Lloh24, Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh21, Lloh22, Lloh23
	.loh AdrpLdrGotLdr	Lloh27, Lloh28, Lloh29
	.loh AdrpLdrGotLdr	Lloh30, Lloh31, Lloh32
	.loh AdrpLdrGotLdr	Lloh36, Lloh37, Lloh38
	.loh AdrpLdrGotLdr	Lloh33, Lloh34, Lloh35
	.loh AdrpLdrGotLdr	Lloh42, Lloh43, Lloh44
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh60, Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh51, Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh48, Lloh49, Lloh50
	.loh AdrpLdrGotLdr	Lloh45, Lloh46, Lloh47
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpLdrGotLdr	Lloh73, Lloh74, Lloh75
	.loh AdrpLdrGotLdr	Lloh76, Lloh77, Lloh78
	.loh AdrpLdrGot	Lloh82, Lloh83
	.loh AdrpLdrGotLdr	Lloh79, Lloh80, Lloh81
	.loh AdrpLdrGot	Lloh84, Lloh85
	.loh AdrpLdrGotLdr	Lloh86, Lloh87, Lloh88
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpLdrGotLdr	Lloh93, Lloh94, Lloh95
	.loh AdrpAdd	Lloh99, Lloh100
	.loh AdrpLdrGotLdr	Lloh96, Lloh97, Lloh98
	.cfi_endproc
                                        ; -- End function
	.comm	_messages,8,3                   ; @messages
	.comm	_http_major,4,2                 ; @http_major
	.comm	_http_minor,4,2                 ; @http_minor
	.comm	_HTTP_REQUEST,8,3               ; @HTTP_REQUEST
	.comm	_method,4,2                     ; @method
	.comm	_status_code,4,2                ; @status_code
	.comm	_response_status,4,2            ; @response_status
	.comm	_should_keep_alive,4,2          ; @should_keep_alive
	.comm	_message_complete_on_eof,4,2    ; @message_complete_on_eof
	.comm	_request_url,4,2                ; @request_url
	.comm	_HTTP_CONNECT,8,3               ; @HTTP_CONNECT
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"\n\n*** failed to parse URL %s ***\n\n"

	.comm	_host,4,2                       ; @host
	.comm	_UF_HOST,4,2                    ; @UF_HOST
	.comm	_userinfo,4,2                   ; @userinfo
	.comm	_UF_USERINFO,4,2                ; @UF_USERINFO
	.comm	_UF_PORT,4,2                    ; @UF_PORT
	.comm	_query_string,4,2               ; @query_string
	.comm	_UF_QUERY,4,2                   ; @UF_QUERY
	.comm	_fragment,4,2                   ; @fragment
	.comm	_UF_FRAGMENT,4,2                ; @UF_FRAGMENT
	.comm	_request_path,4,2               ; @request_path
	.comm	_UF_PATH,4,2                    ; @UF_PATH
	.comm	_port,4,2                       ; @port
l_.str.1:                               ; @.str.1
	.asciz	"body_size"

	.comm	_body_size,4,2                  ; @body_size
	.comm	_body,4,2                       ; @body
l_.str.2:                               ; @.str.2
	.asciz	"num_chunks_complete"

	.comm	_num_chunks_complete,4,2        ; @num_chunks_complete
	.comm	_MAX_CHUNKS,4,2                 ; @MAX_CHUNKS
	.comm	_chunk_lengths,8,3              ; @chunk_lengths
	.comm	_num_headers,4,2                ; @num_headers
l_.str.3:                               ; @.str.3
	.asciz	"header field"

l_.str.4:                               ; @.str.4
	.asciz	"header value"

	.comm	_upgrade,4,2                    ; @upgrade
.subsections_via_symbols
