	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_shared_interrupt_mask_unmask
_mvpp2_shared_interrupt_mask_unmask:    ## @mvpp2_shared_interrupt_mask_unmask
	.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
	subq	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r15
	movq	8(%rdi), %rax
	movq	(%rax), %rdi
	movq	_MVPP22@GOTPCREL(%rip), %rax
	cmpq	(%rax), %rdi
	jne	LBB0_9
## %bb.1:
	testl	%esi, %esi
	je	LBB0_3
## %bb.2:
	xorl	%eax, %eax
	jmp	LBB0_4
LBB0_3:
	callq	_MVPP2_CAUSE_RXQ_OCCUP_DESC_ALL_MASK
LBB0_4:
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	(%r15), %eax
	testl	%eax, %eax
	jle	LBB0_9
## %bb.5:
	movl	$8, %ebx
	xorl	%r14d, %r14d
	movq	_MVPP2_QUEUE_VECTOR_SHARED@GOTPCREL(%rip), %rsi
	movq	%r15, -56(%rbp)                 ## 8-byte Spill
	jmp	LBB0_6
	.p2align	4, 0x90
LBB0_8:                                 ##   in Loop: Header=BB0_6 Depth=1
	incq	%r14
	movslq	%eax, %rcx
	addq	$16, %rbx
	cmpq	%rcx, %r14
	jge	LBB0_9
LBB0_6:                                 ## =>This Inner Loop Header: Depth=1
	movq	16(%r15), %rcx
	movq	-8(%rcx,%rbx), %rdx
	cmpq	(%rsi), %rdx
	jne	LBB0_8
## %bb.7:                               ##   in Loop: Header=BB0_6 Depth=1
	movq	8(%r15), %r13
	movl	(%rcx,%rbx), %r12d
	movl	4(%r15), %edi
	movq	%rsi, %r15
	callq	_MVPP2_ISR_RX_TX_MASK_REG
	movq	%r13, %rdi
	movl	%r12d, %esi
	movl	%eax, %edx
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	callq	_mvpp2_thread_write
	movq	%r15, %rsi
	movq	-56(%rbp), %r15                 ## 8-byte Reload
	movl	(%r15), %eax
	jmp	LBB0_8
LBB0_9:
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP22,8,3                     ## @MVPP22
	.comm	_MVPP2_QUEUE_VECTOR_SHARED,8,3  ## @MVPP2_QUEUE_VECTOR_SHARED
	.no_dead_strip	_mvpp2_shared_interrupt_mask_unmask
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_shared_interrupt_mask_unmask
_mvpp2_shared_interrupt_mask_unmask:    ; @mvpp2_shared_interrupt_mask_unmask
	.cfi_startproc
; %bb.0:
	stp	x26, x25, [sp, #-80]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 80
	stp	x24, x23, [sp, #16]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #32]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #48]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #64]             ; 16-byte Folded Spill
	add	x29, sp, #64
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	mov	x19, x0
	ldr	x8, [x0, #8]
	ldr	x0, [x8]
Lloh0:
	adrp	x8, _MVPP22@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MVPP22@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	cmp	x0, x8
	b.ne	LBB0_9
; %bb.1:
	cbz	w1, LBB0_3
; %bb.2:
	mov	x20, #0
	b	LBB0_4
LBB0_3:
	bl	_MVPP2_CAUSE_RXQ_OCCUP_DESC_ALL_MASK
	mov	x20, x0
LBB0_4:
	ldr	w8, [x19]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	x23, #0
	mov	x24, #0
Lloh3:
	adrp	x25, _MVPP2_QUEUE_VECTOR_SHARED@GOTPAGE
Lloh4:
	ldr	x25, [x25, _MVPP2_QUEUE_VECTOR_SHARED@GOTPAGEOFF]
	b	LBB0_7
LBB0_6:                                 ;   in Loop: Header=BB0_7 Depth=1
	add	x24, x24, #1
	add	x23, x23, #16
	cmp	x24, w8, sxtw
	b.ge	LBB0_9
LBB0_7:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x9, [x19, #16]
	ldr	x10, [x9, x23]
	ldr	x11, [x25]
	cmp	x10, x11
	b.ne	LBB0_6
; %bb.8:                                ;   in Loop: Header=BB0_7 Depth=1
	ldr	x21, [x19, #8]
	add	x8, x9, x23
	ldr	w22, [x8, #8]
	ldr	w0, [x19, #4]
	bl	_MVPP2_ISR_RX_TX_MASK_REG
	mov	x2, x0
	mov	x0, x21
	mov	x1, x22
	mov	x3, x20
	bl	_mvpp2_thread_write
	ldr	w8, [x19]
	b	LBB0_6
LBB0_9:
	ldp	x29, x30, [sp, #64]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #48]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #32]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #16]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp], #80             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP22,8,3                     ; @MVPP22
	.comm	_MVPP2_QUEUE_VECTOR_SHARED,8,3  ; @MVPP2_QUEUE_VECTOR_SHARED
	.no_dead_strip	_mvpp2_shared_interrupt_mask_unmask
.subsections_via_symbols
