	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function input_handler_scan
_input_handler_scan:                    ## @input_handler_scan
	.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
	movq	_handler_pkts@GOTPCREL(%rip), %rax
	incl	(%rax)
	movq	%rsi, %r14
	movq	_ep_list@GOTPCREL(%rip), %rax
	movq	(%rax), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
## %bb.1:
	movl	(%rdi), %r15d
	movq	_INT_BCASTOPEN@GOTPCREL(%rip), %r13
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_9:                                 ##   in Loop: Header=BB0_2 Depth=1
	movq	24(%rbx), %rbx
	testq	%rbx, %rbx
	je	LBB0_10
LBB0_2:                                 ## =>This Loop Header: Depth=1
                                        ##     Child Loop BB0_4 Depth 2
                                        ##     Child Loop BB0_8 Depth 2
	movq	(%rbx), %r12
	testq	%r12, %r12
	js	LBB0_5
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_5
	.p2align	4, 0x90
LBB0_4:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_read_network_packet
	testl	%eax, %eax
	jg	LBB0_4
LBB0_5:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r13), %eax
	testl	%eax, 8(%rbx)
	je	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	16(%rbx), %r12
	testq	%r12, %r12
	js	LBB0_9
## %bb.7:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	%r12, %rdi
	movq	%r14, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_9
	.p2align	4, 0x90
LBB0_8:                                 ##   Parent Loop BB0_2 Depth=1
                                        ## =>  This Inner Loop Header: Depth=2
	movq	%r12, %rdi
	movq	%rbx, %rsi
	movl	%r15d, %edx
	callq	_read_network_packet
	testl	%eax, %eax
	jg	LBB0_8
	jmp	LBB0_9
LBB0_10:
	movq	_blocking_children_alloc@GOTPCREL(%rip), %r15
	cmpq	$0, (%r15)
	je	LBB0_17
## %bb.11:
	xorl	%ebx, %ebx
	movq	_blocking_children@GOTPCREL(%rip), %r12
	jmp	LBB0_12
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_12 Depth=1
	incq	%rbx
	cmpq	(%r15), %rbx
	jae	LBB0_17
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	movq	(%r12), %rax
	movq	(%rax,%rbx,8), %r13
	testq	%r13, %r13
	je	LBB0_16
## %bb.13:                              ##   in Loop: Header=BB0_12 Depth=1
	movslq	(%r13), %rdi
	cmpq	$-1, %rdi
	je	LBB0_16
## %bb.14:                              ##   in Loop: Header=BB0_12 Depth=1
	movq	%r14, %rsi
	callq	_FD_ISSET
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_12 Depth=1
	incl	4(%r13)
	movq	_blocking_child_ready_seen@GOTPCREL(%rip), %rax
	incl	(%rax)
	jmp	LBB0_16
LBB0_17:
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_handler_pkts,4,2               ## @handler_pkts
	.comm	_ep_list,8,3                    ## @ep_list
	.comm	_INT_BCASTOPEN,4,2              ## @INT_BCASTOPEN
	.comm	_blocking_children_alloc,8,3    ## @blocking_children_alloc
	.comm	_blocking_children,8,3          ## @blocking_children
	.comm	_blocking_child_ready_seen,4,2  ## @blocking_child_ready_seen
	.comm	_EAGAIN,4,2                     ## @EAGAIN
	.comm	_LOG_DEBUG,4,2                  ## @LOG_DEBUG
	.comm	_LOG_ERR,4,2                    ## @LOG_ERR
	.comm	_TRUE,4,2                       ## @TRUE
	.comm	_asyncio_reader_list,8,3        ## @asyncio_reader_list
	.comm	_debug,4,2                      ## @debug
	.comm	_errno,4,2                      ## @errno
	.comm	_refio,8,3                      ## @refio
	.no_dead_strip	_input_handler_scan
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function input_handler_scan
_input_handler_scan:                    ; @input_handler_scan
	.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
	mov	x19, x1
Lloh0:
	adrp	x8, _handler_pkts@GOTPAGE
Lloh1:
	ldr	x8, [x8, _handler_pkts@GOTPAGEOFF]
	ldr	w9, [x8]
	add	w9, w9, #1
	str	w9, [x8]
Lloh2:
	adrp	x8, _ep_list@GOTPAGE
Lloh3:
	ldr	x8, [x8, _ep_list@GOTPAGEOFF]
Lloh4:
	ldr	x20, [x8]
	cbz	x20, LBB0_10
; %bb.1:
	ldr	w21, [x0]
Lloh5:
	adrp	x23, _INT_BCASTOPEN@GOTPAGE
Lloh6:
	ldr	x23, [x23, _INT_BCASTOPEN@GOTPAGEOFF]
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	x20, [x20, #24]
	cbz	x20, LBB0_10
LBB0_3:                                 ; =>This Loop Header: Depth=1
                                        ;     Child Loop BB0_5 Depth 2
                                        ;     Child Loop BB0_9 Depth 2
	ldr	x22, [x20]
	tbnz	x22, #63, LBB0_6
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x19
	bl	_FD_ISSET
	cbz	x0, LBB0_6
LBB0_5:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_read_network_packet
	cmp	w0, #0
	b.gt	LBB0_5
LBB0_6:                                 ;   in Loop: Header=BB0_3 Depth=1
	ldr	w8, [x20, #8]
	ldr	w9, [x23]
	tst	w9, w8
	b.eq	LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x22, [x20, #16]
	tbnz	x22, #63, LBB0_2
; %bb.8:                                ;   in Loop: Header=BB0_3 Depth=1
	mov	x0, x22
	mov	x1, x19
	bl	_FD_ISSET
	cbz	x0, LBB0_2
LBB0_9:                                 ;   Parent Loop BB0_3 Depth=1
                                        ; =>  This Inner Loop Header: Depth=2
	mov	x0, x22
	mov	x1, x20
	mov	x2, x21
	bl	_read_network_packet
	cmp	w0, #0
	b.gt	LBB0_9
	b	LBB0_2
LBB0_10:
Lloh7:
	adrp	x20, _blocking_children_alloc@GOTPAGE
Lloh8:
	ldr	x20, [x20, _blocking_children_alloc@GOTPAGEOFF]
	ldr	x8, [x20]
	cbz	x8, LBB0_17
; %bb.11:
	mov	x21, #0
Lloh9:
	adrp	x22, _blocking_children@GOTPAGE
Lloh10:
	ldr	x22, [x22, _blocking_children@GOTPAGEOFF]
Lloh11:
	adrp	x23, _blocking_child_ready_seen@GOTPAGE
Lloh12:
	ldr	x23, [x23, _blocking_child_ready_seen@GOTPAGEOFF]
	b	LBB0_13
LBB0_12:                                ;   in Loop: Header=BB0_13 Depth=1
	add	x21, x21, #1
	ldr	x8, [x20]
	cmp	x21, x8
	b.hs	LBB0_17
LBB0_13:                                ; =>This Inner Loop Header: Depth=1
	ldr	x8, [x22]
	ldr	x24, [x8, x21, lsl #3]
	cbz	x24, LBB0_12
; %bb.14:                               ;   in Loop: Header=BB0_13 Depth=1
	ldrsw	x0, [x24]
	cmn	w0, #1
	b.eq	LBB0_12
; %bb.15:                               ;   in Loop: Header=BB0_13 Depth=1
	mov	x1, x19
	bl	_FD_ISSET
	cbz	x0, LBB0_12
; %bb.16:                               ;   in Loop: Header=BB0_13 Depth=1
	ldr	w8, [x24, #4]
	add	w8, w8, #1
	str	w8, [x24, #4]
	ldr	w8, [x23]
	add	w8, w8, #1
	str	w8, [x23]
	b	LBB0_12
LBB0_17:
	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
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh0, Lloh1
	.loh AdrpLdrGot	Lloh5, Lloh6
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGot	Lloh9, Lloh10
	.cfi_endproc
                                        ; -- End function
	.comm	_handler_pkts,4,2               ; @handler_pkts
	.comm	_ep_list,8,3                    ; @ep_list
	.comm	_INT_BCASTOPEN,4,2              ; @INT_BCASTOPEN
	.comm	_blocking_children_alloc,8,3    ; @blocking_children_alloc
	.comm	_blocking_children,8,3          ; @blocking_children
	.comm	_blocking_child_ready_seen,4,2  ; @blocking_child_ready_seen
	.comm	_EAGAIN,4,2                     ; @EAGAIN
	.comm	_LOG_DEBUG,4,2                  ; @LOG_DEBUG
	.comm	_LOG_ERR,4,2                    ; @LOG_ERR
	.comm	_TRUE,4,2                       ; @TRUE
	.comm	_asyncio_reader_list,8,3        ; @asyncio_reader_list
	.comm	_debug,4,2                      ; @debug
	.comm	_errno,4,2                      ; @errno
	.comm	_refio,8,3                      ; @refio
	.no_dead_strip	_input_handler_scan
.subsections_via_symbols
