	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function team_port_add
_team_port_add:                         ## @team_port_add
	.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	$24, %rsp
	.cfi_offset %rbx, -56
	.cfi_offset %r12, -48
	.cfi_offset %r13, -40
	.cfi_offset %r14, -32
	.cfi_offset %r15, -24
	movq	%rdx, %r15
	movq	16(%rdi), %r13
	movq	(%rsi), %r12
	movq	_IFF_LOOPBACK@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%rsi)
	je	LBB0_3
## %bb.1:
	leaq	L_.str(%rip), %rsi
	movq	%r15, %rdi
	callq	_NL_SET_ERR_MSG
	leaq	L_.str.1(%rip), %rsi
	movq	%r13, %rdi
	xorl	%r13d, %r13d
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_netdev_err
LBB0_2:
	movq	_EINVAL@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_3:
	movq	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_netif_is_team_port
	testq	%rax, %rax
	je	LBB0_9
## %bb.4:
	leaq	L_.str.2(%rip), %rsi
	movq	%r15, %rdi
	callq	_NL_SET_ERR_MSG
	leaq	L_.str.3(%rip), %rsi
LBB0_5:
	movq	%r13, %rdi
	xorl	%r13d, %r13d
LBB0_6:
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_EBUSY@GOTPCREL(%rip), %rax
LBB0_7:
	subl	(%rax), %r13d
LBB0_8:
	movl	%r13d, %eax
	addq	$24, %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_9:
	cmpq	%r14, %r13
	je	LBB0_12
## %bb.10:
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_netdev_has_upper_dev
	testq	%rax, %rax
	je	LBB0_13
## %bb.11:
	leaq	L_.str.6(%rip), %rsi
	movq	%r15, %rdi
	callq	_NL_SET_ERR_MSG
	leaq	L_.str.7(%rip), %rsi
	jmp	LBB0_5
LBB0_12:
	leaq	L_.str.4(%rip), %rsi
	movq	%r15, %rdi
	callq	_NL_SET_ERR_MSG
	leaq	L_.str.5(%rip), %rsi
	xorl	%r13d, %r13d
	movq	%r14, %rdi
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_2
LBB0_13:
	movq	_NETIF_F_VLAN_CHALLENGED@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 12(%r14)
	je	LBB0_16
## %bb.14:
	movq	%r13, %rdi
	callq	_vlan_uses_dev
	testq	%rax, %rax
	je	LBB0_16
## %bb.15:
	leaq	L_.str.8(%rip), %rsi
	movq	%r15, %rdi
	callq	_NL_SET_ERR_MSG
	leaq	L_.str.9(%rip), %rsi
	movq	%r13, %rdi
	xorl	%r13d, %r13d
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_netdev_err
	movq	_EPERM@GOTPCREL(%rip), %rax
	jmp	LBB0_7
LBB0_16:
	movq	%rbx, -64(%rbp)                 ## 8-byte Spill
	movq	%r13, %rdi
	movq	%r14, %rsi
	callq	_team_dev_type_check_change
	movq	%r13, %rcx
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_8
## %bb.17:
	movq	%rcx, -48(%rbp)                 ## 8-byte Spill
	movq	_IFF_UP@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	testl	%eax, 8(%r14)
	je	LBB0_19
## %bb.18:
	leaq	L_.str.10(%rip), %rsi
	movq	%r15, %rdi
	callq	_NL_SET_ERR_MSG
	leaq	L_.str.11(%rip), %rsi
	xorl	%r13d, %r13d
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	jmp	LBB0_6
LBB0_19:
	movq	-64(%rbp), %r13                 ## 8-byte Reload
	movq	8(%r13), %rax
	movq	(%rax), %rdi
	addq	$40, %rdi
	movq	_GFP_KERNEL@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	callq	_kzalloc
	testq	%rax, %rax
	je	LBB0_22
## %bb.20:
	movq	%rax, %rbx
	movq	%r14, 32(%rax)
	movq	%r13, 24(%rax)
	leaq	16(%rax), %rdi
	callq	_INIT_LIST_HEAD
	movl	24(%r14), %eax
	movl	%eax, 4(%rbx)
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	24(%rax), %esi
	movq	%r14, %rdi
	callq	_dev_set_mtu
	testl	%eax, %eax
	je	LBB0_23
## %bb.21:
	movl	%eax, %r13d
	leaq	L_.str.12(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movl	%eax, %edx
	xorl	%eax, %eax
	callq	_netdev_dbg
	jmp	LBB0_54
LBB0_22:
	movq	_ENOMEM@GOTPCREL(%rip), %rax
	xorl	%r13d, %r13d
	jmp	LBB0_7
LBB0_23:
	movl	8(%rbx), %edi
	movl	16(%r14), %edx
	movl	20(%r14), %esi
	callq	_memcpy
	movq	%r13, %rdi
	movq	%rbx, -56(%rbp)                 ## 8-byte Spill
	movq	%rbx, %rsi
	callq	_team_port_enter
	testl	%eax, %eax
	je	LBB0_25
## %bb.24:
	movl	%eax, %r13d
	leaq	L_.str.13(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_53
LBB0_25:
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dev_open
	testl	%eax, %eax
	je	LBB0_27
## %bb.26:
	movl	%eax, %r13d
	leaq	L_.str.14(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_netdev_dbg
	jmp	LBB0_52
LBB0_27:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_vlan_vids_add_by_dev
	testl	%eax, %eax
	je	LBB0_29
## %bb.28:
	movl	%eax, %r13d
	leaq	L_.str.15(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_51
LBB0_29:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_team_port_enable_netpoll
	testl	%eax, %eax
	je	LBB0_31
## %bb.30:
	movl	%eax, %r13d
	leaq	L_.str.16(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_50
LBB0_31:
	movq	_NETIF_F_LRO@GOTPCREL(%rip), %rax
	movl	(%rax), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 12(%rcx)
	jne	LBB0_33
## %bb.32:
	movq	%r14, %rdi
	callq	_dev_disable_lro
LBB0_33:
	movq	_team_handle_frame@GOTPCREL(%rip), %rax
	movl	(%rax), %esi
	movq	%r14, %rdi
	movq	-56(%rbp), %rdx                 ## 8-byte Reload
	callq	_netdev_rx_handler_register
	testl	%eax, %eax
	je	LBB0_35
## %bb.34:
	movl	%eax, %r13d
	leaq	L_.str.17(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_49
LBB0_35:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	movq	%r15, %rdx
	callq	_team_upper_dev_link
	testl	%eax, %eax
	je	LBB0_37
## %bb.36:
	movl	%eax, %r13d
	leaq	L_.str.18(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_48
LBB0_37:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	___team_option_inst_add_port
	testl	%eax, %eax
	je	LBB0_39
## %bb.38:
	movl	%eax, %r13d
	leaq	L_.str.19(%rip), %rsi
	movq	-48(%rbp), %rdi                 ## 8-byte Reload
	movq	%r12, %rdx
	xorl	%eax, %eax
	callq	_netdev_err
	jmp	LBB0_47
LBB0_39:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %eax
	movq	_IFF_PROMISC@GOTPCREL(%rip), %r15
	testl	%eax, (%r15)
	je	LBB0_42
## %bb.40:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_dev_set_promiscuity
	movl	%eax, %r13d
	testl	%eax, %eax
	jne	LBB0_46
## %bb.41:
	movq	-48(%rbp), %rax                 ## 8-byte Reload
	movl	8(%rax), %eax
LBB0_42:
	movq	_IFF_ALLMULTI@GOTPCREL(%rip), %rcx
	testl	%eax, (%rcx)
	je	LBB0_55
## %bb.43:
	movq	%r14, %rdi
	movl	$1, %esi
	callq	_dev_set_allmulti
	testl	%eax, %eax
	je	LBB0_55
## %bb.44:
	movl	%eax, %r13d
	movl	(%r15), %eax
	movq	-48(%rbp), %rcx                 ## 8-byte Reload
	testl	%eax, 8(%rcx)
	je	LBB0_46
## %bb.45:
	movq	%r14, %rdi
	movl	$-1, %esi
	callq	_dev_set_promiscuity
LBB0_46:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	___team_option_inst_del_port
LBB0_47:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rsi                 ## 8-byte Reload
	callq	_team_upper_dev_unlink
LBB0_48:
	movq	%r14, %rdi
	callq	_netdev_rx_handler_unregister
LBB0_49:
	movq	-56(%rbp), %rdi                 ## 8-byte Reload
	callq	_team_port_disable_netpoll
LBB0_50:
	movq	%r14, %rdi
	movq	-48(%rbp), %rsi                 ## 8-byte Reload
	callq	_vlan_vids_del_by_dev
LBB0_51:
	movq	%r14, %rdi
	callq	_dev_close
LBB0_52:
	movq	-64(%rbp), %rdi                 ## 8-byte Reload
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_team_port_leave
	movq	%rbx, %rdi
	callq	_team_port_set_orig_dev_addr
LBB0_53:
	movq	-56(%rbp), %rbx                 ## 8-byte Reload
	movl	4(%rbx), %esi
	movq	%r14, %rdi
	callq	_dev_set_mtu
LBB0_54:
	movq	%rbx, %rdi
	callq	_kfree
	jmp	LBB0_8
LBB0_55:
	movq	-48(%rbp), %r15                 ## 8-byte Reload
	movq	%r15, %rdi
	callq	_netif_addr_lock_bh
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dev_uc_sync_multiple
	movq	%r14, %rdi
	movq	%r15, %rsi
	callq	_dev_mc_sync_multiple
	movq	%r15, %rdi
	callq	_netif_addr_unlock_bh
	movq	-56(%rbp), %r13                 ## 8-byte Reload
	movl	$-1, (%r13)
	movq	%r13, %rdi
	addq	$12, %rdi
	movq	-64(%rbp), %rbx                 ## 8-byte Reload
	movq	%rbx, %rsi
	callq	_list_add_tail_rcu
	movq	%rbx, %rdi
	movq	%r13, %rsi
	callq	_team_port_enable
	movq	%rbx, %rdi
	callq	___team_compute_features
	movq	%r14, %rdi
	callq	_netif_oper_up
	xorl	%esi, %esi
	testl	%eax, %eax
	setne	%sil
	movq	%r13, %rdi
	callq	___team_port_change_port_added
	movq	%rbx, %rdi
	callq	___team_options_change_check
	leaq	L_.str.20(%rip), %rsi
	movq	%r15, %rdi
	movq	%r12, %rdx
	callq	_netdev_info
	xorl	%r13d, %r13d
	jmp	LBB0_8
	.cfi_endproc
                                        ## -- End function
	.comm	_IFF_LOOPBACK,4,2               ## @IFF_LOOPBACK
	.section	__TEXT,__cstring,cstring_literals
L_.str:                                 ## @.str
	.asciz	"Loopback device can't be added as a team port"

L_.str.1:                               ## @.str.1
	.asciz	"Device %s is loopback device. Loopback devices can't be added as a team port\n"

	.comm	_EINVAL,4,2                     ## @EINVAL
L_.str.2:                               ## @.str.2
	.asciz	"Device is already a port of a team device"

L_.str.3:                               ## @.str.3
	.asciz	"Device %s is already a port of a team device\n"

	.comm	_EBUSY,4,2                      ## @EBUSY
L_.str.4:                               ## @.str.4
	.asciz	"Cannot enslave team device to itself"

L_.str.5:                               ## @.str.5
	.asciz	"Cannot enslave team device to itself\n"

L_.str.6:                               ## @.str.6
	.asciz	"Device is already an upper device of the team interface"

L_.str.7:                               ## @.str.7
	.asciz	"Device %s is already an upper device of the team interface\n"

	.comm	_NETIF_F_VLAN_CHALLENGED,4,2    ## @NETIF_F_VLAN_CHALLENGED
L_.str.8:                               ## @.str.8
	.asciz	"Device is VLAN challenged and team device has VLAN set up"

L_.str.9:                               ## @.str.9
	.asciz	"Device %s is VLAN challenged and team device has VLAN set up\n"

	.comm	_EPERM,4,2                      ## @EPERM
	.comm	_IFF_UP,4,2                     ## @IFF_UP
L_.str.10:                              ## @.str.10
	.asciz	"Device is up. Set it down before adding it as a team port"

L_.str.11:                              ## @.str.11
	.asciz	"Device %s is up. Set it down before adding it as a team port\n"

	.comm	_GFP_KERNEL,4,2                 ## @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ## @ENOMEM
L_.str.12:                              ## @.str.12
	.asciz	"Error %d calling dev_set_mtu\n"

L_.str.13:                              ## @.str.13
	.asciz	"Device %s failed to enter team mode\n"

L_.str.14:                              ## @.str.14
	.asciz	"Device %s opening failed\n"

L_.str.15:                              ## @.str.15
	.asciz	"Failed to add vlan ids to device %s\n"

L_.str.16:                              ## @.str.16
	.asciz	"Failed to enable netpoll on device %s\n"

	.comm	_NETIF_F_LRO,4,2                ## @NETIF_F_LRO
	.comm	_team_handle_frame,4,2          ## @team_handle_frame
L_.str.17:                              ## @.str.17
	.asciz	"Device %s failed to register rx_handler\n"

L_.str.18:                              ## @.str.18
	.asciz	"Device %s failed to set upper link\n"

L_.str.19:                              ## @.str.19
	.asciz	"Device %s failed to add per-port options\n"

	.comm	_IFF_PROMISC,4,2                ## @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ## @IFF_ALLMULTI
L_.str.20:                              ## @.str.20
	.asciz	"Port device %s added\n"

	.no_dead_strip	_team_port_add
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function team_port_add
_team_port_add:                         ; @team_port_add
	.cfi_startproc
; %bb.0:
	sub	sp, sp, #96
	.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
	mov	x25, x2
	ldr	x19, [x0, #16]
	ldr	x23, [x1]
	ldr	w8, [x1, #8]
Lloh0:
	adrp	x9, _IFF_LOOPBACK@GOTPAGE
Lloh1:
	ldr	x9, [x9, _IFF_LOOPBACK@GOTPAGEOFF]
Lloh2:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_3
; %bb.1:
Lloh3:
	adrp	x1, l_.str@PAGE
Lloh4:
	add	x1, x1, l_.str@PAGEOFF
	mov	x0, x25
	bl	_NL_SET_ERR_MSG
	str	x23, [sp]
Lloh5:
	adrp	x1, l_.str.1@PAGE
Lloh6:
	add	x1, x1, l_.str.1@PAGEOFF
	mov	x0, x19
LBB0_2:
	bl	_netdev_err
Lloh7:
	adrp	x8, _EINVAL@GOTPAGE
Lloh8:
	ldr	x8, [x8, _EINVAL@GOTPAGEOFF]
	b	LBB0_6
LBB0_3:
	mov	x20, x1
	mov	x21, x0
	mov	x0, x1
	bl	_netif_is_team_port
	cbz	x0, LBB0_8
; %bb.4:
Lloh9:
	adrp	x1, l_.str.2@PAGE
Lloh10:
	add	x1, x1, l_.str.2@PAGEOFF
	mov	x0, x25
	bl	_NL_SET_ERR_MSG
	str	x23, [sp]
Lloh11:
	adrp	x1, l_.str.3@PAGE
Lloh12:
	add	x1, x1, l_.str.3@PAGEOFF
LBB0_5:
	mov	x0, x19
	bl	_netdev_err
Lloh13:
	adrp	x8, _EBUSY@GOTPAGE
Lloh14:
	ldr	x8, [x8, _EBUSY@GOTPAGEOFF]
LBB0_6:
	ldr	w8, [x8]
	neg	w24, w8
LBB0_7:
	mov	x0, x24
	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
	add	sp, sp, #96
	ret
LBB0_8:
	cmp	x19, x20
	b.eq	LBB0_11
; %bb.9:
	mov	x0, x19
	mov	x1, x20
	bl	_netdev_has_upper_dev
	cbz	x0, LBB0_12
; %bb.10:
Lloh15:
	adrp	x1, l_.str.6@PAGE
Lloh16:
	add	x1, x1, l_.str.6@PAGEOFF
	mov	x0, x25
	bl	_NL_SET_ERR_MSG
	str	x23, [sp]
Lloh17:
	adrp	x1, l_.str.7@PAGE
Lloh18:
	add	x1, x1, l_.str.7@PAGEOFF
	b	LBB0_5
LBB0_11:
Lloh19:
	adrp	x1, l_.str.4@PAGE
Lloh20:
	add	x1, x1, l_.str.4@PAGEOFF
	mov	x0, x25
	bl	_NL_SET_ERR_MSG
Lloh21:
	adrp	x1, l_.str.5@PAGE
Lloh22:
	add	x1, x1, l_.str.5@PAGEOFF
	mov	x0, x20
	b	LBB0_2
LBB0_12:
	ldr	w8, [x20, #12]
Lloh23:
	adrp	x9, _NETIF_F_VLAN_CHALLENGED@GOTPAGE
Lloh24:
	ldr	x9, [x9, _NETIF_F_VLAN_CHALLENGED@GOTPAGEOFF]
Lloh25:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_15
; %bb.13:
	mov	x0, x19
	bl	_vlan_uses_dev
	cbz	x0, LBB0_15
; %bb.14:
Lloh26:
	adrp	x1, l_.str.8@PAGE
Lloh27:
	add	x1, x1, l_.str.8@PAGEOFF
	mov	x0, x25
	bl	_NL_SET_ERR_MSG
	str	x23, [sp]
Lloh28:
	adrp	x1, l_.str.9@PAGE
Lloh29:
	add	x1, x1, l_.str.9@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
Lloh30:
	adrp	x8, _EPERM@GOTPAGE
Lloh31:
	ldr	x8, [x8, _EPERM@GOTPAGEOFF]
	b	LBB0_6
LBB0_15:
	mov	x0, x19
	mov	x1, x20
	bl	_team_dev_type_check_change
	mov	x24, x0
	cbnz	w0, LBB0_7
; %bb.16:
	ldr	w8, [x20, #8]
Lloh32:
	adrp	x9, _IFF_UP@GOTPAGE
Lloh33:
	ldr	x9, [x9, _IFF_UP@GOTPAGEOFF]
Lloh34:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_18
; %bb.17:
Lloh35:
	adrp	x1, l_.str.10@PAGE
Lloh36:
	add	x1, x1, l_.str.10@PAGEOFF
	mov	x0, x25
	bl	_NL_SET_ERR_MSG
	str	x23, [sp]
Lloh37:
	adrp	x1, l_.str.11@PAGE
Lloh38:
	add	x1, x1, l_.str.11@PAGEOFF
	b	LBB0_5
LBB0_18:
	ldr	x8, [x21, #8]
	ldr	x8, [x8]
	add	x0, x8, #40
Lloh39:
	adrp	x8, _GFP_KERNEL@GOTPAGE
Lloh40:
	ldr	x8, [x8, _GFP_KERNEL@GOTPAGEOFF]
Lloh41:
	ldr	w1, [x8]
	bl	_kzalloc
	cbz	x0, LBB0_21
; %bb.19:
	mov	x22, x0
	stp	x21, x20, [x0, #24]
	add	x0, x0, #16
	bl	_INIT_LIST_HEAD
	ldr	w8, [x20, #24]
	str	w8, [x22, #4]
	ldr	w1, [x19, #24]
	mov	x0, x20
	bl	_dev_set_mtu
	cbz	w0, LBB0_22
; %bb.20:
	mov	x24, x0
	str	x24, [sp]
Lloh42:
	adrp	x1, l_.str.12@PAGE
Lloh43:
	add	x1, x1, l_.str.12@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
	b	LBB0_53
LBB0_21:
Lloh44:
	adrp	x8, _ENOMEM@GOTPAGE
Lloh45:
	ldr	x8, [x8, _ENOMEM@GOTPAGEOFF]
	b	LBB0_6
LBB0_22:
	ldr	w0, [x22, #8]
	ldp	w2, w1, [x20, #16]
	bl	_memcpy
	mov	x0, x21
	mov	x1, x22
	bl	_team_port_enter
	cbz	w0, LBB0_24
; %bb.23:
	mov	x24, x0
	str	x23, [sp]
Lloh46:
	adrp	x1, l_.str.13@PAGE
Lloh47:
	add	x1, x1, l_.str.13@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	b	LBB0_52
LBB0_24:
	mov	x0, x20
	mov	x1, x25
	bl	_dev_open
	cbz	w0, LBB0_26
; %bb.25:
	mov	x24, x0
	str	x23, [sp]
Lloh48:
	adrp	x1, l_.str.14@PAGE
Lloh49:
	add	x1, x1, l_.str.14@PAGEOFF
	mov	x0, x19
	bl	_netdev_dbg
	b	LBB0_51
LBB0_26:
	mov	x0, x20
	mov	x1, x19
	bl	_vlan_vids_add_by_dev
	cbz	w0, LBB0_28
; %bb.27:
	mov	x24, x0
	str	x23, [sp]
Lloh50:
	adrp	x1, l_.str.15@PAGE
Lloh51:
	add	x1, x1, l_.str.15@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	b	LBB0_50
LBB0_28:
	mov	x0, x22
	bl	_team_port_enable_netpoll
	cbz	w0, LBB0_30
; %bb.29:
	mov	x24, x0
	str	x23, [sp]
Lloh52:
	adrp	x1, l_.str.16@PAGE
Lloh53:
	add	x1, x1, l_.str.16@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	b	LBB0_49
LBB0_30:
	ldr	w8, [x19, #12]
Lloh54:
	adrp	x9, _NETIF_F_LRO@GOTPAGE
Lloh55:
	ldr	x9, [x9, _NETIF_F_LRO@GOTPAGEOFF]
Lloh56:
	ldr	w9, [x9]
	tst	w9, w8
	b.ne	LBB0_32
; %bb.31:
	mov	x0, x20
	bl	_dev_disable_lro
LBB0_32:
Lloh57:
	adrp	x8, _team_handle_frame@GOTPAGE
Lloh58:
	ldr	x8, [x8, _team_handle_frame@GOTPAGEOFF]
Lloh59:
	ldr	w1, [x8]
	mov	x0, x20
	mov	x2, x22
	bl	_netdev_rx_handler_register
	cbz	w0, LBB0_34
; %bb.33:
	mov	x24, x0
	str	x23, [sp]
Lloh60:
	adrp	x1, l_.str.17@PAGE
Lloh61:
	add	x1, x1, l_.str.17@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	b	LBB0_48
LBB0_34:
	mov	x0, x21
	mov	x1, x22
	mov	x2, x25
	bl	_team_upper_dev_link
	cbz	w0, LBB0_36
; %bb.35:
	mov	x24, x0
	str	x23, [sp]
Lloh62:
	adrp	x1, l_.str.18@PAGE
Lloh63:
	add	x1, x1, l_.str.18@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	b	LBB0_47
LBB0_36:
	mov	x0, x21
	mov	x1, x22
	bl	___team_option_inst_add_port
	cbz	w0, LBB0_38
; %bb.37:
	mov	x24, x0
	str	x23, [sp]
Lloh64:
	adrp	x1, l_.str.19@PAGE
Lloh65:
	add	x1, x1, l_.str.19@PAGEOFF
	mov	x0, x19
	bl	_netdev_err
	b	LBB0_46
LBB0_38:
	ldr	w8, [x19, #8]
Lloh66:
	adrp	x25, _IFF_PROMISC@GOTPAGE
Lloh67:
	ldr	x25, [x25, _IFF_PROMISC@GOTPAGEOFF]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_41
; %bb.39:
	mov	x0, x20
	mov	w1, #1
	bl	_dev_set_promiscuity
	mov	x24, x0
	cbnz	w0, LBB0_45
; %bb.40:
	ldr	w8, [x19, #8]
LBB0_41:
Lloh68:
	adrp	x9, _IFF_ALLMULTI@GOTPAGE
Lloh69:
	ldr	x9, [x9, _IFF_ALLMULTI@GOTPAGEOFF]
Lloh70:
	ldr	w9, [x9]
	tst	w9, w8
	b.eq	LBB0_54
; %bb.42:
	mov	x0, x20
	mov	w1, #1
	bl	_dev_set_allmulti
	cbz	w0, LBB0_54
; %bb.43:
	mov	x24, x0
	ldr	w8, [x19, #8]
	ldr	w9, [x25]
	tst	w9, w8
	b.eq	LBB0_45
; %bb.44:
	mov	x0, x20
	mov	w1, #-1
	bl	_dev_set_promiscuity
LBB0_45:
	mov	x0, x21
	mov	x1, x22
	bl	___team_option_inst_del_port
LBB0_46:
	mov	x0, x21
	mov	x1, x22
	bl	_team_upper_dev_unlink
LBB0_47:
	mov	x0, x20
	bl	_netdev_rx_handler_unregister
LBB0_48:
	mov	x0, x22
	bl	_team_port_disable_netpoll
LBB0_49:
	mov	x0, x20
	mov	x1, x19
	bl	_vlan_vids_del_by_dev
LBB0_50:
	mov	x0, x20
	bl	_dev_close
LBB0_51:
	mov	x0, x21
	mov	x1, x22
	bl	_team_port_leave
	mov	x0, x22
	bl	_team_port_set_orig_dev_addr
LBB0_52:
	ldr	w1, [x22, #4]
	mov	x0, x20
	bl	_dev_set_mtu
LBB0_53:
	mov	x0, x22
	bl	_kfree
	b	LBB0_7
LBB0_54:
	mov	x0, x19
	bl	_netif_addr_lock_bh
	mov	x0, x20
	mov	x1, x19
	bl	_dev_uc_sync_multiple
	mov	x0, x20
	mov	x1, x19
	bl	_dev_mc_sync_multiple
	mov	x0, x19
	bl	_netif_addr_unlock_bh
	mov	w8, #-1
	mov	x0, x22
	str	w8, [x0], #12
	mov	x1, x21
	bl	_list_add_tail_rcu
	mov	x0, x21
	mov	x1, x22
	bl	_team_port_enable
	mov	x0, x21
	bl	___team_compute_features
	mov	x0, x20
	bl	_netif_oper_up
	cmp	w0, #0
	cset	w1, ne
	mov	x0, x22
	bl	___team_port_change_port_added
	mov	x0, x21
	bl	___team_options_change_check
Lloh71:
	adrp	x1, l_.str.20@PAGE
Lloh72:
	add	x1, x1, l_.str.20@PAGEOFF
	mov	x0, x19
	mov	x2, x23
	bl	_netdev_info
	mov	w24, #0
	b	LBB0_7
	.loh AdrpLdrGotLdr	Lloh0, Lloh1, Lloh2
	.loh AdrpAdd	Lloh5, Lloh6
	.loh AdrpAdd	Lloh3, Lloh4
	.loh AdrpLdrGot	Lloh7, Lloh8
	.loh AdrpAdd	Lloh11, Lloh12
	.loh AdrpAdd	Lloh9, Lloh10
	.loh AdrpLdrGot	Lloh13, Lloh14
	.loh AdrpAdd	Lloh17, Lloh18
	.loh AdrpAdd	Lloh15, Lloh16
	.loh AdrpAdd	Lloh21, Lloh22
	.loh AdrpAdd	Lloh19, Lloh20
	.loh AdrpLdrGotLdr	Lloh23, Lloh24, Lloh25
	.loh AdrpLdrGot	Lloh30, Lloh31
	.loh AdrpAdd	Lloh28, Lloh29
	.loh AdrpAdd	Lloh26, Lloh27
	.loh AdrpLdrGotLdr	Lloh32, Lloh33, Lloh34
	.loh AdrpAdd	Lloh37, Lloh38
	.loh AdrpAdd	Lloh35, Lloh36
	.loh AdrpLdrGotLdr	Lloh39, Lloh40, Lloh41
	.loh AdrpAdd	Lloh42, Lloh43
	.loh AdrpLdrGot	Lloh44, Lloh45
	.loh AdrpAdd	Lloh46, Lloh47
	.loh AdrpAdd	Lloh48, Lloh49
	.loh AdrpAdd	Lloh50, Lloh51
	.loh AdrpAdd	Lloh52, Lloh53
	.loh AdrpLdrGotLdr	Lloh54, Lloh55, Lloh56
	.loh AdrpLdrGotLdr	Lloh57, Lloh58, Lloh59
	.loh AdrpAdd	Lloh60, Lloh61
	.loh AdrpAdd	Lloh62, Lloh63
	.loh AdrpAdd	Lloh64, Lloh65
	.loh AdrpLdrGot	Lloh66, Lloh67
	.loh AdrpLdrGotLdr	Lloh68, Lloh69, Lloh70
	.loh AdrpAdd	Lloh71, Lloh72
	.cfi_endproc
                                        ; -- End function
	.comm	_IFF_LOOPBACK,4,2               ; @IFF_LOOPBACK
	.section	__TEXT,__cstring,cstring_literals
l_.str:                                 ; @.str
	.asciz	"Loopback device can't be added as a team port"

l_.str.1:                               ; @.str.1
	.asciz	"Device %s is loopback device. Loopback devices can't be added as a team port\n"

	.comm	_EINVAL,4,2                     ; @EINVAL
l_.str.2:                               ; @.str.2
	.asciz	"Device is already a port of a team device"

l_.str.3:                               ; @.str.3
	.asciz	"Device %s is already a port of a team device\n"

	.comm	_EBUSY,4,2                      ; @EBUSY
l_.str.4:                               ; @.str.4
	.asciz	"Cannot enslave team device to itself"

l_.str.5:                               ; @.str.5
	.asciz	"Cannot enslave team device to itself\n"

l_.str.6:                               ; @.str.6
	.asciz	"Device is already an upper device of the team interface"

l_.str.7:                               ; @.str.7
	.asciz	"Device %s is already an upper device of the team interface\n"

	.comm	_NETIF_F_VLAN_CHALLENGED,4,2    ; @NETIF_F_VLAN_CHALLENGED
l_.str.8:                               ; @.str.8
	.asciz	"Device is VLAN challenged and team device has VLAN set up"

l_.str.9:                               ; @.str.9
	.asciz	"Device %s is VLAN challenged and team device has VLAN set up\n"

	.comm	_EPERM,4,2                      ; @EPERM
	.comm	_IFF_UP,4,2                     ; @IFF_UP
l_.str.10:                              ; @.str.10
	.asciz	"Device is up. Set it down before adding it as a team port"

l_.str.11:                              ; @.str.11
	.asciz	"Device %s is up. Set it down before adding it as a team port\n"

	.comm	_GFP_KERNEL,4,2                 ; @GFP_KERNEL
	.comm	_ENOMEM,4,2                     ; @ENOMEM
l_.str.12:                              ; @.str.12
	.asciz	"Error %d calling dev_set_mtu\n"

l_.str.13:                              ; @.str.13
	.asciz	"Device %s failed to enter team mode\n"

l_.str.14:                              ; @.str.14
	.asciz	"Device %s opening failed\n"

l_.str.15:                              ; @.str.15
	.asciz	"Failed to add vlan ids to device %s\n"

l_.str.16:                              ; @.str.16
	.asciz	"Failed to enable netpoll on device %s\n"

	.comm	_NETIF_F_LRO,4,2                ; @NETIF_F_LRO
	.comm	_team_handle_frame,4,2          ; @team_handle_frame
l_.str.17:                              ; @.str.17
	.asciz	"Device %s failed to register rx_handler\n"

l_.str.18:                              ; @.str.18
	.asciz	"Device %s failed to set upper link\n"

l_.str.19:                              ; @.str.19
	.asciz	"Device %s failed to add per-port options\n"

	.comm	_IFF_PROMISC,4,2                ; @IFF_PROMISC
	.comm	_IFF_ALLMULTI,4,2               ; @IFF_ALLMULTI
l_.str.20:                              ; @.str.20
	.asciz	"Port device %s added\n"

	.no_dead_strip	_team_port_add
.subsections_via_symbols
