	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	4, 0x90                         ## -- Begin function team_port_enable
_team_port_enable:                      ## @team_port_enable
	.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	%rsi, %r14
	movq	%rdi, %rbx
	movq	%rsi, %rdi
	callq	_team_port_enabled
	testq	%rax, %rax
	je	LBB0_1
## %bb.4:
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	retq
LBB0_1:
	movslq	8(%rbx), %rsi
	leal	1(%rsi), %eax
	movl	%eax, 8(%rbx)
	movq	%rsi, (%r14)
	leaq	8(%r14), %r15
	movq	%rbx, %rdi
	callq	_team_port_index_hash
	movq	%r15, %rdi
	movl	%eax, %esi
	callq	_hlist_add_head_rcu
	movq	%rbx, %rdi
	callq	_team_adjust_ops
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	_team_queue_override_port_add
	movq	(%rbx), %rax
	testq	%rax, %rax
	je	LBB0_3
## %bb.2:
	movq	%rbx, %rdi
	movq	%r14, %rsi
	callq	*%rax
LBB0_3:
	movq	%rbx, %rdi
	callq	_team_notify_peers
	movq	%rbx, %rdi
	callq	_team_mcast_rejoin
	movq	%r14, %rdi
	addq	$8, %rsp
	popq	%rbx
	popq	%r14
	popq	%r15
	popq	%rbp
	jmp	_team_lower_state_changed       ## TAILCALL
	.cfi_endproc
                                        ## -- End function
	.no_dead_strip	_team_port_enable
.subsections_via_symbols

	.section	__TEXT,__text,regular,pure_instructions
	.build_version macos, 13, 0	sdk_version 13, 3
	.p2align	2                               ; -- Begin function team_port_enable
_team_port_enable:                      ; @team_port_enable
	.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	x19, x1
	mov	x20, x0
	mov	x0, x1
	bl	_team_port_enabled
	cbz	x0, LBB0_2
; %bb.1:
	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
LBB0_2:
	ldrsw	x1, [x20, #8]
	add	w8, w1, #1
	str	w8, [x20, #8]
	mov	x21, x19
	str	x1, [x21], #8
	mov	x0, x20
	bl	_team_port_index_hash
	mov	x1, x0
	mov	x0, x21
	bl	_hlist_add_head_rcu
	mov	x0, x20
	bl	_team_adjust_ops
	mov	x0, x20
	mov	x1, x19
	bl	_team_queue_override_port_add
	ldr	x8, [x20]
	cbz	x8, LBB0_4
; %bb.3:
	mov	x0, x20
	mov	x1, x19
	blr	x8
LBB0_4:
	mov	x0, x20
	bl	_team_notify_peers
	mov	x0, x20
	bl	_team_mcast_rejoin
	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	_team_lower_state_changed
	.cfi_endproc
                                        ; -- End function
	.no_dead_strip	_team_port_enable
.subsections_via_symbols
