	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function write_rss
_write_rss:                             ## @write_rss
	.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	%r12
	pushq	%rbx
	subq	$16, %rsp
	.cfi_offset %rbx, -48
	.cfi_offset %r12, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rsi, %rbx
	movq	%rdi, %r14
	movq	16(%rdi), %rax
	movq	(%rdi), %r12
	shlq	$3, %r12
	addq	8(%rax), %r12
	movl	8(%rdi), %edi
	shll	$3, %edi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kmalloc
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	%rax, %r15
	movl	8(%r14), %r8d
	testl	%r8d, %r8d
	jle	LBB0_11
## %bb.2:
	leaq	-1(%r8), %rcx
	movl	%r8d, %eax
	andl	$3, %eax
	cmpq	$3, %rcx
	jae	LBB0_6
## %bb.3:
	xorl	%ecx, %ecx
	jmp	LBB0_8
LBB0_4:
	movq	_ENOMEM@GOTPCREL(%rip), %rcx
	xorl	%eax, %eax
	subl	(%rcx), %eax
	jmp	LBB0_5
LBB0_6:
	movl	%r8d, %edx
	andl	$-4, %edx
	xorl	%ecx, %ecx
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rbx), %rsi
	movq	(%r12,%rsi,8), %rsi
	movq	%rsi, (%r15,%rcx,8)
	movq	8(%rbx), %rsi
	movq	(%r12,%rsi,8), %rsi
	movq	%rsi, 8(%r15,%rcx,8)
	movq	16(%rbx), %rsi
	movq	(%r12,%rsi,8), %rsi
	movq	%rsi, 16(%r15,%rcx,8)
	movq	24(%rbx), %rsi
	movq	(%r12,%rsi,8), %rsi
	movq	%rsi, 24(%r15,%rcx,8)
	addq	$4, %rcx
	addq	$32, %rbx
	cmpq	%rcx, %rdx
	jne	LBB0_7
LBB0_8:
	testq	%rax, %rax
	je	LBB0_11
## %bb.9:
	leaq	(%r15,%rcx,8), %rcx
	xorl	%edx, %edx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movq	(%rbx,%rdx,8), %rsi
	movq	(%r12,%rsi,8), %rsi
	movq	%rsi, (%rcx,%rdx,8)
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_10
LBB0_11:
	movq	16(%r14), %rdi
	movl	(%rdi), %esi
	movl	12(%r14), %edx
	movl	%r8d, (%rsp)
	xorl	%ecx, %ecx
                                        ## kill: def $r8d killed $r8d killed $r8
	movq	%r15, %r9
	callq	_t4_config_rss_range
	movl	%eax, %ebx
	movq	%r15, %rdi
	callq	_kfree
	movl	%ebx, %eax
LBB0_5:
	addq	$16, %rsp
	popq	%rbx
	popq	%r12
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
	.no_dead_strip	_write_rss
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function write_rss
_write_rss:                             ; @write_rss
	.cfi_startproc
; %bb.0:
	stp	x24, x23, [sp, #-64]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 64
	stp	x22, x21, [sp, #16]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #32]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #48]             ; 16-byte Folded Spill
	add	x29, sp, #48
	.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, x1
	mov	x20, x0
	ldr	x8, [x0, #16]
	ldr	x22, [x8, #8]
	ldr	x23, [x0]
	ldr	w8, [x0, #8]
	lsl	w0, w8, #3
Lloh0:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh1:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	bl	_kmalloc
	cbz	x0, LBB0_5
; %bb.1:
	mov	x19, x0
	ldr	w4, [x20, #8]
	cmp	w4, #1
	b.lt	LBB0_4
; %bb.2:
	add	x8, x22, x23, lsl #3
	mov	x9, x4
	mov	x10, x19
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x11, [x21], #8
	ldr	x11, [x8, x11, lsl #3]
	str	x11, [x10], #8
	subs	x9, x9, #1
	b.ne	LBB0_3
LBB0_4:
	ldr	x0, [x20, #16]
	ldr	w1, [x0]
	ldr	w2, [x20, #12]
	mov	w3, #0
	mov	x5, x19
	mov	x6, x4
	bl	_t4_config_rss_range
	mov	x20, x0
	mov	x0, x19
	bl	_kfree
	mov	x0, x20
	b	LBB0_6
LBB0_5:
Lloh3:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh4:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	neg	w0, w8
LBB0_6:
	ldp	x29, x30, [sp, #48]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #32]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #16]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp], #64             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
	.no_dead_strip	_write_rss
.subsections_via_symbols
