	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function tcp_svc_process_sock
_tcp_svc_process_sock:                  ## @tcp_svc_process_sock
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	%rdi, %rbx
	movq	8(%rdi), %rax
	movl	4(%rax), %edi
	leaq	-32(%rbp), %rsi
	movl	$16, %edx
	callq	_read_all
	movl	-32(%rbp), %eax
	addl	$-128, %eax
	cmpl	$3, %eax
	ja	LBB0_9
## %bb.1:
	leaq	LJTI0_0(%rip), %rcx
	movslq	(%rcx,%rax,4), %rax
	addq	%rcx, %rax
	jmpq	*%rax
LBB0_4:
	movq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_rs_svc_rm_rs
	movl	%eax, -28(%rbp)
	testl	%eax, %eax
	jne	LBB0_9
## %bb.5:
	movq	_RS_OPT_SVC_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	notl	%eax
	movq	-24(%rbp), %rcx
	andl	%eax, 8(%rcx)
	jmp	LBB0_9
LBB0_6:
	movq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_rs_svc_index
	testl	%eax, %eax
	js	LBB0_10
## %bb.7:
	movl	%eax, %r14d
	xorl	%eax, %eax
	callq	_rs_get_time
	movq	-24(%rbp), %rcx
	addq	(%rcx), %rax
	movq	_tcp_svc_timeouts@GOTPCREL(%rip), %rcx
	movq	(%rcx), %rcx
	movl	%r14d, %edx
	movq	%rax, (%rcx,%rdx,8)
LBB0_8:
	movl	$0, -28(%rbp)
	jmp	LBB0_9
LBB0_2:
	movq	-24(%rbp), %rsi
	movq	%rbx, %rdi
	callq	_rs_svc_add_rs
	movl	%eax, -28(%rbp)
	testl	%eax, %eax
	jne	LBB0_9
## %bb.3:
	movq	_RS_OPT_SVC_ACTIVE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-24(%rbp), %rcx
	orl	%eax, 8(%rcx)
	movq	16(%rbx), %rax
	movq	_tcp_svc_timeouts@GOTPCREL(%rip), %r14
	movq	%rax, (%r14)
	xorl	%eax, %eax
	callq	_rs_get_time
	movq	-24(%rbp), %rcx
	addq	(%rcx), %rax
	movq	(%r14), %rcx
	movq	(%rbx), %rdx
	movq	%rax, (%rcx,%rdx,8)
	jmp	LBB0_9
LBB0_10:
	movq	_EBADF@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, -28(%rbp)
LBB0_9:
	movq	8(%rbx), %rax
	movl	4(%rax), %edi
	leaq	-32(%rbp), %rsi
	movl	$16, %edx
	callq	_write_all
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
	.p2align	2, 0x90
	.data_region jt32
.set L0_0_set_4, LBB0_4-LJTI0_0
.set L0_0_set_8, LBB0_8-LJTI0_0
.set L0_0_set_6, LBB0_6-LJTI0_0
.set L0_0_set_2, LBB0_2-LJTI0_0
LJTI0_0:
	.long	L0_0_set_4
	.long	L0_0_set_8
	.long	L0_0_set_6
	.long	L0_0_set_2
	.end_data_region
                                        ## -- End function
	.comm	_RS_OPT_SVC_ACTIVE,4,2          ## @RS_OPT_SVC_ACTIVE
	.comm	_tcp_svc_timeouts,8,3           ## @tcp_svc_timeouts
	.comm	_EBADF,4,2                      ## @EBADF
	.no_dead_strip	_tcp_svc_process_sock
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function tcp_svc_process_sock
_tcp_svc_process_sock:                  ; @tcp_svc_process_sock
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #48
	.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
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	w0, [x8, #4]
	mov	x1, sp
	mov	w2, #16
	bl	_read_all
	ldr	w8, [sp]
	sub	w8, w8, #128
	cmp	w8, #3
	b.hi	LBB0_10
; %bb.1:
Lloh0:
	adrp	x9, lJTI0_0@PAGE
Lloh1:
	add	x9, x9, lJTI0_0@PAGEOFF
	adr	x10, LBB0_2
	ldrb	w11, [x9, x8]
	add	x10, x10, x11, lsl #2
	br	x10
LBB0_2:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_rs_svc_rm_rs
	str	w0, [sp, #4]
	cbnz	w0, LBB0_10
; %bb.3:
Lloh2:
	adrp	x8, _RS_OPT_SVC_ACTIVE@GOTPAGE
Lloh3:
	ldr	x8, [x8, _RS_OPT_SVC_ACTIVE@GOTPAGEOFF]
Lloh4:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	ldr	w10, [x9, #8]
	bic	w8, w10, w8
	str	w8, [x9, #8]
	b	LBB0_10
LBB0_4:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_rs_svc_index
	tbnz	w0, #31, LBB0_9
; %bb.5:
	mov	x20, x0
	bl	_rs_get_time
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	add	x8, x8, x0
Lloh5:
	adrp	x9, _tcp_svc_timeouts@GOTPAGE
Lloh6:
	ldr	x9, [x9, _tcp_svc_timeouts@GOTPAGEOFF]
Lloh7:
	ldr	x9, [x9]
	str	x8, [x9, w20, uxtw #3]
LBB0_6:
	str	wzr, [sp, #4]
	b	LBB0_10
LBB0_7:
	ldr	x1, [sp, #8]
	mov	x0, x19
	bl	_rs_svc_add_rs
	str	w0, [sp, #4]
	cbnz	w0, LBB0_10
; %bb.8:
Lloh8:
	adrp	x8, _RS_OPT_SVC_ACTIVE@GOTPAGE
Lloh9:
	ldr	x8, [x8, _RS_OPT_SVC_ACTIVE@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	ldr	x9, [sp, #8]
	ldr	w10, [x9, #8]
	orr	w8, w10, w8
	str	w8, [x9, #8]
	ldr	x8, [x19, #16]
Lloh11:
	adrp	x20, _tcp_svc_timeouts@GOTPAGE
Lloh12:
	ldr	x20, [x20, _tcp_svc_timeouts@GOTPAGEOFF]
	str	x8, [x20]
	bl	_rs_get_time
	ldr	x8, [sp, #8]
	ldr	x8, [x8]
	add	x8, x8, x0
	ldr	x9, [x20]
	ldr	x10, [x19]
	str	x8, [x9, x10, lsl #3]
	b	LBB0_10
LBB0_9:
Lloh13:
	adrp	x8, _EBADF@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EBADF@GOTPAGEOFF]
Lloh15:
	ldr	w8, [x8]
	str	w8, [sp, #4]
LBB0_10:
	ldr	x8, [x19, #8]
	ldr	w0, [x8, #4]
	mov	x1, sp
	mov	w2, #16
	bl	_write_all
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpAdd	Lloh0, Lloh1
	.loh AdrpLdrGotLdr	Lloh2, Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh11, Lloh12
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh13, Lloh14, Lloh15
	.cfi_endproc
	.section	__TEXT,__const
lJTI0_0:
	.byte	(LBB0_2-LBB0_2)>>2
	.byte	(LBB0_6-LBB0_2)>>2
	.byte	(LBB0_4-LBB0_2)>>2
	.byte	(LBB0_7-LBB0_2)>>2
                                        ; -- End function
	.comm	_RS_OPT_SVC_ACTIVE,4,2          ; @RS_OPT_SVC_ACTIVE
	.comm	_tcp_svc_timeouts,8,3           ; @tcp_svc_timeouts
	.comm	_EBADF,4,2                      ; @EBADF
	.no_dead_strip	_tcp_svc_process_sock
.subsections_via_symbols
