	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function cn23xx_disable_pf_interrupt
_cn23xx_disable_pf_interrupt:           ## @cn23xx_disable_pf_interrupt
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	pushq	%r14
	pushq	%rbx
	.cfi_offset %rbx, -32
	.cfi_offset %r14, -24
	movq	16(%rdi), %rbx
	movq	_OCTEON_ALL_INTR@GOTPCREL(%rip), %rax
	xorl	%ecx, %ecx
	cmpl	%esi, (%rax)
	je	LBB0_8
## %bb.1:
	movq	_OCTEON_OUTPUT_INTR@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_3
## %bb.2:
	movq	_CN23XX_INTR_PKT_DATA@GOTPCREL(%rip), %r14
LBB0_7:
	movl	(%rbx), %edi
	callq	_readq
	movl	(%r14), %ecx
	notl	%ecx
	andl	%eax, %ecx
LBB0_8:
	movl	(%rbx), %esi
	movl	%ecx, %edi
	popq	%rbx
	popq	%r14
	popq	%rbp
	jmp	_writeq                         ## TAILCALL
LBB0_3:
	movq	_OCTEON_MBOX_INTR@GOTPCREL(%rip), %rax
	testl	%esi, (%rax)
	je	LBB0_9
## %bb.4:
	cmpq	$0, 8(%rdi)
	jle	LBB0_9
## %bb.5:
	movq	(%rdi), %rax
	movq	_OCTEON_CN23XX_REV_1_1@GOTPCREL(%rip), %rcx
	cmpq	(%rcx), %rax
	jge	LBB0_6
LBB0_9:
	popq	%rbx
	popq	%r14
	popq	%rbp
	retq
LBB0_6:
	movq	_CN23XX_INTR_VF_MBOX@GOTPCREL(%rip), %r14
	jmp	LBB0_7
	.cfi_endproc
                                        ## -- End function
	.comm	_OCTEON_ALL_INTR,4,2            ## @OCTEON_ALL_INTR
	.comm	_OCTEON_OUTPUT_INTR,4,2         ## @OCTEON_OUTPUT_INTR
	.comm	_CN23XX_INTR_PKT_DATA,4,2       ## @CN23XX_INTR_PKT_DATA
	.comm	_OCTEON_MBOX_INTR,4,2           ## @OCTEON_MBOX_INTR
	.comm	_OCTEON_CN23XX_REV_1_1,8,3      ## @OCTEON_CN23XX_REV_1_1
	.comm	_CN23XX_INTR_VF_MBOX,4,2        ## @CN23XX_INTR_VF_MBOX
	.no_dead_strip	_cn23xx_disable_pf_interrupt
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function cn23xx_disable_pf_interrupt
_cn23xx_disable_pf_interrupt:           ; @cn23xx_disable_pf_interrupt
	.cfi_startproc
; %bb.0:
	stp	x20, x19, [sp, #-32]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 32
	stp	x29, x30, [sp, #16]             ; 16-byte Folded Spill
	add	x29, sp, #16
	.cfi_def_cfa w29, 16
	.cfi_offset w30, -8
	.cfi_offset w29, -16
	.cfi_offset w19, -24
	.cfi_offset w20, -32
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x8, _OCTEON_ALL_INTR@GOTPAGE
Lloh1:
	ldr	x8, [x8, _OCTEON_ALL_INTR@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	cmp	w8, w1
	b.ne	LBB0_2
; %bb.1:
	mov	w0, #0
	b	LBB0_5
LBB0_2:
Lloh3:
	adrp	x8, _OCTEON_OUTPUT_INTR@GOTPAGE
Lloh4:
	ldr	x8, [x8, _OCTEON_OUTPUT_INTR@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_6
; %bb.3:
Lloh6:
	adrp	x20, _CN23XX_INTR_PKT_DATA@GOTPAGE
Lloh7:
	ldr	x20, [x20, _CN23XX_INTR_PKT_DATA@GOTPAGEOFF]
LBB0_4:
	ldr	w0, [x19]
	bl	_readq
	ldr	w8, [x20]
	bic	w0, w0, w8
LBB0_5:
	ldr	w1, [x19]
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	b	_writeq
LBB0_6:
Lloh8:
	adrp	x8, _OCTEON_MBOX_INTR@GOTPAGE
Lloh9:
	ldr	x8, [x8, _OCTEON_MBOX_INTR@GOTPAGEOFF]
Lloh10:
	ldr	w8, [x8]
	tst	w8, w1
	b.eq	LBB0_9
; %bb.7:
	ldr	x8, [x0, #8]
	cmp	x8, #1
	b.lt	LBB0_9
; %bb.8:
	ldr	x8, [x0]
Lloh11:
	adrp	x9, _OCTEON_CN23XX_REV_1_1@GOTPAGE
Lloh12:
	ldr	x9, [x9, _OCTEON_CN23XX_REV_1_1@GOTPAGEOFF]
Lloh13:
	ldr	x9, [x9]
	cmp	x8, x9
	b.ge	LBB0_10
LBB0_9:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp], #32             ; 16-byte Folded Reload
	ret
LBB0_10:
Lloh14:
	adrp	x20, _CN23XX_INTR_VF_MBOX@GOTPAGE
Lloh15:
	ldr	x20, [x20, _CN23XX_INTR_VF_MBOX@GOTPAGEOFF]
	b	LBB0_4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGot	Lloh6, Lloh7
	.loh AdrpLdrGotLdr	Lloh8, Lloh9, Lloh10
	.loh AdrpLdrGotLdr	Lloh11, Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh14, Lloh15
	.cfi_endproc
                                        ; -- End function
	.comm	_OCTEON_ALL_INTR,4,2            ; @OCTEON_ALL_INTR
	.comm	_OCTEON_OUTPUT_INTR,4,2         ; @OCTEON_OUTPUT_INTR
	.comm	_CN23XX_INTR_PKT_DATA,4,2       ; @CN23XX_INTR_PKT_DATA
	.comm	_OCTEON_MBOX_INTR,4,2           ; @OCTEON_MBOX_INTR
	.comm	_OCTEON_CN23XX_REV_1_1,8,3      ; @OCTEON_CN23XX_REV_1_1
	.comm	_CN23XX_INTR_VF_MBOX,4,2        ; @CN23XX_INTR_VF_MBOX
	.no_dead_strip	_cn23xx_disable_pf_interrupt
.subsections_via_symbols
