	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.section	__TEXT,__literal4,4byte_literals
	.p2align	2                               ## -- Begin function bench
LCPI0_0:
	.long	0x358637bd                      ## float 9.99999997E-7
	.section	__TEXT,__literal16,16byte_literals
	.p2align	4
LCPI0_1:
	.long	1127219200                      ## 0x43300000
	.long	1160773632                      ## 0x45300000
	.long	0                               ## 0x0
	.long	0                               ## 0x0
LCPI0_2:
	.quad	0x4330000000000000              ## double 4503599627370496
	.quad	0x4530000000000000              ## double 1.9342813113834067E+25
	.section	__TEXT,__literal8,8byte_literals
	.p2align	3
LCPI0_3:
	.quad	0x3eb0000000000000              ## double 9.5367431640625E-7
	.section	__TEXT,__text,regular,pure_instructions
	.globl	_bench
	.p2align	4, 0x90
_bench:                                 ## @bench
	.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	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edi, %ebx
	movl	%esi, -48(%rbp)                 ## 4-byte Spill
	testl	%esi, %esi
	jne	LBB0_2
## %bb.1:
	leaq	-88(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
LBB0_2:
	movq	_stderr@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	movq	_data_len@GOTPCREL(%rip), %r13
	movl	(%r13), %edx
	leaq	L_.str(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movl	%ebx, -44(%rbp)                 ## 4-byte Spill
	testl	%ebx, %ebx
	jle	LBB0_5
## %bb.3:
	leaq	-56(%rbp), %rbx
	movq	_data@GOTPCREL(%rip), %r15
	movq	_settings@GOTPCREL(%rip), %r12
	movl	-44(%rbp), %r14d                ## 4-byte Reload
	.p2align	4, 0x90
LBB0_4:                                 ## =>This Inner Loop Header: Depth=1
	movq	_HTTP_REQUEST@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%rbx, %rdi
	callq	_http_parser_init
	movl	(%r15), %edx
	movq	(%r13), %rcx
	movq	%rbx, %rdi
	movq	%r12, %rsi
	callq	_http_parser_execute
	xorl	%edi, %edi
	cmpq	(%r13), %rax
	sete	%dil
	callq	_assert
	decl	%r14d
	jne	LBB0_4
LBB0_5:
	cmpl	$0, -48(%rbp)                   ## 4-byte Folded Reload
	jne	LBB0_7
## %bb.6:
	leaq	-72(%rbp), %rdi
	xorl	%esi, %esi
	callq	_gettimeofday
	xorl	%edi, %edi
	testl	%eax, %eax
	sete	%dil
	callq	_assert
	movq	_stdout@GOTPCREL(%rip), %rbx
	movl	(%rbx), %edi
	leaq	L_.str.1(%rip), %rsi
	xorl	%eax, %eax
	callq	_fprintf
	movq	-64(%rbp), %rax
	subq	-80(%rbp), %rax
	cvtsi2sd	%rax, %xmm0
	movss	-72(%rbp), %xmm1                ## xmm1 = mem[0],zero,zero,zero
	subss	-88(%rbp), %xmm1
	mulss	LCPI0_0(%rip), %xmm1
	cvtsi2sdl	-44(%rbp), %xmm2        ## 4-byte Folded Reload
	cvtss2sd	%xmm1, %xmm3
	movsd	(%r13), %xmm1                   ## xmm1 = mem[0],zero
	unpcklps	LCPI0_1(%rip), %xmm1            ## xmm1 = xmm1[0],mem[0],xmm1[1],mem[1]
	addsd	%xmm0, %xmm3
	subpd	LCPI0_2(%rip), %xmm1
	movapd	%xmm1, %xmm0
	unpckhpd	%xmm1, %xmm0                    ## xmm0 = xmm0[1],xmm1[1]
	addsd	%xmm1, %xmm0
	mulsd	%xmm2, %xmm0
	movapd	%xmm0, %xmm1
	divsd	%xmm3, %xmm1
	movl	(%rbx), %edi
	movsd	LCPI0_3(%rip), %xmm4            ## xmm4 = mem[0],zero
	mulsd	%xmm4, %xmm0
	mulsd	%xmm4, %xmm1
	divsd	%xmm3, %xmm2
	leaq	L_.str.2(%rip), %rsi
	movb	$4, %al
	callq	_fprintf
	movl	(%rbx), %edi
	callq	_fflush
LBB0_7:
	xorl	%eax, %eax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_stderr,4,2                     ## @stderr
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"req_len=%d\n"

	.comm	_data_len,8,3                   ## @data_len
	.comm	_HTTP_REQUEST,4,2               ## @HTTP_REQUEST
	.comm	_settings,4,2                   ## @settings
	.comm	_data,4,2                       ## @data
	.comm	_stdout,4,2                     ## @stdout
L_.str.1:                               ## @.str.1
	.asciz	"Benchmark result:\n"

L_.str.2:                               ## @.str.2
	.asciz	"%.2f mb | %.2f mb/s | %.2f req/sec | %.2f s\n"

.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_bench                          ; -- Begin function bench
	.p2align	2
_bench:                                 ; @bench
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #160
	.cfi_def_cfa_offset 160
	stp	x26, x25, [sp, #80]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #96]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #112]            ; 16-byte Folded Spill
	stp	x20, x19, [sp, #128]            ; 16-byte Folded Spill
	stp	x29, x30, [sp, #144]            ; 16-byte Folded Spill
	add	x29, sp, #144
	.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 w25, -72
	.cfi_offset w26, -80
	mov	x20, x1
	mov	x19, x0
	cbnz	w1, LBB0_2
; %bb.1:
	add	x0, sp, #56
	mov	x1, #0
	bl	_gettimeofday
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
LBB0_2:
Lloh0:
	adrp	x8, _stderr@GOTPAGE
Lloh1:
	ldr	x8, [x8, _stderr@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
Lloh3:
	adrp	x22, _data_len@GOTPAGE
Lloh4:
	ldr	x22, [x22, _data_len@GOTPAGEOFF]
	ldr	x8, [x22]
	str	x8, [sp]
Lloh5:
	adrp	x1, l_.str@PAGE
Lloh6:
	add	x1, x1, l_.str@PAGEOFF
	bl	_fprintf
	cmp	w19, #1
	b.lt	LBB0_5
; %bb.3:
Lloh7:
	adrp	x23, _HTTP_REQUEST@GOTPAGE
Lloh8:
	ldr	x23, [x23, _HTTP_REQUEST@GOTPAGEOFF]
Lloh9:
	adrp	x24, _data@GOTPAGE
Lloh10:
	ldr	x24, [x24, _data@GOTPAGEOFF]
	mov	x25, x19
Lloh11:
	adrp	x21, _settings@GOTPAGE
Lloh12:
	ldr	x21, [x21, _settings@GOTPAGEOFF]
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w1, [x23]
	add	x0, sp, #72
	bl	_http_parser_init
	ldr	w2, [x24]
	ldr	x3, [x22]
	add	x0, sp, #72
	mov	x1, x21
	bl	_http_parser_execute
	ldr	x8, [x22]
	cmp	x0, x8
	cset	w0, eq
	bl	_assert
	subs	w25, w25, #1
	b.ne	LBB0_4
LBB0_5:
	cbnz	w20, LBB0_7
; %bb.6:
	add	x0, sp, #40
	mov	x1, #0
	bl	_gettimeofday
	cmp	w0, #0
	cset	w0, eq
	bl	_assert
Lloh13:
	adrp	x20, _stdout@GOTPAGE
Lloh14:
	ldr	x20, [x20, _stdout@GOTPAGEOFF]
	ldr	w0, [x20]
Lloh15:
	adrp	x1, l_.str.1@PAGE
Lloh16:
	add	x1, x1, l_.str.1@PAGEOFF
	bl	_fprintf
	ldr	x8, [sp, #48]
	ldr	x9, [sp, #64]
	sub	x8, x8, x9
	scvtf	d0, x8
	ldr	s1, [sp, #40]
	ldr	s2, [sp, #56]
	fsub	s1, s1, s2
	mov	w8, #14269
	movk	w8, #13702, lsl #16
	fmov	s2, w8
	fmul	s1, s1, s2
	fcvt	d1, s1
	fadd	d0, d0, d1
	scvtf	d1, w19
	ldr	d2, [x22]
	ucvtf	d2, d2
	fmul	d2, d1, d2
	fdiv	d3, d2, d0
	ldr	w0, [x20]
	mov	x8, #4517110426252607488
	fmov	d4, x8
	fmul	d2, d2, d4
	fmul	d3, d3, d4
	fdiv	d1, d1, d0
	stp	d1, d0, [sp, #16]
	stp	d2, d3, [sp]
Lloh17:
	adrp	x1, l_.str.2@PAGE
Lloh18:
	add	x1, x1, l_.str.2@PAGEOFF
	bl	_fprintf
	ldr	w0, [x20]
	bl	_fflush
LBB0_7:
	mov	w0, #0
	ldp	x29, x30, [sp, #144]            ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #128]            ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #112]            ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #96]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #80]             ; 16-byte Folded Reload
	add	sp, sp, #160
	ret
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpLdrGot	Lloh13, Lloh14
	.cfi_endproc
                                        ; -- End function
	.comm	_stderr,4,2                     ; @stderr
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"req_len=%d\n"

	.comm	_data_len,8,3                   ; @data_len
	.comm	_HTTP_REQUEST,4,2               ; @HTTP_REQUEST
	.comm	_settings,4,2                   ; @settings
	.comm	_data,4,2                       ; @data
	.comm	_stdout,4,2                     ; @stdout
l_.str.1:                               ; @.str.1
	.asciz	"Benchmark result:\n"

l_.str.2:                               ; @.str.2
	.asciz	"%.2f mb | %.2f mb/s | %.2f req/sec | %.2f s\n"

.subsections_via_symbols
