	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function httpread_read_handler
_httpread_read_handler:                 ## @httpread_read_handler
	.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	%rdx, %r12
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movq	_HTTPREAD_READBUF_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %ebx
	movq	%rbx, %rax
	callq	____chkstk_darwin
	addq	$15, %rax
	andq	$-16, %rax
	subq	%rax, %rsp
	movq	%rsp, %r14
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	112(%r12), %edi
	movq	%r14, %rsi
	movl	%ebx, %edx
	callq	_read
	testl	%eax, %eax
	js	LBB0_1
## %bb.2:
	movl	%eax, %r15d
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.2(%rip), %rsi
	movq	%r14, %rdx
	movl	%eax, %ecx
	callq	_wpa_hexdump_ascii
	movl	(%r12), %eax
	testl	%r15d, %r15d
	je	LBB0_3
## %bb.10:
	testl	%eax, %eax
	je	LBB0_11
LBB0_27:
	movq	24(%r12), %rdi
	leaq	L_.str.10(%rip), %rsi
	movl	$9, %edx
	callq	_os_strncasecmp
	testl	%eax, %eax
	je	LBB0_31
## %bb.28:
	movq	24(%r12), %rdi
	leaq	L_.str.11(%rip), %rsi
	movl	$11, %edx
	callq	_os_strncasecmp
	testl	%eax, %eax
	je	LBB0_31
## %bb.29:
	movq	24(%r12), %rdi
	leaq	L_.str.12(%rip), %rsi
	movl	$4, %edx
	callq	_os_strncasecmp
	testl	%eax, %eax
	je	LBB0_31
## %bb.30:
	movq	24(%r12), %rdi
	leaq	L_.str.13(%rip), %rsi
	movl	$3, %edx
	callq	_os_strncasecmp
	testl	%eax, %eax
	je	LBB0_31
## %bb.35:
	testl	%r15d, %r15d
	je	LBB0_99
## %bb.36:
	cmpl	$0, 20(%r12)
	je	LBB0_37
LBB0_65:
	cmpq	$0, 120(%r12)
	je	LBB0_99
## %bb.66:
	cmpl	$0, 80(%r12)
	je	LBB0_99
## %bb.67:
	testl	%r15d, %r15d
	jle	LBB0_99
## %bb.68:
	movl	84(%r12), %ecx
	incl	%r15d
	leaq	LJTI0_0(%rip), %rax
	jmp	LBB0_69
LBB0_1:
	movl	(%r13), %ebx
	movq	_errno@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_strerror
	leaq	L_.str.1(%rip), %rsi
	movl	%ebx, %edi
	movl	%eax, %edx
LBB0_50:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_41
LBB0_3:
	testl	%eax, %eax
	je	LBB0_4
## %bb.7:
	cmpq	$0, 120(%r12)
	jne	LBB0_9
## %bb.8:
	cmpq	$0, 128(%r12)
	je	LBB0_100
LBB0_9:
	movl	(%r13), %edi
	movq	8(%r12), %rcx
	movl	16(%r12), %r8d
	leaq	L_.str.4(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_41
LBB0_31:
	cmpl	$0, 20(%r12)
	jne	LBB0_101
## %bb.32:
	movl	(%r13), %edi
	leaq	L_.str.14(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_101
LBB0_11:
	movslq	32(%r12), %rdx
	movq	%rdx, %rax
	addq	24(%r12), %rax
	movl	%r15d, %ecx
	xorl	%ebx, %ebx
	movq	_HTTPREAD_HEADER_MAX_SIZE@GOTPCREL(%rip), %rsi
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_98:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	cmpl	%ebx, %ecx
	je	LBB0_99
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	cmpl	(%rsi), %edx
	je	LBB0_13
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	movzbl	(%r14,%rbx), %edx
	movb	%dl, (%rax,%rbx)
	movl	32(%r12), %edi
	leal	1(%rdi), %edx
	movl	%edx, 32(%r12)
	cmpl	$3, %edi
	jl	LBB0_98
## %bb.16:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$10, (%rax,%rbx)
	jne	LBB0_98
## %bb.17:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$13, -1(%rax,%rbx)
	jne	LBB0_98
## %bb.18:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$10, -2(%rax,%rbx)
	jne	LBB0_98
## %bb.19:                              ##   in Loop: Header=BB0_12 Depth=1
	cmpb	$13, -3(%rax,%rbx)
	jne	LBB0_98
## %bb.20:
	movl	$1, (%r12)
	movb	$0, 1(%rax,%rbx)
	movq	%r12, %rdi
	callq	_httpread_hdr_analyze
	testq	%rax, %rax
	je	LBB0_22
## %bb.21:
	movl	(%r13), %edi
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_5
LBB0_4:
	movl	(%r13), %edi
	leaq	L_.str.3(%rip), %rsi
LBB0_5:
	movq	%r12, %rdx
LBB0_6:
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_41
LBB0_13:
	movl	(%r13), %edi
	leaq	L_.str.6(%rip), %rsi
LBB0_14:
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_41:
	movl	(%r13), %edi
	leaq	L_.str.24(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	100(%r12), %esi
	movq	_HTTPREAD_EVENT_ERROR@GOTPCREL(%rip), %rax
	jmp	LBB0_105
LBB0_95:                                ##   in Loop: Header=BB0_69 Depth=1
	xorl	%edx, %edx
	cmpb	$10, %bl
	sete	%dl
	addl	$129, %edx
LBB0_96:                                ##   in Loop: Header=BB0_69 Depth=1
	movl	%edx, 84(%r12)
	movl	%edx, %ecx
LBB0_97:                                ##   in Loop: Header=BB0_69 Depth=1
	incq	%r14
	decl	%r15d
	cmpl	$2, %r15d
	jb	LBB0_99
LBB0_69:                                ## =>This Inner Loop Header: Depth=1
	leal	-128(%rcx), %edx
	cmpl	$3, %edx
	ja	LBB0_97
## %bb.70:                              ##   in Loop: Header=BB0_69 Depth=1
	movzbl	(%r14), %ebx
	movslq	(%rax,%rdx,4), %rcx
	addq	%rax, %rcx
	jmpq	*%rcx
LBB0_94:                                ##   in Loop: Header=BB0_69 Depth=1
	movl	$129, %ecx
	movl	$128, %edx
	cmpb	$13, %bl
	je	LBB0_96
	jmp	LBB0_97
LBB0_91:                                ##   in Loop: Header=BB0_69 Depth=1
	xorl	%ecx, %ecx
	cmpb	$13, %bl
	sete	%cl
	leal	(%rcx,%rcx), %edx
	addl	$129, %edx
	jmp	LBB0_96
LBB0_92:                                ##   in Loop: Header=BB0_69 Depth=1
	movl	$129, %edx
	cmpb	$10, %bl
	jne	LBB0_96
## %bb.93:
	movabsq	$558345748480, %rax             ## imm = 0x8200000000
	movq	%rax, 80(%r12)
	movl	(%r13), %edi
	leaq	L_.str.22(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	$1, 20(%r12)
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rbx
	jmp	LBB0_102
LBB0_99:
	movl	(%r13), %edi
	leaq	L_.str.25(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_106
LBB0_100:
	movl	(%r13), %edi
	leaq	L_.str.5(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
LBB0_101:
	movl	$1, 20(%r12)
LBB0_102:
	movl	(%r13), %edi
	movq	8(%r12), %rdx
	movq	88(%r12), %rcx
	leaq	L_.str.26(%rip), %rsi
	xorl	%eax, %eax
	callq	_wpa_printf
	movl	(%rbx), %edi
	movq	56(%r12), %rdx
	movl	8(%r12), %ecx
	leaq	L_.str.27(%rip), %rsi
	callq	_wpa_hexdump_ascii
	movq	56(%r12), %rax
	testq	%rax, %rax
	je	LBB0_104
## %bb.103:
	movq	8(%r12), %rcx
	movb	$0, (%rax,%rcx)
LBB0_104:
	movl	$1, 96(%r12)
	movl	112(%r12), %edi
	movq	_EVENT_TYPE_READ@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_eloop_unregister_sock
	movq	_httpread_timeout_handler@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	xorl	%esi, %esi
	movq	%r12, %rdx
	callq	_eloop_cancel_timeout
	movl	100(%r12), %esi
	movq	_HTTPREAD_EVENT_FILE_READY@GOTPCREL(%rip), %rax
LBB0_105:
	movl	(%rax), %edx
	movq	%r12, %rdi
	callq	*104(%r12)
LBB0_106:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_108
## %bb.107:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_37:
	movq	8(%r12), %rdx
	movq	48(%r12), %rcx
	movslq	%r15d, %rax
	addq	%rdx, %rax
	cmpq	%rax, %rcx
	jle	LBB0_39
## %bb.38:
	movq	56(%r12), %rbx
LBB0_52:
	addq	%rdx, %rbx
	cmpq	$0, 120(%r12)
	jne	LBB0_54
	jmp	LBB0_76
LBB0_85:
	movb	(%r14), %al
	incq	%r14
	movb	%al, (%rbx)
	incq	%rbx
	decl	%r15d
	movq	8(%r12), %rdx
	incq	%rdx
	movq	%rdx, 8(%r12)
	cmpq	$0, 120(%r12)
	jne	LBB0_54
LBB0_76:
	cmpq	$0, 128(%r12)
	je	LBB0_80
## %bb.77:
	movslq	16(%r12), %rax
	cmpq	%rax, %rdx
	jl	LBB0_80
	jmp	LBB0_78
LBB0_54:
	cmpl	$0, 64(%r12)
	je	LBB0_55
## %bb.71:
	movslq	68(%r12), %rax
	movq	%rdx, %rcx
	subq	%rax, %rcx
	movq	72(%r12), %rax
	addq	$2, %rax
	cmpq	%rax, %rcx
	jne	LBB0_80
## %bb.72:
	cmpb	$10, -1(%rbx)
	jne	LBB0_74
## %bb.73:
	cmpb	$13, -2(%rbx)
	jne	LBB0_74
## %bb.75:
	addq	$-2, %rbx
	addq	$-2, %rdx
	movq	%rdx, 8(%r12)
	movl	%edx, 68(%r12)
	movl	$0, 64(%r12)
	movq	$0, 72(%r12)
	jmp	LBB0_80
LBB0_55:
	movslq	68(%r12), %r13
	addq	56(%r12), %r13
	movq	%rbx, %rax
	subq	%r13, %rax
	cmpq	$2, %rax
	jl	LBB0_80
## %bb.56:
	cmpb	$13, -2(%rbx)
	jne	LBB0_80
## %bb.57:
	cmpb	$10, -1(%rbx)
	jne	LBB0_80
## %bb.58:
	movsbl	(%r13), %edi
	callq	_isxdigit
	testl	%eax, %eax
	je	LBB0_59
## %bb.60:
	movq	%r13, %rdi
	xorl	%esi, %esi
	movl	$16, %edx
	callq	_strtoul
	movq	%rax, 72(%r12)
	testq	%rax, %rax
	js	LBB0_62
## %bb.61:
	cmpq	40(%r12), %rax
	jg	LBB0_62
## %bb.63:
	movslq	68(%r12), %rdx
	movq	%rdx, 8(%r12)
	testq	%rax, %rax
	je	LBB0_64
## %bb.79:
	movl	$1, 64(%r12)
	movq	%r13, %rbx
LBB0_80:
	testl	%r15d, %r15d
	jle	LBB0_81
## %bb.82:
	cmpq	$0, 120(%r12)
	je	LBB0_86
## %bb.83:
	cmpl	$0, 64(%r12)
	je	LBB0_85
## %bb.84:
	movl	68(%r12), %r13d
	addl	72(%r12), %r13d
	subl	%edx, %r13d
	addl	$2, %r13d
	jmp	LBB0_88
LBB0_86:
	cmpq	$0, 128(%r12)
	movl	%r15d, %r13d
	je	LBB0_90
## %bb.87:
	movl	16(%r12), %r13d
	subl	%edx, %r13d
LBB0_88:
	testl	%r13d, %r13d
	js	LBB0_89
LBB0_90:
	cmpl	%r15d, %r13d
	cmovael	%r15d, %r13d
	movq	%rbx, %rdi
	movq	%r14, %rsi
	movl	%r13d, %edx
	callq	_os_memcpy
	addq	%r13, %rbx
	addq	%r13, %r14
	movq	8(%r12), %rdx
	addq	%r13, %rdx
	movq	%rdx, 8(%r12)
	subl	%r13d, %r15d
	cmpq	$0, 120(%r12)
	jne	LBB0_54
	jmp	LBB0_76
LBB0_39:
	movq	40(%r12), %r8
	cmpq	%r8, %rdx
	jge	LBB0_40
## %bb.42:
	movq	_HTTPREAD_BODYBUF_DELTA@GOTPCREL(%rip), %rax
	movslq	(%rax), %rax
	leal	(%rcx,%rax), %r13d
	cmpq	$0, 128(%r12)
	je	LBB0_44
## %bb.43:
	movl	16(%r12), %edx
	leal	1(%rdx), %esi
	cmpl	%edx, %r13d
	cmovlel	%esi, %r13d
LBB0_44:
	movslq	%r13d, %rdx
	cmpq	%rdx, %rcx
	jg	LBB0_46
## %bb.45:
	addq	%r8, %rax
	cmpq	%rdx, %rax
	jl	LBB0_46
## %bb.47:
	movq	%rdx, -56(%rbp)                 ## 8-byte Spill
	movq	56(%r12), %rdi
	movl	%r13d, %esi
	callq	_os_realloc
	testq	%rax, %rax
	je	LBB0_48
## %bb.51:
	movq	%rax, %rbx
	movq	%rax, 56(%r12)
	movq	-56(%rbp), %rax                 ## 8-byte Reload
	movq	%rax, 48(%r12)
	movq	8(%r12), %rdx
	jmp	LBB0_52
LBB0_40:
	movl	(%r13), %edi
	leaq	L_.str.15(%rip), %rsi
	movq	%r8, %rcx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_41
LBB0_81:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	jmp	LBB0_65
LBB0_22:
	cmpq	$0, 40(%r12)
	je	LBB0_23
## %bb.25:
	decl	%r15d
	subq	%rbx, %r15
	addq	%rbx, %r14
	incq	%r14
	cmpq	$0, 128(%r12)
	je	LBB0_26
## %bb.33:
	cmpl	$0, 16(%r12)
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rbx
	jne	LBB0_27
## %bb.34:
	movl	(%r13), %edi
	leaq	L_.str.9(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_102
LBB0_89:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.23(%rip), %rsi
	movl	%r13d, %edx
	jmp	LBB0_49
LBB0_46:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.16(%rip), %rsi
	movl	%r13d, %edx
	movq	%rax, %r13
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_41
LBB0_74:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.21(%rip), %rsi
	jmp	LBB0_14
LBB0_23:
	movl	(%r13), %edi
	leaq	L_.str.8(%rip), %rsi
	jmp	LBB0_24
LBB0_78:
	movl	$1, 20(%r12)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.22(%rip), %rsi
LBB0_24:
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rbx
	jmp	LBB0_102
LBB0_48:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.17(%rip), %rsi
	movl	%r13d, %edx
LBB0_49:
	movq	%rax, %r13
	jmp	LBB0_50
LBB0_26:
	movq	_MSG_MSGDUMP@GOTPCREL(%rip), %rbx
	jmp	LBB0_27
LBB0_62:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.19(%rip), %rsi
	movq	%rax, %rdx
	jmp	LBB0_6
LBB0_59:
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.18(%rip), %rsi
	jmp	LBB0_14
LBB0_64:
	movl	$1, 80(%r12)
	movq	_MSG_DEBUG@GOTPCREL(%rip), %r13
	movl	(%r13), %edi
	leaq	L_.str.20(%rip), %rsi
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_wpa_printf
	jmp	LBB0_65
LBB0_108:
	callq	___stack_chk_fail
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_95, LBB0_95-LJTI0_0
.set L0_0_set_94, LBB0_94-LJTI0_0
.set L0_0_set_91, LBB0_91-LJTI0_0
.set L0_0_set_92, LBB0_92-LJTI0_0
LJTI0_0:
	.long	L0_0_set_95
	.long	L0_0_set_94
	.long	L0_0_set_91
	.long	L0_0_set_92
	.end_data_region
                                        ## -- End function
	.comm	_HTTPREAD_READBUF_SIZE,4,2      ## @HTTPREAD_READBUF_SIZE
	.comm	_MSG_DEBUG,4,2                  ## @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"httpread: Trying to read more data(%p)"

L_.str.1:                               ## @.str.1
	.asciz	"httpread failed: %s"

	.comm	_errno,4,2                      ## @errno
	.comm	_MSG_MSGDUMP,4,2                ## @MSG_MSGDUMP
L_.str.2:                               ## @.str.2
	.asciz	"httpread - read"

L_.str.3:                               ## @.str.3
	.asciz	"httpread premature eof(%p)"

L_.str.4:                               ## @.str.4
	.asciz	"httpread premature eof(%p) %d/%d"

L_.str.5:                               ## @.str.5
	.asciz	"httpread ok eof(%p)"

	.comm	_HTTPREAD_HEADER_MAX_SIZE,4,2   ## @HTTPREAD_HEADER_MAX_SIZE
L_.str.6:                               ## @.str.6
	.asciz	"httpread: Too long header"

L_.str.7:                               ## @.str.7
	.asciz	"httpread bad hdr(%p)"

L_.str.8:                               ## @.str.8
	.asciz	"httpread no body hdr end(%p)"

L_.str.9:                               ## @.str.9
	.asciz	"httpread zero content length(%p)"

L_.str.10:                              ## @.str.10
	.asciz	"SUBSCRIBE"

L_.str.11:                              ## @.str.11
	.asciz	"UNSUBSCRIBE"

L_.str.12:                              ## @.str.12
	.asciz	"HEAD"

L_.str.13:                              ## @.str.13
	.asciz	"GET"

L_.str.14:                              ## @.str.14
	.asciz	"httpread NO BODY for sp. type"

L_.str.15:                              ## @.str.15
	.asciz	"httpread: body_nbytes=%d >= max_bytes=%d"

	.comm	_HTTPREAD_BODYBUF_DELTA,4,2     ## @HTTPREAD_BODYBUF_DELTA
L_.str.16:                              ## @.str.16
	.asciz	"httpread: Unacceptable body length %d (body_alloc_nbytes=%u max_bytes=%u)"

L_.str.17:                              ## @.str.17
	.asciz	"httpread: Failed to reallocate buffer (len=%d)"

L_.str.18:                              ## @.str.18
	.asciz	"httpread: Unexpected chunk header value (not a hex digit)"

L_.str.19:                              ## @.str.19
	.asciz	"httpread: Invalid chunk size %d"

L_.str.20:                              ## @.str.20
	.asciz	"httpread end chunks(%p)"

L_.str.21:                              ## @.str.21
	.asciz	"httpread: Invalid chunk end"

L_.str.22:                              ## @.str.22
	.asciz	"httpread got content(%p)"

L_.str.23:                              ## @.str.23
	.asciz	"httpread: Invalid ncopy=%d"

L_.str.24:                              ## @.str.24
	.asciz	"httpread read/parse failure (%p)"

	.comm	_HTTPREAD_EVENT_ERROR,4,2       ## @HTTPREAD_EVENT_ERROR
L_.str.25:                              ## @.str.25
	.asciz	"httpread: get more (%p)"

L_.str.26:                              ## @.str.26
	.asciz	"httpread got file %d bytes type %d"

L_.str.27:                              ## @.str.27
	.asciz	"httpread: body"

	.comm	_EVENT_TYPE_READ,4,2            ## @EVENT_TYPE_READ
	.comm	_httpread_timeout_handler,4,2   ## @httpread_timeout_handler
	.comm	_HTTPREAD_EVENT_FILE_READY,4,2  ## @HTTPREAD_EVENT_FILE_READY
	.no_dead_strip	_httpread_read_handler
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3                               ; -- Begin function httpread_read_handler
lCPI0_0:
	.long	0                               ; 0x0
	.long	130                             ; 0x82
	.section	__TEXT,__text,regular,pure_instructions
	.p2align	2
_httpread_read_handler:                 ; @httpread_read_handler
	.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
	sub	sp, sp, #16
	mov	x19, x2
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	stur	x8, [x29, #-72]
Lloh3:
	adrp	x8, _HTTPREAD_READBUF_SIZE@GOTPAGE
Lloh4:
	ldr	x8, [x8, _HTTPREAD_READBUF_SIZE@GOTPAGEOFF]
Lloh5:
	ldr	w21, [x8]
	mov	x9, x21
Lloh6:
	adrp	x16, ___chkstk_darwin@GOTPAGE
Lloh7:
	ldr	x16, [x16, ___chkstk_darwin@GOTPAGEOFF]
	blr	x16
	mov	x8, sp
	add	x9, x21, #15
	and	x9, x9, #0x1fffffff0
	sub	x20, x8, x9
	mov	sp, x20
Lloh8:
	adrp	x24, _MSG_DEBUG@GOTPAGE
Lloh9:
	ldr	x24, [x24, _MSG_DEBUG@GOTPAGEOFF]
	ldr	w0, [x24]
	str	x2, [sp, #-16]!
Lloh10:
	adrp	x1, l_.str@PAGE
Lloh11:
	add	x1, x1, l_.str@PAGEOFF
	bl	_wpa_printf
	add	sp, sp, #16
	ldr	w0, [x19, #112]
	mov	x1, x20
	mov	x2, x21
	bl	_read
	tbnz	w0, #31, LBB0_13
; %bb.1:
	mov	x21, x0
Lloh12:
	adrp	x25, _MSG_MSGDUMP@GOTPAGE
Lloh13:
	ldr	x25, [x25, _MSG_MSGDUMP@GOTPAGEOFF]
	ldr	w0, [x25]
Lloh14:
	adrp	x1, l_.str.2@PAGE
Lloh15:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x2, x20
	mov	x3, x21
	bl	_wpa_hexdump_ascii
	ldr	w8, [x19]
	cbz	w21, LBB0_15
; %bb.2:
	cbz	w8, LBB0_22
LBB0_3:
	ldr	x0, [x19, #24]
Lloh16:
	adrp	x1, l_.str.10@PAGE
Lloh17:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	w2, #9
	bl	_os_strncasecmp
	cbz	w0, LBB0_20
; %bb.4:
	ldr	x0, [x19, #24]
Lloh18:
	adrp	x1, l_.str.11@PAGE
Lloh19:
	add	x1, x1, l_.str.11@PAGEOFF
	mov	w2, #11
	bl	_os_strncasecmp
	cbz	w0, LBB0_20
; %bb.5:
	ldr	x0, [x19, #24]
Lloh20:
	adrp	x1, l_.str.12@PAGE
Lloh21:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	w2, #4
	bl	_os_strncasecmp
	cbz	w0, LBB0_20
; %bb.6:
	ldr	x0, [x19, #24]
Lloh22:
	adrp	x1, l_.str.13@PAGE
Lloh23:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	w2, #3
	bl	_os_strncasecmp
	cbz	w0, LBB0_20
; %bb.7:
	cbz	w21, LBB0_47
; %bb.8:
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_57
LBB0_9:
	ldr	x8, [x19, #120]
	cbz	x8, LBB0_47
; %bb.10:
	ldr	w8, [x19, #80]
	cbz	w8, LBB0_47
; %bb.11:
	cmp	w21, #1
	b.lt	LBB0_47
; %bb.12:
	ldr	w12, [x19, #84]
	add	w8, w21, #1
	mov	w9, #129
	mov	w10, #131
Lloh24:
	adrp	x11, lJTI0_0@PAGE
Lloh25:
	add	x11, x11, lJTI0_0@PAGEOFF
	b	LBB0_39
LBB0_13:
	ldr	w20, [x24]
Lloh26:
	adrp	x8, _errno@GOTPAGE
Lloh27:
	ldr	x8, [x8, _errno@GOTPAGEOFF]
Lloh28:
	ldr	w0, [x8]
	bl	_strerror
                                        ; kill: def $w0 killed $w0 def $x0
	str	x0, [sp, #-16]!
Lloh29:
	adrp	x1, l_.str.1@PAGE
Lloh30:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x20
LBB0_14:
	bl	_wpa_printf
	add	sp, sp, #16
	b	LBB0_35
LBB0_15:
	cbz	w8, LBB0_32
; %bb.16:
	ldr	x8, [x19, #120]
	cbnz	x8, LBB0_18
; %bb.17:
	ldr	x8, [x19, #128]
	cbz	x8, LBB0_48
LBB0_18:
	ldr	w0, [x24]
	ldr	x8, [x19, #8]
	ldr	w9, [x19, #16]
	sub	sp, sp, #32
	stp	x8, x9, [sp, #8]
	str	x19, [sp]
Lloh31:
	adrp	x1, l_.str.4@PAGE
Lloh32:
	add	x1, x1, l_.str.4@PAGEOFF
LBB0_19:
	bl	_wpa_printf
	add	sp, sp, #32
	b	LBB0_35
LBB0_20:
	ldr	w8, [x19, #20]
	cbnz	w8, LBB0_50
; %bb.21:
	ldr	w0, [x24]
Lloh33:
	adrp	x1, l_.str.14@PAGE
Lloh34:
	add	x1, x1, l_.str.14@PAGEOFF
	bl	_wpa_printf
	b	LBB0_50
LBB0_22:
	ldr	x9, [x19, #24]
	ldrsw	x8, [x19, #32]
	add	x10, x9, x8
	mov	w9, #1
	sub	w21, w9, w21
	add	x20, x20, #1
Lloh35:
	adrp	x9, _HTTPREAD_HEADER_MAX_SIZE@GOTPAGE
Lloh36:
	ldr	x9, [x9, _HTTPREAD_HEADER_MAX_SIZE@GOTPAGEOFF]
	b	LBB0_24
LBB0_23:                                ;   in Loop: Header=BB0_24 Depth=1
	add	w21, w21, #1
	add	x20, x20, #1
	mov	x10, x11
	cmp	w21, #1
	b.eq	LBB0_47
LBB0_24:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9]
	cmp	w8, w11
	b.eq	LBB0_33
; %bb.25:                               ;   in Loop: Header=BB0_24 Depth=1
	ldurb	w8, [x20, #-1]
	mov	x11, x10
	strb	w8, [x11], #1
	ldr	w12, [x19, #32]
	add	w8, w12, #1
	str	w8, [x19, #32]
	cmp	w12, #3
	b.lt	LBB0_23
; %bb.26:                               ;   in Loop: Header=BB0_24 Depth=1
	ldrb	w12, [x10]
	cmp	w12, #10
	b.ne	LBB0_23
; %bb.27:                               ;   in Loop: Header=BB0_24 Depth=1
	ldurb	w12, [x10, #-1]
	cmp	w12, #13
	b.ne	LBB0_23
; %bb.28:                               ;   in Loop: Header=BB0_24 Depth=1
	ldurb	w12, [x10, #-2]
	cmp	w12, #10
	b.ne	LBB0_23
; %bb.29:                               ;   in Loop: Header=BB0_24 Depth=1
	ldurb	w12, [x10, #-3]
	cmp	w12, #13
	b.ne	LBB0_23
; %bb.30:
	mov	w8, #1
	str	w8, [x19]
	strb	wzr, [x10, #1]
	mov	x0, x19
	bl	_httpread_hdr_analyze
	cbz	x0, LBB0_92
; %bb.31:
	ldr	w0, [x24]
	str	x19, [sp, #-16]!
Lloh37:
	adrp	x1, l_.str.7@PAGE
Lloh38:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_14
LBB0_32:
	ldr	w0, [x24]
	str	x19, [sp, #-16]!
Lloh39:
	adrp	x1, l_.str.3@PAGE
Lloh40:
	add	x1, x1, l_.str.3@PAGEOFF
	b	LBB0_14
LBB0_33:
	ldr	w0, [x24]
Lloh41:
	adrp	x1, l_.str.6@PAGE
Lloh42:
	add	x1, x1, l_.str.6@PAGEOFF
LBB0_34:
	bl	_wpa_printf
LBB0_35:
	ldr	w0, [x24]
	str	x19, [sp, #-16]!
Lloh43:
	adrp	x1, l_.str.24@PAGE
Lloh44:
	add	x1, x1, l_.str.24@PAGEOFF
	bl	_wpa_printf
	add	sp, sp, #16
	ldr	x8, [x19, #104]
	ldr	w1, [x19, #100]
Lloh45:
	adrp	x9, _HTTPREAD_EVENT_ERROR@GOTPAGE
Lloh46:
	ldr	x9, [x9, _HTTPREAD_EVENT_ERROR@GOTPAGEOFF]
	b	LBB0_54
LBB0_36:                                ;   in Loop: Header=BB0_39 Depth=1
	cmp	w13, #10
	cinc	w12, w9, eq
LBB0_37:                                ;   in Loop: Header=BB0_39 Depth=1
	str	w12, [x19, #84]
LBB0_38:                                ;   in Loop: Header=BB0_39 Depth=1
	sub	w8, w8, #1
	cmp	w8, #2
	b.lo	LBB0_47
LBB0_39:                                ; =>This Inner Loop Header: Depth=1
	ldrb	w13, [x20], #1
	sub	w14, w12, #128
	cmp	w14, #3
	b.hi	LBB0_38
; %bb.40:                               ;   in Loop: Header=BB0_39 Depth=1
	adr	x12, LBB0_36
	ldrb	w15, [x11, x14]
	add	x12, x12, x15, lsl #2
	br	x12
LBB0_41:                                ;   in Loop: Header=BB0_39 Depth=1
	cmp	w13, #13
	b.ne	LBB0_46
; %bb.42:                               ;   in Loop: Header=BB0_39 Depth=1
	mov	w12, #128
	b	LBB0_37
LBB0_43:                                ;   in Loop: Header=BB0_39 Depth=1
	cmp	w13, #13
	csel	w12, w10, w9, eq
	b	LBB0_37
LBB0_44:                                ;   in Loop: Header=BB0_39 Depth=1
	cmp	w13, #10
	b.eq	LBB0_98
; %bb.45:                               ;   in Loop: Header=BB0_39 Depth=1
	mov	w12, #129
	b	LBB0_37
LBB0_46:                                ;   in Loop: Header=BB0_39 Depth=1
	mov	w12, #129
	b	LBB0_38
LBB0_47:
	ldr	w0, [x24]
	str	x19, [sp, #-16]!
Lloh47:
	adrp	x1, l_.str.25@PAGE
Lloh48:
	add	x1, x1, l_.str.25@PAGEOFF
	bl	_wpa_printf
	add	sp, sp, #16
	b	LBB0_55
LBB0_48:
	ldr	w0, [x24]
	str	x19, [sp, #-16]!
Lloh49:
	adrp	x1, l_.str.5@PAGE
Lloh50:
	add	x1, x1, l_.str.5@PAGEOFF
LBB0_49:
	bl	_wpa_printf
	add	sp, sp, #16
LBB0_50:
	mov	w8, #1
	str	w8, [x19, #20]
LBB0_51:
	ldr	w0, [x24]
	ldr	x8, [x19, #8]
	ldr	x9, [x19, #88]
	stp	x8, x9, [sp, #-16]!
Lloh51:
	adrp	x1, l_.str.26@PAGE
Lloh52:
	add	x1, x1, l_.str.26@PAGEOFF
	bl	_wpa_printf
	add	sp, sp, #16
	ldr	w0, [x25]
	ldr	x2, [x19, #56]
	ldr	w3, [x19, #8]
Lloh53:
	adrp	x1, l_.str.27@PAGE
Lloh54:
	add	x1, x1, l_.str.27@PAGEOFF
	bl	_wpa_hexdump_ascii
	ldr	x8, [x19, #56]
	cbz	x8, LBB0_53
; %bb.52:
	ldr	x9, [x19, #8]
	strb	wzr, [x8, x9]
LBB0_53:
	mov	w8, #1
	str	w8, [x19, #96]
	ldr	w0, [x19, #112]
Lloh55:
	adrp	x8, _EVENT_TYPE_READ@GOTPAGE
Lloh56:
	ldr	x8, [x8, _EVENT_TYPE_READ@GOTPAGEOFF]
Lloh57:
	ldr	w1, [x8]
	bl	_eloop_unregister_sock
Lloh58:
	adrp	x8, _httpread_timeout_handler@GOTPAGE
Lloh59:
	ldr	x8, [x8, _httpread_timeout_handler@GOTPAGEOFF]
Lloh60:
	ldr	w0, [x8]
	mov	x1, #0
	mov	x2, x19
	bl	_eloop_cancel_timeout
	ldr	x8, [x19, #104]
	ldr	w1, [x19, #100]
Lloh61:
	adrp	x9, _HTTPREAD_EVENT_FILE_READY@GOTPAGE
Lloh62:
	ldr	x9, [x9, _HTTPREAD_EVENT_FILE_READY@GOTPAGEOFF]
LBB0_54:
	ldr	w2, [x9]
	mov	x0, x19
	blr	x8
LBB0_55:
	ldur	x8, [x29, #-72]
Lloh63:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh64:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh65:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_107
; %bb.56:
	sub	sp, x29, #64
	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
LBB0_57:
	ldr	x9, [x19, #48]
	ldr	x8, [x19, #8]
	add	x10, x8, w21, sxtw
	cmp	x9, x10
	b.le	LBB0_84
; %bb.58:
	ldr	x0, [x19, #56]
LBB0_59:
	add	x22, x0, x8
	mov	w26, #1
	ldr	x9, [x19, #120]
	cbnz	x9, LBB0_63
	b	LBB0_61
LBB0_60:
	ldrb	w8, [x20], #1
	strb	w8, [x22], #1
	ldr	x8, [x19, #8]
	add	x8, x8, #1
	str	x8, [x19, #8]
	mov	x21, x9
	ldr	x9, [x19, #120]
	cbnz	x9, LBB0_63
LBB0_61:
	ldr	x9, [x19, #128]
	cbz	x9, LBB0_76
; %bb.62:
	ldrsw	x9, [x19, #16]
	cmp	x8, x9
	b.lt	LBB0_76
	b	LBB0_101
LBB0_63:
	ldr	w9, [x19, #64]
	cbz	w9, LBB0_68
; %bb.64:
	ldrsw	x9, [x19, #68]
	ldr	x10, [x19, #72]
	add	x10, x10, #2
	sub	x9, x8, x9
	cmp	x9, x10
	b.ne	LBB0_76
; %bb.65:
	ldurb	w9, [x22, #-1]
	cmp	w9, #10
	b.ne	LBB0_99
; %bb.66:
	ldrb	w9, [x22, #-2]!
	cmp	w9, #13
	b.ne	LBB0_99
; %bb.67:
	sub	x8, x8, #2
	str	x8, [x19, #8]
	stp	wzr, w8, [x19, #64]
	str	xzr, [x19, #72]
	b	LBB0_76
LBB0_68:
	ldr	x9, [x19, #56]
	ldrsw	x10, [x19, #68]
	add	x23, x9, x10
	sub	x9, x22, x23
	cmp	x9, #2
	b.lt	LBB0_76
; %bb.69:
	ldurb	w9, [x22, #-2]
	cmp	w9, #13
	b.ne	LBB0_76
; %bb.70:
	ldurb	w9, [x22, #-1]
	cmp	w9, #10
	b.ne	LBB0_76
; %bb.71:
	ldrsb	w0, [x23]
	bl	_isxdigit
	cbz	w0, LBB0_105
; %bb.72:
	mov	x0, x23
	mov	x1, #0
	mov	w2, #16
	bl	_strtoul
	str	x0, [x19, #72]
	tbnz	x0, #63, LBB0_104
; %bb.73:
	ldr	x8, [x19, #40]
	cmp	x0, x8
	b.gt	LBB0_104
; %bb.74:
	ldrsw	x8, [x19, #68]
	str	x8, [x19, #8]
	cbz	x0, LBB0_106
; %bb.75:
	str	w26, [x19, #64]
	mov	x22, x23
LBB0_76:
	subs	w9, w21, #1
	b.lt	LBB0_9
; %bb.77:
	ldr	x10, [x19, #120]
	cbz	x10, LBB0_80
; %bb.78:
	ldr	w10, [x19, #64]
	cbz	w10, LBB0_60
; %bb.79:
	ldp	w9, w10, [x19, #68]
	add	w9, w9, w10
	sub	w8, w9, w8
	add	w9, w8, #2
	b	LBB0_82
LBB0_80:
	ldr	x10, [x19, #128]
	mov	x9, x21
	cbz	x10, LBB0_83
; %bb.81:
	ldr	w9, [x19, #16]
	sub	w9, w9, w8
LBB0_82:
	tbnz	w9, #31, LBB0_96
LBB0_83:
	cmp	w9, w21
	csel	w23, w9, w21, lo
	mov	x0, x22
	mov	x1, x20
	mov	x2, x23
	bl	_os_memcpy
	add	x22, x22, x23
	ldr	x8, [x19, #8]
	add	x8, x8, x23
	str	x8, [x19, #8]
	add	x20, x20, x23
	sub	w21, w21, w23
	ldr	x9, [x19, #120]
	cbnz	x9, LBB0_63
	b	LBB0_61
LBB0_84:
	ldr	x10, [x19, #40]
	cmp	x8, x10
	b.ge	LBB0_91
; %bb.85:
Lloh66:
	adrp	x8, _HTTPREAD_BODYBUF_DELTA@GOTPAGE
Lloh67:
	ldr	x8, [x8, _HTTPREAD_BODYBUF_DELTA@GOTPAGEOFF]
Lloh68:
	ldrsw	x8, [x8]
	add	w11, w8, w9
	ldr	x12, [x19, #128]
	cbz	x12, LBB0_87
; %bb.86:
	ldr	w12, [x19, #16]
	cmp	w11, w12
	csinc	w11, w11, w12, gt
LBB0_87:
	sxtw	x22, w11
	cmp	x9, x22
	b.gt	LBB0_97
; %bb.88:
	add	x8, x10, x8
	cmp	x8, x22
	b.lt	LBB0_97
; %bb.89:
	ldr	x0, [x19, #56]
	mov	x1, x22
	bl	_os_realloc
	cbz	x0, LBB0_103
; %bb.90:
	stp	x22, x0, [x19, #48]
	ldr	x8, [x19, #8]
	b	LBB0_59
LBB0_91:
	ldr	w0, [x24]
	stp	x8, x10, [sp, #-16]!
Lloh69:
	adrp	x1, l_.str.15@PAGE
Lloh70:
	add	x1, x1, l_.str.15@PAGEOFF
	b	LBB0_14
LBB0_92:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_100
; %bb.93:
	neg	w21, w21
	ldr	x8, [x19, #128]
	cbz	x8, LBB0_3
; %bb.94:
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_3
; %bb.95:
	ldr	w0, [x24]
	str	x19, [sp, #-16]!
Lloh71:
	adrp	x1, l_.str.9@PAGE
Lloh72:
	add	x1, x1, l_.str.9@PAGEOFF
	b	LBB0_102
LBB0_96:
	ldr	w0, [x24]
	str	x9, [sp, #-16]!
Lloh73:
	adrp	x1, l_.str.23@PAGE
Lloh74:
	add	x1, x1, l_.str.23@PAGEOFF
	b	LBB0_14
LBB0_97:
	ldr	w0, [x24]
	sub	sp, sp, #32
	stp	x9, x10, [sp, #8]
	str	x22, [sp]
Lloh75:
	adrp	x1, l_.str.16@PAGE
Lloh76:
	add	x1, x1, l_.str.16@PAGEOFF
	b	LBB0_19
LBB0_98:
Lloh77:
	adrp	x8, lCPI0_0@PAGE
Lloh78:
	ldr	d0, [x8, lCPI0_0@PAGEOFF]
	str	d0, [x19, #80]
	ldr	w0, [x24]
	str	x19, [sp, #-16]!
Lloh79:
	adrp	x1, l_.str.22@PAGE
Lloh80:
	add	x1, x1, l_.str.22@PAGEOFF
	b	LBB0_49
LBB0_99:
	ldr	w0, [x24]
Lloh81:
	adrp	x1, l_.str.21@PAGE
Lloh82:
	add	x1, x1, l_.str.21@PAGEOFF
	b	LBB0_34
LBB0_100:
	ldr	w0, [x24]
	str	x19, [sp, #-16]!
Lloh83:
	adrp	x1, l_.str.8@PAGE
Lloh84:
	add	x1, x1, l_.str.8@PAGEOFF
	b	LBB0_102
LBB0_101:
	mov	w8, #1
	str	w8, [x19, #20]
	ldr	w0, [x24]
	str	x19, [sp, #-16]!
Lloh85:
	adrp	x1, l_.str.22@PAGE
Lloh86:
	add	x1, x1, l_.str.22@PAGEOFF
LBB0_102:
	bl	_wpa_printf
	add	sp, sp, #16
	b	LBB0_51
LBB0_103:
	ldr	w0, [x24]
	str	x22, [sp, #-16]!
Lloh87:
	adrp	x1, l_.str.17@PAGE
Lloh88:
	add	x1, x1, l_.str.17@PAGEOFF
	b	LBB0_14
LBB0_104:
	ldr	w8, [x24]
	str	x0, [sp, #-16]!
Lloh89:
	adrp	x1, l_.str.19@PAGE
Lloh90:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x8
	b	LBB0_14
LBB0_105:
	ldr	w0, [x24]
Lloh91:
	adrp	x1, l_.str.18@PAGE
Lloh92:
	add	x1, x1, l_.str.18@PAGEOFF
	b	LBB0_34
LBB0_106:
	mov	w8, #1
	str	w8, [x19, #80]
	ldr	w0, [x24]
	str	x19, [sp, #-16]!
Lloh93:
	adrp	x1, l_.str.20@PAGE
Lloh94:
	add	x1, x1, l_.str.20@PAGEOFF
	bl	_wpa_printf
	add	sp, sp, #16
	b	LBB0_9
LBB0_107:
	bl	___stack_chk_fail
	.loh AdrpAdd	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpAdd	Lloh16, Lloh17
	.loh AdrpAdd	Lloh18, Lloh19
	.loh AdrpAdd	Lloh20, Lloh21
	.loh AdrpAdd	Lloh22, Lloh23
	.loh AdrpAdd	Lloh24, Lloh25
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpAdd	Lloh31, Lloh32
	.loh AdrpAdd	Lloh33, Lloh34
	.loh AdrpLdrGot	Lloh35, Lloh36
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh39, Lloh40
	.loh AdrpAdd	Lloh41, Lloh42
	.loh AdrpLdrGot	Lloh45, Lloh46
	.loh AdrpAdd	Lloh43, Lloh44
	.loh AdrpAdd	Lloh47, Lloh48
	.loh AdrpAdd	Lloh49, Lloh50
	.loh AdrpAdd	Lloh53, Lloh54
	.loh AdrpAdd	Lloh51, Lloh52
	.loh AdrpLdrGot	Lloh61, Lloh62
	.loh AdrpLdrGotLdr	Lloh58, Lloh59, Lloh60
	.loh AdrpLdrGotLdr	Lloh55, Lloh56, Lloh57
	.loh AdrpLdrGotLdr	Lloh63, Lloh64, Lloh65
	.loh AdrpLdrGotLdr	Lloh66, Lloh67, Lloh68
	.loh AdrpAdd	Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.loh AdrpAdd	Lloh73, Lloh74
	.loh AdrpAdd	Lloh75, Lloh76
	.loh AdrpAdd	Lloh79, Lloh80
	.loh AdrpLdr	Lloh77, Lloh78
	.loh AdrpAdd	Lloh81, Lloh82
	.loh AdrpAdd	Lloh83, Lloh84
	.loh AdrpAdd	Lloh85, Lloh86
	.loh AdrpAdd	Lloh87, Lloh88
	.loh AdrpAdd	Lloh89, Lloh90
	.loh AdrpAdd	Lloh91, Lloh92
	.loh AdrpAdd	Lloh93, Lloh94
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_36-LBB0_36)>>2
	.byte	(LBB0_41-LBB0_36)>>2
	.byte	(LBB0_43-LBB0_36)>>2
	.byte	(LBB0_44-LBB0_36)>>2
                                        ; -- End function
	.comm	_HTTPREAD_READBUF_SIZE,4,2      ; @HTTPREAD_READBUF_SIZE
	.comm	_MSG_DEBUG,4,2                  ; @MSG_DEBUG
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"httpread: Trying to read more data(%p)"

l_.str.1:                               ; @.str.1
	.asciz	"httpread failed: %s"

	.comm	_errno,4,2                      ; @errno
	.comm	_MSG_MSGDUMP,4,2                ; @MSG_MSGDUMP
l_.str.2:                               ; @.str.2
	.asciz	"httpread - read"

l_.str.3:                               ; @.str.3
	.asciz	"httpread premature eof(%p)"

l_.str.4:                               ; @.str.4
	.asciz	"httpread premature eof(%p) %d/%d"

l_.str.5:                               ; @.str.5
	.asciz	"httpread ok eof(%p)"

	.comm	_HTTPREAD_HEADER_MAX_SIZE,4,2   ; @HTTPREAD_HEADER_MAX_SIZE
l_.str.6:                               ; @.str.6
	.asciz	"httpread: Too long header"

l_.str.7:                               ; @.str.7
	.asciz	"httpread bad hdr(%p)"

l_.str.8:                               ; @.str.8
	.asciz	"httpread no body hdr end(%p)"

l_.str.9:                               ; @.str.9
	.asciz	"httpread zero content length(%p)"

l_.str.10:                              ; @.str.10
	.asciz	"SUBSCRIBE"

l_.str.11:                              ; @.str.11
	.asciz	"UNSUBSCRIBE"

l_.str.12:                              ; @.str.12
	.asciz	"HEAD"

l_.str.13:                              ; @.str.13
	.asciz	"GET"

l_.str.14:                              ; @.str.14
	.asciz	"httpread NO BODY for sp. type"

l_.str.15:                              ; @.str.15
	.asciz	"httpread: body_nbytes=%d >= max_bytes=%d"

	.comm	_HTTPREAD_BODYBUF_DELTA,4,2     ; @HTTPREAD_BODYBUF_DELTA
l_.str.16:                              ; @.str.16
	.asciz	"httpread: Unacceptable body length %d (body_alloc_nbytes=%u max_bytes=%u)"

l_.str.17:                              ; @.str.17
	.asciz	"httpread: Failed to reallocate buffer (len=%d)"

l_.str.18:                              ; @.str.18
	.asciz	"httpread: Unexpected chunk header value (not a hex digit)"

l_.str.19:                              ; @.str.19
	.asciz	"httpread: Invalid chunk size %d"

l_.str.20:                              ; @.str.20
	.asciz	"httpread end chunks(%p)"

l_.str.21:                              ; @.str.21
	.asciz	"httpread: Invalid chunk end"

l_.str.22:                              ; @.str.22
	.asciz	"httpread got content(%p)"

l_.str.23:                              ; @.str.23
	.asciz	"httpread: Invalid ncopy=%d"

l_.str.24:                              ; @.str.24
	.asciz	"httpread read/parse failure (%p)"

	.comm	_HTTPREAD_EVENT_ERROR,4,2       ; @HTTPREAD_EVENT_ERROR
l_.str.25:                              ; @.str.25
	.asciz	"httpread: get more (%p)"

l_.str.26:                              ; @.str.26
	.asciz	"httpread got file %d bytes type %d"

l_.str.27:                              ; @.str.27
	.asciz	"httpread: body"

	.comm	_EVENT_TYPE_READ,4,2            ; @EVENT_TYPE_READ
	.comm	_httpread_timeout_handler,4,2   ; @httpread_timeout_handler
	.comm	_HTTPREAD_EVENT_FILE_READY,4,2  ; @HTTPREAD_EVENT_FILE_READY
	.no_dead_strip	_httpread_read_handler
.subsections_via_symbols
