	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function _parse_body
__parse_body:                           ## @_parse_body
	.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	%rdi, %rbx
	movslq	(%rdi), %rax
	movq	_CONTENT_LENGTH_UNSET@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jne	LBB0_7
## %bb.1:
	movq	8(%rbx), %rcx
	movq	_PARSER_TRANSFER_UNSET@GOTPCREL(%rip), %rdx
	xorl	%esi, %esi
	movl	$0, %r15d
	movl	$0, %r14d
	cmpq	(%rdx), %rcx
	je	LBB0_11
## %bb.2:
	testl	%eax, %eax
	je	LBB0_10
## %bb.3:
	movq	_PARSER_CHUNKED@GOTPCREL(%rip), %rax
	movl	$-2, %r14d
	cmpq	(%rax), %rcx
	jne	LBB0_14
## %bb.4:
	leaq	32(%rbx), %rdx
	movq	32(%rbx), %r15
	movslq	16(%rbx), %rax
	movslq	20(%rbx), %rsi
	subq	%rsi, %rax
	subq	%r15, %rax
	movq	%rax, 32(%rbx)
	leaq	56(%rbx), %rdi
	addq	24(%rbx), %rsi
	addq	%r15, %rsi
	callq	_phr_decode_chunked
	addq	32(%rbx), %r15
	movq	%r15, 32(%rbx)
	cmpl	$-1, %eax
	je	LBB0_15
## %bb.5:
	cmpl	$-2, %eax
	jne	LBB0_17
## %bb.6:
	addl	20(%rbx), %r15d
	movl	%r15d, 16(%rbx)
	jmp	LBB0_14
LBB0_7:
	testl	%eax, %eax
	je	LBB0_10
## %bb.8:
	movl	16(%rbx), %edx
	movslq	20(%rbx), %rcx
	subl	%ecx, %edx
	movl	$-2, %r14d
	cmpl	%edx, %eax
	jg	LBB0_14
## %bb.9:
	movq	%rcx, %rsi
	addq	24(%rbx), %rsi
	addl	%eax, %ecx
	movl	%ecx, 20(%rbx)
	movl	$1, %r14d
	movq	%rax, %r15
	jmp	LBB0_11
LBB0_10:
	movq	_zero_body@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	xorl	%r15d, %r15d
	xorl	%r14d, %r14d
LBB0_11:
	movl	16(%rbx), %ecx
	movl	40(%rbx), %edi
	subl	20(%rbx), %ecx
	movq	%r15, %rdx
	callq	_Protocol_on_body
	testl	%eax, %eax
	je	LBB0_13
## %bb.12:
	movq	%rbx, %rdi
	xorl	%esi, %esi
	callq	__reset_state
	jmp	LBB0_14
LBB0_15:
	movl	40(%rbx), %edi
	movq	_malformed_body@GOTPCREL(%rip), %rax
	movq	(%rax), %rsi
	callq	_Protocol_on_error
	testl	%eax, %eax
	je	LBB0_13
## %bb.16:
	movq	%rbx, %rdi
	movl	$1, %esi
	callq	__reset_state
	movl	$-1, %r14d
	jmp	LBB0_14
LBB0_13:
	movl	$-3, %r14d
LBB0_14:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_17:
	movslq	20(%rbx), %rcx
	movq	%rcx, %rsi
	addq	24(%rbx), %rsi
	addl	%r15d, %ecx
	movl	%ecx, 20(%rbx)
	addl	%eax, %ecx
	movl	%ecx, 16(%rbx)
	movl	%eax, %r14d
	jmp	LBB0_11
	.cfi_endproc
                                        ## -- End function
	.comm	_CONTENT_LENGTH_UNSET,4,2       ## @CONTENT_LENGTH_UNSET
	.comm	_PARSER_TRANSFER_UNSET,8,3      ## @PARSER_TRANSFER_UNSET
	.comm	_zero_body,8,3                  ## @zero_body
	.comm	_PARSER_CHUNKED,8,3             ## @PARSER_CHUNKED
	.comm	_malformed_body,8,3             ## @malformed_body
	.comm	_PyBUF_READ,4,2                 ## @PyBUF_READ
	.comm	_Py_None,8,3                    ## @Py_None
	.comm	_stdout,4,2                     ## @stdout
	.no_dead_strip	__parse_body
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function _parse_body
__parse_body:                           ; @_parse_body
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	ldrsw	x2, [x0]
Lloh0:
	adrp	x8, _CONTENT_LENGTH_UNSET@GOTPAGE
Lloh1:
	ldr	x8, [x8, _CONTENT_LENGTH_UNSET@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w2, w8
	b.ne	LBB0_3
; %bb.1:
	ldr	x8, [x19, #8]
Lloh3:
	adrp	x9, _PARSER_TRANSFER_UNSET@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PARSER_TRANSFER_UNSET@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_6
; %bb.2:
	mov	x1, #0
	mov	x2, #0
	mov	w20, #0
	b	LBB0_12
LBB0_3:
	cbz	w2, LBB0_11
; %bb.4:
	ldp	w9, w8, [x19, #16]
                                        ; kill: def $w8 killed $w8 def $x8
	sxtw	x8, w8
	sub	w9, w9, w8
	cmp	w2, w9
	b.gt	LBB0_14
; %bb.5:
	ldr	x9, [x19, #24]
	add	x1, x9, x8
	add	w8, w8, w2
	str	w8, [x19, #20]
	mov	w20, #1
	b	LBB0_12
LBB0_6:
	cbz	w2, LBB0_11
; %bb.7:
Lloh6:
	adrp	x9, _PARSER_CHUNKED@GOTPAGE
Lloh7:
	ldr	x9, [x9, _PARSER_CHUNKED@GOTPAGEOFF]
Lloh8:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_14
; %bb.8:
	mov	x21, x19
	ldr	x22, [x21, #32]!
	ldpsw	x8, x9, [x21, #-16]
	sub	x8, x8, x9
	sub	x8, x8, x22
	str	x8, [x21]
	add	x0, x21, #24
	ldur	x8, [x21, #-8]
	add	x8, x8, x9
	add	x1, x8, x22
	mov	x2, x21
	bl	_phr_decode_chunked
	ldr	x8, [x21]
	add	x2, x8, x22
	str	x2, [x21]
	cmn	w0, #1
	b.eq	LBB0_15
; %bb.9:
	mov	x20, x0
	cmn	w0, #2
	b.ne	LBB0_19
; %bb.10:
	ldr	w8, [x19, #20]
	add	w8, w8, w2
	str	w8, [x19, #16]
	b	LBB0_18
LBB0_11:
	mov	x2, #0
	mov	w20, #0
Lloh9:
	adrp	x8, _zero_body@GOTPAGE
Lloh10:
	ldr	x8, [x8, _zero_body@GOTPAGEOFF]
Lloh11:
	ldr	x1, [x8]
LBB0_12:
	ldr	w0, [x19, #40]
	ldp	w8, w9, [x19, #16]
	sub	w3, w8, w9
	bl	_Protocol_on_body
	cbz	w0, LBB0_17
; %bb.13:
	mov	x0, x19
	mov	w1, #0
	bl	__reset_state
	b	LBB0_18
LBB0_14:
	mov	w20, #-2
	b	LBB0_18
LBB0_15:
	ldr	w0, [x19, #40]
Lloh12:
	adrp	x8, _malformed_body@GOTPAGE
Lloh13:
	ldr	x8, [x8, _malformed_body@GOTPAGEOFF]
Lloh14:
	ldr	x1, [x8]
	bl	_Protocol_on_error
	cbz	w0, LBB0_17
; %bb.16:
	mov	x0, x19
	mov	w1, #1
	bl	__reset_state
	mov	w20, #-1
	b	LBB0_18
LBB0_17:
	mov	w20, #-3
LBB0_18:
	mov	x0, x20
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_19:
	ldr	x8, [x19, #24]
	ldrsw	x9, [x19, #20]
	add	x1, x8, x9
	add	w8, w9, w2
	add	w9, w8, w20
	stp	w9, w8, [x19, #16]
	b	LBB0_12
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh12, Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_CONTENT_LENGTH_UNSET,4,2       ; @CONTENT_LENGTH_UNSET
	.comm	_PARSER_TRANSFER_UNSET,8,3      ; @PARSER_TRANSFER_UNSET
	.comm	_zero_body,8,3                  ; @zero_body
	.comm	_PARSER_CHUNKED,8,3             ; @PARSER_CHUNKED
	.comm	_malformed_body,8,3             ; @malformed_body
	.comm	_PyBUF_READ,4,2                 ; @PyBUF_READ
	.comm	_Py_None,8,3                    ; @Py_None
	.comm	_stdout,4,2                     ; @stdout
	.no_dead_strip	__parse_body
.subsections_via_symbols
