	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function events_status_per_thread
_events_status_per_thread:              ## @events_status_per_thread
	.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	%rsi, %r14
	movq	%rdi, %r15
	callq	_pthread_mutex_lock
	movq	_H2O_STATUS_ERROR_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_11
## %bb.1:
	movq	32(%r14), %rcx
	movq	32(%r15), %rdx
	cmpq	$4, %rax
	jae	LBB0_4
## %bb.2:
	xorl	%esi, %esi
	jmp	LBB0_3
LBB0_4:
	movq	%rax, %rsi
	andq	$-4, %rsi
	leaq	-4(%rsi), %rdi
	movq	%rdi, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rdi, %rdi
	je	LBB0_5
## %bb.6:
	movq	%r8, %rbx
	andq	$-2, %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm0
	movdqu	16(%rcx,%rdi,8), %xmm1
	movq	(%rdx,%rdi,4), %xmm2            ## xmm2 = mem[0],zero
	movq	8(%rdx,%rdi,4), %xmm3           ## xmm3 = mem[0],zero
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	paddd	%xmm3, %xmm1
	movq	%xmm0, (%rdx,%rdi,4)
	movq	%xmm1, 8(%rdx,%rdi,4)
	movdqu	32(%rcx,%rdi,8), %xmm0
	movdqu	48(%rcx,%rdi,8), %xmm1
	movq	16(%rdx,%rdi,4), %xmm2          ## xmm2 = mem[0],zero
	movq	24(%rdx,%rdi,4), %xmm3          ## xmm3 = mem[0],zero
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	paddd	%xmm3, %xmm1
	movq	%xmm0, 16(%rdx,%rdi,4)
	movq	%xmm1, 24(%rdx,%rdi,4)
	addq	$8, %rdi
	addq	$-2, %rbx
	jne	LBB0_7
## %bb.8:
	testb	$1, %r8b
	jne	LBB0_9
	jmp	LBB0_10
LBB0_5:
	xorl	%edi, %edi
	testb	$1, %r8b
	je	LBB0_10
LBB0_9:
	movdqu	(%rcx,%rdi,8), %xmm0
	movdqu	16(%rcx,%rdi,8), %xmm1
	movq	(%rdx,%rdi,4), %xmm2            ## xmm2 = mem[0],zero
	movq	8(%rdx,%rdi,4), %xmm3           ## xmm3 = mem[0],zero
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	paddd	%xmm3, %xmm1
	movq	%xmm0, (%rdx,%rdi,4)
	movq	%xmm1, 8(%rdx,%rdi,4)
	jmp	LBB0_10
LBB0_3:
	movl	(%rcx,%rsi,8), %edi
	addl	%edi, (%rdx,%rsi,4)
	incq	%rsi
LBB0_10:
	cmpq	%rsi, %rax
	jne	LBB0_3
LBB0_11:
	movl	24(%r14), %eax
	addl	%eax, 24(%r15)
	movq	_H2O_HTTP2_ERROR_MAX@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	testq	%rax, %rax
	je	LBB0_22
## %bb.12:
	movq	16(%r14), %rcx
	movq	16(%r15), %rdx
	cmpq	$4, %rax
	jae	LBB0_15
## %bb.13:
	xorl	%esi, %esi
	jmp	LBB0_14
LBB0_15:
	movq	%rax, %rsi
	andq	$-4, %rsi
	leaq	-4(%rsi), %rdi
	movq	%rdi, %r8
	shrq	$2, %r8
	incq	%r8
	testq	%rdi, %rdi
	je	LBB0_16
## %bb.17:
	movq	%r8, %rbx
	andq	$-2, %rbx
	xorl	%edi, %edi
	.p2align	4, 0x90
LBB0_18:                                ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rdi,8), %xmm0
	movdqu	16(%rcx,%rdi,8), %xmm1
	movq	(%rdx,%rdi,4), %xmm2            ## xmm2 = mem[0],zero
	movq	8(%rdx,%rdi,4), %xmm3           ## xmm3 = mem[0],zero
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	paddd	%xmm3, %xmm1
	movq	%xmm0, (%rdx,%rdi,4)
	movq	%xmm1, 8(%rdx,%rdi,4)
	movdqu	32(%rcx,%rdi,8), %xmm0
	movdqu	48(%rcx,%rdi,8), %xmm1
	movq	16(%rdx,%rdi,4), %xmm2          ## xmm2 = mem[0],zero
	movq	24(%rdx,%rdi,4), %xmm3          ## xmm3 = mem[0],zero
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	paddd	%xmm3, %xmm1
	movq	%xmm0, 16(%rdx,%rdi,4)
	movq	%xmm1, 24(%rdx,%rdi,4)
	addq	$8, %rdi
	addq	$-2, %rbx
	jne	LBB0_18
## %bb.19:
	testb	$1, %r8b
	jne	LBB0_20
	jmp	LBB0_21
LBB0_16:
	xorl	%edi, %edi
	testb	$1, %r8b
	je	LBB0_21
LBB0_20:
	movdqu	(%rcx,%rdi,8), %xmm0
	movdqu	16(%rcx,%rdi,8), %xmm1
	movq	(%rdx,%rdi,4), %xmm2            ## xmm2 = mem[0],zero
	movq	8(%rdx,%rdi,4), %xmm3           ## xmm3 = mem[0],zero
	pshufd	$232, %xmm0, %xmm0              ## xmm0 = xmm0[0,2,2,3]
	paddd	%xmm2, %xmm0
	pshufd	$232, %xmm1, %xmm1              ## xmm1 = xmm1[0,2,2,3]
	paddd	%xmm3, %xmm1
	movq	%xmm0, (%rdx,%rdi,4)
	movq	%xmm1, 8(%rdx,%rdi,4)
	jmp	LBB0_21
LBB0_14:
	movl	(%rcx,%rsi,8), %edi
	addl	%edi, (%rdx,%rsi,4)
	incq	%rsi
LBB0_21:
	cmpq	%rsi, %rax
	jne	LBB0_14
LBB0_22:
	movl	8(%r14), %eax
	addl	%eax, 8(%r15)
	movl	(%r14), %eax
	addl	%eax, 4(%r15)
	movq	%r15, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_pthread_mutex_unlock           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_H2O_STATUS_ERROR_MAX,8,3       ## @H2O_STATUS_ERROR_MAX
	.comm	_H2O_HTTP2_ERROR_MAX,8,3        ## @H2O_HTTP2_ERROR_MAX
	.no_dead_strip	_events_status_per_thread
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function events_status_per_thread
_events_status_per_thread:              ; @events_status_per_thread
	.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	x20, x1
	mov	x19, x0
	bl	_pthread_mutex_lock
Lloh0:
	adrp	x8, _H2O_STATUS_ERROR_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _H2O_STATUS_ERROR_MAX@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cbz	x8, LBB0_8
; %bb.1:
	ldr	x9, [x20, #32]
	ldr	x10, [x19, #32]
	cmp	x8, #8
	b.hs	LBB0_3
; %bb.2:
	mov	x11, #0
	b	LBB0_6
LBB0_3:
	and	x11, x8, #0xfffffffffffffff8
	add	x12, x9, #32
	add	x13, x10, #16
	mov	x14, x11
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	ldp	d4, d5, [x13, #-16]
	ldp	d6, d7, [x13]
	xtn.2s	v0, v0
	xtn.2s	v1, v1
	xtn.2s	v2, v2
	xtn.2s	v3, v3
	add.2s	v0, v4, v0
	add.2s	v1, v5, v1
	add.2s	v2, v6, v2
	add.2s	v3, v7, v3
	stur	d0, [x13, #-16]
	stur	d1, [x13, #-8]
	str	d2, [x13]
	str	d3, [x13, #8]
	add	x13, x13, #32
	subs	x14, x14, #8
	b.ne	LBB0_4
; %bb.5:
	cmp	x8, x11
	b.eq	LBB0_8
LBB0_6:
	sub	x8, x8, x11
	add	x10, x10, x11, lsl #2
	add	x9, x9, x11, lsl #3
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9], #8
	ldr	w12, [x10]
	add	w11, w12, w11
	str	w11, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_7
LBB0_8:
	ldr	w8, [x20, #24]
	ldr	w9, [x19, #24]
	add	w8, w9, w8
	str	w8, [x19, #24]
Lloh3:
	adrp	x8, _H2O_HTTP2_ERROR_MAX@GOTPAGE
Lloh4:
	ldr	x8, [x8, _H2O_HTTP2_ERROR_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x8, [x8]
	cbz	x8, LBB0_16
; %bb.9:
	ldr	x9, [x20, #16]
	ldr	x10, [x19, #16]
	cmp	x8, #8
	b.hs	LBB0_11
; %bb.10:
	mov	x11, #0
	b	LBB0_14
LBB0_11:
	and	x11, x8, #0xfffffffffffffff8
	add	x12, x9, #32
	add	x13, x10, #16
	mov	x14, x11
LBB0_12:                                ; =>This Inner Loop Header: Depth=1
	ldp	q0, q1, [x12, #-32]
	ldp	q2, q3, [x12], #64
	ldp	d4, d5, [x13, #-16]
	ldp	d6, d7, [x13]
	xtn.2s	v0, v0
	xtn.2s	v1, v1
	xtn.2s	v2, v2
	xtn.2s	v3, v3
	add.2s	v0, v4, v0
	add.2s	v1, v5, v1
	add.2s	v2, v6, v2
	add.2s	v3, v7, v3
	stur	d0, [x13, #-16]
	stur	d1, [x13, #-8]
	str	d2, [x13]
	str	d3, [x13, #8]
	add	x13, x13, #32
	subs	x14, x14, #8
	b.ne	LBB0_12
; %bb.13:
	cmp	x8, x11
	b.eq	LBB0_16
LBB0_14:
	sub	x8, x8, x11
	add	x10, x10, x11, lsl #2
	add	x9, x9, x11, lsl #3
LBB0_15:                                ; =>This Inner Loop Header: Depth=1
	ldr	w11, [x9], #8
	ldr	w12, [x10]
	add	w11, w12, w11
	str	w11, [x10], #4
	subs	x8, x8, #1
	b.ne	LBB0_15
LBB0_16:
	ldr	q0, [x20]
	ldur	d1, [x19, #4]
	xtn.2s	v0, v0
	add.2s	v0, v1, v0
	stur	d0, [x19, #4]
	mov	x0, x19
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_pthread_mutex_unlock
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_H2O_STATUS_ERROR_MAX,8,3       ; @H2O_STATUS_ERROR_MAX
	.comm	_H2O_HTTP2_ERROR_MAX,8,3        ; @H2O_HTTP2_ERROR_MAX
	.no_dead_strip	_events_status_per_thread
.subsections_via_symbols
