	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function comm_point_http_handle_read
_comm_point_http_handle_read:           ## @comm_point_http_handle_read
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movl	%edi, %r15d
	movq	(%rsi), %rax
	movq	_comm_http@GOTPCREL(%rip), %rcx
	xorl	%edi, %edi
	cmpq	(%rcx), %rax
	sete	%dil
	callq	_log_assert
	xorl	%edi, %edi
	cmpl	$-1, %r15d
	setne	%dil
	callq	_log_assert
	movl	$1, %r14d
	cmpl	$0, 48(%rbx)
	je	LBB0_23
## %bb.1:
	cmpq	$0, 40(%rbx)
	je	LBB0_4
## %bb.2:
	movq	%rbx, %rdi
	callq	_ssl_http_read_more
	testl	%eax, %eax
	jne	LBB0_5
	jmp	LBB0_3
LBB0_4:
	movl	%r15d, %edi
	movq	%rbx, %rsi
	callq	_http_read_more
	testl	%eax, %eax
	je	LBB0_3
LBB0_5:
	movl	16(%rbx), %edi
	callq	_sldns_buffer_flip
	jmp	LBB0_7
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_http_process_initial_header
	testl	%eax, %eax
	je	LBB0_3
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movl	16(%rbx), %edi
	callq	_sldns_buffer_remaining
	testq	%rax, %rax
	jle	LBB0_17
## %bb.8:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 32(%rbx)
	jne	LBB0_10
## %bb.9:                               ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 24(%rbx)
	je	LBB0_14
LBB0_10:                                ##   in Loop: Header=BB0_7 Depth=1
	movl	16(%rbx), %edi
	callq	_http_header_done
	testl	%eax, %eax
	je	LBB0_17
## %bb.11:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpq	$0, 24(%rbx)
	je	LBB0_6
## %bb.12:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_http_process_chunk_header
	testl	%eax, %eax
	je	LBB0_22
## %bb.13:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$2, %eax
	jne	LBB0_7
	jmp	LBB0_23
LBB0_14:                                ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$0, 20(%rbx)
	je	LBB0_21
## %bb.15:                              ##   in Loop: Header=BB0_7 Depth=1
	movq	%rbx, %rdi
	callq	_http_chunked_segment
	testl	%eax, %eax
	je	LBB0_22
## %bb.16:                              ##   in Loop: Header=BB0_7 Depth=1
	cmpl	$1, %eax
	jne	LBB0_7
	jmp	LBB0_23
LBB0_17:
	movl	16(%rbx), %edi
	callq	_http_moveover_buffer
	jmp	LBB0_23
LBB0_3:
	xorl	%r14d, %r14d
LBB0_23:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_22:
	movl	%eax, %r14d
	jmp	LBB0_23
LBB0_21:
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_http_nonchunk_segment          ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_comm_http,8,3                  ## @comm_http
	.comm	_comm_ssl_shake_none,8,3        ## @comm_ssl_shake_none
	.no_dead_strip	_comm_point_http_handle_read
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function comm_point_http_handle_read
_comm_point_http_handle_read:           ; @comm_point_http_handle_read
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	mov	x19, x1
	mov	x20, x0
	ldr	x8, [x1]
Lloh0:
	adrp	x9, _comm_http@GOTPAGE
Lloh1:
	ldr	x9, [x9, _comm_http@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	cset	w0, eq
	bl	_log_assert
	cmn	w20, #1
	cset	w0, ne
	bl	_log_assert
	ldr	w8, [x19, #48]
	cbz	w8, LBB0_6
; %bb.1:
	ldr	x8, [x19, #40]
	cbz	x8, LBB0_3
; %bb.2:
	mov	x0, x19
	bl	_ssl_http_read_more
	cbnz	w0, LBB0_4
	b	LBB0_7
LBB0_3:
	mov	x0, x20
	mov	x1, x19
	bl	_http_read_more
	cbz	w0, LBB0_7
LBB0_4:
	ldr	w0, [x19, #16]
	bl	_sldns_buffer_flip
	ldr	w0, [x19, #16]
	bl	_sldns_buffer_remaining
	cmp	x0, #1
	b.ge	LBB0_10
LBB0_5:
	ldr	w0, [x19, #16]
	bl	_http_moveover_buffer
LBB0_6:
	mov	w0, #1
LBB0_7:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_8:                                 ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_http_process_initial_header
	cbz	w0, LBB0_7
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x19, #16]
	bl	_sldns_buffer_remaining
	cmp	x0, #0
	b.le	LBB0_5
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x19, #32]
	cbnz	x8, LBB0_12
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_16
LBB0_12:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x19, #16]
	bl	_http_header_done
	cbz	w0, LBB0_5
; %bb.13:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	x8, [x19, #24]
	cbz	x8, LBB0_8
; %bb.14:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_http_process_chunk_header
	cbz	w0, LBB0_7
; %bb.15:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w0, #2
	b.ne	LBB0_9
	b	LBB0_6
LBB0_16:                                ;   in Loop: Header=BB0_10 Depth=1
	ldr	w8, [x19, #20]
	cbz	w8, LBB0_19
; %bb.17:                               ;   in Loop: Header=BB0_10 Depth=1
	mov	x0, x19
	bl	_http_chunked_segment
	cbz	w0, LBB0_7
; %bb.18:                               ;   in Loop: Header=BB0_10 Depth=1
	cmp	w0, #1
	b.ne	LBB0_9
	b	LBB0_7
LBB0_19:
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_http_nonchunk_segment
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_comm_http,8,3                  ; @comm_http
	.comm	_comm_ssl_shake_none,8,3        ; @comm_ssl_shake_none
	.no_dead_strip	_comm_point_http_handle_read
.subsections_via_symbols
