	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function update_listener_state
_update_listener_state:                 ## @update_listener_state
	.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	%r12
	pushq	%rbx
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	xorl	%edi, %edi
	callq	_num_connections
	movq	_conf@GOTPCREL(%rip), %r15
	movq	8(%r15), %rcx
	cmpq	(%r15), %rax
	jge	LBB0_1
## %bb.7:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.8:
	xorl	%ebx, %ebx
	movq	_on_accept@GOTPCREL(%rip), %r12
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_12:                                ##   in Loop: Header=BB0_9 Depth=1
	incq	%rbx
	cmpq	8(%r15), %rbx
	je	LBB0_13
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	cmpq	$0, (%rax)
	jne	LBB0_12
## %bb.10:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r14,%rbx,4), %edi
	callq	_h2o_socket_is_reading
	testq	%rax, %rax
	jne	LBB0_12
## %bb.11:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r14,%rbx,4), %edi
	movl	(%r12), %esi
	callq	_h2o_socket_read_start
	jmp	LBB0_12
LBB0_1:
	testq	%rcx, %rcx
	je	LBB0_13
## %bb.2:
	xorl	%ebx, %ebx
	jmp	LBB0_3
	.p2align	4, 0x90
LBB0_6:                                 ##   in Loop: Header=BB0_3 Depth=1
	incq	%rbx
	cmpq	8(%r15), %rbx
	je	LBB0_13
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rax
	movq	(%rax,%rbx,8), %rax
	cmpq	$0, (%rax)
	jne	LBB0_6
## %bb.4:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14,%rbx,4), %edi
	callq	_h2o_socket_is_reading
	testq	%rax, %rax
	je	LBB0_6
## %bb.5:                               ##   in Loop: Header=BB0_3 Depth=1
	movl	(%r14,%rbx,4), %edi
	callq	_h2o_socket_read_stop
	jmp	LBB0_6
LBB0_13:
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_conf,24,3                      ## @conf
	.comm	_on_accept,4,2                  ## @on_accept
	.no_dead_strip	_update_listener_state
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function update_listener_state
_update_listener_state:                 ; @update_listener_state
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x19, x0
	mov	w0, #0
	bl	_num_connections
Lloh0:
	adrp	x20, _conf@GOTPAGE
Lloh1:
	ldr	x20, [x20, _conf@GOTPAGEOFF]
	ldp	x9, x8, [x20]
	cmp	x0, x9
	b.ge	LBB0_7
; %bb.1:
	cbz	x8, LBB0_13
; %bb.2:
	mov	x21, #0
Lloh2:
	adrp	x22, _on_accept@GOTPAGE
Lloh3:
	ldr	x22, [x22, _on_accept@GOTPAGEOFF]
	b	LBB0_4
LBB0_3:                                 ;   in Loop: Header=BB0_4 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20, #8]
	cmp	x21, x8
	b.eq	LBB0_13
LBB0_4:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8]
	cbnz	x8, LBB0_3
; %bb.5:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, x21, lsl #2]
	bl	_h2o_socket_is_reading
	cbnz	x0, LBB0_3
; %bb.6:                                ;   in Loop: Header=BB0_4 Depth=1
	ldr	w0, [x19, x21, lsl #2]
	ldr	w1, [x22]
	bl	_h2o_socket_read_start
	b	LBB0_3
LBB0_7:
	cbz	x8, LBB0_13
; %bb.8:
	mov	x21, #0
	b	LBB0_10
LBB0_9:                                 ;   in Loop: Header=BB0_10 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20, #8]
	cmp	x21, x8
	b.eq	LBB0_13
LBB0_10:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x20, #16]
	ldr	x8, [x8, x21, lsl #3]
	ldr	x8, [x8]
	cbnz	x8, LBB0_9
; %bb.11:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x19, x21, lsl #2]
	bl	_h2o_socket_is_reading
	cbz	x0, LBB0_9
; %bb.12:                               ;   in Loop: Header=BB0_10 Depth=1
	ldr	w0, [x19, x21, lsl #2]
	bl	_h2o_socket_read_stop
	b	LBB0_9
LBB0_13:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh2, Lloh3
	.cfi_endproc
                                        ; -- End function
	.comm	_conf,24,3                      ; @conf
	.comm	_on_accept,4,2                  ; @on_accept
	.no_dead_strip	_update_listener_state
.subsections_via_symbols
