	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rvu_clear_msix_offset
_rvu_clear_msix_offset:                 ## @rvu_clear_msix_offset
	.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
	pushq	%rax
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movl	%ecx, %r12d
	movq	%rdx, %rbx
	movb	4(%rdx), %cl
	movl	%r12d, %edx
	shll	%cl, %edx
	movq	%rsi, %r14
	movq	%rdi, %r13
	movl	8(%rbx), %esi
	orl	(%rbx), %edx
	callq	_rvu_read64
	movl	%eax, %ecx
	shrl	$12, %ecx
	movzbl	%cl, %r15d
	movb	4(%rbx), %cl
	movl	%r12d, %edx
	shll	%cl, %edx
	movl	8(%rbx), %esi
	orl	(%rbx), %edx
	andl	$-2048, %eax                    ## imm = 0xF800
	movq	%r13, %rdi
	movl	%eax, %ecx
	callq	_rvu_write64
	movl	8(%rbx), %edx
	movq	%r13, %rdi
	movq	%r14, %rsi
	movl	%r12d, %ecx
	callq	_rvu_get_msix_offset
	movq	%rax, %rbx
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	%rbx, %rdi
	shlq	$3, %rdi
	addq	8(%r14), %rdi
	leaq	(,%r15,8), %rsi
	callq	___bzero
LBB0_2:
	movq	%r14, %rdi
	movq	%r15, %rsi
	movq	%rbx, %rdx
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_rvu_free_rsrc_contig           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_rvu_clear_msix_offset
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rvu_clear_msix_offset
_rvu_clear_msix_offset:                 ; @rvu_clear_msix_offset
	.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, x3
	mov	x22, x2
	mov	x19, x1
	mov	x23, x0
	ldp	w9, w1, [x2, #4]
	ldr	w8, [x2]
	lsl	w9, w3, w9
	orr	w2, w9, w8
	bl	_rvu_read64
	ubfx	w20, w0, #12, #8
	ldp	w9, w1, [x22, #4]
	ldr	w8, [x22]
	lsl	w9, w21, w9
	orr	w2, w9, w8
	and	w3, w0, #0xfffff800
	mov	x0, x23
	bl	_rvu_write64
	ldr	w2, [x22, #8]
	mov	x0, x23
	mov	x1, x19
	mov	x3, x21
	bl	_rvu_get_msix_offset
	mov	x21, x0
	cbz	w20, LBB0_2
; %bb.1:
	ldr	x8, [x19, #8]
	add	x0, x8, x21, lsl #3
	lsl	x1, x20, #3
	bl	_bzero
LBB0_2:
	mov	x0, x19
	mov	x1, x20
	mov	x2, x21
	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
	b	_rvu_free_rsrc_contig
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_rvu_clear_msix_offset
.subsections_via_symbols
