	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function mvpp2_port_has_irqs
_mvpp2_port_has_irqs:                   ## @mvpp2_port_has_irqs
	.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
	testq	%rsi, %rsi
	je	LBB0_8
## %bb.1:
	movq	(%rdi), %rax
	movq	_MVPP21@GOTPCREL(%rip), %rcx
	xorl	%r14d, %r14d
	cmpq	(%rcx), %rax
	je	LBB0_9
## %bb.2:
	movq	%rsi, %rbx
	movq	%rsi, %rdi
	movq	%rdx, %rsi
	callq	_mvpp22_port_has_legacy_tx_irqs
	testq	%rax, %rax
	jne	LBB0_8
## %bb.3:
	movq	_MVPP2_MAX_THREADS@GOTPCREL(%rip), %rax
	cmpl	$0, (%rax)
	jle	LBB0_8
## %bb.4:
	xorl	%r14d, %r14d
	leaq	-45(%rbp), %r12
	leaq	L_.str.1(%rip), %r13
	xorl	%r15d, %r15d
	.p2align	4, 0x90
LBB0_5:                                 ## =>This Inner Loop Header: Depth=1
	movq	%r12, %rdi
	movl	$5, %esi
	leaq	L_.str(%rip), %rdx
	movl	%r15d, %ecx
	callq	_snprintf
	movq	%rbx, %rdi
	movq	%r13, %rsi
	movq	%r12, %rdx
	callq	_of_property_match_string
	testq	%rax, %rax
	js	LBB0_9
## %bb.6:                               ##   in Loop: Header=BB0_5 Depth=1
	incl	%r15d
	movq	_MVPP2_MAX_THREADS@GOTPCREL(%rip), %rax
	cmpl	(%rax), %r15d
	jl	LBB0_5
LBB0_8:
	movl	$1, %r14d
LBB0_9:
	movl	%r14d, %eax
	addq	$8, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MVPP21,8,3                     ## @MVPP21
	.comm	_MVPP2_MAX_THREADS,4,2          ## @MVPP2_MAX_THREADS
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"hif%d"

L_.str.1:                               ## @.str.1
	.asciz	"interrupt-names"

	.no_dead_strip	_mvpp2_port_has_irqs
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function mvpp2_port_has_irqs
_mvpp2_port_has_irqs:                   ; @mvpp2_port_has_irqs
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #80
	.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
	cbz	x1, LBB0_8
; %bb.1:
	ldr	x8, [x0]
Lloh0:
	adrp	x9, _MVPP21@GOTPAGE
Lloh1:
	ldr	x9, [x9, _MVPP21@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ne	LBB0_3
LBB0_2:
	mov	w0, #0
	b	LBB0_9
LBB0_3:
	mov	x19, x1
	mov	x0, x1
	mov	x1, x2
	bl	_mvpp22_port_has_legacy_tx_irqs
	mov	x8, x0
	mov	w0, #1
	cbnz	x8, LBB0_9
; %bb.4:
Lloh3:
	adrp	x23, _MVPP2_MAX_THREADS@GOTPAGE
Lloh4:
	ldr	x23, [x23, _MVPP2_MAX_THREADS@GOTPAGEOFF]
	ldr	w8, [x23]
	cmp	w8, #1
	b.lt	LBB0_9
; %bb.5:
	mov	w20, #0
Lloh5:
	adrp	x21, l_.str@PAGE
Lloh6:
	add	x21, x21, l_.str@PAGEOFF
Lloh7:
	adrp	x22, l_.str.1@PAGE
Lloh8:
	add	x22, x22, l_.str.1@PAGEOFF
LBB0_6:                                 ; =>This Inner Loop Header: Depth=1
	add	x0, sp, #11
	mov	w1, #5
	mov	x2, x21
	mov	x3, x20
	bl	_snprintf
	add	x2, sp, #11
	mov	x0, x19
	mov	x1, x22
	bl	_of_property_match_string
	tbnz	x0, #63, LBB0_2
; %bb.7:                                ;   in Loop: Header=BB0_6 Depth=1
	add	w20, w20, #1
	ldr	w8, [x23]
	cmp	w20, w8
	b.lt	LBB0_6
LBB0_8:
	mov	w0, #1
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
	add	sp, sp, #80
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpAdd	Lloh7, Lloh8
	.loh AdrpAdd	Lloh5, Lloh6
	.cfi_endproc
                                        ; -- End function
	.comm	_MVPP21,8,3                     ; @MVPP21
	.comm	_MVPP2_MAX_THREADS,4,2          ; @MVPP2_MAX_THREADS
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"hif%d"

l_.str.1:                               ; @.str.1
	.asciz	"interrupt-names"

	.no_dead_strip	_mvpp2_port_has_irqs
.subsections_via_symbols
