	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function restore_rx_bufs
_restore_rx_bufs:                       ## @restore_rx_bufs
	.cfi_startproc
## %bb.0:
	testl	%edx, %edx
	je	LBB0_6
## %bb.1:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%rbx
	.cfi_offset %rbx, -24
	movq	24(%rsi), %rcx
	movq	(%rdi), %r9
	movq	(%rsi), %rax
	movl	16(%rsi), %r8d
	movslq	%edx, %rdi
	leaq	(%r9,%rdi,4), %r9
	addq	$-4, %r9
	movl	%edx, %r10d
	negl	%r10d
	xorl	%edi, %edi
	movq	_RX_UNMAPPED_BUF@GOTPCREL(%rip), %r11
	jmp	LBB0_2
	.p2align	4, 0x90
LBB0_4:                                 ##   in Loop: Header=BB0_2 Depth=1
	movl	(%r9,%rdi,4), %ebx
	movl	%ebx, -4(%rcx,%rax,8)
	movl	(%r11), %ebx
	orl	%ebx, -8(%rcx,%rax,8)
	decq	%rax
	decq	%rdi
	cmpl	%edi, %r10d
	je	LBB0_5
LBB0_2:                                 ## =>This Inner Loop Header: Depth=1
	testq	%rax, %rax
	jne	LBB0_4
## %bb.3:                               ##   in Loop: Header=BB0_2 Depth=1
	movq	8(%rsi), %rax
	jmp	LBB0_4
LBB0_5:
	addl	%edx, %r8d
	movq	%rax, (%rsi)
	movl	%r8d, 16(%rsi)
	popq	%rbx
	popq	%rbp
LBB0_6:
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_RX_UNMAPPED_BUF,4,2            ## @RX_UNMAPPED_BUF
	.no_dead_strip	_restore_rx_bufs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function restore_rx_bufs
_restore_rx_bufs:                       ; @restore_rx_bufs
	.cfi_startproc
; %bb.0:
	cbz	w2, LBB0_6
; %bb.1:
	ldr	x8, [x1, #24]
	ldr	x11, [x0]
	ldr	x9, [x1]
	ldr	w10, [x1, #16]
	add	x11, x11, w2, sxtw #2
	sub	x11, x11, #4
Lloh0:
	adrp	x12, _RX_UNMAPPED_BUF@GOTPAGE
Lloh1:
	ldr	x12, [x12, _RX_UNMAPPED_BUF@GOTPAGEOFF]
	mov	x13, x2
	b	LBB0_3
LBB0_2:                                 ;   in Loop: Header=BB0_3 Depth=1
	sub	x9, x9, #1
	ldr	w14, [x11], #-4
	add	x15, x8, x9, lsl #3
	str	w14, [x15, #4]
	ldr	w14, [x12]
	ldr	w16, [x15]
	orr	w14, w16, w14
	str	w14, [x15]
	subs	w13, w13, #1
	b.eq	LBB0_5
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	cbnz	x9, LBB0_2
; %bb.4:                                ;   in Loop: Header=BB0_3 Depth=1
	ldr	x9, [x1, #8]
	b	LBB0_2
LBB0_5:
	add	w8, w10, w2
	str	x9, [x1]
	str	w8, [x1, #16]
LBB0_6:
	ret
	.loh AdrpLdrGot	Lloh0, Lloh1
	.cfi_endproc
                                        ; -- End function
	.comm	_RX_UNMAPPED_BUF,4,2            ; @RX_UNMAPPED_BUF
	.no_dead_strip	_restore_rx_bufs
.subsections_via_symbols
