	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function rtnl_port_size
_rtnl_port_size:                        ## @rtnl_port_size
	.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
	subq	$56, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movl	$4, %edi
	callq	_nla_total_size
	movq	%rax, -88(%rbp)                 ## 8-byte Spill
	movq	_PORT_PROFILE_MAX@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_nla_total_size
	movq	%rax, %rbx
	movl	$4, %edi
	callq	_nla_total_size
	movq	%rax, -80(%rbp)                 ## 8-byte Spill
	movq	_PORT_UUID_MAX@GOTPCREL(%rip), %r15
	movl	(%r15), %edi
	callq	_nla_total_size
	movq	%rax, -72(%rbp)                 ## 8-byte Spill
	movl	(%r15), %edi
	callq	_nla_total_size
	movq	%rax, -64(%rbp)                 ## 8-byte Spill
	movl	$1, %edi
	callq	_nla_total_size
	movq	%rax, -56(%rbp)                 ## 8-byte Spill
	movl	$2, %edi
	callq	_nla_total_size
	movq	%rax, %r15
	movl	$4, %edi
	callq	_nla_total_size
	movq	%rax, -48(%rbp)                 ## 8-byte Spill
	movl	$4, %edi
	callq	_nla_total_size
	movq	%rax, %r13
	movl	$4, %edi
	callq	_nla_total_size
	movq	%rax, %r12
	movq	8(%r14), %rax
	cmpl	$0, (%rax)
	je	LBB0_5
## %bb.1:
	movl	(%r14), %edi
	testl	%edi, %edi
	je	LBB0_5
## %bb.2:
	addq	-88(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-80(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-72(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-64(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	-56(%rbp), %rbx                 ## 8-byte Folded Reload
	addq	%r15, %rbx
	addq	%rbx, %r12
	callq	_dev_num_vf
	testq	%rax, %rax
	je	LBB0_6
## %bb.3:
	addq	%rbx, %r13
	addq	-48(%rbp), %r12                 ## 8-byte Folded Reload
	movl	(%r14), %edi
	callq	_dev_num_vf
	imulq	%r13, %rax
	addq	%rax, %r12
	jmp	LBB0_6
LBB0_5:
	xorl	%r12d, %r12d
LBB0_6:
	movq	%r12, %rax
	addq	$56, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_PORT_PROFILE_MAX,4,2           ## @PORT_PROFILE_MAX
	.comm	_PORT_UUID_MAX,4,2              ## @PORT_UUID_MAX
	.no_dead_strip	_rtnl_port_size
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function rtnl_port_size
_rtnl_port_size:                        ; @rtnl_port_size
	.cfi_startproc
; %bb.0:
	stp	x28, x27, [sp, #-96]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 96
	stp	x26, x25, [sp, #16]             ; 16-byte Folded Spill
	stp	x24, x23, [sp, #32]             ; 16-byte Folded Spill
	stp	x22, x21, [sp, #48]             ; 16-byte Folded Spill
	stp	x20, x19, [sp, #64]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #80]             ; 16-byte Folded Spill
	add	x29, sp, #80
	.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
	.cfi_offset w25, -72
	.cfi_offset w26, -80
	.cfi_offset w27, -88
	.cfi_offset w28, -96
	mov	x19, x0
	mov	w0, #4
	bl	_nla_total_size
	mov	x20, x0
Lloh0:
	adrp	x8, _PORT_PROFILE_MAX@GOTPAGE
Lloh1:
	ldr	x8, [x8, _PORT_PROFILE_MAX@GOTPAGEOFF]
Lloh2:
	ldr	w0, [x8]
	bl	_nla_total_size
	mov	x21, x0
	mov	w0, #4
	bl	_nla_total_size
	mov	x22, x0
Lloh3:
	adrp	x24, _PORT_UUID_MAX@GOTPAGE
Lloh4:
	ldr	x24, [x24, _PORT_UUID_MAX@GOTPAGEOFF]
	ldr	w0, [x24]
	bl	_nla_total_size
	mov	x23, x0
	ldr	w0, [x24]
	bl	_nla_total_size
	mov	x24, x0
	mov	w0, #1
	bl	_nla_total_size
	mov	x26, x0
	mov	w0, #2
	bl	_nla_total_size
	mov	x27, x0
	mov	w0, #4
	bl	_nla_total_size
	mov	x25, x0
	mov	w0, #4
	bl	_nla_total_size
	mov	x28, x0
	mov	w0, #4
	bl	_nla_total_size
	ldr	x8, [x19, #8]
	ldr	w8, [x8]
	cbz	w8, LBB0_4
; %bb.1:
	ldr	w8, [x19]
	cbz	w8, LBB0_4
; %bb.2:
	add	x9, x21, x20
	add	x9, x9, x22
	add	x9, x9, x23
	add	x9, x9, x24
	add	x9, x9, x26
	add	x21, x9, x27
	add	x20, x0, x21
	mov	x0, x8
	bl	_dev_num_vf
	cbz	x0, LBB0_5
; %bb.3:
	add	x21, x28, x21
	add	x20, x20, x25
	ldr	w0, [x19]
	bl	_dev_num_vf
	madd	x20, x0, x21, x20
	b	LBB0_5
LBB0_4:
	mov	x20, #0
LBB0_5:
	mov	x0, x20
	ldp	x29, x30, [sp, #80]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #64]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp, #48]             ; 16-byte Folded Reload
	ldp	x24, x23, [sp, #32]             ; 16-byte Folded Reload
	ldp	x26, x25, [sp, #16]             ; 16-byte Folded Reload
	ldp	x28, x27, [sp], #96             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.cfi_endproc
                                        ; -- End function
	.comm	_PORT_PROFILE_MAX,4,2           ; @PORT_PROFILE_MAX
	.comm	_PORT_UUID_MAX,4,2              ; @PORT_UUID_MAX
	.no_dead_strip	_rtnl_port_size
.subsections_via_symbols
