	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_interrupts_disable
_mvpp2_interrupts_disable:              ## @mvpp2_interrupts_disable
	.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
	movl	(%rdi), %eax
	testl	%eax, %eax
	jle	LBB0_1
## %bb.2:
	movq	16(%rdi), %rcx
	cmpl	$8, %eax
	jae	LBB0_4
## %bb.3:
	xorl	%edx, %edx
	xorl	%ebx, %ebx
	jmp	LBB0_12
LBB0_1:
	xorl	%ebx, %ebx
	jmp	LBB0_13
LBB0_4:
	movl	%eax, %edx
	andl	$-8, %edx
	leaq	-8(%rdx), %rbx
	movq	%rbx, %rsi
	shrq	$3, %rsi
	incq	%rsi
	movl	%esi, %r8d
	andl	$3, %r8d
	cmpq	$24, %rbx
	jae	LBB0_6
## %bb.5:
	pxor	%xmm0, %xmm0
	xorl	%ebx, %ebx
	pxor	%xmm1, %xmm1
	jmp	LBB0_8
LBB0_6:
	andq	$-4, %rsi
	pxor	%xmm0, %xmm0
	xorl	%ebx, %ebx
	pxor	%xmm1, %xmm1
	.p2align	4, 0x90
LBB0_7:                                 ## =>This Inner Loop Header: Depth=1
	movdqu	(%rcx,%rbx,4), %xmm2
	por	%xmm0, %xmm2
	movdqu	16(%rcx,%rbx,4), %xmm0
	por	%xmm1, %xmm0
	movdqu	32(%rcx,%rbx,4), %xmm1
	movdqu	48(%rcx,%rbx,4), %xmm3
	movdqu	64(%rcx,%rbx,4), %xmm4
	por	%xmm1, %xmm4
	por	%xmm2, %xmm4
	movdqu	80(%rcx,%rbx,4), %xmm2
	por	%xmm3, %xmm2
	por	%xmm0, %xmm2
	movdqu	96(%rcx,%rbx,4), %xmm0
	por	%xmm4, %xmm0
	movdqu	112(%rcx,%rbx,4), %xmm1
	por	%xmm2, %xmm1
	addq	$32, %rbx
	addq	$-4, %rsi
	jne	LBB0_7
LBB0_8:
	testq	%r8, %r8
	je	LBB0_11
## %bb.9:
	leaq	(%rcx,%rbx,4), %rsi
	addq	$16, %rsi
	shlq	$5, %r8
	xorl	%ebx, %ebx
	.p2align	4, 0x90
LBB0_10:                                ## =>This Inner Loop Header: Depth=1
	movdqu	-16(%rsi,%rbx), %xmm2
	por	%xmm2, %xmm0
	movdqu	(%rsi,%rbx), %xmm2
	por	%xmm2, %xmm1
	addq	$32, %rbx
	cmpq	%rbx, %r8
	jne	LBB0_10
LBB0_11:
	por	%xmm1, %xmm0
	pshufd	$238, %xmm0, %xmm1              ## xmm1 = xmm0[2,3,2,3]
	por	%xmm0, %xmm1
	pshufd	$85, %xmm1, %xmm0               ## xmm0 = xmm1[1,1,1,1]
	por	%xmm1, %xmm0
	movd	%xmm0, %ebx
	cmpq	%rax, %rdx
	je	LBB0_13
	.p2align	4, 0x90
LBB0_12:                                ## =>This Inner Loop Header: Depth=1
	orl	(%rcx,%rdx,4), %ebx
	incq	%rdx
	cmpq	%rdx, %rax
	jne	LBB0_12
LBB0_13:
	movl	4(%rdi), %eax
	movl	8(%rdi), %r14d
	movl	%eax, %edi
	callq	_MVPP2_ISR_ENABLE_REG
	movl	%eax, %r15d
	movl	%ebx, %edi
	callq	_MVPP2_ISR_DISABLE_INTERRUPT
	movl	%r14d, %edi
	movl	%r15d, %esi
	movl	%eax, %edx
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_mvpp2_write                    ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_mvpp2_interrupts_disable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_interrupts_disable
_mvpp2_interrupts_disable:              ; @mvpp2_interrupts_disable
	.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
	ldr	w8, [x0]
	cmp	w8, #1
	b.lt	LBB0_3
; %bb.1:
	ldr	x9, [x0, #16]
	cmp	w8, #16
	b.hs	LBB0_4
; %bb.2:
	mov	x10, #0
	mov	w19, #0
	b	LBB0_7
LBB0_3:
	mov	w19, #0
	b	LBB0_9
LBB0_4:
	and	x10, x8, #0xfffffff0
	add	x11, x9, #32
	movi.2d	v0, #0000000000000000
	mov	x12, x10
	movi.2d	v1, #0000000000000000
	movi.2d	v2, #0000000000000000
	movi.2d	v3, #0000000000000000
LBB0_5:                                 ; =>This Inner Loop Header: Depth=1
	ldp	q4, q5, [x11, #-32]
	ldp	q6, q7, [x11], #64
	orr.16b	v0, v4, v0
	orr.16b	v1, v5, v1
	orr.16b	v2, v6, v2
	orr.16b	v3, v7, v3
	subs	x12, x12, #16
	b.ne	LBB0_5
; %bb.6:
	orr.16b	v0, v1, v0
	orr.16b	v0, v2, v0
	orr.16b	v0, v3, v0
	ext.16b	v1, v0, v0, #8
	orr.8b	v0, v0, v1
	fmov	w11, s0
	mov.s	w12, v0[1]
	orr	w19, w11, w12
	cmp	x10, x8
	b.eq	LBB0_9
LBB0_7:
	add	x9, x9, x10, lsl #2
	sub	x8, x8, x10
LBB0_8:                                 ; =>This Inner Loop Header: Depth=1
	ldr	w10, [x9], #4
	orr	w19, w10, w19
	subs	x8, x8, #1
	b.ne	LBB0_8
LBB0_9:
	ldp	w0, w20, [x0, #4]
	bl	_MVPP2_ISR_ENABLE_REG
	mov	x21, x0
	mov	x0, x19
	bl	_MVPP2_ISR_DISABLE_INTERRUPT
	mov	x2, x0
	mov	x0, x20
	mov	x1, x21
	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
	b	_mvpp2_write
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_mvpp2_interrupts_disable
.subsections_via_symbols
