	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnxt_get_max_irq
_bnxt_get_max_irq:                      ## @bnxt_get_max_irq
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	subq	$16, %rsp
	movq	(%rdi), %rsi
	testq	%rsi, %rsi
	je	LBB0_1
## %bb.2:
	movq	_PCI_MSIX_FLAGS@GOTPCREL(%rip), %rax
	addq	(%rax), %rsi
	leaq	-4(%rbp), %rdx
	callq	_pci_read_config_word
	movq	_PCI_MSIX_FLAGS_QSIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	andl	-4(%rbp), %eax
	incl	%eax
	jmp	LBB0_3
LBB0_1:
	movl	$1, %eax
LBB0_3:
	addq	$16, %rsp
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_MSIX_FLAGS,8,3             ## @PCI_MSIX_FLAGS
	.comm	_PCI_MSIX_FLAGS_QSIZE,4,2       ## @PCI_MSIX_FLAGS_QSIZE
	.no_dead_strip	_bnxt_get_max_irq
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnxt_get_max_irq
_bnxt_get_max_irq:                      ; @bnxt_get_max_irq
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #32
	.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
	ldr	x8, [x0]
	cbz	x8, LBB0_2
; %bb.1:
Lloh0:
	adrp	x9, _PCI_MSIX_FLAGS@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_MSIX_FLAGS@GOTPAGEOFF]
Lloh2:
	ldr	x9, [x9]
	add	x1, x9, x8
	sub	x2, x29, #4
	bl	_pci_read_config_word
	ldur	w8, [x29, #-4]
Lloh3:
	adrp	x9, _PCI_MSIX_FLAGS_QSIZE@GOTPAGE
Lloh4:
	ldr	x9, [x9, _PCI_MSIX_FLAGS_QSIZE@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	and	w8, w9, w8
	add	w0, w8, #1
	b	LBB0_3
LBB0_2:
	mov	w0, #1
LBB0_3:
	ldp	x29, x30, [sp, #16]             ; 16-byte Folded Reload
	add	sp, sp, #32
	ret
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_MSIX_FLAGS,8,3             ; @PCI_MSIX_FLAGS
	.comm	_PCI_MSIX_FLAGS_QSIZE,4,2       ; @PCI_MSIX_FLAGS_QSIZE
	.no_dead_strip	_bnxt_get_max_irq
.subsections_via_symbols
