	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function fsocket_process_affinity_restore
_fsocket_process_affinity_restore:      ## @fsocket_process_affinity_restore
	.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
	movl	%edi, %ebx
	leaq	-24(%rbp), %r14
	movq	%r14, %rdi
	callq	_cpumask_clear
	movl	-24(%rbp), %edi
	callq	_cpus_setall
	movq	_current@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movl	(%rax), %edi
	movq	%r14, %rsi
	callq	_sched_setaffinity
	cmpl	$-1, %ebx
	je	LBB0_2
## %bb.1:
	movq	_fastsocket_spawn_cpuset@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	%ebx, %edi
	callq	_cpu_clear
	movq	_fastsocket_spawn_cpu@GOTPCREL(%rip), %rax
	decl	(%rax)
LBB0_2:
	addq	$16, %rsp
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_current,8,3                    ## @current
	.comm	_fastsocket_spawn_cpuset,4,2    ## @fastsocket_spawn_cpuset
	.comm	_fastsocket_spawn_cpu,4,2       ## @fastsocket_spawn_cpu
	.no_dead_strip	_fsocket_process_affinity_restore
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function fsocket_process_affinity_restore
_fsocket_process_affinity_restore:      ; @fsocket_process_affinity_restore
	.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
	add	x0, sp, #8
	bl	_cpumask_clear
	ldr	w0, [sp, #8]
	bl	_cpus_setall
Lloh0:
	adrp	x8, _current@GOTPAGE
Lloh1:
	ldr	x8, [x8, _current@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	w0, [x8]
	add	x1, sp, #8
	bl	_sched_setaffinity
	cmn	w19, #1
	b.eq	LBB0_2
; %bb.1:
Lloh3:
	adrp	x8, _fastsocket_spawn_cpuset@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fastsocket_spawn_cpuset@GOTPAGEOFF]
Lloh5:
	ldr	w1, [x8]
	mov	x0, x19
	bl	_cpu_clear
Lloh6:
	adrp	x8, _fastsocket_spawn_cpu@GOTPAGE
Lloh7:
	ldr	x8, [x8, _fastsocket_spawn_cpu@GOTPAGEOFF]
	ldr	w9, [x8]
	sub	w9, w9, #1
	str	w9, [x8]
LBB0_2:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #48
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_current,8,3                    ; @current
	.comm	_fastsocket_spawn_cpuset,4,2    ; @fastsocket_spawn_cpuset
	.comm	_fastsocket_spawn_cpu,4,2       ; @fastsocket_spawn_cpu
	.no_dead_strip	_fsocket_process_affinity_restore
.subsections_via_symbols
