	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_alloc_netdev             ## -- Begin function fm10k_alloc_netdev
	.p2align	4, 0x90
_fm10k_alloc_netdev:                    ## @fm10k_alloc_netdev
	.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	%rbx
	pushq	%rax
	.cfi_offset %rbx, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdi, %r14
	movq	_MAX_QUEUES@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movl	$8, %edi
	callq	_alloc_etherdev_mq
	movq	%rax, %rbx
	testq	%rax, %rax
	je	LBB0_4
## %bb.1:
	movq	_fm10k_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 32(%rbx)
	movq	%rbx, %rdi
	callq	_fm10k_set_ethtool_ops
	movq	%rbx, %rdi
	callq	_netdev_priv
	movq	%rax, %r15
	movq	_DEFAULT_DEBUG_LEVEL_SHIFT@GOTPCREL(%rip), %rax
	movl	(%rax), %edi
	callq	_BIT
	decq	%rax
	movq	%rax, (%r15)
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %r10
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %r8
	movl	(%r8), %eax
	orl	(%r10), %eax
	movq	_NETIF_F_SG@GOTPCREL(%rip), %r9
	orl	(%r9), %eax
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %r11
	orl	(%r11), %eax
	movq	_NETIF_F_TSO_ECN@GOTPCREL(%rip), %rdx
	orl	(%rdx), %eax
	movq	_NETIF_F_RXHASH@GOTPCREL(%rip), %rsi
	orl	(%rsi), %eax
	movq	_NETIF_F_RXCSUM@GOTPCREL(%rip), %rsi
	orl	(%rsi), %eax
	orl	(%rbx), %eax
	movl	%eax, (%rbx)
	movq	(%r14), %rsi
	movq	_fm10k_mac_pf@GOTPCREL(%rip), %rdi
	cmpq	(%rdi), %rsi
	jne	LBB0_3
## %bb.2:
	movl	(%rcx), %ecx
	orl	(%r10), %ecx
	orl	(%r11), %ecx
	orl	(%rdx), %ecx
	movq	_NETIF_F_GSO_UDP_TUNNEL@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	%edx, %ecx
	orl	(%r8), %ecx
	orl	(%r9), %ecx
	movl	%ecx, 4(%rbx)
	orl	%edx, %eax
	movl	%eax, (%rbx)
LBB0_3:
	movq	_NETIF_F_HW_L2FW_DOFFLOAD@GOTPCREL(%rip), %rcx
	movl	(%rcx), %ecx
	orl	%eax, 8(%rbx)
	orl	%eax, %ecx
	movq	_NETIF_F_HW_VLAN_CTAG_TX@GOTPCREL(%rip), %rdx
	movq	_NETIF_F_HW_VLAN_CTAG_RX@GOTPCREL(%rip), %rsi
	movq	_NETIF_F_HW_VLAN_CTAG_FILTER@GOTPCREL(%rip), %rdi
	orl	(%rdx), %eax
	orl	(%rsi), %eax
	orl	(%rdi), %eax
	movl	%eax, (%rbx)
	movq	_IFF_UNICAST_FLT@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	%eax, 24(%rbx)
	orl	%ecx, 12(%rbx)
	movq	_ETH_MIN_MTU@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 20(%rbx)
	movq	_FM10K_MAX_JUMBO_FRAME_SIZE@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movl	%eax, 16(%rbx)
LBB0_4:
	movq	%rbx, %rax
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
	.cfi_endproc
                                        ## -- End function
	.comm	_MAX_QUEUES,4,2                 ## @MAX_QUEUES
	.comm	_fm10k_netdev_ops,4,2           ## @fm10k_netdev_ops
	.comm	_DEFAULT_DEBUG_LEVEL_SHIFT,4,2  ## @DEFAULT_DEBUG_LEVEL_SHIFT
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ## @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_NETIF_F_TSO_ECN,4,2            ## @NETIF_F_TSO_ECN
	.comm	_NETIF_F_RXHASH,4,2             ## @NETIF_F_RXHASH
	.comm	_NETIF_F_RXCSUM,4,2             ## @NETIF_F_RXCSUM
	.comm	_fm10k_mac_pf,8,3               ## @fm10k_mac_pf
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ## @NETIF_F_GSO_UDP_TUNNEL
	.comm	_NETIF_F_HW_L2FW_DOFFLOAD,4,2   ## @NETIF_F_HW_L2FW_DOFFLOAD
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ## @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ## @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ## @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_IFF_UNICAST_FLT,4,2            ## @IFF_UNICAST_FLT
	.comm	_ETH_MIN_MTU,4,2                ## @ETH_MIN_MTU
	.comm	_FM10K_MAX_JUMBO_FRAME_SIZE,4,2 ## @FM10K_MAX_JUMBO_FRAME_SIZE
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.globl	_fm10k_alloc_netdev             ; -- Begin function fm10k_alloc_netdev
	.p2align	2
_fm10k_alloc_netdev:                    ; @fm10k_alloc_netdev
	.cfi_startproc
; %bb.0:
	stp	x22, x21, [sp, #-48]!           ; 16-byte Folded Spill
	.cfi_def_cfa_offset 48
	stp	x20, x19, [sp, #16]             ; 16-byte Folded Spill
	stp	x29, x30, [sp, #32]             ; 16-byte Folded Spill
	add	x29, sp, #32
	.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
	mov	x20, x0
Lloh0:
	adrp	x8, _MAX_QUEUES@GOTPAGE
Lloh1:
	ldr	x8, [x8, _MAX_QUEUES@GOTPAGEOFF]
Lloh2:
	ldr	w1, [x8]
	mov	w0, #8
	bl	_alloc_etherdev_mq
	mov	x19, x0
	cbz	x0, LBB0_4
; %bb.1:
Lloh3:
	adrp	x8, _fm10k_netdev_ops@GOTPAGE
Lloh4:
	ldr	x8, [x8, _fm10k_netdev_ops@GOTPAGEOFF]
	str	x8, [x19, #32]
	mov	x0, x19
	bl	_fm10k_set_ethtool_ops
	mov	x0, x19
	bl	_netdev_priv
	mov	x21, x0
Lloh5:
	adrp	x8, _DEFAULT_DEBUG_LEVEL_SHIFT@GOTPAGE
Lloh6:
	ldr	x8, [x8, _DEFAULT_DEBUG_LEVEL_SHIFT@GOTPAGEOFF]
Lloh7:
	ldr	w0, [x8]
	bl	_BIT
	sub	x8, x0, #1
	str	x8, [x21]
Lloh8:
	adrp	x11, _NETIF_F_IP_CSUM@GOTPAGE
Lloh9:
	ldr	x11, [x11, _NETIF_F_IP_CSUM@GOTPAGEOFF]
	ldr	w8, [x11]
Lloh10:
	adrp	x9, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh11:
	ldr	x9, [x9, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
	ldr	w10, [x9]
	orr	w8, w10, w8
Lloh12:
	adrp	x10, _NETIF_F_SG@GOTPAGE
Lloh13:
	ldr	x10, [x10, _NETIF_F_SG@GOTPAGEOFF]
	ldr	w12, [x10]
	orr	w8, w8, w12
Lloh14:
	adrp	x12, _NETIF_F_TSO@GOTPAGE
Lloh15:
	ldr	x12, [x12, _NETIF_F_TSO@GOTPAGEOFF]
	ldr	w13, [x12]
	orr	w8, w8, w13
Lloh16:
	adrp	x13, _NETIF_F_TSO6@GOTPAGE
Lloh17:
	ldr	x13, [x13, _NETIF_F_TSO6@GOTPAGEOFF]
	ldr	w14, [x13]
	orr	w8, w8, w14
Lloh18:
	adrp	x14, _NETIF_F_TSO_ECN@GOTPAGE
Lloh19:
	ldr	x14, [x14, _NETIF_F_TSO_ECN@GOTPAGEOFF]
	ldr	w15, [x14]
	orr	w8, w8, w15
Lloh20:
	adrp	x15, _NETIF_F_RXHASH@GOTPAGE
Lloh21:
	ldr	x15, [x15, _NETIF_F_RXHASH@GOTPAGEOFF]
Lloh22:
	ldr	w15, [x15]
	orr	w8, w8, w15
Lloh23:
	adrp	x15, _NETIF_F_RXCSUM@GOTPAGE
Lloh24:
	ldr	x15, [x15, _NETIF_F_RXCSUM@GOTPAGEOFF]
Lloh25:
	ldr	w15, [x15]
	orr	w8, w8, w15
	ldr	w15, [x19]
	orr	w8, w8, w15
	str	w8, [x19]
	ldr	x15, [x20]
Lloh26:
	adrp	x16, _fm10k_mac_pf@GOTPAGE
Lloh27:
	ldr	x16, [x16, _fm10k_mac_pf@GOTPAGEOFF]
Lloh28:
	ldr	x16, [x16]
	cmp	x15, x16
	b.ne	LBB0_3
; %bb.2:
	ldr	w11, [x11]
	ldr	w12, [x12]
	orr	w11, w12, w11
	ldr	w12, [x13]
	orr	w11, w11, w12
	ldr	w12, [x14]
	orr	w11, w11, w12
Lloh29:
	adrp	x12, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGE
Lloh30:
	ldr	x12, [x12, _NETIF_F_GSO_UDP_TUNNEL@GOTPAGEOFF]
Lloh31:
	ldr	w12, [x12]
	orr	w11, w11, w12
	ldr	w9, [x9]
	orr	w9, w11, w9
	ldr	w10, [x10]
	orr	w9, w9, w10
	orr	w8, w12, w8
	stp	w8, w9, [x19]
LBB0_3:
Lloh32:
	adrp	x9, _NETIF_F_HW_L2FW_DOFFLOAD@GOTPAGE
Lloh33:
	ldr	x9, [x9, _NETIF_F_HW_L2FW_DOFFLOAD@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	orr	w9, w9, w8
	ldp	w10, w11, [x19, #8]
	orr	w10, w10, w8
Lloh35:
	adrp	x12, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGE
Lloh36:
	ldr	x12, [x12, _NETIF_F_HW_VLAN_CTAG_TX@GOTPAGEOFF]
Lloh37:
	ldr	w12, [x12]
	orr	w8, w12, w8
Lloh38:
	adrp	x12, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGE
Lloh39:
	ldr	x12, [x12, _NETIF_F_HW_VLAN_CTAG_RX@GOTPAGEOFF]
Lloh40:
	ldr	w12, [x12]
	orr	w8, w8, w12
Lloh41:
	adrp	x12, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGE
Lloh42:
	ldr	x12, [x12, _NETIF_F_HW_VLAN_CTAG_FILTER@GOTPAGEOFF]
Lloh43:
	ldr	w12, [x12]
	orr	w8, w8, w12
	str	w8, [x19]
Lloh44:
	adrp	x8, _IFF_UNICAST_FLT@GOTPAGE
Lloh45:
	ldr	x8, [x8, _IFF_UNICAST_FLT@GOTPAGEOFF]
Lloh46:
	ldr	w8, [x8]
	ldr	w12, [x19, #24]
	orr	w8, w12, w8
	str	w8, [x19, #24]
	orr	w8, w9, w11
	stp	w10, w8, [x19, #8]
Lloh47:
	adrp	x8, _ETH_MIN_MTU@GOTPAGE
Lloh48:
	ldr	x8, [x8, _ETH_MIN_MTU@GOTPAGEOFF]
Lloh49:
	ldr	w8, [x8]
Lloh50:
	adrp	x9, _FM10K_MAX_JUMBO_FRAME_SIZE@GOTPAGE
Lloh51:
	ldr	x9, [x9, _FM10K_MAX_JUMBO_FRAME_SIZE@GOTPAGEOFF]
Lloh52:
	ldr	w9, [x9]
	stp	w9, w8, [x19, #16]
LBB0_4:
	mov	x0, x19
	ldp	x29, x30, [sp, #32]             ; 16-byte Folded Reload
	ldp	x20, x19, [sp, #16]             ; 16-byte Folded Reload
	ldp	x22, x21, [sp], #48             ; 16-byte Folded Reload
	ret
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh18, Lloh19
	.loh AdrpLdrGot	Lloh16, Lloh17
	.loh AdrpLdrGot	Lloh14, Lloh15
	.loh AdrpLdrGot	Lloh12, Lloh13
	.loh AdrpLdrGot	Lloh10, Lloh11
	.loh AdrpLdrGot	Lloh8, Lloh9
	.loh AdrpLdrGotLdr	Lloh5, Lloh6, Lloh7
	.loh AdrpLdrGot	Lloh3, Lloh4
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh50, Lloh51, Lloh52
	.loh AdrpLdrGotLdr	Lloh47, Lloh48, Lloh49
	.loh AdrpLdrGotLdr	Lloh44, Lloh45, Lloh46
	.loh AdrpLdrGotLdr	Lloh41, Lloh42, Lloh43
	.loh AdrpLdrGotLdr	Lloh38, Lloh39, Lloh40
	.loh AdrpLdrGotLdr	Lloh35, Lloh36, Lloh37
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.cfi_endproc
                                        ; -- End function
	.comm	_MAX_QUEUES,4,2                 ; @MAX_QUEUES
	.comm	_fm10k_netdev_ops,4,2           ; @fm10k_netdev_ops
	.comm	_DEFAULT_DEBUG_LEVEL_SHIFT,4,2  ; @DEFAULT_DEBUG_LEVEL_SHIFT
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_IPV6_CSUM,4,2          ; @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_NETIF_F_TSO_ECN,4,2            ; @NETIF_F_TSO_ECN
	.comm	_NETIF_F_RXHASH,4,2             ; @NETIF_F_RXHASH
	.comm	_NETIF_F_RXCSUM,4,2             ; @NETIF_F_RXCSUM
	.comm	_fm10k_mac_pf,8,3               ; @fm10k_mac_pf
	.comm	_NETIF_F_GSO_UDP_TUNNEL,4,2     ; @NETIF_F_GSO_UDP_TUNNEL
	.comm	_NETIF_F_HW_L2FW_DOFFLOAD,4,2   ; @NETIF_F_HW_L2FW_DOFFLOAD
	.comm	_NETIF_F_HW_VLAN_CTAG_TX,4,2    ; @NETIF_F_HW_VLAN_CTAG_TX
	.comm	_NETIF_F_HW_VLAN_CTAG_RX,4,2    ; @NETIF_F_HW_VLAN_CTAG_RX
	.comm	_NETIF_F_HW_VLAN_CTAG_FILTER,4,2 ; @NETIF_F_HW_VLAN_CTAG_FILTER
	.comm	_IFF_UNICAST_FLT,4,2            ; @IFF_UNICAST_FLT
	.comm	_ETH_MIN_MTU,4,2                ; @ETH_MIN_MTU
	.comm	_FM10K_MAX_JUMBO_FRAME_SIZE,4,2 ; @FM10K_MAX_JUMBO_FRAME_SIZE
.subsections_via_symbols
