	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function on_accept
_on_accept:                             ## @on_accept
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testq	%rsi, %rsi
	je	LBB0_1
LBB0_5:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movq	%rdi, %r14
	movq	_conf@GOTPCREL(%rip), %rsi
	movl	(%rsi), %ecx
	leal	15(%rcx), %eax
	testl	%ecx, %ecx
	cmovnsl	%ecx, %eax
	sarl	$4, %eax
	cltd
	idivl	4(%rsi)
	cmpl	$9, %eax
	movl	$8, %ecx
	cmovael	%eax, %ecx
	movslq	%ecx, %r13
	movq	8(%rdi), %r15
	movq	_on_socketclose@GOTPCREL(%rip), %r12
	.p2align	4, 0x90
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	xorl	%edi, %edi
	callq	_num_connections
	movq	_conf@GOTPCREL(%rip), %rcx
	cmpl	(%rcx), %eax
	jge	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r14, %rdi
	callq	_h2o_evloop_socket_accept
	testq	%rax, %rax
	je	LBB0_5
## %bb.4:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%rax, %rbx
	movl	$1, %edi
	callq	_num_connections
	movl	$1, %edi
	callq	_num_sessions
	movl	(%r12), %eax
	movl	%eax, 4(%rbx)
	movl	(%r15), %eax
	movl	%eax, (%rbx)
	movq	%r15, %rdi
	movq	%rbx, %rsi
	callq	_h2o_accept
	decq	%r13
	jne	LBB0_2
	jmp	LBB0_5
	.cfi_endproc
                                        ## -- End function
	.comm	_conf,8,2                       ## @conf
	.comm	_on_socketclose,4,2             ## @on_socketclose
	.no_dead_strip	_on_accept
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function on_accept
_on_accept:                             ; @on_accept
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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
	cbz	x1, LBB0_2
LBB0_1:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
LBB0_2:
	mov	x19, x0
Lloh0:
	adrp	x22, _conf@GOTPAGE
Lloh1:
	ldr	x22, [x22, _conf@GOTPAGEOFF]
	ldp	w8, w9, [x22]
	add	w10, w8, #15
	cmp	w8, #0
	csel	w8, w10, w8, lt
	asr	w8, w8, #4
	sdiv	w8, w8, w9
	mov	w9, #8
	cmp	w8, #8
	csel	w8, w8, w9, hi
	sxtw	x23, w8
	ldr	x20, [x0, #8]
Lloh2:
	adrp	x24, _on_socketclose@GOTPAGE
Lloh3:
	ldr	x24, [x24, _on_socketclose@GOTPAGEOFF]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	mov	w0, #0
	bl	_num_connections
	ldr	w8, [x22]
	cmp	w0, w8
	b.ge	LBB0_1
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x19
	bl	_h2o_evloop_socket_accept
	cbz	x0, LBB0_1
; %bb.5:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x21, x0
	mov	w0, #1
	bl	_num_connections
	mov	w0, #1
	bl	_num_sessions
	ldr	w8, [x24]
	ldr	w9, [x20]
	stp	w9, w8, [x21]
	mov	x0, x20
	mov	x1, x21
	bl	_h2o_accept
	subs	x23, x23, #1
	b.ne	LBB0_3
	b	LBB0_1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_conf,8,2                       ; @conf
	.comm	_on_socketclose,4,2             ; @on_socketclose
	.no_dead_strip	_on_accept
.subsections_via_symbols
