	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function bnad_netdev_init
_bnad_netdev_init:                      ## @bnad_netdev_init
	.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
	movl	%esi, %r15d
	movq	%rdi, %r14
	movq	16(%rdi), %rbx
	movq	_NETIF_F_IPV6_CSUM@GOTPCREL(%rip), %rax
	movl	(%rbx), %ecx
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_NETIF_F_TSO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_NETIF_F_TSO6@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	movq	_NETIF_F_GRO@GOTPCREL(%rip), %rax
	orl	(%rax), %ecx
	movl	%ecx, (%rbx)
	leaq	L_.str(%rip), %rdi
	callq	_pr_warning
	movq	_NETIF_F_SG@GOTPCREL(%rip), %rcx
	movq	_NETIF_F_IP_CSUM@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	orl	(%rcx), %eax
	orl	(%rbx), %eax
	movl	%eax, (%rbx)
	testl	%r15d, %r15d
	je	LBB0_2
## %bb.1:
	movq	_NETIF_F_HIGHDMA@GOTPCREL(%rip), %rcx
	orl	(%rcx), %eax
	movl	%eax, (%rbx)
LBB0_2:
	movq	_NETIF_F_HW_VLAN_TX@GOTPCREL(%rip), %rcx
	movq	_NETIF_F_HW_VLAN_RX@GOTPCREL(%rip), %rdx
	movl	(%rdx), %edx
	orl	(%rcx), %edx
	movq	_NETIF_F_HW_VLAN_FILTER@GOTPCREL(%rip), %rcx
	orl	(%rcx), %edx
	orl	%eax, %edx
	movl	%edx, (%rbx)
	movl	%edx, 4(%rbx)
	movq	8(%r14), %rax
	movq	%rax, 24(%rbx)
	movq	(%r14), %rcx
	leaq	-1(%rax,%rcx), %rax
	movq	%rax, 16(%rbx)
	movq	_bnad_netdev_ops@GOTPCREL(%rip), %rax
	movq	%rax, 8(%rbx)
	movq	%rbx, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_bnad_set_ethtool_ops           ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.comm	_NETIF_F_IPV6_CSUM,4,2          ## @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_TSO,4,2                ## @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ## @NETIF_F_TSO6
	.comm	_NETIF_F_GRO,4,2                ## @NETIF_F_GRO
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"bna: GRO enabled, using kernel stack GRO\n"

	.comm	_NETIF_F_SG,4,2                 ## @NETIF_F_SG
	.comm	_NETIF_F_IP_CSUM,4,2            ## @NETIF_F_IP_CSUM
	.comm	_NETIF_F_HIGHDMA,4,2            ## @NETIF_F_HIGHDMA
	.comm	_NETIF_F_HW_VLAN_TX,4,2         ## @NETIF_F_HW_VLAN_TX
	.comm	_NETIF_F_HW_VLAN_RX,4,2         ## @NETIF_F_HW_VLAN_RX
	.comm	_NETIF_F_HW_VLAN_FILTER,4,2     ## @NETIF_F_HW_VLAN_FILTER
	.comm	_bnad_netdev_ops,4,2            ## @bnad_netdev_ops
	.no_dead_strip	_bnad_netdev_init
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function bnad_netdev_init
_bnad_netdev_init:                      ; @bnad_netdev_init
	.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	x21, x1
	mov	x20, x0
	ldr	x19, [x0, #16]
Lloh0:
	adrp	x8, _NETIF_F_IPV6_CSUM@GOTPAGE
Lloh1:
	ldr	x8, [x8, _NETIF_F_IPV6_CSUM@GOTPAGEOFF]
Lloh2:
	ldr	w8, [x8]
	ldr	w9, [x19]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh3:
	adrp	x9, _NETIF_F_TSO@GOTPAGE
Lloh4:
	ldr	x9, [x9, _NETIF_F_TSO@GOTPAGEOFF]
Lloh5:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh6:
	adrp	x9, _NETIF_F_TSO6@GOTPAGE
Lloh7:
	ldr	x9, [x9, _NETIF_F_TSO6@GOTPAGEOFF]
Lloh8:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh9:
	adrp	x9, _NETIF_F_GRO@GOTPAGE
Lloh10:
	ldr	x9, [x9, _NETIF_F_GRO@GOTPAGEOFF]
Lloh11:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
Lloh12:
	adrp	x0, l_.str@PAGE
Lloh13:
	add	x0, x0, l_.str@PAGEOFF
	bl	_pr_warning
Lloh14:
	adrp	x8, _NETIF_F_SG@GOTPAGE
Lloh15:
	ldr	x8, [x8, _NETIF_F_SG@GOTPAGEOFF]
Lloh16:
	adrp	x9, _NETIF_F_IP_CSUM@GOTPAGE
Lloh17:
	ldr	x9, [x9, _NETIF_F_IP_CSUM@GOTPAGEOFF]
Lloh18:
	ldr	w8, [x8]
Lloh19:
	ldr	w9, [x9]
	orr	w8, w9, w8
	ldr	w9, [x19]
	orr	w8, w8, w9
	str	w8, [x19]
	cbz	w21, LBB0_2
; %bb.1:
Lloh20:
	adrp	x9, _NETIF_F_HIGHDMA@GOTPAGE
Lloh21:
	ldr	x9, [x9, _NETIF_F_HIGHDMA@GOTPAGEOFF]
Lloh22:
	ldr	w9, [x9]
	orr	w8, w9, w8
	str	w8, [x19]
LBB0_2:
Lloh23:
	adrp	x9, _NETIF_F_HW_VLAN_TX@GOTPAGE
Lloh24:
	ldr	x9, [x9, _NETIF_F_HW_VLAN_TX@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
Lloh26:
	adrp	x10, _NETIF_F_HW_VLAN_RX@GOTPAGE
Lloh27:
	ldr	x10, [x10, _NETIF_F_HW_VLAN_RX@GOTPAGEOFF]
Lloh28:
	ldr	w10, [x10]
	orr	w9, w10, w9
Lloh29:
	adrp	x10, _NETIF_F_HW_VLAN_FILTER@GOTPAGE
Lloh30:
	ldr	x10, [x10, _NETIF_F_HW_VLAN_FILTER@GOTPAGEOFF]
Lloh31:
	ldr	w10, [x10]
	orr	w9, w9, w10
	orr	w8, w9, w8
	stp	w8, w8, [x19]
	ldp	x9, x8, [x20]
	str	x8, [x19, #24]
	add	x8, x8, x9
	sub	x8, x8, #1
Lloh32:
	adrp	x9, _bnad_netdev_ops@GOTPAGE
Lloh33:
	ldr	x9, [x9, _bnad_netdev_ops@GOTPAGEOFF]
	stp	x9, x8, [x19, #8]
	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
	b	_bnad_set_ethtool_ops
	.loh AdrpLdrGotLdr	Lloh16, Lloh17, Lloh19
	.loh AdrpLdrGotLdr	Lloh14, Lloh15, Lloh18
	.loh AdrpAdd	Lloh12, Lloh13
	.loh AdrpLdrGotLdr	Lloh9, Lloh10, Lloh11
	.loh AdrpLdrGotLdr	Lloh6, Lloh7, Lloh8
	.loh AdrpLdrGotLdr	Lloh3, Lloh4, Lloh5
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpLdrGotLdr	Lloh20, Lloh21, Lloh22
	.loh AdrpLdrGot	Lloh32, Lloh33
	.loh AdrpLdrGotLdr	Lloh29, Lloh30, Lloh31
	.loh AdrpLdrGotLdr	Lloh26, Lloh27, Lloh28
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.cfi_endproc
                                        ; -- End function
	.comm	_NETIF_F_IPV6_CSUM,4,2          ; @NETIF_F_IPV6_CSUM
	.comm	_NETIF_F_TSO,4,2                ; @NETIF_F_TSO
	.comm	_NETIF_F_TSO6,4,2               ; @NETIF_F_TSO6
	.comm	_NETIF_F_GRO,4,2                ; @NETIF_F_GRO
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"bna: GRO enabled, using kernel stack GRO\n"

	.comm	_NETIF_F_SG,4,2                 ; @NETIF_F_SG
	.comm	_NETIF_F_IP_CSUM,4,2            ; @NETIF_F_IP_CSUM
	.comm	_NETIF_F_HIGHDMA,4,2            ; @NETIF_F_HIGHDMA
	.comm	_NETIF_F_HW_VLAN_TX,4,2         ; @NETIF_F_HW_VLAN_TX
	.comm	_NETIF_F_HW_VLAN_RX,4,2         ; @NETIF_F_HW_VLAN_RX
	.comm	_NETIF_F_HW_VLAN_FILTER,4,2     ; @NETIF_F_HW_VLAN_FILTER
	.comm	_bnad_netdev_ops,4,2            ; @bnad_netdev_ops
	.no_dead_strip	_bnad_netdev_init
.subsections_via_symbols
