	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rss_get_bucket_cpuset          ## -- Begin function rss_get_bucket_cpuset
	.p2align	4, 0x90
_rss_get_bucket_cpuset:                 ## @rss_get_bucket_cpuset
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	testl	%edx, %edx
	js	LBB0_2
## %bb.1:
	movl	%edx, %ebx
	movq	%rdi, %r15
	cmpl	%edx, (%rdi)
	jle	LBB0_2
## %bb.4:
	movq	_RSS_BUCKET_TYPE_NONE@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jge	LBB0_6
## %bb.5:
	movq	_RSS_BUCKET_TYPE_MAX@GOTPCREL(%rip), %rax
	cmpq	%rsi, (%rax)
	jl	LBB0_6
## %bb.7:
	movq	%rcx, %r14
	movq	%rcx, %rdi
	callq	_CPU_ZERO
	movq	8(%r15), %rax
	movl	%ebx, %ecx
	movl	(%rax,%rcx,4), %edi
	movq	%r14, %rsi
	callq	_CPU_SET
	xorl	%eax, %eax
	jmp	LBB0_8
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
LBB0_3:
	movl	(%rax), %eax
	movq	_errno@GOTPCREL(%rip), %rcx
	movl	%eax, (%rcx)
	movl	$-1, %eax
LBB0_8:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_6:
	movq	_ENOTSUP@GOTPCREL(%rip), %rax
	jmp	LBB0_3
	.cfi_endproc
                                        ## -- End function
	.comm	_EINVAL,4,2                     ## @EINVAL
	.comm	_errno,4,2                      ## @errno
	.comm	_RSS_BUCKET_TYPE_NONE,8,3       ## @RSS_BUCKET_TYPE_NONE
	.comm	_RSS_BUCKET_TYPE_MAX,8,3        ## @RSS_BUCKET_TYPE_MAX
	.comm	_ENOTSUP,4,2                    ## @ENOTSUP
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_rss_get_bucket_cpuset          ; -- Begin function rss_get_bucket_cpuset
	.p2align	2
_rss_get_bucket_cpuset:                 ; @rss_get_bucket_cpuset
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.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
	.cfi_offset w21, -40
	.cfi_offset w22, -48
	tbnz	w2, #31, LBB0_4
; %bb.1:
	mov	x20, x2
	mov	x21, x0
	ldr	w8, [x0]
	cmp	w8, w2
	b.le	LBB0_4
; %bb.2:
Lloh0:
	adrp	x8, _RSS_BUCKET_TYPE_NONE@GOTPAGE
Lloh1:
	ldr	x8, [x8, _RSS_BUCKET_TYPE_NONE@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
Lloh3:
	adrp	x9, _RSS_BUCKET_TYPE_MAX@GOTPAGE
Lloh4:
	ldr	x9, [x9, _RSS_BUCKET_TYPE_MAX@GOTPAGEOFF]
Lloh5:
	ldr	x9, [x9]
	cmp	x8, x1
	ccmp	x9, x1, #8, lt
	b.ge	LBB0_7
; %bb.3:
Lloh6:
	adrp	x8, _ENOTSUP@GOTPAGE
Lloh7:
	ldr	x8, [x8, _ENOTSUP@GOTPAGEOFF]
	b	LBB0_5
LBB0_4:
Lloh8:
	adrp	x8, _EINVAL@GOTPAGE
Lloh9:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
LBB0_5:
	ldr	w8, [x8]
Lloh10:
	adrp	x9, _errno@GOTPAGE
Lloh11:
	ldr	x9, [x9, _errno@GOTPAGEOFF]
Lloh12:
	str	w8, [x9]
	mov	w0, #-1
LBB0_6:
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
LBB0_7:
	mov	x19, x3
	mov	x0, x3
	bl	_CPU_ZERO
	ldr	x8, [x21, #8]
	ldr	w0, [x8, w20, uxtw #2]
	mov	x1, x19
	bl	_CPU_SET
	mov	w0, #0
	b	LBB0_6
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotStr	Lloh10, Lloh11, Lloh12
	.cfi_endproc
                                        ; -- End function
	.comm	_EINVAL,4,2                     ; @EINVAL
	.comm	_errno,4,2                      ; @errno
	.comm	_RSS_BUCKET_TYPE_NONE,8,3       ; @RSS_BUCKET_TYPE_NONE
	.comm	_RSS_BUCKET_TYPE_MAX,8,3        ; @RSS_BUCKET_TYPE_MAX
	.comm	_ENOTSUP,4,2                    ; @ENOTSUP
.subsections_via_symbols
