	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_net_http_connection_done       ## -- Begin function net_http_connection_done
	.p2align	4, 0x90
_net_http_connection_done:              ## @net_http_connection_done
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	xorl	%r14d, %r14d
	testq	%rdi, %rdi
	je	LBB0_8
## %bb.1:
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	cmpb	$0, (%rax)
	je	LBB0_8
## %bb.2:
	leaq	8(%rbx), %rsi
	movb	$0, (%rax)
	cmpl	$0, 16(%rbx)
	jne	LBB0_4
## %bb.3:
	cmpq	$0, 24(%rbx)
	movl	$80, %eax
	movl	$443, %ecx                      ## imm = 0x1BB
	cmovel	%eax, %ecx
	movl	%ecx, 16(%rbx)
LBB0_4:
	movq	(%rsi), %rdi
	cmpb	$58, (%rdi)
	jne	LBB0_7
## %bb.5:
	movsbl	1(%rdi), %eax
	addl	$-48, %eax
	cmpl	$9, %eax
	ja	LBB0_8
## %bb.6:
	incq	%rdi
	movl	$10, %edx
	callq	_strtoul
	movl	%eax, 16(%rbx)
	movq	8(%rbx), %rdi
	cmpb	$47, (%rdi)
	jne	LBB0_8
LBB0_7:
	incq	%rdi
	movq	%rdi, (%rbx)
	movl	$1, %r14d
LBB0_8:
	movl	%r14d, %eax
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_net_http_connection_done       ; -- Begin function net_http_connection_done
	.p2align	2
_net_http_connection_done:              ; @net_http_connection_done
	.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
	cbz	x0, LBB0_9
; %bb.1:
	mov	x19, x0
	mov	x1, x0
	ldr	x8, [x1, #8]!
	ldrb	w9, [x8]
	cbz	w9, LBB0_8
; %bb.2:
	strb	wzr, [x8]
	ldr	w8, [x19, #16]
	cbnz	w8, LBB0_4
; %bb.3:
	ldr	x8, [x19, #24]
	cmp	x8, #0
	mov	w8, #443
	mov	w9, #80
	csel	w8, w9, w8, eq
	str	w8, [x19, #16]
LBB0_4:
	ldr	x0, [x1]
	ldrb	w8, [x0]
	cmp	w8, #58
	b.ne	LBB0_7
; %bb.5:
	ldrsb	w8, [x0, #1]!
	sub	w8, w8, #48
	cmp	w8, #9
	b.hi	LBB0_8
; %bb.6:
	mov	w2, #10
	bl	_strtoul
	str	w0, [x19, #16]
	ldr	x0, [x19, #8]
	ldrb	w8, [x0]
	cmp	w8, #47
	b.ne	LBB0_8
LBB0_7:
	add	x8, x0, #1
	str	x8, [x19]
	mov	w0, #1
	b	LBB0_9
LBB0_8:
	mov	w0, #0
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
	.cfi_endproc
                                        ; -- End function
.subsections_via_symbols
