	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_iov_resource_size          ## -- Begin function pci_iov_resource_size
	.p2align	4, 0x90
_pci_iov_resource_size:                 ## @pci_iov_resource_size
	.cfi_startproc
## %bb.0:
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset %rbp, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register %rbp
	cmpl	$0, 8(%rdi)
	je	LBB0_1
## %bb.2:
	movq	(%rdi), %rax
	movq	(%rax), %rax
	movq	_PCI_IOV_RESOURCES@GOTPCREL(%rip), %rcx
	movslq	(%rcx), %rcx
	movslq	%esi, %rdx
	subq	%rcx, %rdx
	movl	(%rax,%rdx,4), %eax
	popq	%rbp
	retq
LBB0_1:
	xorl	%eax, %eax
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PCI_IOV_RESOURCES,4,2          ## @PCI_IOV_RESOURCES
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_pci_iov_resource_size          ; -- Begin function pci_iov_resource_size
	.p2align	2
_pci_iov_resource_size:                 ; @pci_iov_resource_size
	.cfi_startproc
; %bb.0:
	ldr	w8, [x0, #8]
	cbz	w8, LBB0_2
; %bb.1:
	ldr	x8, [x0]
	ldr	x8, [x8]
Lloh0:
	adrp	x9, _PCI_IOV_RESOURCES@GOTPAGE
Lloh1:
	ldr	x9, [x9, _PCI_IOV_RESOURCES@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	sub	w9, w1, w9
	ldr	w0, [x8, w9, sxtw #2]
	ret
LBB0_2:
	mov	w0, #0
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PCI_IOV_RESOURCES,4,2          ; @PCI_IOV_RESOURCES
.subsections_via_symbols
