	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_count_lintr                ## -- Begin function pci_count_lintr
	.p2align	4, 0x90
_pci_count_lintr:                       ## @pci_count_lintr
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	movq	_pci_businfo@GOTPCREL(%rip), %rax
	movq	(%rax), %rax
	movslq	%edi, %rcx
	movq	(%rax,%rcx,8), %rdx
	xorl	%eax, %eax
	testq	%rdx, %rdx
	je	LBB0_4
## %bb.1:
	movq	_MAXSLOTS@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	testl	%ecx, %ecx
	jle	LBB0_4
## %bb.2:
	movq	(%rdx), %rdx
	xorl	%esi, %esi
	xorl	%eax, %eax
	.p2align	4, 0x90
LBB0_3:                                 ## =>This Inner Loop Header: Depth=1
	movq	(%rdx,%rsi,8), %rdi
	cmpq	$1, (%rdi)
	sbbl	$-1, %eax
	cmpq	$1, 8(%rdi)
	sbbl	$-1, %eax
	cmpq	$1, 16(%rdi)
	sbbl	$-1, %eax
	cmpq	$1, 24(%rdi)
	sbbl	$-1, %eax
	incq	%rsi
	cmpq	%rsi, %rcx
	jne	LBB0_3
LBB0_4:
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_pci_businfo,8,3                ## @pci_businfo
	.comm	_MAXSLOTS,4,2                   ## @MAXSLOTS
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_count_lintr                ; -- Begin function pci_count_lintr
	.p2align	2
_pci_count_lintr:                       ; @pci_count_lintr
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #16
	.cfi_def_cfa_offset 16
Lloh0:
	adrp	x8, _pci_businfo@GOTPAGE
Lloh1:
	ldr	x8, [x8, _pci_businfo@GOTPAGEOFF]
Lloh2:
	ldr	x8, [x8]
	ldr	x9, [x8, w0, sxtw #3]
	cbz	x9, LBB0_5
; %bb.1:
Lloh3:
	adrp	x8, _MAXSLOTS@GOTPAGE
Lloh4:
	ldr	x8, [x8, _MAXSLOTS@GOTPAGEOFF]
Lloh5:
	ldr	w8, [x8]
	cmp	w8, #1
	b.lt	LBB0_5
; %bb.2:
	mov	w0, #0
	ldr	x9, [x9]
LBB0_3:                                 ; =>This Inner Loop Header: Depth=1
	ldr	x10, [x9], #8
	ldp	q0, q1, [x10]
	cmtst.2d	v1, v1, v1
	cmtst.2d	v0, v0, v0
	uzp1.4s	v0, v0, v1
	xtn.4h	v0, v0
	umov.h	w10, v0[0]
	umov.h	w11, v0[1]
	and	w11, w11, #0x1
	bfi	w10, w11, #1, #1
	umov.h	w11, v0[2]
	and	w11, w11, #0x1
	bfi	w10, w11, #2, #1
	umov.h	w11, v0[3]
	bfi	w10, w11, #3, #29
	and	w10, w10, #0xf
	fmov	d0, x10
	cnt.8b	v0, v0
	uaddlv.8b	h0, v0
	fmov	w10, s0
	add	w0, w0, w10
	subs	x8, x8, #1
	b.ne	LBB0_3
; %bb.4:
	add	sp, sp, #16
	ret
LBB0_5:
	mov	w0, #0
	add	sp, sp, #16
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.cfi_endproc
                                        ; -- End function
	.comm	_pci_businfo,8,3                ; @pci_businfo
	.comm	_MAXSLOTS,4,2                   ; @MAXSLOTS
.subsections_via_symbols
