	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_no_overflow_long_body     ## -- Begin function test_no_overflow_long_body
	.p2align	4, 0x90
_test_no_overflow_long_body:            ## @test_no_overflow_long_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	%r13
	pushq	%r12
	pushq	%rbx
	subq	$3048, %rsp                     ## imm = 0xBE8
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %r15
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movq	%rax, -48(%rbp)
	movl	%edi, -3076(%rbp)               ## 4-byte Spill
	testl	%edi, %edi
	movq	_HTTP_REQUEST@GOTPCREL(%rip), %rax
	cmoveq	_HTTP_RESPONSE@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	leaq	L_.str.2(%rip), %rax
	leaq	L_.str.1(%rip), %rbx
	cmoveq	%rax, %rbx
	leaq	-3064(%rbp), %r14
	movq	%r14, %rdi
	callq	_http_parser_init
	leaq	L_.str(%rip), %rsi
	leaq	-3056(%rbp), %r13
	movq	%r13, %rdi
	movq	%rbx, %rdx
	movq	%r15, -3072(%rbp)               ## 8-byte Spill
	movq	%r15, %rcx
	callq	_sprintf
	movq	%rax, %r12
	movq	_settings_null@GOTPCREL(%rip), %rsi
	movq	%r14, %rdi
	movq	%r13, %rdx
	movq	%rax, %rcx
	callq	_http_parser_execute
	cmpq	%r12, %rax
	jne	LBB0_5
## %bb.1:
	cmpq	$0, -3072(%rbp)                 ## 8-byte Folded Reload
	je	LBB0_6
## %bb.2:
	movq	_settings_null@GOTPCREL(%rip), %r13
	leaq	-3064(%rbp), %rbx
	leaq	-3057(%rbp), %r14
	movq	-3072(%rbp), %r15               ## 8-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movb	$97, -3057(%rbp)
	movl	$1, %ecx
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r14, %rdx
	callq	_http_parser_execute
	cmpq	$1, %rax
	jne	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_4 Depth=1
	decq	%r15
	jne	LBB0_4
LBB0_6:
	movq	_settings_null@GOTPCREL(%rip), %rsi
	leaq	-3064(%rbp), %rdi
	leaq	-3056(%rbp), %rdx
	movq	%r12, %rcx
	callq	_http_parser_execute
	cmpq	%r12, %rax
	jne	LBB0_5
## %bb.7:
	movq	___stack_chk_guard@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	cmpq	-48(%rbp), %rax
	jne	LBB0_9
## %bb.8:
	addq	$3048, %rsp                     ## imm = 0xBE8
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_5:
	cmpl	$0, -3076(%rbp)                 ## 4-byte Folded Reload
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	leaq	L_.str.5(%rip), %rax
	leaq	L_.str.4(%rip), %rdx
	cmoveq	%rax, %rdx
	leaq	L_.str.3(%rip), %rsi
	movq	-3072(%rbp), %rcx               ## 8-byte Reload
	callq	_fprintf
	xorl	%eax, %eax
	callq	_abort
LBB0_9:
	callq	___stack_chk_fail
	.cfi_endproc
                                        ## -- End function
	.comm	_HTTP_REQUEST,4,2               ## @HTTP_REQUEST
	.comm	_HTTP_RESPONSE,4,2              ## @HTTP_RESPONSE
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"%s\r\nConnection: Keep-Alive\r\nContent-Length: %lu\r\n\r\n"

L_.str.1:                               ## @.str.1
	.asciz	"POST / HTTP/1.0"

L_.str.2:                               ## @.str.2
	.asciz	"HTTP/1.0 200 OK"

	.comm	_settings_null,4,2              ## @settings_null
	.comm	_stderr,4,2                     ## @stderr
L_.str.3:                               ## @.str.3
	.asciz	"\n*** error in test_no_overflow_long_body %s of length %lu ***\n"

L_.str.4:                               ## @.str.4
	.asciz	"REQUEST"

L_.str.5:                               ## @.str.5
	.asciz	"RESPONSE"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_test_no_overflow_long_body     ; -- Begin function test_no_overflow_long_body
	.p2align	2
_test_no_overflow_long_body:            ; @test_no_overflow_long_body
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [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 w27, -72
	.cfi_offset w28, -80
	sub	sp, sp, #3024
	mov	x19, x1
	mov	x20, x0
Lloh0:
	adrp	x8, ___stack_chk_guard@GOTPAGE
Lloh1:
	ldr	x8, [x8, ___stack_chk_guard@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _HTTP_REQUEST@GOTPAGE
Lloh4:
	ldr	x9, [x9, _HTTP_REQUEST@GOTPAGEOFF]
	stur	x8, [x29, #-72]
Lloh5:
	adrp	x8, _HTTP_RESPONSE@GOTPAGE
Lloh6:
	ldr	x8, [x8, _HTTP_RESPONSE@GOTPAGEOFF]
	cmp	w0, #0
	csel	x8, x8, x9, eq
	ldr	w1, [x8]
Lloh7:
	adrp	x8, l_.str.1@PAGE
Lloh8:
	add	x8, x8, l_.str.1@PAGEOFF
Lloh9:
	adrp	x9, l_.str.2@PAGE
Lloh10:
	add	x9, x9, l_.str.2@PAGEOFF
	csel	x21, x9, x8, eq
	add	x0, sp, #12
	bl	_http_parser_init
Lloh11:
	adrp	x1, l_.str@PAGE
Lloh12:
	add	x1, x1, l_.str@PAGEOFF
	add	x0, sp, #16
	mov	x2, x21
	mov	x3, x19
	bl	_sprintf
	mov	x21, x0
Lloh13:
	adrp	x1, _settings_null@GOTPAGE
Lloh14:
	ldr	x1, [x1, _settings_null@GOTPAGEOFF]
	add	x0, sp, #12
	add	x2, sp, #16
	mov	x3, x21
	bl	_http_parser_execute
	cmp	x0, x21
	b.ne	LBB0_8
; %bb.1:
	cbz	x19, LBB0_5
; %bb.2:
	mov	w23, #97
Lloh15:
	adrp	x22, _settings_null@GOTPAGE
Lloh16:
	ldr	x22, [x22, _settings_null@GOTPAGEOFF]
	mov	x24, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	strb	w23, [sp, #11]
	add	x0, sp, #12
	add	x2, sp, #11
	mov	x1, x22
	mov	w3, #1
	bl	_http_parser_execute
	cmp	x0, #1
	b.ne	LBB0_8
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	subs	x24, x24, #1
	b.ne	LBB0_3
LBB0_5:
Lloh17:
	adrp	x1, _settings_null@GOTPAGE
Lloh18:
	ldr	x1, [x1, _settings_null@GOTPAGEOFF]
	add	x0, sp, #12
	add	x2, sp, #16
	mov	x3, x21
	bl	_http_parser_execute
	cmp	x0, x21
	b.ne	LBB0_8
; %bb.6:
	ldur	x8, [x29, #-72]
Lloh19:
	adrp	x9, ___stack_chk_guard@GOTPAGE
Lloh20:
	ldr	x9, [x9, ___stack_chk_guard@GOTPAGEOFF]
Lloh21:
	ldr	x9, [x9]
	cmp	x9, x8
	b.ne	LBB0_9
; %bb.7:
	add	sp, sp, #3024
	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	x28, x27, [sp], #80             ; 16-byte Folded Reload
	ret
LBB0_8:
Lloh22:
	adrp	x8, _stderr@GOTPAGE
Lloh23:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh24:
	ldr	w0, [x8]
Lloh25:
	adrp	x8, l_.str.4@PAGE
Lloh26:
	add	x8, x8, l_.str.4@PAGEOFF
Lloh27:
	adrp	x9, l_.str.5@PAGE
Lloh28:
	add	x9, x9, l_.str.5@PAGEOFF
	cmp	w20, #0
	csel	x2, x9, x8, eq
Lloh29:
	adrp	x1, l_.str.3@PAGE
Lloh30:
	add	x1, x1, l_.str.3@PAGEOFF
	mov	x3, x19
	bl	_fprintf
	bl	_abort
LBB0_9:
	bl	___stack_chk_fail
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh17, Lloh18
	.loh AdrpLdrGotLdr	Lloh19, Lloh20, Lloh21
	.loh AdrpAdd	Lloh29, Lloh30
	.loh AdrpAdd	Lloh27, Lloh28
	.loh AdrpAdd	Lloh25, Lloh26
	.loh AdrpLdrGotLdr	Lloh22, Lloh23, Lloh24
	.cfi_endproc
                                        ; -- End function
	.comm	_HTTP_REQUEST,4,2               ; @HTTP_REQUEST
	.comm	_HTTP_RESPONSE,4,2              ; @HTTP_RESPONSE
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"%s\r\nConnection: Keep-Alive\r\nContent-Length: %lu\r\n\r\n"

l_.str.1:                               ; @.str.1
	.asciz	"POST / HTTP/1.0"

l_.str.2:                               ; @.str.2
	.asciz	"HTTP/1.0 200 OK"

	.comm	_settings_null,4,2              ; @settings_null
	.comm	_stderr,4,2                     ; @stderr
l_.str.3:                               ; @.str.3
	.asciz	"\n*** error in test_no_overflow_long_body %s of length %lu ***\n"

l_.str.4:                               ; @.str.4
	.asciz	"REQUEST"

l_.str.5:                               ; @.str.5
	.asciz	"RESPONSE"

.subsections_via_symbols
