	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function http_get_reply
_http_get_reply:                        ## @http_get_reply
	.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
	movq	%rdi, %rbx
	callq	_fetch_getln
	cmpl	$-1, %eax
	je	LBB0_1
## %bb.2:
	movq	(%rbx), %rdi
	leaq	L_.str(%rip), %rsi
	movl	$4, %edx
	callq	_strncmp
	testq	%rax, %rax
	je	LBB0_4
LBB0_3:
	movq	_HTTP_PROTOCOL_ERROR@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	jmp	LBB0_15
LBB0_1:
	movl	$-1, %eax
LBB0_15:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_4:
	movq	(%rbx), %r14
	movb	4(%r14), %al
	cmpb	$47, %al
	jne	LBB0_5
## %bb.6:
	cmpb	$49, 5(%r14)
	jne	LBB0_3
## %bb.7:
	cmpb	$46, 6(%r14)
	jne	LBB0_3
## %bb.8:
	movb	7(%r14), %al
	andb	$-2, %al
	cmpb	$48, %al
	jne	LBB0_3
## %bb.9:
	movb	8(%r14), %al
	addq	$8, %r14
	jmp	LBB0_10
LBB0_5:
	addq	$4, %r14
LBB0_10:
	cmpb	$32, %al
	jne	LBB0_3
## %bb.11:
	movzbl	1(%r14), %edi
	callq	_isdigit
	testl	%eax, %eax
	je	LBB0_3
## %bb.12:
	movzbl	2(%r14), %edi
	callq	_isdigit
	testl	%eax, %eax
	je	LBB0_3
## %bb.13:
	movzbl	3(%r14), %edi
	callq	_isdigit
	testl	%eax, %eax
	je	LBB0_3
## %bb.14:
	movzbl	1(%r14), %eax
	imull	$100, %eax, %eax
	movzbl	2(%r14), %ecx
	addl	%ecx, %ecx
	leal	(%rcx,%rcx,4), %ecx
	addb	%al, %cl
	addb	3(%r14), %cl
	addb	$48, %cl
	movb	%cl, 8(%rbx)
	movsbl	%cl, %eax
	jmp	LBB0_15
	.cfi_endproc
                                        ## -- End function
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"HTTP"

	.comm	_HTTP_PROTOCOL_ERROR,4,2        ## @HTTP_PROTOCOL_ERROR
	.no_dead_strip	_http_get_reply
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function http_get_reply
_http_get_reply:                        ; @http_get_reply
	.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, x0
	bl	_fetch_getln
	cmn	w0, #1
	b.eq	LBB0_3
; %bb.1:
	ldr	x0, [x19]
Lloh0:
	adrp	x1, l_.str@PAGE
Lloh1:
	add	x1, x1, l_.str@PAGEOFF
	mov	w2, #4
	bl	_strncmp
	cbz	x0, LBB0_4
LBB0_2:
Lloh2:
	adrp	x8, _HTTP_PROTOCOL_ERROR@GOTPAGE
Lloh3:
	ldr	x8, [x8, _HTTP_PROTOCOL_ERROR@GOTPAGEOFF]
Lloh4:
	ldr	w0, [x8]
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_4:
	ldr	x8, [x19]
	mov	x20, x8
	ldrb	w9, [x20, #4]!
	cmp	w9, #47
	b.ne	LBB0_9
; %bb.5:
	ldrb	w9, [x8, #5]
	cmp	w9, #49
	b.ne	LBB0_2
; %bb.6:
	ldrb	w9, [x8, #6]
	cmp	w9, #46
	b.ne	LBB0_2
; %bb.7:
	ldrb	w9, [x8, #7]
	and	w9, w9, #0xfe
	cmp	w9, #48
	b.ne	LBB0_2
; %bb.8:
	ldrb	w9, [x8, #8]!
	mov	x20, x8
LBB0_9:
	cmp	w9, #32
	b.ne	LBB0_2
; %bb.10:
	ldrb	w0, [x20, #1]
	bl	_isdigit
	cbz	w0, LBB0_2
; %bb.11:
	ldrb	w0, [x20, #2]
	bl	_isdigit
	cbz	w0, LBB0_2
; %bb.12:
	ldrb	w0, [x20, #3]
	bl	_isdigit
	cbz	w0, LBB0_2
; %bb.13:
	ldrb	w8, [x20, #1]
	mov	w9, #100
	ldrb	w10, [x20, #2]
	mov	w11, #10
	mul	w10, w10, w11
	ldrb	w11, [x20, #3]
	madd	w8, w8, w9, w10
	add	w8, w8, w11
	add	w8, w8, #48
	strb	w8, [x19, #8]
	sxtb	w0, w8
	b	LBB0_3
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"HTTP"

	.comm	_HTTP_PROTOCOL_ERROR,4,2        ; @HTTP_PROTOCOL_ERROR
	.no_dead_strip	_http_get_reply
.subsections_via_symbols
