	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_set_num_threads            ## -- Begin function svc_set_num_threads
	.p2align	4, 0x90
_svc_set_num_threads:                   ## @svc_set_num_threads
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%edx, %r15d
	movq	%rsi, %rbx
	movq	%rdi, -56(%rbp)                 ## 8-byte Spill
	movl	(%rdi), %r14d
	decl	%r14d
	movl	%r14d, -44(%rbp)
	testq	%rsi, %rsi
	je	LBB0_2
## %bb.1:
	leaq	4(%rbx), %r12
	movq	%r12, %rdi
	callq	_spin_lock_bh
	movl	8(%rbx), %r14d
	movq	%r12, %rdi
	callq	_spin_unlock_bh
LBB0_2:
	movl	%r15d, %r13d
	subl	%r14d, %r13d
	testl	%r13d, %r13d
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	jle	LBB0_3
## %bb.8:
	subl	%r14d, %r15d
	incl	%r15d
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	jmp	LBB0_9
	.p2align	4, 0x90
LBB0_16:                                ##   in Loop: Header=BB0_9 Depth=1
	movq	%r13, %rdi
	callq	_svc_sock_update_bufs
	movq	%r14, %rdi
	callq	_wake_up_process
	decl	%r15d
	cmpl	$1, %r15d
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	jbe	LBB0_17
LBB0_9:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r13, %rdi
	movq	%rbx, %rsi
	leaq	-44(%rbp), %rdx
	callq	_choose_pool
	movq	%rax, %r12
	movq	%r13, %rdi
	movq	%rax, %rsi
	callq	_svc_prepare_thread
	movq	%rax, %rbx
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_10
## %bb.12:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	8(%r13), %edi
	callq	___module_get
	movl	12(%r13), %edx
	movl	16(%r13), %edi
	movq	%rbx, %rsi
	callq	_kthread_create
	movq	%rax, %r14
	movq	%rax, %rdi
	callq	_IS_ERR
	testq	%rax, %rax
	jne	LBB0_13
## %bb.14:                              ##   in Loop: Header=BB0_9 Depth=1
	movq	%r14, (%rbx)
	cmpl	$2, 4(%r13)
	jl	LBB0_16
## %bb.15:                              ##   in Loop: Header=BB0_9 Depth=1
	movl	(%r12), %esi
	movq	%r14, %rdi
	callq	_svc_pool_map_set_cpumask
	jmp	LBB0_16
LBB0_3:
	xorl	%r12d, %r12d
	testl	%r13d, %r13d
	jns	LBB0_18
	jmp	LBB0_5
LBB0_10:
	movq	%rbx, %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	jmp	LBB0_11
LBB0_13:
	movq	%r14, %rdi
	callq	_PTR_ERR
	movl	%eax, %r12d
	movl	8(%r13), %edi
	callq	_module_put
	movq	%rbx, %rdi
	callq	_svc_exit_thread
LBB0_11:
	addl	$-2, %r15d
	movl	%r15d, %r13d
	testl	%r13d, %r13d
	jns	LBB0_18
LBB0_5:
	leaq	-44(%rbp), %r14
	movq	_SIGINT@GOTPCREL(%rip), %rbx
	.p2align	4, 0x90
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	movq	-64(%rbp), %rsi                 ## 8-byte Reload
	movq	%r14, %rdx
	callq	_choose_victim
	testq	%rax, %rax
	je	LBB0_18
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movl	(%rbx), %edi
	movq	%rax, %rsi
	movl	$1, %edx
	callq	_send_sig
	incl	%r13d
	jne	LBB0_6
	jmp	LBB0_18
LBB0_17:
	xorl	%r12d, %r12d
LBB0_18:
	movl	%r12d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_SIGINT,4,2                     ## @SIGINT
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_svc_set_num_threads            ; -- Begin function svc_set_num_threads
	.p2align	2
_svc_set_num_threads:                   ; @svc_set_num_threads
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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	x21, x2
	mov	x19, x1
	mov	x20, x0
	ldr	w8, [x0]
	sub	w23, w8, #1
	str	w23, [sp, #12]
	cbz	x1, LBB0_2
; %bb.1:
	add	x22, x19, #4
	mov	x0, x22
	bl	_spin_lock_bh
	ldr	w23, [x19, #8]
	mov	x0, x22
	bl	_spin_unlock_bh
LBB0_2:
	sub	w22, w21, w23
	cmp	w22, #1
	b.lt	LBB0_9
; %bb.3:
	add	w24, w22, #1
	b	LBB0_5
LBB0_4:                                 ;   in Loop: Header=BB0_5 Depth=1
	mov	x0, x20
	bl	_svc_sock_update_bufs
	mov	x0, x23
	bl	_wake_up_process
	sub	w24, w24, #1
	cmp	w24, #1
	b.ls	LBB0_16
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_choose_pool
	mov	x21, x0
	mov	x0, x20
	mov	x1, x21
	bl	_svc_prepare_thread
	mov	x22, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_10
; %bb.6:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w0, [x20, #8]
	bl	___module_get
	ldp	w2, w0, [x20, #12]
	mov	x1, x22
	bl	_kthread_create
	mov	x23, x0
	bl	_IS_ERR
	cbnz	x0, LBB0_11
; %bb.7:                                ;   in Loop: Header=BB0_5 Depth=1
	str	x23, [x22]
	ldr	w8, [x20, #4]
	cmp	w8, #2
	b.lt	LBB0_4
; %bb.8:                                ;   in Loop: Header=BB0_5 Depth=1
	ldr	w1, [x21]
	mov	x0, x23
	bl	_svc_pool_map_set_cpumask
	b	LBB0_4
LBB0_9:
	mov	w21, #0
	tbz	w22, #31, LBB0_17
	b	LBB0_13
LBB0_10:
	mov	x0, x22
	bl	_PTR_ERR
	mov	x21, x0
	b	LBB0_12
LBB0_11:
	mov	x0, x23
	bl	_PTR_ERR
	mov	x21, x0
	ldr	w0, [x20, #8]
	bl	_module_put
	mov	x0, x22
	bl	_svc_exit_thread
LBB0_12:
	sub	w22, w24, #2
	tbz	w22, #31, LBB0_17
LBB0_13:
Lloh0:
	adrp	x23, _SIGINT@GOTPAGE
Lloh1:
	ldr	x23, [x23, _SIGINT@GOTPAGEOFF]
LBB0_14:                                ; =>This Inner Loop Header: Depth=1
	add	x2, sp, #12
	mov	x0, x20
	mov	x1, x19
	bl	_choose_victim
	cbz	x0, LBB0_17
; %bb.15:                               ;   in Loop: Header=BB0_14 Depth=1
	mov	x1, x0
	ldr	w0, [x23]
	mov	w2, #1
	bl	_send_sig
	adds	w22, w22, #1
	b.lo	LBB0_14
	b	LBB0_17
LBB0_16:
	mov	w21, #0
LBB0_17:
	mov	x0, x21
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #80
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_SIGINT,4,2                     ; @SIGINT
.subsections_via_symbols
