	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function wait_on_socket_set
_wait_on_socket_set:                    ## @wait_on_socket_set
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	%rdi, %rax
	testl	%esi, %esi
	jle	LBB0_2
## %bb.1:
	movl	%esi, %ecx
	imulq	$1125899907, %rcx, %rcx         ## imm = 0x431BDE83
	shrq	$50, %rcx
	movl	%ecx, -8(%rbp)
	imull	$1000000, %ecx, %ecx            ## imm = 0xF4240
	subl	%ecx, %esi
	movl	%esi, -4(%rbp)
	movq	8(%rax), %rdi
	incq	%rdi
	leaq	-8(%rbp), %r8
	movq	%rax, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	callq	_select
	addq	$16, %rsp
	popq	%rbp
	retq
LBB0_2:
	movq	8(%rax), %rdi
	incq	%rdi
	movq	%rax, %rsi
	xorl	%edx, %edx
	xorl	%ecx, %ecx
	xorl	%r8d, %r8d
	addq	$16, %rsp
	popq	%rbp
	jmp	_select                         ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_wait_on_socket_set
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function wait_on_socket_set
_wait_on_socket_set:                    ; @wait_on_socket_set
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	mov	x8, x0
	cmp	w1, #1
	b.lt	LBB0_2
; %bb.1:
	mov	w9, #56963
	movk	w9, #17179, lsl #16
	umull	x9, w1, w9
	lsr	x9, x9, #50
	mov	w10, #16960
	movk	w10, #15, lsl #16
	msub	w10, w9, w10, w1
	stp	w9, w10, [sp, #8]
	ldr	x9, [x8, #8]
	add	x0, x9, #1
	add	x4, sp, #8
	mov	x1, x8
	mov	x2, #0
	mov	x3, #0
	bl	_select
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
LBB0_2:
	ldr	x9, [x8, #8]
	add	x0, x9, #1
	mov	x1, x8
	mov	x2, #0
	mov	x3, #0
	mov	x4, #0
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	b	_select
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_wait_on_socket_set
.subsections_via_symbols
